public static final class Model.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder> implements ModelOrBuilder
API proto representing a trained machine learning model.Protobuf type
google.cloud.automl.v1.Model| Modifier and Type | Method and Description |
|---|---|
Model.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Model |
build() |
Model |
buildPartial() |
Model.Builder |
clear() |
Model.Builder |
clearCreateTime()
Output only.
|
Model.Builder |
clearDatasetId()
Required.
|
Model.Builder |
clearDeploymentState()
Output only.
|
Model.Builder |
clearDisplayName()
Required.
|
Model.Builder |
clearEtag()
Used to perform a consistent read-modify-write updates.
|
Model.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Model.Builder |
clearImageClassificationModelMetadata()
Metadata for image classification models.
|
Model.Builder |
clearImageObjectDetectionModelMetadata()
Metadata for image object detection models.
|
Model.Builder |
clearLabels() |
Model.Builder |
clearModelMetadata() |
Model.Builder |
clearName()
Output only.
|
Model.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Model.Builder |
clearTextClassificationModelMetadata()
Metadata for text classification models.
|
Model.Builder |
clearTextExtractionModelMetadata()
Metadata for text extraction models.
|
Model.Builder |
clearTextSentimentModelMetadata()
Metadata for text sentiment models.
|
Model.Builder |
clearTranslationModelMetadata()
Metadata for translation models.
|
Model.Builder |
clearUpdateTime()
Output only.
|
Model.Builder |
clone() |
boolean |
containsLabels(String key)
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDatasetId()
Required.
|
com.google.protobuf.ByteString |
getDatasetIdBytes()
Required.
|
Model |
getDefaultInstanceForType() |
Model.DeploymentState |
getDeploymentState()
Output only.
|
int |
getDeploymentStateValue()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getEtag()
Used to perform a consistent read-modify-write updates.
|
com.google.protobuf.ByteString |
getEtagBytes()
Used to perform a consistent read-modify-write updates.
|
ImageClassificationModelMetadata |
getImageClassificationModelMetadata()
Metadata for image classification models.
|
ImageClassificationModelMetadata.Builder |
getImageClassificationModelMetadataBuilder()
Metadata for image classification models.
|
ImageClassificationModelMetadataOrBuilder |
getImageClassificationModelMetadataOrBuilder()
Metadata for image classification models.
|
ImageObjectDetectionModelMetadata |
getImageObjectDetectionModelMetadata()
Metadata for image object detection models.
|
ImageObjectDetectionModelMetadata.Builder |
getImageObjectDetectionModelMetadataBuilder()
Metadata for image object detection models.
|
ImageObjectDetectionModelMetadataOrBuilder |
getImageObjectDetectionModelMetadataOrBuilder()
Metadata for image object detection models.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
Model.ModelMetadataCase |
getModelMetadataCase() |
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
TextClassificationModelMetadata |
getTextClassificationModelMetadata()
Metadata for text classification models.
|
TextClassificationModelMetadata.Builder |
getTextClassificationModelMetadataBuilder()
Metadata for text classification models.
|
TextClassificationModelMetadataOrBuilder |
getTextClassificationModelMetadataOrBuilder()
Metadata for text classification models.
|
TextExtractionModelMetadata |
getTextExtractionModelMetadata()
Metadata for text extraction models.
|
TextExtractionModelMetadata.Builder |
getTextExtractionModelMetadataBuilder()
Metadata for text extraction models.
|
TextExtractionModelMetadataOrBuilder |
getTextExtractionModelMetadataOrBuilder()
Metadata for text extraction models.
|
TextSentimentModelMetadata |
getTextSentimentModelMetadata()
Metadata for text sentiment models.
|
TextSentimentModelMetadata.Builder |
getTextSentimentModelMetadataBuilder()
Metadata for text sentiment models.
|
TextSentimentModelMetadataOrBuilder |
getTextSentimentModelMetadataOrBuilder()
Metadata for text sentiment models.
|
TranslationModelMetadata |
getTranslationModelMetadata()
Metadata for translation models.
|
TranslationModelMetadata.Builder |
getTranslationModelMetadataBuilder()
Metadata for translation models.
|
TranslationModelMetadataOrBuilder |
getTranslationModelMetadataOrBuilder()
Metadata for translation models.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasImageClassificationModelMetadata()
Metadata for image classification models.
|
boolean |
hasImageObjectDetectionModelMetadata()
Metadata for image object detection models.
|
boolean |
hasTextClassificationModelMetadata()
Metadata for text classification models.
|
boolean |
hasTextExtractionModelMetadata()
Metadata for text extraction models.
|
boolean |
hasTextSentimentModelMetadata()
Metadata for text sentiment models.
|
boolean |
hasTranslationModelMetadata()
Metadata for translation models.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Model.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Model.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Model.Builder |
mergeFrom(com.google.protobuf.Message other) |
Model.Builder |
mergeFrom(Model other) |
Model.Builder |
mergeImageClassificationModelMetadata(ImageClassificationModelMetadata value)
Metadata for image classification models.
|
Model.Builder |
mergeImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.
|
Model.Builder |
mergeTextClassificationModelMetadata(TextClassificationModelMetadata value)
Metadata for text classification models.
|
Model.Builder |
mergeTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.
|
Model.Builder |
mergeTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.
|
Model.Builder |
mergeTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.
|
Model.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Model.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Model.Builder |
putAllLabels(Map<String,String> values)
Optional.
|
Model.Builder |
putLabels(String key,
String value)
Optional.
|
Model.Builder |
removeLabels(String key)
Optional.
|
Model.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Model.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Model.Builder |
setDatasetId(String value)
Required.
|
Model.Builder |
setDatasetIdBytes(com.google.protobuf.ByteString value)
Required.
|
Model.Builder |
setDeploymentState(Model.DeploymentState value)
Output only.
|
Model.Builder |
setDeploymentStateValue(int value)
Output only.
|
Model.Builder |
setDisplayName(String value)
Required.
|
Model.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Model.Builder |
setEtag(String value)
Used to perform a consistent read-modify-write updates.
|
Model.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Used to perform a consistent read-modify-write updates.
|
Model.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Model.Builder |
setImageClassificationModelMetadata(ImageClassificationModelMetadata.Builder builderForValue)
Metadata for image classification models.
|
Model.Builder |
setImageClassificationModelMetadata(ImageClassificationModelMetadata value)
Metadata for image classification models.
|
Model.Builder |
setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata.Builder builderForValue)
Metadata for image object detection models.
|
Model.Builder |
setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.
|
Model.Builder |
setName(String value)
Output only.
|
Model.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Model.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Model.Builder |
setTextClassificationModelMetadata(TextClassificationModelMetadata.Builder builderForValue)
Metadata for text classification models.
|
Model.Builder |
setTextClassificationModelMetadata(TextClassificationModelMetadata value)
Metadata for text classification models.
|
Model.Builder |
setTextExtractionModelMetadata(TextExtractionModelMetadata.Builder builderForValue)
Metadata for text extraction models.
|
Model.Builder |
setTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.
|
Model.Builder |
setTextSentimentModelMetadata(TextSentimentModelMetadata.Builder builderForValue)
Metadata for text sentiment models.
|
Model.Builder |
setTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.
|
Model.Builder |
setTranslationModelMetadata(TranslationModelMetadata.Builder builderForValue)
Metadata for translation models.
|
Model.Builder |
setTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.
|
Model.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Model.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Model.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>public Model.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Model.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<Model.Builder>public Model getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Model build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Model buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Model.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>public Model.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<Model.Builder>public Model.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>public Model.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>public Model.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<Model.Builder>public Model.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<Model.Builder>public Model.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.Builder>public Model.Builder mergeFrom(Model other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>public Model.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<Model.Builder>IOExceptionpublic Model.ModelMetadataCase getModelMetadataCase()
getModelMetadataCase in interface ModelOrBuilderpublic Model.Builder clearModelMetadata()
public boolean hasTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
hasTranslationModelMetadata in interface ModelOrBuilderpublic TranslationModelMetadata getTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
getTranslationModelMetadata in interface ModelOrBuilderpublic Model.Builder setTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
public Model.Builder setTranslationModelMetadata(TranslationModelMetadata.Builder builderForValue)
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
public Model.Builder mergeTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
public Model.Builder clearTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
public TranslationModelMetadata.Builder getTranslationModelMetadataBuilder()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
public TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
getTranslationModelMetadataOrBuilder in interface ModelOrBuilderpublic boolean hasImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
hasImageClassificationModelMetadata in interface ModelOrBuilderpublic ImageClassificationModelMetadata getImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
getImageClassificationModelMetadata in interface ModelOrBuilderpublic Model.Builder setImageClassificationModelMetadata(ImageClassificationModelMetadata value)
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
public Model.Builder setImageClassificationModelMetadata(ImageClassificationModelMetadata.Builder builderForValue)
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
public Model.Builder mergeImageClassificationModelMetadata(ImageClassificationModelMetadata value)
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
public Model.Builder clearImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
public ImageClassificationModelMetadata.Builder getImageClassificationModelMetadataBuilder()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
public ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
getImageClassificationModelMetadataOrBuilder in interface ModelOrBuilderpublic boolean hasTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
hasTextClassificationModelMetadata in interface ModelOrBuilderpublic TextClassificationModelMetadata getTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
getTextClassificationModelMetadata in interface ModelOrBuilderpublic Model.Builder setTextClassificationModelMetadata(TextClassificationModelMetadata value)
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
public Model.Builder setTextClassificationModelMetadata(TextClassificationModelMetadata.Builder builderForValue)
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
public Model.Builder mergeTextClassificationModelMetadata(TextClassificationModelMetadata value)
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
public Model.Builder clearTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
public TextClassificationModelMetadata.Builder getTextClassificationModelMetadataBuilder()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
public TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
getTextClassificationModelMetadataOrBuilder in interface ModelOrBuilderpublic boolean hasImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
hasImageObjectDetectionModelMetadata in interface ModelOrBuilderpublic ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
getImageObjectDetectionModelMetadata in interface ModelOrBuilderpublic Model.Builder setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
public Model.Builder setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata.Builder builderForValue)
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
public Model.Builder mergeImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
public Model.Builder clearImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
public ImageObjectDetectionModelMetadata.Builder getImageObjectDetectionModelMetadataBuilder()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
public ImageObjectDetectionModelMetadataOrBuilder getImageObjectDetectionModelMetadataOrBuilder()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
getImageObjectDetectionModelMetadataOrBuilder in interface ModelOrBuilderpublic boolean hasTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
hasTextExtractionModelMetadata in interface ModelOrBuilderpublic TextExtractionModelMetadata getTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
getTextExtractionModelMetadata in interface ModelOrBuilderpublic Model.Builder setTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
public Model.Builder setTextExtractionModelMetadata(TextExtractionModelMetadata.Builder builderForValue)
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
public Model.Builder mergeTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
public Model.Builder clearTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
public TextExtractionModelMetadata.Builder getTextExtractionModelMetadataBuilder()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
public TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
getTextExtractionModelMetadataOrBuilder in interface ModelOrBuilderpublic boolean hasTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
hasTextSentimentModelMetadata in interface ModelOrBuilderpublic TextSentimentModelMetadata getTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
getTextSentimentModelMetadata in interface ModelOrBuilderpublic Model.Builder setTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
public Model.Builder setTextSentimentModelMetadata(TextSentimentModelMetadata.Builder builderForValue)
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
public Model.Builder mergeTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
public Model.Builder clearTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
public TextSentimentModelMetadata.Builder getTextSentimentModelMetadataBuilder()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
public TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
getTextSentimentModelMetadataOrBuilder in interface ModelOrBuilderpublic String getName()
Output only. Resource name of the model.
Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;getName in interface ModelOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the model.
Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;getNameBytes in interface ModelOrBuilderpublic Model.Builder setName(String value)
Output only. Resource name of the model.
Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;value - The name to set.public Model.Builder clearName()
Output only. Resource name of the model.
Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;public Model.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the model.
Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;value - The bytes for name to set.public String getDisplayName()
Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
string display_name = 2;getDisplayName in interface ModelOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
string display_name = 2;getDisplayNameBytes in interface ModelOrBuilderpublic Model.Builder setDisplayName(String value)
Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
string display_name = 2;value - The displayName to set.public Model.Builder clearDisplayName()
Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
string display_name = 2;public Model.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
string display_name = 2;value - The bytes for displayName to set.public String getDatasetId()
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
string dataset_id = 3;getDatasetId in interface ModelOrBuilderpublic com.google.protobuf.ByteString getDatasetIdBytes()
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
string dataset_id = 3;getDatasetIdBytes in interface ModelOrBuilderpublic Model.Builder setDatasetId(String value)
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
string dataset_id = 3;value - The datasetId to set.public Model.Builder clearDatasetId()
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
string dataset_id = 3;public Model.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
string dataset_id = 3;value - The bytes for datasetId to set.public boolean hasCreateTime()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;hasCreateTime in interface ModelOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;getCreateTime in interface ModelOrBuilderpublic Model.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;public Model.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;public Model.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;public Model.Builder clearCreateTime()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;getCreateTimeOrBuilder in interface ModelOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;hasUpdateTime in interface ModelOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;getUpdateTime in interface ModelOrBuilderpublic Model.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;public Model.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;public Model.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;public Model.Builder clearUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;getUpdateTimeOrBuilder in interface ModelOrBuilderpublic int getDeploymentStateValue()
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;getDeploymentStateValue in interface ModelOrBuilderpublic Model.Builder setDeploymentStateValue(int value)
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;value - The enum numeric value on the wire for deploymentState to set.public Model.DeploymentState getDeploymentState()
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;getDeploymentState in interface ModelOrBuilderpublic Model.Builder setDeploymentState(Model.DeploymentState value)
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;value - The deploymentState to set.public Model.Builder clearDeploymentState()
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;public String getEtag()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;getEtag in interface ModelOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;getEtagBytes in interface ModelOrBuilderpublic Model.Builder setEtag(String value)
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;value - The etag to set.public Model.Builder clearEtag()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;public Model.Builder setEtagBytes(com.google.protobuf.ByteString value)
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;value - The bytes for etag to set.public int getLabelsCount()
ModelOrBuilderOptional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;getLabelsCount in interface ModelOrBuilderpublic boolean containsLabels(String key)
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;containsLabels in interface ModelOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ModelOrBuilderpublic Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;getLabelsMap in interface ModelOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;getLabelsOrDefault in interface ModelOrBuilderpublic String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;getLabelsOrThrow in interface ModelOrBuilderpublic Model.Builder clearLabels()
public Model.Builder removeLabels(String key)
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;@Deprecated public Map<String,String> getMutableLabels()
public Model.Builder putLabels(String key, String value)
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;public Model.Builder putAllLabels(Map<String,String> values)
Optional. The labels with user-defined metadata to organize your model. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 34;public final Model.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>public final Model.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>Copyright © 2025 Google LLC. All rights reserved.