Package com.google.cloud.aiplatform.v1
Class PublisherModel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.PublisherModel
- All Implemented Interfaces:
PublisherModelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class PublisherModel
extends com.google.protobuf.GeneratedMessage
implements PublisherModelOrBuilder
A Model Garden Publisher Model.Protobuf type
google.cloud.aiplatform.v1.PublisherModel- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Model Garden Publisher Model.static final classActions could take on this Publisher Model.static interfacestatic final classA named piece of documentation.static interfacestatic enumAn enum representing the launch stage of a PublisherModel.static enumAn enum representing the open source category of a PublisherModel.static final classReference to a resource.static interfacestatic enumAn enum representing the state of the PublicModelVersion.Nested 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 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 TypeMethodDescriptionbooleanstatic PublisherModelstatic final com.google.protobuf.Descriptors.DescriptorgetFrameworks(int index) Optional.com.google.protobuf.ByteStringgetFrameworksBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.intOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.Required.intRequired.com.google.protobuf.Parser<PublisherModel>Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.intOptional.Optional.Output only.com.google.protobuf.ByteStringOutput only.Optional.intOptional.inthashCode()booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic PublisherModel.Builderstatic PublisherModel.BuildernewBuilder(PublisherModel prototype) protected PublisherModel.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PublisherModelparseDelimitedFrom(InputStream input) static PublisherModelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublisherModelparseFrom(byte[] data) static PublisherModelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublisherModelparseFrom(com.google.protobuf.ByteString data) static PublisherModelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublisherModelparseFrom(com.google.protobuf.CodedInputStream input) static PublisherModelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublisherModelparseFrom(InputStream input) static PublisherModelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublisherModelparseFrom(ByteBuffer data) static PublisherModelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PublisherModel>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, internalGetMapFieldReflection, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
VERSION_ID_FIELD_NUMBER
public static final int VERSION_ID_FIELD_NUMBER- See Also:
-
OPEN_SOURCE_CATEGORY_FIELD_NUMBER
public static final int OPEN_SOURCE_CATEGORY_FIELD_NUMBER- See Also:
-
SUPPORTED_ACTIONS_FIELD_NUMBER
public static final int SUPPORTED_ACTIONS_FIELD_NUMBER- See Also:
-
FRAMEWORKS_FIELD_NUMBER
public static final int FRAMEWORKS_FIELD_NUMBER- See Also:
-
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER- See Also:
-
VERSION_STATE_FIELD_NUMBER
public static final int VERSION_STATE_FIELD_NUMBER- See Also:
-
PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER
public static final int PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER- See Also:
-
PREDICT_SCHEMATA_FIELD_NUMBER
public static final int PREDICT_SCHEMATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfacePublisherModelOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfacePublisherModelOrBuilder- Returns:
- The bytes for name.
-
getVersionId
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionIdin interfacePublisherModelOrBuilder- Returns:
- The versionId.
-
getVersionIdBytes
public com.google.protobuf.ByteString getVersionIdBytes()Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionIdBytesin interfacePublisherModelOrBuilder- Returns:
- The bytes for versionId.
-
getOpenSourceCategoryValue
public int getOpenSourceCategoryValue()Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOpenSourceCategoryValuein interfacePublisherModelOrBuilder- Returns:
- The enum numeric value on the wire for openSourceCategory.
-
getOpenSourceCategory
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOpenSourceCategoryin interfacePublisherModelOrBuilder- Returns:
- The openSourceCategory.
-
hasSupportedActions
public boolean hasSupportedActions()Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSupportedActionsin interfacePublisherModelOrBuilder- Returns:
- Whether the supportedActions field is set.
-
getSupportedActions
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSupportedActionsin interfacePublisherModelOrBuilder- Returns:
- The supportedActions.
-
getSupportedActionsOrBuilder
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSupportedActionsOrBuilderin interfacePublisherModelOrBuilder
-
getFrameworksList
public com.google.protobuf.ProtocolStringList getFrameworksList()Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksListin interfacePublisherModelOrBuilder- Returns:
- A list containing the frameworks.
-
getFrameworksCount
public int getFrameworksCount()Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksCountin interfacePublisherModelOrBuilder- Returns:
- The count of frameworks.
-
getFrameworks
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksin interfacePublisherModelOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The frameworks at the given index.
-
getFrameworksBytes
public com.google.protobuf.ByteString getFrameworksBytes(int index) Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksBytesin interfacePublisherModelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the frameworks at the given index.
-
getLaunchStageValue
public int getLaunchStageValue()Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLaunchStageValuein interfacePublisherModelOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLaunchStagein interfacePublisherModelOrBuilder- Returns:
- The launchStage.
-
getVersionStateValue
public int getVersionStateValue()Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVersionStateValuein interfacePublisherModelOrBuilder- Returns:
- The enum numeric value on the wire for versionState.
-
getVersionState
Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVersionStatein interfacePublisherModelOrBuilder- Returns:
- The versionState.
-
getPublisherModelTemplate
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPublisherModelTemplatein interfacePublisherModelOrBuilder- Returns:
- The publisherModelTemplate.
-
getPublisherModelTemplateBytes
public com.google.protobuf.ByteString getPublisherModelTemplateBytes()Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPublisherModelTemplateBytesin interfacePublisherModelOrBuilder- Returns:
- The bytes for publisherModelTemplate.
-
hasPredictSchemata
public boolean hasPredictSchemata()Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPredictSchematain interfacePublisherModelOrBuilder- Returns:
- Whether the predictSchemata field is set.
-
getPredictSchemata
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPredictSchematain interfacePublisherModelOrBuilder- Returns:
- The predictSchemata.
-
getPredictSchemataOrBuilder
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPredictSchemataOrBuilderin interfacePublisherModelOrBuilder
-
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 PublisherModel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PublisherModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PublisherModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PublisherModel 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
protected PublisherModel.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - 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
-