Class DeployPublisherModelRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.DeployPublisherModelRequest
All Implemented Interfaces:
DeployPublisherModelRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated @Deprecated public final class DeployPublisherModelRequest extends com.google.protobuf.GeneratedMessage implements DeployPublisherModelRequestOrBuilder
Deprecated.
 Request message for
 [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].
 
Protobuf type google.cloud.aiplatform.v1beta1.DeployPublisherModelRequest
See Also:
  • Field Details

    • MODEL_FIELD_NUMBER

      public static final int MODEL_FIELD_NUMBER
      Deprecated.
      See Also:
    • DESTINATION_FIELD_NUMBER

      public static final int DESTINATION_FIELD_NUMBER
      Deprecated.
      See Also:
    • ENDPOINT_DISPLAY_NAME_FIELD_NUMBER

      public static final int ENDPOINT_DISPLAY_NAME_FIELD_NUMBER
      Deprecated.
      See Also:
    • DEDICATED_RESOURCES_FIELD_NUMBER

      public static final int DEDICATED_RESOURCES_FIELD_NUMBER
      Deprecated.
      See Also:
    • MODEL_DISPLAY_NAME_FIELD_NUMBER

      public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
      Deprecated.
      See Also:
    • HUGGING_FACE_ACCESS_TOKEN_FIELD_NUMBER

      public static final int HUGGING_FACE_ACCESS_TOKEN_FIELD_NUMBER
      Deprecated.
      See Also:
    • ACCEPT_EULA_FIELD_NUMBER

      public static final int ACCEPT_EULA_FIELD_NUMBER
      Deprecated.
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Deprecated.
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getModel

      public String getModel()
      Deprecated.
       Required. The model to deploy.
       Format:
       1. `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
       2. Hugging Face model ID like `google/gemma-2-2b-it`.
       3. Custom model Google Cloud Storage URI like `gs://bucket`.
       4. Custom model zip file like `https://example.com/a.zip`.
       
      string model = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getModel in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
      Deprecated.
       Required. The model to deploy.
       Format:
       1. `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
       2. Hugging Face model ID like `google/gemma-2-2b-it`.
       3. Custom model Google Cloud Storage URI like `gs://bucket`.
       4. Custom model zip file like `https://example.com/a.zip`.
       
      string model = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getModelBytes in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The bytes for model.
    • getDestination

      public String getDestination()
      Deprecated.
       Required. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDestination in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The destination.
    • getDestinationBytes

      public com.google.protobuf.ByteString getDestinationBytes()
      Deprecated.
       Required. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDestinationBytes in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The bytes for destination.
    • getEndpointDisplayName

      public String getEndpointDisplayName()
      Deprecated.
       Optional. The user-specified display name of the endpoint. If not set, a
       default name will be used.
       
      string endpoint_display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndpointDisplayName in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The endpointDisplayName.
    • getEndpointDisplayNameBytes

      public com.google.protobuf.ByteString getEndpointDisplayNameBytes()
      Deprecated.
       Optional. The user-specified display name of the endpoint. If not set, a
       default name will be used.
       
      string endpoint_display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndpointDisplayNameBytes in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The bytes for endpointDisplayName.
    • hasDedicatedResources

      public boolean hasDedicatedResources()
      Deprecated.
       Optional. The dedicated resources to use for the endpoint. If not set, the
       default resources will be used.
       
      .google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDedicatedResources in interface DeployPublisherModelRequestOrBuilder
      Returns:
      Whether the dedicatedResources field is set.
    • getDedicatedResources

      public DedicatedResources getDedicatedResources()
      Deprecated.
       Optional. The dedicated resources to use for the endpoint. If not set, the
       default resources will be used.
       
      .google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDedicatedResources in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The dedicatedResources.
    • getDedicatedResourcesOrBuilder

      public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
      Deprecated.
       Optional. The dedicated resources to use for the endpoint. If not set, the
       default resources will be used.
       
      .google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDedicatedResourcesOrBuilder in interface DeployPublisherModelRequestOrBuilder
    • getModelDisplayName

      public String getModelDisplayName()
      Deprecated.
       Optional. The user-specified display name of the uploaded model. If not
       set, a default name will be used.
       
      string model_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelDisplayName in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The modelDisplayName.
    • getModelDisplayNameBytes

      public com.google.protobuf.ByteString getModelDisplayNameBytes()
      Deprecated.
       Optional. The user-specified display name of the uploaded model. If not
       set, a default name will be used.
       
      string model_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getModelDisplayNameBytes in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The bytes for modelDisplayName.
    • getHuggingFaceAccessToken

      public String getHuggingFaceAccessToken()
      Deprecated.
       Optional. The Hugging Face read access token used to access the model
       artifacts of gated models.
       
      string hugging_face_access_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHuggingFaceAccessToken in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The huggingFaceAccessToken.
    • getHuggingFaceAccessTokenBytes

      public com.google.protobuf.ByteString getHuggingFaceAccessTokenBytes()
      Deprecated.
       Optional. The Hugging Face read access token used to access the model
       artifacts of gated models.
       
      string hugging_face_access_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHuggingFaceAccessTokenBytes in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The bytes for huggingFaceAccessToken.
    • getAcceptEula

      public boolean getAcceptEula()
      Deprecated.
       Optional. Whether the user accepts the End User License Agreement (EULA)
       for the model.
       
      bool accept_eula = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAcceptEula in interface DeployPublisherModelRequestOrBuilder
      Returns:
      The acceptEula.
    • isInitialized

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

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

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

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Deprecated.
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(InputStream input) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeployPublisherModelRequest parseDelimitedFrom(InputStream input) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeployPublisherModelRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Deprecated.
      Throws:
      IOException
    • parseFrom

      public static DeployPublisherModelRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Deprecated.
      Throws:
      IOException
    • newBuilderForType

      public DeployPublisherModelRequest.Builder newBuilderForType()
      Deprecated.
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DeployPublisherModelRequest.Builder newBuilder()
      Deprecated.
    • newBuilder

      Deprecated.
    • toBuilder

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

      protected DeployPublisherModelRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Deprecated.
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DeployPublisherModelRequest getDefaultInstance()
      Deprecated.
    • parser

      public static com.google.protobuf.Parser<DeployPublisherModelRequest> parser()
      Deprecated.
    • getParserForType

      public com.google.protobuf.Parser<DeployPublisherModelRequest> getParserForType()
      Deprecated.
      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 DeployPublisherModelRequest getDefaultInstanceForType()
      Deprecated.
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder