Interface DeployRequestOrBuilder

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

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

    • hasPublisherModelName

      boolean hasPublisherModelName()
       The Model Garden model to deploy.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
       
      string publisher_model_name = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the publisherModelName field is set.
    • getPublisherModelName

      String getPublisherModelName()
       The Model Garden model to deploy.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
       
      string publisher_model_name = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The publisherModelName.
    • getPublisherModelNameBytes

      com.google.protobuf.ByteString getPublisherModelNameBytes()
       The Model Garden model to deploy.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
       
      string publisher_model_name = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for publisherModelName.
    • hasHuggingFaceModelId

      boolean hasHuggingFaceModelId()
       The Hugging Face model to deploy.
       Format: Hugging Face model ID like `google/gemma-2-2b-it`.
       
      string hugging_face_model_id = 2;
      Returns:
      Whether the huggingFaceModelId field is set.
    • getHuggingFaceModelId

      String getHuggingFaceModelId()
       The Hugging Face model to deploy.
       Format: Hugging Face model ID like `google/gemma-2-2b-it`.
       
      string hugging_face_model_id = 2;
      Returns:
      The huggingFaceModelId.
    • getHuggingFaceModelIdBytes

      com.google.protobuf.ByteString getHuggingFaceModelIdBytes()
       The Hugging Face model to deploy.
       Format: Hugging Face model ID like `google/gemma-2-2b-it`.
       
      string hugging_face_model_id = 2;
      Returns:
      The bytes for huggingFaceModelId.
    • getDestination

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

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

      boolean hasModelConfig()
       Optional. The model config to use for the deployment.
       If not specified, the default model config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the modelConfig field is set.
    • getModelConfig

      DeployRequest.ModelConfig getModelConfig()
       Optional. The model config to use for the deployment.
       If not specified, the default model config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The modelConfig.
    • getModelConfigOrBuilder

      DeployRequest.ModelConfigOrBuilder getModelConfigOrBuilder()
       Optional. The model config to use for the deployment.
       If not specified, the default model config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];
    • hasEndpointConfig

      boolean hasEndpointConfig()
       Optional. The endpoint config to use for the deployment.
       If not specified, the default endpoint config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the endpointConfig field is set.
    • getEndpointConfig

      DeployRequest.EndpointConfig getEndpointConfig()
       Optional. The endpoint config to use for the deployment.
       If not specified, the default endpoint config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The endpointConfig.
    • getEndpointConfigOrBuilder

      DeployRequest.EndpointConfigOrBuilder getEndpointConfigOrBuilder()
       Optional. The endpoint config to use for the deployment.
       If not specified, the default endpoint config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];
    • hasDeployConfig

      boolean hasDeployConfig()
       Optional. The deploy config to use for the deployment.
       If not specified, the default deploy config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the deployConfig field is set.
    • getDeployConfig

      DeployRequest.DeployConfig getDeployConfig()
       Optional. The deploy config to use for the deployment.
       If not specified, the default deploy config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deployConfig.
    • getDeployConfigOrBuilder

      DeployRequest.DeployConfigOrBuilder getDeployConfigOrBuilder()
       Optional. The deploy config to use for the deployment.
       If not specified, the default deploy config will be used.
       
      .google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getArtifactsCase

      DeployRequest.ArtifactsCase getArtifactsCase()