- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class InputConfig.Builder extends GeneratedMessageV3.Builder<InputConfig.Builder> implements InputConfigOrBuilder
The configuration of input data, including data type, location, etc.
Protobuf type google.cloud.datalabeling.v1beta1.InputConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InputConfig.BuilderImplements
InputConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InputConfig.Builder |
build()
public InputConfig build()
Type | Description |
InputConfig |
buildPartial()
public InputConfig buildPartial()
Type | Description |
InputConfig |
clear()
public InputConfig.Builder clear()
Type | Description |
InputConfig.Builder |
clearAnnotationType()
public InputConfig.Builder clearAnnotationType()
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
Type | Description |
InputConfig.Builder | This builder for chaining. |
clearBigquerySource()
public InputConfig.Builder clearBigquerySource()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Type | Description |
InputConfig.Builder |
clearClassificationMetadata()
public InputConfig.Builder clearClassificationMetadata()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Type | Description |
InputConfig.Builder |
clearDataType()
public InputConfig.Builder clearDataType()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;
Type | Description |
InputConfig.Builder | This builder for chaining. |
clearDataTypeMetadata()
public InputConfig.Builder clearDataTypeMetadata()
Type | Description |
InputConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public InputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InputConfig.Builder |
clearGcsSource()
public InputConfig.Builder clearGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Type | Description |
InputConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InputConfig.Builder |
clearSource()
public InputConfig.Builder clearSource()
Type | Description |
InputConfig.Builder |
clearTextMetadata()
public InputConfig.Builder clearTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Type | Description |
InputConfig.Builder |
clone()
public InputConfig.Builder clone()
Type | Description |
InputConfig.Builder |
getAnnotationType()
public AnnotationType getAnnotationType()
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
Type | Description |
AnnotationType | The annotationType. |
getAnnotationTypeValue()
public int getAnnotationTypeValue()
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
Type | Description |
int | The enum numeric value on the wire for annotationType. |
getBigquerySource()
public BigQuerySource getBigquerySource()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Type | Description |
BigQuerySource | The bigquerySource. |
getBigquerySourceBuilder()
public BigQuerySource.Builder getBigquerySourceBuilder()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Type | Description |
BigQuerySource.Builder |
getBigquerySourceOrBuilder()
public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Type | Description |
BigQuerySourceOrBuilder |
getClassificationMetadata()
public ClassificationMetadata getClassificationMetadata()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Type | Description |
ClassificationMetadata | The classificationMetadata. |
getClassificationMetadataBuilder()
public ClassificationMetadata.Builder getClassificationMetadataBuilder()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Type | Description |
ClassificationMetadata.Builder |
getClassificationMetadataOrBuilder()
public ClassificationMetadataOrBuilder getClassificationMetadataOrBuilder()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Type | Description |
ClassificationMetadataOrBuilder |
getDataType()
public DataType getDataType()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;
Type | Description |
DataType | The dataType. |
getDataTypeMetadataCase()
public InputConfig.DataTypeMetadataCase getDataTypeMetadataCase()
Type | Description |
InputConfig.DataTypeMetadataCase |
getDataTypeValue()
public int getDataTypeValue()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;
Type | Description |
int | The enum numeric value on the wire for dataType. |
getDefaultInstanceForType()
public InputConfig getDefaultInstanceForType()
Type | Description |
InputConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGcsSource()
public GcsSource getGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Type | Description |
GcsSource | The gcsSource. |
getGcsSourceBuilder()
public GcsSource.Builder getGcsSourceBuilder()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Type | Description |
GcsSource.Builder |
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Type | Description |
GcsSourceOrBuilder |
getSourceCase()
public InputConfig.SourceCase getSourceCase()
Type | Description |
InputConfig.SourceCase |
getTextMetadata()
public TextMetadata getTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Type | Description |
TextMetadata | The textMetadata. |
getTextMetadataBuilder()
public TextMetadata.Builder getTextMetadataBuilder()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Type | Description |
TextMetadata.Builder |
getTextMetadataOrBuilder()
public TextMetadataOrBuilder getTextMetadataOrBuilder()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Type | Description |
TextMetadataOrBuilder |
hasBigquerySource()
public boolean hasBigquerySource()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Type | Description |
boolean | Whether the bigquerySource field is set. |
hasClassificationMetadata()
public boolean hasClassificationMetadata()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Type | Description |
boolean | Whether the classificationMetadata field is set. |
hasGcsSource()
public boolean hasGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Type | Description |
boolean | Whether the gcsSource field is set. |
hasTextMetadata()
public boolean hasTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Type | Description |
boolean | Whether the textMetadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBigquerySource(BigQuerySource value)
public InputConfig.Builder mergeBigquerySource(BigQuerySource value)
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Name | Description |
value | BigQuerySource |
Type | Description |
InputConfig.Builder |
mergeClassificationMetadata(ClassificationMetadata value)
public InputConfig.Builder mergeClassificationMetadata(ClassificationMetadata value)
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Name | Description |
value | ClassificationMetadata |
Type | Description |
InputConfig.Builder |
mergeFrom(InputConfig other)
public InputConfig.Builder mergeFrom(InputConfig other)
Name | Description |
other | InputConfig |
Type | Description |
InputConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InputConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InputConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InputConfig.Builder |
mergeGcsSource(GcsSource value)
public InputConfig.Builder mergeGcsSource(GcsSource value)
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Name | Description |
value | GcsSource |
Type | Description |
InputConfig.Builder |
mergeTextMetadata(TextMetadata value)
public InputConfig.Builder mergeTextMetadata(TextMetadata value)
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Name | Description |
value | TextMetadata |
Type | Description |
InputConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InputConfig.Builder |
setAnnotationType(AnnotationType value)
public InputConfig.Builder setAnnotationType(AnnotationType value)
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
Name | Description |
value | AnnotationType The annotationType to set. |
Type | Description |
InputConfig.Builder | This builder for chaining. |
setAnnotationTypeValue(int value)
public InputConfig.Builder setAnnotationTypeValue(int value)
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
Name | Description |
value | int The enum numeric value on the wire for annotationType to set. |
Type | Description |
InputConfig.Builder | This builder for chaining. |
setBigquerySource(BigQuerySource value)
public InputConfig.Builder setBigquerySource(BigQuerySource value)
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Name | Description |
value | BigQuerySource |
Type | Description |
InputConfig.Builder |
setBigquerySource(BigQuerySource.Builder builderForValue)
public InputConfig.Builder setBigquerySource(BigQuerySource.Builder builderForValue)
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
Name | Description |
builderForValue | BigQuerySource.Builder |
Type | Description |
InputConfig.Builder |
setClassificationMetadata(ClassificationMetadata value)
public InputConfig.Builder setClassificationMetadata(ClassificationMetadata value)
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Name | Description |
value | ClassificationMetadata |
Type | Description |
InputConfig.Builder |
setClassificationMetadata(ClassificationMetadata.Builder builderForValue)
public InputConfig.Builder setClassificationMetadata(ClassificationMetadata.Builder builderForValue)
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
Name | Description |
builderForValue | ClassificationMetadata.Builder |
Type | Description |
InputConfig.Builder |
setDataType(DataType value)
public 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;
Name | Description |
value | DataType The dataType to set. |
Type | Description |
InputConfig.Builder | This builder for chaining. |
setDataTypeValue(int value)
public 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;
Name | Description |
value | int The enum numeric value on the wire for dataType to set. |
Type | Description |
InputConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InputConfig.Builder |
setGcsSource(GcsSource value)
public InputConfig.Builder setGcsSource(GcsSource value)
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Name | Description |
value | GcsSource |
Type | Description |
InputConfig.Builder |
setGcsSource(GcsSource.Builder builderForValue)
public InputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
Name | Description |
builderForValue | GcsSource.Builder |
Type | Description |
InputConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InputConfig.Builder |
setTextMetadata(TextMetadata value)
public InputConfig.Builder setTextMetadata(TextMetadata value)
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
Name | Description |
value | TextMetadata |
Type | Description |
InputConfig.Builder |
setTextMetadata(TextMetadata.Builder builderForValue)
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;
Name | Description |
builderForValue | TextMetadata.Builder |
Type | Description |
InputConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InputConfig.Builder |