Interface InputConfigOrBuilder (0.166.0)

public interface InputConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationType()

public abstract 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;

Returns
Type Description
AnnotationType

The annotationType.

getAnnotationTypeValue()

public abstract 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;

Returns
Type Description
int

The enum numeric value on the wire for annotationType.

getBigquerySource()

public abstract 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;

Returns
Type Description
BigQuerySource

The bigquerySource.

getBigquerySourceOrBuilder()

public abstract 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;

Returns
Type Description
BigQuerySourceOrBuilder

getClassificationMetadata()

public abstract 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;

Returns
Type Description
ClassificationMetadata

The classificationMetadata.

getClassificationMetadataOrBuilder()

public abstract 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;

Returns
Type Description
ClassificationMetadataOrBuilder

getDataType()

public abstract DataType getDataType()

Required. Data type must be specifed when user tries to import data.

.google.cloud.datalabeling.v1beta1.DataType data_type = 1;

Returns
Type Description
DataType

The dataType.

getDataTypeMetadataCase()

public abstract InputConfig.DataTypeMetadataCase getDataTypeMetadataCase()
Returns
Type Description
InputConfig.DataTypeMetadataCase

getDataTypeValue()

public abstract int getDataTypeValue()

Required. Data type must be specifed when user tries to import data.

.google.cloud.datalabeling.v1beta1.DataType data_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for dataType.

getGcsSource()

public abstract GcsSource getGcsSource()

Source located in Cloud Storage.

.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()

Source located in Cloud Storage.

.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSourceOrBuilder

getSourceCase()

public abstract InputConfig.SourceCase getSourceCase()
Returns
Type Description
InputConfig.SourceCase

getTextMetadata()

public abstract TextMetadata getTextMetadata()

Required for text import, as language code must be specified.

.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;

Returns
Type Description
TextMetadata

The textMetadata.

getTextMetadataOrBuilder()

public abstract TextMetadataOrBuilder getTextMetadataOrBuilder()

Required for text import, as language code must be specified.

.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;

Returns
Type Description
TextMetadataOrBuilder

hasBigquerySource()

public abstract 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;

Returns
Type Description
boolean

Whether the bigquerySource field is set.

hasClassificationMetadata()

public abstract 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;

Returns
Type Description
boolean

Whether the classificationMetadata field is set.

hasGcsSource()

public abstract boolean hasGcsSource()

Source located in Cloud Storage.

.google.cloud.datalabeling.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasTextMetadata()

public abstract boolean hasTextMetadata()

Required for text import, as language code must be specified.

.google.cloud.datalabeling.v1beta1.TextMetadata text_metadata = 6;

Returns
Type Description
boolean

Whether the textMetadata field is set.