Package com.google.cloud.automl.v1
Class Model
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.automl.v1.Model
- All Implemented Interfaces:
ModelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Model
extends com.google.protobuf.GeneratedMessage
implements ModelOrBuilder
API proto representing a trained machine learning model.Protobuf type
google.cloud.automl.v1.Model- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAPI proto representing a trained machine learning model.static enumDeployment state of the model.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.com.google.protobuf.ByteStringRequired.static ModelOutput only.intOutput only.static final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getEtag()Used to perform a consistent read-modify-write updates.com.google.protobuf.ByteStringUsed to perform a consistent read-modify-write updates.Metadata for image classification models.Metadata for image classification models.Metadata for image object detection models.Metadata for image object detection models.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<Model>intMetadata for text classification models.Metadata for text classification models.Metadata for text extraction models.Metadata for text extraction models.Metadata for text sentiment models.Metadata for text sentiment models.Metadata for translation models.Metadata for translation models.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanMetadata for image classification models.booleanMetadata for image object detection models.booleanMetadata for text classification models.booleanMetadata for text extraction models.booleanMetadata for text sentiment models.booleanMetadata for translation models.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Model.Builderstatic Model.BuildernewBuilder(Model prototype) protected Model.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TRANSLATION_MODEL_METADATA_FIELD_NUMBER
public static final int TRANSLATION_MODEL_METADATA_FIELD_NUMBER- See Also:
-
IMAGE_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
public static final int IMAGE_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER- See Also:
-
TEXT_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_MODEL_METADATA_FIELD_NUMBER- See Also:
-
IMAGE_OBJECT_DETECTION_MODEL_METADATA_FIELD_NUMBER
public static final int IMAGE_OBJECT_DETECTION_MODEL_METADATA_FIELD_NUMBER- See Also:
-
TEXT_EXTRACTION_MODEL_METADATA_FIELD_NUMBER
public static final int TEXT_EXTRACTION_MODEL_METADATA_FIELD_NUMBER- See Also:
-
TEXT_SENTIMENT_MODEL_METADATA_FIELD_NUMBER
public static final int TEXT_SENTIMENT_MODEL_METADATA_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DATASET_ID_FIELD_NUMBER
public static final int DATASET_ID_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
DEPLOYMENT_STATE_FIELD_NUMBER
public static final int DEPLOYMENT_STATE_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getModelMetadataCase
- Specified by:
getModelMetadataCasein interfaceModelOrBuilder
-
hasTranslationModelMetadata
public boolean hasTranslationModelMetadata()Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;- Specified by:
hasTranslationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the translationModelMetadata field is set.
-
getTranslationModelMetadata
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;- Specified by:
getTranslationModelMetadatain interfaceModelOrBuilder- Returns:
- The translationModelMetadata.
-
getTranslationModelMetadataOrBuilder
Metadata for translation models.
.google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;- Specified by:
getTranslationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasImageClassificationModelMetadata
public boolean hasImageClassificationModelMetadata()Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;- Specified by:
hasImageClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the imageClassificationModelMetadata field is set.
-
getImageClassificationModelMetadata
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;- Specified by:
getImageClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- The imageClassificationModelMetadata.
-
getImageClassificationModelMetadataOrBuilder
Metadata for image classification models.
.google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;- Specified by:
getImageClassificationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTextClassificationModelMetadata
public boolean hasTextClassificationModelMetadata()Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;- Specified by:
hasTextClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the textClassificationModelMetadata field is set.
-
getTextClassificationModelMetadata
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;- Specified by:
getTextClassificationModelMetadatain interfaceModelOrBuilder- Returns:
- The textClassificationModelMetadata.
-
getTextClassificationModelMetadataOrBuilder
Metadata for text classification models.
.google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;- Specified by:
getTextClassificationModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasImageObjectDetectionModelMetadata
public boolean hasImageObjectDetectionModelMetadata()Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;- Specified by:
hasImageObjectDetectionModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the imageObjectDetectionModelMetadata field is set.
-
getImageObjectDetectionModelMetadata
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;- Specified by:
getImageObjectDetectionModelMetadatain interfaceModelOrBuilder- Returns:
- The imageObjectDetectionModelMetadata.
-
getImageObjectDetectionModelMetadataOrBuilder
Metadata for image object detection models.
.google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;- Specified by:
getImageObjectDetectionModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTextExtractionModelMetadata
public boolean hasTextExtractionModelMetadata()Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;- Specified by:
hasTextExtractionModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the textExtractionModelMetadata field is set.
-
getTextExtractionModelMetadata
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;- Specified by:
getTextExtractionModelMetadatain interfaceModelOrBuilder- Returns:
- The textExtractionModelMetadata.
-
getTextExtractionModelMetadataOrBuilder
Metadata for text extraction models.
.google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;- Specified by:
getTextExtractionModelMetadataOrBuilderin interfaceModelOrBuilder
-
hasTextSentimentModelMetadata
public boolean hasTextSentimentModelMetadata()Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;- Specified by:
hasTextSentimentModelMetadatain interfaceModelOrBuilder- Returns:
- Whether the textSentimentModelMetadata field is set.
-
getTextSentimentModelMetadata
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;- Specified by:
getTextSentimentModelMetadatain interfaceModelOrBuilder- Returns:
- The textSentimentModelMetadata.
-
getTextSentimentModelMetadataOrBuilder
Metadata for text sentiment models.
.google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;- Specified by:
getTextSentimentModelMetadataOrBuilderin interfaceModelOrBuilder
-
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
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
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.v1.Model.DeploymentState deployment_state = 8;- Specified by:
getDeploymentStateValuein interfaceModelOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getDeploymentStatein interfaceModelOrBuilder- Returns:
- The deploymentState.
-
getEtag
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 10;- Specified by:
getEtagin 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:
getEtagBytesin interfaceModelOrBuilder- Returns:
- The bytes for etag.
-
getLabelsCount
public int getLabelsCount()Description copied from interface: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;- Specified by:
getLabelsCountin interfaceModelOrBuilder
-
containsLabels
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:
containsLabelsin interfaceModelOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceModelOrBuilder
-
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:
getLabelsMapin interfaceModelOrBuilder
-
getLabelsOrDefault
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:
getLabelsOrDefaultin interfaceModelOrBuilder
-
getLabelsOrThrow
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:
getLabelsOrThrowin interfaceModelOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static Model parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Model parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Model parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-