public static final class InputConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder> implements InputConfigOrBuilder
The configuration of input data, including data type, location, etc.Protobuf type
google.cloud.datalabeling.v1beta1.InputConfig| Modifier and Type | Method and Description |
|---|---|
InputConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InputConfig |
build() |
InputConfig |
buildPartial() |
InputConfig.Builder |
clear() |
InputConfig.Builder |
clearAnnotationType()
Optional.
|
InputConfig.Builder |
clearBigquerySource()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
InputConfig.Builder |
clearClassificationMetadata()
Optional.
|
InputConfig.Builder |
clearDataType()
Required.
|
InputConfig.Builder |
clearDataTypeMetadata() |
InputConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InputConfig.Builder |
clearGcsSource()
Source located in Cloud Storage.
|
InputConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InputConfig.Builder |
clearSource() |
InputConfig.Builder |
clearTextMetadata()
Required for text import, as language code must be specified.
|
InputConfig.Builder |
clone() |
AnnotationType |
getAnnotationType()
Optional.
|
int |
getAnnotationTypeValue()
Optional.
|
BigQuerySource |
getBigquerySource()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
BigQuerySource.Builder |
getBigquerySourceBuilder()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
BigQuerySourceOrBuilder |
getBigquerySourceOrBuilder()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
ClassificationMetadata |
getClassificationMetadata()
Optional.
|
ClassificationMetadata.Builder |
getClassificationMetadataBuilder()
Optional.
|
ClassificationMetadataOrBuilder |
getClassificationMetadataOrBuilder()
Optional.
|
DataType |
getDataType()
Required.
|
InputConfig.DataTypeMetadataCase |
getDataTypeMetadataCase() |
int |
getDataTypeValue()
Required.
|
InputConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GcsSource |
getGcsSource()
Source located in Cloud Storage.
|
GcsSource.Builder |
getGcsSourceBuilder()
Source located in Cloud Storage.
|
GcsSourceOrBuilder |
getGcsSourceOrBuilder()
Source located in Cloud Storage.
|
InputConfig.SourceCase |
getSourceCase() |
TextMetadata |
getTextMetadata()
Required for text import, as language code must be specified.
|
TextMetadata.Builder |
getTextMetadataBuilder()
Required for text import, as language code must be specified.
|
TextMetadataOrBuilder |
getTextMetadataOrBuilder()
Required for text import, as language code must be specified.
|
boolean |
hasBigquerySource()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
boolean |
hasClassificationMetadata()
Optional.
|
boolean |
hasGcsSource()
Source located in Cloud Storage.
|
boolean |
hasTextMetadata()
Required for text import, as language code must be specified.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InputConfig.Builder |
mergeBigquerySource(BigQuerySource value)
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
InputConfig.Builder |
mergeClassificationMetadata(ClassificationMetadata value)
Optional.
|
InputConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InputConfig.Builder |
mergeFrom(InputConfig other) |
InputConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
InputConfig.Builder |
mergeGcsSource(GcsSource value)
Source located in Cloud Storage.
|
InputConfig.Builder |
mergeTextMetadata(TextMetadata value)
Required for text import, as language code must be specified.
|
InputConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InputConfig.Builder |
setAnnotationType(AnnotationType value)
Optional.
|
InputConfig.Builder |
setAnnotationTypeValue(int value)
Optional.
|
InputConfig.Builder |
setBigquerySource(BigQuerySource.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
InputConfig.Builder |
setBigquerySource(BigQuerySource value)
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5; |
InputConfig.Builder |
setClassificationMetadata(ClassificationMetadata.Builder builderForValue)
Optional.
|
InputConfig.Builder |
setClassificationMetadata(ClassificationMetadata value)
Optional.
|
InputConfig.Builder |
setDataType(DataType value)
Required.
|
InputConfig.Builder |
setDataTypeValue(int value)
Required.
|
InputConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InputConfig.Builder |
setGcsSource(GcsSource.Builder builderForValue)
Source located in Cloud Storage.
|
InputConfig.Builder |
setGcsSource(GcsSource value)
Source located in Cloud Storage.
|
InputConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InputConfig.Builder |
setTextMetadata(TextMetadata.Builder builderForValue)
Required for text import, as language code must be specified.
|
InputConfig.Builder |
setTextMetadata(TextMetadata value)
Required for text import, as language code must be specified.
|
InputConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InputConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InputConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InputConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InputConfig.Builder>public InputConfig.Builder mergeFrom(InputConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public InputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InputConfig.Builder>IOExceptionpublic InputConfig.DataTypeMetadataCase getDataTypeMetadataCase()
getDataTypeMetadataCase in interface InputConfigOrBuilderpublic InputConfig.Builder clearDataTypeMetadata()
public InputConfig.SourceCase getSourceCase()
getSourceCase in interface InputConfigOrBuilderpublic InputConfig.Builder clearSource()
public boolean hasTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;hasTextMetadata in interface InputConfigOrBuilderpublic TextMetadata getTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;getTextMetadata in interface InputConfigOrBuilderpublic InputConfig.Builder setTextMetadata(TextMetadata value)
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;public InputConfig.Builder setTextMetadata(TextMetadata.Builder builderForValue)
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;public InputConfig.Builder mergeTextMetadata(TextMetadata value)
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;public InputConfig.Builder clearTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;public TextMetadata.Builder getTextMetadataBuilder()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;public TextMetadataOrBuilder getTextMetadataOrBuilder()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;getTextMetadataOrBuilder in interface InputConfigOrBuilderpublic boolean hasGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;hasGcsSource in interface InputConfigOrBuilderpublic GcsSource getGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;getGcsSource in interface InputConfigOrBuilderpublic InputConfig.Builder setGcsSource(GcsSource value)
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;public InputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;public InputConfig.Builder mergeGcsSource(GcsSource value)
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;public InputConfig.Builder clearGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;public GcsSource.Builder getGcsSourceBuilder()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;public GcsSourceOrBuilder getGcsSourceOrBuilder()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;getGcsSourceOrBuilder in interface InputConfigOrBuilderpublic boolean hasBigquerySource()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;hasBigquerySource in interface InputConfigOrBuilderpublic BigQuerySource getBigquerySource()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;getBigquerySource in interface InputConfigOrBuilderpublic InputConfig.Builder setBigquerySource(BigQuerySource value)
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;public InputConfig.Builder setBigquerySource(BigQuerySource.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;public InputConfig.Builder mergeBigquerySource(BigQuerySource value)
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;public InputConfig.Builder clearBigquerySource()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;public BigQuerySource.Builder getBigquerySourceBuilder()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;getBigquerySourceOrBuilder in interface InputConfigOrBuilderpublic int getDataTypeValue()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;getDataTypeValue in interface InputConfigOrBuilderpublic InputConfig.Builder setDataTypeValue(int value)
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;public DataType getDataType()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;getDataType in interface InputConfigOrBuilderpublic InputConfig.Builder setDataType(DataType value)
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;public InputConfig.Builder clearDataType()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;public int getAnnotationTypeValue()
Optional. If input contains annotation, user needs to specify the type and metadata of the annotation when creating it as an annotated dataset.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;getAnnotationTypeValue in interface InputConfigOrBuilderpublic InputConfig.Builder setAnnotationTypeValue(int value)
Optional. If input contains annotation, user needs to specify the type and metadata of the annotation when creating it as an annotated dataset.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;public AnnotationType getAnnotationType()
Optional. If input contains annotation, user needs to specify the type and metadata of the annotation when creating it as an annotated dataset.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;getAnnotationType in interface InputConfigOrBuilderpublic InputConfig.Builder setAnnotationType(AnnotationType value)
Optional. If input contains annotation, user needs to specify the type and metadata of the annotation when creating it as an annotated dataset.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;public InputConfig.Builder clearAnnotationType()
Optional. If input contains annotation, user needs to specify the type and metadata of the annotation when creating it as an annotated dataset.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;public boolean hasClassificationMetadata()
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
hasClassificationMetadata in interface InputConfigOrBuilderpublic ClassificationMetadata getClassificationMetadata()
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
getClassificationMetadata in interface InputConfigOrBuilderpublic InputConfig.Builder setClassificationMetadata(ClassificationMetadata value)
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
public InputConfig.Builder setClassificationMetadata(ClassificationMetadata.Builder builderForValue)
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
public InputConfig.Builder mergeClassificationMetadata(ClassificationMetadata value)
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
public InputConfig.Builder clearClassificationMetadata()
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
public ClassificationMetadata.Builder getClassificationMetadataBuilder()
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
public ClassificationMetadataOrBuilder getClassificationMetadataOrBuilder()
Optional. Metadata about annotations in the input. Each annotation type may have different metadata. Metadata for classification problem.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
getClassificationMetadataOrBuilder in interface InputConfigOrBuilderpublic final InputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>public final InputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InputConfig.Builder>Copyright © 2019 Google LLC. All rights reserved.