Interface InputConfigOrBuilder (0.151.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataType

The dataType.

getDataTypeMetadataCase()

public abstract InputConfig.DataTypeMetadataCase getDataTypeMetadataCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()

Source located in Cloud Storage.

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

Returns
TypeDescription
GcsSourceOrBuilder

getSourceCase()

public abstract InputConfig.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the textMetadata field is set.