Package com.google.cloud.automl.v1beta1
Class Model
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.automl.v1beta1.Model
-
- All Implemented Interfaces:
ModelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Model extends com.google.protobuf.GeneratedMessageV3 implements ModelOrBuilder
API proto representing a trained machine learning model.
Protobuf typegoogle.cloud.automl.v1beta1.Model- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel.BuilderAPI proto representing a trained machine learning model.static classModel.DeploymentStateDeployment state of the model.static classModel.ModelMetadataCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDATASET_ID_FIELD_NUMBERstatic intDEPLOYMENT_STATE_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intIMAGE_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBERstatic intIMAGE_OBJECT_DETECTION_MODEL_METADATA_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTABLES_MODEL_METADATA_FIELD_NUMBERstatic intTEXT_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBERstatic intTEXT_EXTRACTION_MODEL_METADATA_FIELD_NUMBERstatic intTEXT_SENTIMENT_MODEL_METADATA_FIELD_NUMBERstatic intTRANSLATION_MODEL_METADATA_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVIDEO_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBERstatic intVIDEO_OBJECT_TRACKING_MODEL_METADATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDatasetId()Required.com.google.protobuf.ByteStringgetDatasetIdBytes()Required.static ModelgetDefaultInstance()ModelgetDefaultInstanceForType()Model.DeploymentStategetDeploymentState()Output only.intgetDeploymentStateValue()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.ImageClassificationModelMetadatagetImageClassificationModelMetadata()Metadata for image classification models.ImageClassificationModelMetadataOrBuildergetImageClassificationModelMetadataOrBuilder()Metadata for image classification models.ImageObjectDetectionModelMetadatagetImageObjectDetectionModelMetadata()Metadata for image object detection models.ImageObjectDetectionModelMetadataOrBuildergetImageObjectDetectionModelMetadataOrBuilder()Metadata for image object detection models.Model.ModelMetadataCasegetModelMetadataCase()StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Model>getParserForType()intgetSerializedSize()TablesModelMetadatagetTablesModelMetadata()Metadata for Tables models.TablesModelMetadataOrBuildergetTablesModelMetadataOrBuilder()Metadata for Tables models.TextClassificationModelMetadatagetTextClassificationModelMetadata()Metadata for text classification models.TextClassificationModelMetadataOrBuildergetTextClassificationModelMetadataOrBuilder()Metadata for text classification models.TextExtractionModelMetadatagetTextExtractionModelMetadata()Metadata for text extraction models.TextExtractionModelMetadataOrBuildergetTextExtractionModelMetadataOrBuilder()Metadata for text extraction models.TextSentimentModelMetadatagetTextSentimentModelMetadata()Metadata for text sentiment models.TextSentimentModelMetadataOrBuildergetTextSentimentModelMetadataOrBuilder()Metadata for text sentiment models.TranslationModelMetadatagetTranslationModelMetadata()Metadata for translation models.TranslationModelMetadataOrBuildergetTranslationModelMetadataOrBuilder()Metadata for translation models.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VideoClassificationModelMetadatagetVideoClassificationModelMetadata()Metadata for video classification models.VideoClassificationModelMetadataOrBuildergetVideoClassificationModelMetadataOrBuilder()Metadata for video classification models.VideoObjectTrackingModelMetadatagetVideoObjectTrackingModelMetadata()Metadata for video object tracking models.VideoObjectTrackingModelMetadataOrBuildergetVideoObjectTrackingModelMetadataOrBuilder()Metadata for video object tracking models.booleanhasCreateTime()Output only.inthashCode()booleanhasImageClassificationModelMetadata()Metadata for image classification models.booleanhasImageObjectDetectionModelMetadata()Metadata for image object detection models.booleanhasTablesModelMetadata()Metadata for Tables models.booleanhasTextClassificationModelMetadata()Metadata for text classification models.booleanhasTextExtractionModelMetadata()Metadata for text extraction models.booleanhasTextSentimentModelMetadata()Metadata for text sentiment models.booleanhasTranslationModelMetadata()Metadata for translation models.booleanhasUpdateTime()Output only.booleanhasVideoClassificationModelMetadata()Metadata for video classification models.booleanhasVideoObjectTrackingModelMetadata()Metadata for video object tracking models.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Model.BuildernewBuilder()static Model.BuildernewBuilder(Model prototype)Model.BuildernewBuilderForType()protected Model.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ModelparseDelimitedFrom(InputStream input)static ModelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelparseFrom(byte[] data)static ModelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelparseFrom(com.google.protobuf.ByteString data)static ModelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelparseFrom(com.google.protobuf.CodedInputStream input)static ModelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelparseFrom(InputStream input)static ModelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelparseFrom(ByteBuffer data)static ModelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Model>parser()Model.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSLATION_MODEL_METADATA_FIELD_NUMBER
public static final int TRANSLATION_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
public static final int IMAGE_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_OBJECT_DETECTION_MODEL_METADATA_FIELD_NUMBER
public static final int IMAGE_OBJECT_DETECTION_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEO_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
public static final int VIDEO_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEO_OBJECT_TRACKING_MODEL_METADATA_FIELD_NUMBER
public static final int VIDEO_OBJECT_TRACKING_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_EXTRACTION_MODEL_METADATA_FIELD_NUMBER
public static final int TEXT_EXTRACTION_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLES_MODEL_METADATA_FIELD_NUMBER
public static final int TABLES_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_SENTIMENT_MODEL_METADATA_FIELD_NUMBER
public static final int TEXT_SENTIMENT_MODEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATASET_ID_FIELD_NUMBER
public static final int DATASET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYMENT_STATE_FIELD_NUMBER
public static final int DEPLOYMENT_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getModelMetadataCase
public Model.ModelMetadataCase getModelMetadataCase()
- Specified by:
getModelMetadataCasein interfaceModelOrBuilder
-
hasTranslationModelMetadata
public boolean hasTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;- Specified by:
hasTranslationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the translationModelMetadata field is set.
-
getTranslationModelMetadata
public TranslationModelMetadata getTranslationModelMetadata()
Metadata for translation models.
.google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;- Specified by:
getTranslationModelMetadatain interfaceModelOrBuilder- Returns:
- The translationModelMetadata.
-
getTranslationModelMetadataOrBuilder
public TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()
Metadata for translation models.
.google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;- Specified by:
getTranslationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasImageClassificationModelMetadata
public boolean hasImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;- Specified by:
hasImageClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the imageClassificationModelMetadata field is set.
-
getImageClassificationModelMetadata
public ImageClassificationModelMetadata getImageClassificationModelMetadata()
Metadata for image classification models.
.google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;- Specified by:
getImageClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- The imageClassificationModelMetadata.
-
getImageClassificationModelMetadataOrBuilder
public ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()
Metadata for image classification models.
.google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;- Specified by:
getImageClassificationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTextClassificationModelMetadata
public boolean hasTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;- Specified by:
hasTextClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the textClassificationModelMetadata field is set.
-
getTextClassificationModelMetadata
public TextClassificationModelMetadata getTextClassificationModelMetadata()
Metadata for text classification models.
.google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;- Specified by:
getTextClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- The textClassificationModelMetadata.
-
getTextClassificationModelMetadataOrBuilder
public TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()
Metadata for text classification models.
.google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;- Specified by:
getTextClassificationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasImageObjectDetectionModelMetadata
public boolean hasImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;- Specified by:
hasImageObjectDetectionModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the imageObjectDetectionModelMetadata field is set.
-
getImageObjectDetectionModelMetadata
public ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()
Metadata for image object detection models.
.google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;- Specified by:
getImageObjectDetectionModelMetadatain interfaceModelOrBuilder- Returns:
- The imageObjectDetectionModelMetadata.
-
getImageObjectDetectionModelMetadataOrBuilder
public ImageObjectDetectionModelMetadataOrBuilder getImageObjectDetectionModelMetadataOrBuilder()
Metadata for image object detection models.
.google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;- Specified by:
getImageObjectDetectionModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasVideoClassificationModelMetadata
public boolean hasVideoClassificationModelMetadata()
Metadata for video classification models.
.google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;- Specified by:
hasVideoClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the videoClassificationModelMetadata field is set.
-
getVideoClassificationModelMetadata
public VideoClassificationModelMetadata getVideoClassificationModelMetadata()
Metadata for video classification models.
.google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;- Specified by:
getVideoClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- The videoClassificationModelMetadata.
-
getVideoClassificationModelMetadataOrBuilder
public VideoClassificationModelMetadataOrBuilder getVideoClassificationModelMetadataOrBuilder()
Metadata for video classification models.
.google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;- Specified by:
getVideoClassificationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasVideoObjectTrackingModelMetadata
public boolean hasVideoObjectTrackingModelMetadata()
Metadata for video object tracking models.
.google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;- Specified by:
hasVideoObjectTrackingModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the videoObjectTrackingModelMetadata field is set.
-
getVideoObjectTrackingModelMetadata
public VideoObjectTrackingModelMetadata getVideoObjectTrackingModelMetadata()
Metadata for video object tracking models.
.google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;- Specified by:
getVideoObjectTrackingModelMetadatain interfaceModelOrBuilder- Returns:
- The videoObjectTrackingModelMetadata.
-
getVideoObjectTrackingModelMetadataOrBuilder
public VideoObjectTrackingModelMetadataOrBuilder getVideoObjectTrackingModelMetadataOrBuilder()
Metadata for video object tracking models.
.google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;- Specified by:
getVideoObjectTrackingModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTextExtractionModelMetadata
public boolean hasTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;- Specified by:
hasTextExtractionModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the textExtractionModelMetadata field is set.
-
getTextExtractionModelMetadata
public TextExtractionModelMetadata getTextExtractionModelMetadata()
Metadata for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;- Specified by:
getTextExtractionModelMetadatain interfaceModelOrBuilder- Returns:
- The textExtractionModelMetadata.
-
getTextExtractionModelMetadataOrBuilder
public TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()
Metadata for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;- Specified by:
getTextExtractionModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTablesModelMetadata
public boolean hasTablesModelMetadata()
Metadata for Tables models.
.google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;- Specified by:
hasTablesModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the tablesModelMetadata field is set.
-
getTablesModelMetadata
public TablesModelMetadata getTablesModelMetadata()
Metadata for Tables models.
.google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;- Specified by:
getTablesModelMetadatain interfaceModelOrBuilder- Returns:
- The tablesModelMetadata.
-
getTablesModelMetadataOrBuilder
public TablesModelMetadataOrBuilder getTablesModelMetadataOrBuilder()
Metadata for Tables models.
.google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;- Specified by:
getTablesModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTextSentimentModelMetadata
public boolean hasTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;- Specified by:
hasTextSentimentModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the textSentimentModelMetadata field is set.
-
getTextSentimentModelMetadata
public TextSentimentModelMetadata getTextSentimentModelMetadata()
Metadata for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;- Specified by:
getTextSentimentModelMetadatain interfaceModelOrBuilder- Returns:
- The textSentimentModelMetadata.
-
getTextSentimentModelMetadataOrBuilder
public TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()
Metadata for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;- Specified by:
getTextSentimentModelMetadataOrBuilderin 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:
getNamein 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:
getNameBytesin interfaceModelOrBuilder- Returns:
- The bytes for name.
-
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:
getDisplayNamein 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:
getDisplayNameBytesin interfaceModelOrBuilder- Returns:
- The bytes for displayName.
-
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:
getDatasetIdin 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:
getDatasetIdBytesin interfaceModelOrBuilder- Returns:
- The bytes for datasetId.
-
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:
hasCreateTimein 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:
getCreateTimein interfaceModelOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin interfaceModelOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;- Specified by:
hasUpdateTimein 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:
getUpdateTimein interfaceModelOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this model was last updated.
.google.protobuf.Timestamp update_time = 11;- Specified by:
getUpdateTimeOrBuilderin 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.v1beta1.Model.DeploymentState deployment_state = 8;- Specified by:
getDeploymentStateValuein interfaceModelOrBuilder- Returns:
- The enum numeric value on the wire for deploymentState.
-
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.v1beta1.Model.DeploymentState deployment_state = 8;- Specified by:
getDeploymentStatein interfaceModelOrBuilder- Returns:
- The deploymentState.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Model parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Model parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Model parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Model parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Model parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Model parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Model.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Model.Builder newBuilder()
-
newBuilder
public static Model.Builder newBuilder(Model prototype)
-
toBuilder
public Model.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Model.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Model getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Model> parser()
-
getParserForType
public com.google.protobuf.Parser<Model> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Model getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-