Interface InputConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InputConfig
,InputConfig.Builder
public interface InputConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTextMetadata
boolean hasTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
- Returns:
- Whether the textMetadata field is set.
-
getTextMetadata
TextMetadata getTextMetadata()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
- Returns:
- The textMetadata.
-
getTextMetadataOrBuilder
TextMetadataOrBuilder getTextMetadataOrBuilder()
Required for text import, as language code must be specified.
.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;
-
hasGcsSource
boolean hasGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
GcsSource getGcsSource()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
- Returns:
- The gcsSource.
-
getGcsSourceOrBuilder
GcsSourceOrBuilder getGcsSourceOrBuilder()
Source located in Cloud Storage.
.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;
-
hasBigquerySource
boolean hasBigquerySource()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob].
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
- Returns:
- Whether the bigquerySource field is set.
-
getBigquerySource
BigQuerySource getBigquerySource()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob].
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
- Returns:
- The bigquerySource.
-
getBigquerySourceOrBuilder
BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
Source located in BigQuery. You must specify this field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob].
.google.cloud.datalabeling.v1beta1.BigQuerySource bigquery_source = 5;
-
getDataTypeValue
int getDataTypeValue()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;
- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
DataType getDataType()
Required. Data type must be specifed when user tries to import data.
.google.cloud.datalabeling.v1beta1.DataType data_type = 1;
- Returns:
- The dataType.
-
getAnnotationTypeValue
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.EvaluationJob].
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
- Returns:
- The enum numeric value on the wire for annotationType.
-
getAnnotationType
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.EvaluationJob].
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 3;
- Returns:
- The annotationType.
-
hasClassificationMetadata
boolean hasClassificationMetadata()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
- Returns:
- Whether the classificationMetadata field is set.
-
getClassificationMetadata
ClassificationMetadata getClassificationMetadata()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
- Returns:
- The classificationMetadata.
-
getClassificationMetadataOrBuilder
ClassificationMetadataOrBuilder getClassificationMetadataOrBuilder()
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] for a model version that performs classification.
.google.cloud.datalabeling.v1beta1.ClassificationMetadata classification_metadata = 4;
-
getDataTypeMetadataCase
InputConfig.DataTypeMetadataCase getDataTypeMetadataCase()
-
getSourceCase
InputConfig.SourceCase getSourceCase()
-
-