Package com.google.cloud.automl.v1
Class Model.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
- com.google.cloud.automl.v1.Model.Builder
-
- All Implemented Interfaces:
ModelOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Model
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 typegoogle.cloud.automl.v1.Model
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Model.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Model.Builder
mergeFrom(Model other)
Model.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Model.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Output only.Model.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Metadata for image classification models.Model.Builder
setImageClassificationModelMetadata(ImageClassificationModelMetadata.Builder builderForValue)
Metadata for image classification models.Model.Builder
setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.Model.Builder
setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata.Builder builderForValue)
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 value)
Metadata for text classification models.Model.Builder
setTextClassificationModelMetadata(TextClassificationModelMetadata.Builder builderForValue)
Metadata for text classification models.Model.Builder
setTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.Model.Builder
setTextExtractionModelMetadata(TextExtractionModelMetadata.Builder builderForValue)
Metadata for text extraction models.Model.Builder
setTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.Model.Builder
setTextSentimentModelMetadata(TextSentimentModelMetadata.Builder builderForValue)
Metadata for text sentiment models.Model.Builder
setTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.Model.Builder
setTranslationModelMetadata(TranslationModelMetadata.Builder builderForValue)
Metadata for translation models.Model.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Model.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Model.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
clear
public Model.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
getDefaultInstanceForType
public Model getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Model build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Model buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Model.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
setField
public Model.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
clearField
public Model.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
clearOneof
public Model.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
setRepeatedField
public Model.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
addRepeatedField
public Model.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
mergeFrom
public Model.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Model.Builder>
-
mergeFrom
public Model.Builder mergeFrom(Model other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
mergeFrom
public Model.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Model.Builder>
- Throws:
IOException
-
getModelMetadataCase
public Model.ModelMetadataCase getModelMetadataCase()
- Specified by:
getModelMetadataCase
in interfaceModelOrBuilder
-
clearModelMetadata
public Model.Builder clearModelMetadata()
-
hasTranslationModelMetadata
public boolean hasTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
- Specified by:
hasTranslationModelMetadata
in interfaceModelOrBuilder
- Returns:
- Whether the translationModelMetadata field is set.
-
getTranslationModelMetadata
public TranslationModelMetadata getTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
- Specified by:
getTranslationModelMetadata
in interfaceModelOrBuilder
- Returns:
- The translationModelMetadata.
-
setTranslationModelMetadata
public Model.Builder setTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
-
setTranslationModelMetadata
public Model.Builder setTranslationModelMetadata(TranslationModelMetadata.Builder builderForValue)
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
-
mergeTranslationModelMetadata
public Model.Builder mergeTranslationModelMetadata(TranslationModelMetadata value)
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
-
clearTranslationModelMetadata
public Model.Builder clearTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
-
getTranslationModelMetadataBuilder
public TranslationModelMetadata.Builder getTranslationModelMetadataBuilder()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
-
getTranslationModelMetadataOrBuilder
public TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
- Specified by:
getTranslationModelMetadataOrBuilder
in interfaceModelOrBuilder
-
hasImageClassificationModelMetadata
public boolean hasImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
- Specified by:
hasImageClassificationModelMetadata
in interfaceModelOrBuilder
- Returns:
- Whether the imageClassificationModelMetadata field is set.
-
getImageClassificationModelMetadata
public ImageClassificationModelMetadata getImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
- Specified by:
getImageClassificationModelMetadata
in interfaceModelOrBuilder
- Returns:
- The imageClassificationModelMetadata.
-
setImageClassificationModelMetadata
public Model.Builder setImageClassificationModelMetadata(ImageClassificationModelMetadata value)
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
-
setImageClassificationModelMetadata
public Model.Builder setImageClassificationModelMetadata(ImageClassificationModelMetadata.Builder builderForValue)
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
-
mergeImageClassificationModelMetadata
public Model.Builder mergeImageClassificationModelMetadata(ImageClassificationModelMetadata value)
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
-
clearImageClassificationModelMetadata
public Model.Builder clearImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
-
getImageClassificationModelMetadataBuilder
public ImageClassificationModelMetadata.Builder getImageClassificationModelMetadataBuilder()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
-
getImageClassificationModelMetadataOrBuilder
public ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
- Specified by:
getImageClassificationModelMetadataOrBuilder
in interfaceModelOrBuilder
-
hasTextClassificationModelMetadata
public boolean hasTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
- Specified by:
hasTextClassificationModelMetadata
in interfaceModelOrBuilder
- Returns:
- Whether the textClassificationModelMetadata field is set.
-
getTextClassificationModelMetadata
public TextClassificationModelMetadata getTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
- Specified by:
getTextClassificationModelMetadata
in interfaceModelOrBuilder
- Returns:
- The textClassificationModelMetadata.
-
setTextClassificationModelMetadata
public Model.Builder setTextClassificationModelMetadata(TextClassificationModelMetadata value)
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
-
setTextClassificationModelMetadata
public Model.Builder setTextClassificationModelMetadata(TextClassificationModelMetadata.Builder builderForValue)
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
-
mergeTextClassificationModelMetadata
public Model.Builder mergeTextClassificationModelMetadata(TextClassificationModelMetadata value)
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
-
clearTextClassificationModelMetadata
public Model.Builder clearTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
-
getTextClassificationModelMetadataBuilder
public TextClassificationModelMetadata.Builder getTextClassificationModelMetadataBuilder()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
-
getTextClassificationModelMetadataOrBuilder
public TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
- Specified by:
getTextClassificationModelMetadataOrBuilder
in interfaceModelOrBuilder
-
hasImageObjectDetectionModelMetadata
public boolean hasImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
- Specified by:
hasImageObjectDetectionModelMetadata
in interfaceModelOrBuilder
- Returns:
- Whether the imageObjectDetectionModelMetadata field is set.
-
getImageObjectDetectionModelMetadata
public ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
- Specified by:
getImageObjectDetectionModelMetadata
in interfaceModelOrBuilder
- Returns:
- The imageObjectDetectionModelMetadata.
-
setImageObjectDetectionModelMetadata
public Model.Builder setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
-
setImageObjectDetectionModelMetadata
public Model.Builder setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata.Builder builderForValue)
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
-
mergeImageObjectDetectionModelMetadata
public Model.Builder mergeImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
-
clearImageObjectDetectionModelMetadata
public Model.Builder clearImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
-
getImageObjectDetectionModelMetadataBuilder
public ImageObjectDetectionModelMetadata.Builder getImageObjectDetectionModelMetadataBuilder()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
-
getImageObjectDetectionModelMetadataOrBuilder
public ImageObjectDetectionModelMetadataOrBuilder getImageObjectDetectionModelMetadataOrBuilder()
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
- Specified by:
getImageObjectDetectionModelMetadataOrBuilder
in interfaceModelOrBuilder
-
hasTextExtractionModelMetadata
public boolean hasTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
- Specified by:
hasTextExtractionModelMetadata
in interfaceModelOrBuilder
- Returns:
- Whether the textExtractionModelMetadata field is set.
-
getTextExtractionModelMetadata
public TextExtractionModelMetadata getTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
- Specified by:
getTextExtractionModelMetadata
in interfaceModelOrBuilder
- Returns:
- The textExtractionModelMetadata.
-
setTextExtractionModelMetadata
public Model.Builder setTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
-
setTextExtractionModelMetadata
public Model.Builder setTextExtractionModelMetadata(TextExtractionModelMetadata.Builder builderForValue)
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
-
mergeTextExtractionModelMetadata
public Model.Builder mergeTextExtractionModelMetadata(TextExtractionModelMetadata value)
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
-
clearTextExtractionModelMetadata
public Model.Builder clearTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
-
getTextExtractionModelMetadataBuilder
public TextExtractionModelMetadata.Builder getTextExtractionModelMetadataBuilder()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
-
getTextExtractionModelMetadataOrBuilder
public TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
- Specified by:
getTextExtractionModelMetadataOrBuilder
in interfaceModelOrBuilder
-
hasTextSentimentModelMetadata
public boolean hasTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
- Specified by:
hasTextSentimentModelMetadata
in interfaceModelOrBuilder
- Returns:
- Whether the textSentimentModelMetadata field is set.
-
getTextSentimentModelMetadata
public TextSentimentModelMetadata getTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
- Specified by:
getTextSentimentModelMetadata
in interfaceModelOrBuilder
- Returns:
- The textSentimentModelMetadata.
-
setTextSentimentModelMetadata
public Model.Builder setTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
-
setTextSentimentModelMetadata
public Model.Builder setTextSentimentModelMetadata(TextSentimentModelMetadata.Builder builderForValue)
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
-
mergeTextSentimentModelMetadata
public Model.Builder mergeTextSentimentModelMetadata(TextSentimentModelMetadata value)
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
-
clearTextSentimentModelMetadata
public Model.Builder clearTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
-
getTextSentimentModelMetadataBuilder
public TextSentimentModelMetadata.Builder getTextSentimentModelMetadataBuilder()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
-
getTextSentimentModelMetadataOrBuilder
public TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
- Specified by:
getTextSentimentModelMetadataOrBuilder
in interfaceModelOrBuilder
-
getName
public String getName()
Output only. Resource name of the model. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;
- Specified by:
getName
in interfaceModelOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceModelOrBuilder
- Returns:
- The bytes for name.
-
setName
public 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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Model.Builder clearName()
Output only. Resource name of the model. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
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;
- Specified by:
getDisplayName
in interfaceModelOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public 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;
- Specified by:
getDisplayNameBytes
in interfaceModelOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public 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;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
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;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDatasetId
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;
- Specified by:
getDatasetId
in interfaceModelOrBuilder
- Returns:
- The datasetId.
-
getDatasetIdBytes
public 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;
- Specified by:
getDatasetIdBytes
in interfaceModelOrBuilder
- Returns:
- The bytes for datasetId.
-
setDatasetId
public 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;
- Parameters:
value
- The datasetId to set.- Returns:
- This builder for chaining.
-
clearDatasetId
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;
- Returns:
- This builder for chaining.
-
setDatasetIdBytes
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;
- Parameters:
value
- The bytes for datasetId to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;
- Specified by:
hasCreateTime
in interfaceModelOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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;
- Specified by:
getCreateTime
in interfaceModelOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public 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;
-
setCreateTime
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;
-
mergeCreateTime
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;
-
clearCreateTime
public Model.Builder clearCreateTime()
Output only. Timestamp when the model training finished and can be used for prediction.
.google.protobuf.Timestamp create_time = 7;
-
getCreateTimeBuilder
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;
-
getCreateTimeOrBuilder
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;
- Specified by:
getCreateTimeOrBuilder
in interfaceModelOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
- Specified by:
hasUpdateTime
in interfaceModelOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
- Specified by:
getUpdateTime
in interfaceModelOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Model.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
-
setUpdateTime
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;
-
mergeUpdateTime
public Model.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
-
clearUpdateTime
public Model.Builder clearUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;
- Specified by:
getUpdateTimeOrBuilder
in interfaceModelOrBuilder
-
getDeploymentStateValue
public 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;
- Specified by:
getDeploymentStateValue
in interfaceModelOrBuilder
- Returns:
- The enum numeric value on the wire for deploymentState.
-
setDeploymentStateValue
public 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;
- Parameters:
value
- The enum numeric value on the wire for deploymentState to set.- Returns:
- This builder for chaining.
-
getDeploymentState
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;
- Specified by:
getDeploymentState
in interfaceModelOrBuilder
- Returns:
- The deploymentState.
-
setDeploymentState
public 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;
- Parameters:
value
- The deploymentState to set.- Returns:
- This builder for chaining.
-
clearDeploymentState
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;
- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;
- Specified by:
getEtag
in interfaceModelOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public 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;
- Specified by:
getEtagBytes
in interfaceModelOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public 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;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Model.Builder clearEtag()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;
- Returns:
- This builder for chaining.
-
setEtagBytes
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;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ModelOrBuilder
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;
- Specified by:
getLabelsCount
in interfaceModelOrBuilder
-
containsLabels
public 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;
- Specified by:
containsLabels
in interfaceModelOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceModelOrBuilder
-
getLabelsMap
public 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;
- Specified by:
getLabelsMap
in interfaceModelOrBuilder
-
getLabelsOrDefault
public 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;
- Specified by:
getLabelsOrDefault
in interfaceModelOrBuilder
-
getLabelsOrThrow
public 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;
- Specified by:
getLabelsOrThrow
in interfaceModelOrBuilder
-
clearLabels
public Model.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
setUnknownFields
public final Model.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
mergeUnknownFields
public final Model.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Model.Builder>
-
-