Package com.google.cloud.aiplatform.v1
Class PublisherModel.CallToAction.Deploy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy
- All Implemented Interfaces:
PublisherModel.CallToAction.DeployOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PublisherModel.CallToAction
public static final class PublisherModel.CallToAction.Deploy
extends com.google.protobuf.GeneratedMessage
implements PublisherModel.CallToAction.DeployOrBuilder
Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.Protobuf type
google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classModel metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.static final classMetadata information about the deployment for managing deployment config.static interfacestatic 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 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 TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.Optional.Optional.A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<PublisherModel.CallToAction.Deploy>Optional.com.google.protobuf.ByteStringOptional.intThe resource name of the shared DeploymentResourcePool to deploy on.com.google.protobuf.ByteStringThe resource name of the shared DeploymentResourcePool to deploy on.getTitle()Required.com.google.protobuf.ByteStringRequired.booleanA description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.booleanOptional.booleanA description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.booleanOptional.booleanOptional.inthashCode()booleanOptional.booleanThe resource name of the shared DeploymentResourcePool to deploy on.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PublisherModel.CallToAction.Deploy prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PublisherModel.CallToAction.Deploy>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
-
DEDICATED_RESOURCES_FIELD_NUMBER
public static final int DEDICATED_RESOURCES_FIELD_NUMBER- See Also:
-
AUTOMATIC_RESOURCES_FIELD_NUMBER
public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER- See Also:
-
SHARED_RESOURCES_FIELD_NUMBER
public static final int SHARED_RESOURCES_FIELD_NUMBER- See Also:
-
MODEL_DISPLAY_NAME_FIELD_NUMBER
public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER- See Also:
-
LARGE_MODEL_REFERENCE_FIELD_NUMBER
public static final int LARGE_MODEL_REFERENCE_FIELD_NUMBER- See Also:
-
CONTAINER_SPEC_FIELD_NUMBER
public static final int CONTAINER_SPEC_FIELD_NUMBER- See Also:
-
ARTIFACT_URI_FIELD_NUMBER
public static final int ARTIFACT_URI_FIELD_NUMBER- See Also:
-
DEPLOY_TASK_NAME_FIELD_NUMBER
public static final int DEPLOY_TASK_NAME_FIELD_NUMBER- See Also:
-
DEPLOY_METADATA_FIELD_NUMBER
public static final int DEPLOY_METADATA_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
PUBLIC_ARTIFACT_URI_FIELD_NUMBER
public static final int PUBLIC_ARTIFACT_URI_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
-
getPredictionResourcesCase
- Specified by:
getPredictionResourcesCasein interfacePublisherModel.CallToAction.DeployOrBuilder
-
hasDedicatedResources
public boolean hasDedicatedResources()A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 5;- Specified by:
hasDedicatedResourcesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- Whether the dedicatedResources field is set.
-
getDedicatedResources
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 5;- Specified by:
getDedicatedResourcesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The dedicatedResources.
-
getDedicatedResourcesOrBuilder
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 5;- Specified by:
getDedicatedResourcesOrBuilderin interfacePublisherModel.CallToAction.DeployOrBuilder
-
hasAutomaticResources
public boolean hasAutomaticResources()A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 6;- Specified by:
hasAutomaticResourcesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- Whether the automaticResources field is set.
-
getAutomaticResources
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 6;- Specified by:
getAutomaticResourcesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The automaticResources.
-
getAutomaticResourcesOrBuilder
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 6;- Specified by:
getAutomaticResourcesOrBuilderin interfacePublisherModel.CallToAction.DeployOrBuilder
-
getModelDisplayName
Optional. Default model display name.
string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelDisplayNamein interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The modelDisplayName.
-
getModelDisplayNameBytes
public com.google.protobuf.ByteString getModelDisplayNameBytes()Optional. Default model display name.
string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelDisplayNameBytesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The bytes for modelDisplayName.
-
hasLargeModelReference
public boolean hasLargeModelReference()Optional. Large model reference. When this is set, model_artifact_spec is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLargeModelReferencein interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- Whether the largeModelReference field is set.
-
getLargeModelReference
Optional. Large model reference. When this is set, model_artifact_spec is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLargeModelReferencein interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The largeModelReference.
-
getLargeModelReferenceOrBuilder
Optional. Large model reference. When this is set, model_artifact_spec is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLargeModelReferenceOrBuilderin interfacePublisherModel.CallToAction.DeployOrBuilder
-
hasContainerSpec
public boolean hasContainerSpec()Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasContainerSpecin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- Whether the containerSpec field is set.
-
getContainerSpec
Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainerSpecin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The containerSpec.
-
getContainerSpecOrBuilder
Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainerSpecOrBuilderin interfacePublisherModel.CallToAction.DeployOrBuilder
-
getArtifactUri
Optional. The path to the directory containing the Model artifact and any of its supporting files.
string artifact_uri = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArtifactUriin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The artifactUri.
-
getArtifactUriBytes
public com.google.protobuf.ByteString getArtifactUriBytes()Optional. The path to the directory containing the Model artifact and any of its supporting files.
string artifact_uri = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArtifactUriBytesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The bytes for artifactUri.
-
hasDeployTaskName
public boolean hasDeployTaskName()Optional. The name of the deploy task (e.g., "text to image generation").
optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeployTaskNamein interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- Whether the deployTaskName field is set.
-
getDeployTaskName
Optional. The name of the deploy task (e.g., "text to image generation").
optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployTaskNamein interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The deployTaskName.
-
getDeployTaskNameBytes
public com.google.protobuf.ByteString getDeployTaskNameBytes()Optional. The name of the deploy task (e.g., "text to image generation").
optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployTaskNameBytesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The bytes for deployTaskName.
-
hasDeployMetadata
public boolean hasDeployMetadata()Optional. Metadata information about this deployment config.
optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeployMetadatain interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- Whether the deployMetadata field is set.
-
getDeployMetadata
Optional. Metadata information about this deployment config.
optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployMetadatain interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The deployMetadata.
-
getDeployMetadataOrBuilder
Optional. Metadata information about this deployment config.
optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployMetadataOrBuilderin interfacePublisherModel.CallToAction.DeployOrBuilder
-
getTitle
Required. The title of the regional resource reference.
string title = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitlein interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Required. The title of the regional resource reference.
string title = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitleBytesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The bytes for title.
-
getPublicArtifactUri
Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPublicArtifactUriin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The publicArtifactUri.
-
getPublicArtifactUriBytes
public com.google.protobuf.ByteString getPublicArtifactUriBytes()Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPublicArtifactUriBytesin interfacePublisherModel.CallToAction.DeployOrBuilder- Returns:
- The bytes for publicArtifactUri.
-
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.CallToAction.Deploy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel.CallToAction.Deploy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel.CallToAction.Deploy 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.CallToAction.Deploy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel.CallToAction.Deploy 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.CallToAction.Deploy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PublisherModel.CallToAction.Deploy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PublisherModel.CallToAction.Deploy 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
public static PublisherModel.CallToAction.Deploy.Builder newBuilder(PublisherModel.CallToAction.Deploy prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PublisherModel.CallToAction.Deploy.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
-