public static final class DeployRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder> implements DeployRequestOrBuilder
Request message for [ModelGardenService.Deploy][google.cloud.aiplatform.v1beta1.ModelGardenService.Deploy].Protobuf type
google.cloud.aiplatform.v1beta1.DeployRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeployRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeployRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeployRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployRequest.Builder>public DeployRequest.Builder mergeFrom(DeployRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public DeployRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployRequest.Builder>IOExceptionpublic DeployRequest.ArtifactsCase getArtifactsCase()
getArtifactsCase in interface DeployRequestOrBuilderpublic DeployRequest.Builder clearArtifacts()
public 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) = { ... }hasPublisherModelName in interface DeployRequestOrBuilderpublic 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) = { ... }getPublisherModelName in interface DeployRequestOrBuilderpublic 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) = { ... }getPublisherModelNameBytes in interface DeployRequestOrBuilderpublic DeployRequest.Builder setPublisherModelName(String value)
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) = { ... }value - The publisherModelName to set.public DeployRequest.Builder clearPublisherModelName()
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) = { ... }public DeployRequest.Builder setPublisherModelNameBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for publisherModelName to set.public 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;hasHuggingFaceModelId in interface DeployRequestOrBuilderpublic 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;getHuggingFaceModelId in interface DeployRequestOrBuilderpublic 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;getHuggingFaceModelIdBytes in interface DeployRequestOrBuilderpublic DeployRequest.Builder setHuggingFaceModelId(String value)
The Hugging Face model to deploy. Format: Hugging Face model ID like `google/gemma-2-2b-it`.
string hugging_face_model_id = 2;value - The huggingFaceModelId to set.public DeployRequest.Builder clearHuggingFaceModelId()
The Hugging Face model to deploy. Format: Hugging Face model ID like `google/gemma-2-2b-it`.
string hugging_face_model_id = 2;public DeployRequest.Builder setHuggingFaceModelIdBytes(com.google.protobuf.ByteString value)
The Hugging Face model to deploy. Format: Hugging Face model ID like `google/gemma-2-2b-it`.
string hugging_face_model_id = 2;value - The bytes for huggingFaceModelId to set.public 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) = { ... }
getDestination in interface DeployRequestOrBuilderpublic 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) = { ... }
getDestinationBytes in interface DeployRequestOrBuilderpublic DeployRequest.Builder setDestination(String value)
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) = { ... }
value - The destination to set.public DeployRequest.Builder clearDestination()
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) = { ... }
public DeployRequest.Builder setDestinationBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for destination to set.public 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];
hasModelConfig in interface DeployRequestOrBuilderpublic 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];
getModelConfig in interface DeployRequestOrBuilderpublic DeployRequest.Builder setModelConfig(DeployRequest.ModelConfig value)
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];
public DeployRequest.Builder setModelConfig(DeployRequest.ModelConfig.Builder builderForValue)
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];
public DeployRequest.Builder mergeModelConfig(DeployRequest.ModelConfig value)
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];
public DeployRequest.Builder clearModelConfig()
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];
public DeployRequest.ModelConfig.Builder getModelConfigBuilder()
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];
public 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];
getModelConfigOrBuilder in interface DeployRequestOrBuilderpublic 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];
hasEndpointConfig in interface DeployRequestOrBuilderpublic 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];
getEndpointConfig in interface DeployRequestOrBuilderpublic DeployRequest.Builder setEndpointConfig(DeployRequest.EndpointConfig value)
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];
public DeployRequest.Builder setEndpointConfig(DeployRequest.EndpointConfig.Builder builderForValue)
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];
public DeployRequest.Builder mergeEndpointConfig(DeployRequest.EndpointConfig value)
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];
public DeployRequest.Builder clearEndpointConfig()
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];
public DeployRequest.EndpointConfig.Builder getEndpointConfigBuilder()
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];
public 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];
getEndpointConfigOrBuilder in interface DeployRequestOrBuilderpublic 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];
hasDeployConfig in interface DeployRequestOrBuilderpublic 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];
getDeployConfig in interface DeployRequestOrBuilderpublic DeployRequest.Builder setDeployConfig(DeployRequest.DeployConfig value)
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];
public DeployRequest.Builder setDeployConfig(DeployRequest.DeployConfig.Builder builderForValue)
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];
public DeployRequest.Builder mergeDeployConfig(DeployRequest.DeployConfig value)
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];
public DeployRequest.Builder clearDeployConfig()
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];
public DeployRequest.DeployConfig.Builder getDeployConfigBuilder()
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];
public 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];
getDeployConfigOrBuilder in interface DeployRequestOrBuilderpublic final DeployRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>public final DeployRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeployRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.