Interface DeployPublisherModelRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DeployPublisherModelRequest, DeployPublisherModelRequest.Builder

@Generated @Deprecated public interface DeployPublisherModelRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
Deprecated.
  • Method Details

    • getModel

      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];
      Returns:
      The model.
    • getModelBytes

      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];
      Returns:
      The bytes for model.
    • getDestination

      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) = { ... }
      Returns:
      The destination.
    • getDestinationBytes

      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) = { ... }
      Returns:
      The bytes for destination.
    • getEndpointDisplayName

      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];
      Returns:
      The endpointDisplayName.
    • getEndpointDisplayNameBytes

      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];
      Returns:
      The bytes for endpointDisplayName.
    • hasDedicatedResources

      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];
      Returns:
      Whether the dedicatedResources field is set.
    • getDedicatedResources

      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];
      Returns:
      The dedicatedResources.
    • getDedicatedResourcesOrBuilder

      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];
    • getModelDisplayName

      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];
      Returns:
      The modelDisplayName.
    • getModelDisplayNameBytes

      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];
      Returns:
      The bytes for modelDisplayName.
    • getHuggingFaceAccessToken

      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];
      Returns:
      The huggingFaceAccessToken.
    • getHuggingFaceAccessTokenBytes

      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];
      Returns:
      The bytes for huggingFaceAccessToken.
    • getAcceptEula

      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];
      Returns:
      The acceptEula.