public final class DeployRequest extends com.google.protobuf.GeneratedMessageV3 implements DeployRequestOrBuilder
Request message for [ModelGardenService.Deploy][google.cloud.aiplatform.v1beta1.ModelGardenService.Deploy].Protobuf type
google.cloud.aiplatform.v1beta1.DeployRequest| Modifier and Type | Class and Description |
|---|---|
static class |
DeployRequest.ArtifactsCase |
static class |
DeployRequest.Builder
Request message for
[ModelGardenService.Deploy][google.cloud.aiplatform.v1beta1.ModelGardenService.Deploy].
|
static class |
DeployRequest.DeployConfig
The deploy config to use for the deployment.
|
static interface |
DeployRequest.DeployConfigOrBuilder |
static class |
DeployRequest.EndpointConfig
The endpoint config to use for the deployment.
|
static interface |
DeployRequest.EndpointConfigOrBuilder |
static class |
DeployRequest.ModelConfig
The model config to use for the deployment.
|
static interface |
DeployRequest.ModelConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEPLOY_CONFIG_FIELD_NUMBER |
static int |
DESTINATION_FIELD_NUMBER |
static int |
ENDPOINT_CONFIG_FIELD_NUMBER |
static int |
HUGGING_FACE_MODEL_ID_FIELD_NUMBER |
static int |
MODEL_CONFIG_FIELD_NUMBER |
static int |
PUBLISHER_MODEL_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DeployRequest.ArtifactsCase |
getArtifactsCase() |
static DeployRequest |
getDefaultInstance() |
DeployRequest |
getDefaultInstanceForType() |
DeployRequest.DeployConfig |
getDeployConfig()
Optional.
|
DeployRequest.DeployConfigOrBuilder |
getDeployConfigOrBuilder()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestination()
Required.
|
com.google.protobuf.ByteString |
getDestinationBytes()
Required.
|
DeployRequest.EndpointConfig |
getEndpointConfig()
Optional.
|
DeployRequest.EndpointConfigOrBuilder |
getEndpointConfigOrBuilder()
Optional.
|
String |
getHuggingFaceModelId()
The Hugging Face model to deploy.
|
com.google.protobuf.ByteString |
getHuggingFaceModelIdBytes()
The Hugging Face model to deploy.
|
DeployRequest.ModelConfig |
getModelConfig()
Optional.
|
DeployRequest.ModelConfigOrBuilder |
getModelConfigOrBuilder()
Optional.
|
com.google.protobuf.Parser<DeployRequest> |
getParserForType() |
String |
getPublisherModelName()
The Model Garden model to deploy.
|
com.google.protobuf.ByteString |
getPublisherModelNameBytes()
The Model Garden model to deploy.
|
int |
getSerializedSize() |
boolean |
hasDeployConfig()
Optional.
|
boolean |
hasEndpointConfig()
Optional.
|
int |
hashCode() |
boolean |
hasHuggingFaceModelId()
The Hugging Face model to deploy.
|
boolean |
hasModelConfig()
Optional.
|
boolean |
hasPublisherModelName()
The Model Garden model to deploy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeployRequest.Builder |
newBuilder() |
static DeployRequest.Builder |
newBuilder(DeployRequest prototype) |
DeployRequest.Builder |
newBuilderForType() |
protected DeployRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DeployRequest |
parseDelimitedFrom(InputStream input) |
static DeployRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest |
parseFrom(byte[] data) |
static DeployRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest |
parseFrom(ByteBuffer data) |
static DeployRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest |
parseFrom(com.google.protobuf.ByteString data) |
static DeployRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DeployRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest |
parseFrom(InputStream input) |
static DeployRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DeployRequest> |
parser() |
DeployRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PUBLISHER_MODEL_NAME_FIELD_NUMBER
public static final int HUGGING_FACE_MODEL_ID_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
public static final int MODEL_CONFIG_FIELD_NUMBER
public static final int ENDPOINT_CONFIG_FIELD_NUMBER
public static final int DEPLOY_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public DeployRequest.ArtifactsCase getArtifactsCase()
getArtifactsCase in interface DeployRequestOrBuilderpublic 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 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 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 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.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.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.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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DeployRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static DeployRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeployRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DeployRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeployRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DeployRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DeployRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DeployRequest.Builder newBuilder()
public static DeployRequest.Builder newBuilder(DeployRequest prototype)
public DeployRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DeployRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DeployRequest getDefaultInstance()
public static com.google.protobuf.Parser<DeployRequest> parser()
public com.google.protobuf.Parser<DeployRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DeployRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.