Class PublisherModel.CallToAction.Deploy

    • Field Detail

      • DEDICATED_RESOURCES_FIELD_NUMBER

        public static final int DEDICATED_RESOURCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTOMATIC_RESOURCES_FIELD_NUMBER

        public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHARED_RESOURCES_FIELD_NUMBER

        public static final int SHARED_RESOURCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MODEL_DISPLAY_NAME_FIELD_NUMBER

        public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LARGE_MODEL_REFERENCE_FIELD_NUMBER

        public static final int LARGE_MODEL_REFERENCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTAINER_SPEC_FIELD_NUMBER

        public static final int CONTAINER_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ARTIFACT_URI_FIELD_NUMBER

        public static final int ARTIFACT_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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,
                                                                   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
      • 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
      • toBuilder

        public PublisherModel.CallToAction.Deploy.Builder 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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