public interface DeployRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getArtifactsCase()
public abstract DeployRequest.ArtifactsCase getArtifactsCase()
Returns | |
---|---|
Type | Description |
DeployRequest.ArtifactsCase |
getCustomModel()
public abstract DeployRequest.CustomModel getCustomModel()
The custom model to deploy from a Google Cloud Storage URI.
.google.cloud.aiplatform.v1beta1.DeployRequest.CustomModel custom_model = 3;
Returns | |
---|---|
Type | Description |
DeployRequest.CustomModel |
The customModel. |
getCustomModelOrBuilder()
public abstract DeployRequest.CustomModelOrBuilder getCustomModelOrBuilder()
The custom model to deploy from a Google Cloud Storage URI.
.google.cloud.aiplatform.v1beta1.DeployRequest.CustomModel custom_model = 3;
Returns | |
---|---|
Type | Description |
DeployRequest.CustomModelOrBuilder |
getDeployConfig()
public abstract 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.v1beta1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DeployRequest.DeployConfig |
The deployConfig. |
getDeployConfigOrBuilder()
public abstract 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.v1beta1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DeployRequest.DeployConfigOrBuilder |
getDestination()
public abstract 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 | |
---|---|
Type | Description |
String |
The destination. |
getDestinationBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for destination. |
getEndpointConfig()
public abstract 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.v1beta1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DeployRequest.EndpointConfig |
The endpointConfig. |
getEndpointConfigOrBuilder()
public abstract 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.v1beta1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DeployRequest.EndpointConfigOrBuilder |
getHuggingFaceModelId()
public abstract 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 | |
---|---|
Type | Description |
String |
The huggingFaceModelId. |
getHuggingFaceModelIdBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for huggingFaceModelId. |
getModelConfig()
public abstract 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.v1beta1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DeployRequest.ModelConfig |
The modelConfig. |
getModelConfigOrBuilder()
public abstract 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.v1beta1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DeployRequest.ModelConfigOrBuilder |
getPublisherModelName()
public abstract 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 | |
---|---|
Type | Description |
String |
The publisherModelName. |
getPublisherModelNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for publisherModelName. |
hasCustomModel()
public abstract boolean hasCustomModel()
The custom model to deploy from a Google Cloud Storage URI.
.google.cloud.aiplatform.v1beta1.DeployRequest.CustomModel custom_model = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customModel field is set. |
hasDeployConfig()
public abstract boolean hasDeployConfig()
Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used.
.google.cloud.aiplatform.v1beta1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the deployConfig field is set. |
hasEndpointConfig()
public abstract boolean hasEndpointConfig()
Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
.google.cloud.aiplatform.v1beta1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endpointConfig field is set. |
hasHuggingFaceModelId()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the huggingFaceModelId field is set. |
hasModelConfig()
public abstract boolean hasModelConfig()
Optional. The model config to use for the deployment. If not specified, the default model config will be used.
.google.cloud.aiplatform.v1beta1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the modelConfig field is set. |
hasPublisherModelName()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the publisherModelName field is set. |