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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getPredictionResourcesCase

      Specified by:
      getPredictionResourcesCase in interface PublisherModel.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:
      hasDedicatedResources in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      Whether the dedicatedResources field is set.
    • getDedicatedResources

      public DedicatedResources 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:
      getDedicatedResources in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The dedicatedResources.
    • getDedicatedResourcesOrBuilder

      public DedicatedResourcesOrBuilder 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:
      getDedicatedResourcesOrBuilder in interface PublisherModel.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:
      hasAutomaticResources in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      Whether the automaticResources field is set.
    • getAutomaticResources

      public AutomaticResources 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:
      getAutomaticResources in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The automaticResources.
    • getAutomaticResourcesOrBuilder

      public AutomaticResourcesOrBuilder 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:
      getAutomaticResourcesOrBuilder in interface PublisherModel.CallToAction.DeployOrBuilder
    • hasSharedResources

      public boolean hasSharedResources()
       The resource name of the shared DeploymentResourcePool to deploy on.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string shared_resources = 7;
      Specified by:
      hasSharedResources in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      Whether the sharedResources field is set.
    • getSharedResources

      public String getSharedResources()
       The resource name of the shared DeploymentResourcePool to deploy on.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string shared_resources = 7;
      Specified by:
      getSharedResources in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The sharedResources.
    • getSharedResourcesBytes

      public com.google.protobuf.ByteString getSharedResourcesBytes()
       The resource name of the shared DeploymentResourcePool to deploy on.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string shared_resources = 7;
      Specified by:
      getSharedResourcesBytes in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The bytes for sharedResources.
    • getModelDisplayName

      public String getModelDisplayName()
       Optional. Default model display name.
       
      string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelDisplayName in interface PublisherModel.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:
      getModelDisplayNameBytes in interface PublisherModel.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:
      hasLargeModelReference in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      Whether the largeModelReference field is set.
    • getLargeModelReference

      public LargeModelReference 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:
      getLargeModelReference in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The largeModelReference.
    • getLargeModelReferenceOrBuilder

      public LargeModelReferenceOrBuilder 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:
      getLargeModelReferenceOrBuilder in interface PublisherModel.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:
      hasContainerSpec in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      Whether the containerSpec field is set.
    • getContainerSpec

      public ModelContainerSpec 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:
      getContainerSpec in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The containerSpec.
    • getContainerSpecOrBuilder

      public ModelContainerSpecOrBuilder 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:
      getContainerSpecOrBuilder in interface PublisherModel.CallToAction.DeployOrBuilder
    • getArtifactUri

      public String 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:
      getArtifactUri in interface PublisherModel.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:
      getArtifactUriBytes in interface PublisherModel.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:
      hasDeployTaskName in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      Whether the deployTaskName field is set.
    • getDeployTaskName

      public String 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:
      getDeployTaskName in interface PublisherModel.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:
      getDeployTaskNameBytes in interface PublisherModel.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:
      hasDeployMetadata in interface PublisherModel.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:
      getDeployMetadata in interface PublisherModel.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:
      getDeployMetadataOrBuilder in interface PublisherModel.CallToAction.DeployOrBuilder
    • getTitle

      public String getTitle()
       Required. The title of the regional resource reference.
       
      string title = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTitle in interface PublisherModel.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:
      getTitleBytes in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The bytes for title.
    • getPublicArtifactUri

      public String 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:
      getPublicArtifactUri in interface PublisherModel.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:
      getPublicArtifactUriBytes in interface PublisherModel.CallToAction.DeployOrBuilder
      Returns:
      The bytes for publicArtifactUri.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input) throws IOException
      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

      public PublisherModel.CallToAction.Deploy.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PublisherModel.CallToAction.Deploy.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PublisherModel.CallToAction.Deploy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PublisherModel.CallToAction.Deploy getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PublisherModel.CallToAction.Deploy> parser()
    • getParserForType

      public com.google.protobuf.Parser<PublisherModel.CallToAction.Deploy> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PublisherModel.CallToAction.Deploy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder