public static final class DeployRequest.ModelConfig extends com.google.protobuf.GeneratedMessage implements DeployRequest.ModelConfigOrBuilder
The model config to use for the deployment.Protobuf type
google.cloud.aiplatform.v1.DeployRequest.ModelConfig| Modifier and Type | Class and Description |
|---|---|
static class |
DeployRequest.ModelConfig.Builder
The model config to use for the deployment.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPT_EULA_FIELD_NUMBER |
static int |
CONTAINER_SPEC_FIELD_NUMBER |
static int |
HUGGING_FACE_ACCESS_TOKEN_FIELD_NUMBER |
static int |
HUGGING_FACE_CACHE_ENABLED_FIELD_NUMBER |
static int |
MODEL_DISPLAY_NAME_FIELD_NUMBER |
static int |
MODEL_USER_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAcceptEula()
Optional.
|
ModelContainerSpec |
getContainerSpec()
Optional.
|
ModelContainerSpecOrBuilder |
getContainerSpecOrBuilder()
Optional.
|
static DeployRequest.ModelConfig |
getDefaultInstance() |
DeployRequest.ModelConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHuggingFaceAccessToken()
Optional.
|
com.google.protobuf.ByteString |
getHuggingFaceAccessTokenBytes()
Optional.
|
boolean |
getHuggingFaceCacheEnabled()
Optional.
|
String |
getModelDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getModelDisplayNameBytes()
Optional.
|
String |
getModelUserId()
Optional.
|
com.google.protobuf.ByteString |
getModelUserIdBytes()
Optional.
|
com.google.protobuf.Parser<DeployRequest.ModelConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasContainerSpec()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeployRequest.ModelConfig.Builder |
newBuilder() |
static DeployRequest.ModelConfig.Builder |
newBuilder(DeployRequest.ModelConfig prototype) |
DeployRequest.ModelConfig.Builder |
newBuilderForType() |
protected DeployRequest.ModelConfig.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static DeployRequest.ModelConfig |
parseDelimitedFrom(InputStream input) |
static DeployRequest.ModelConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest.ModelConfig |
parseFrom(byte[] data) |
static DeployRequest.ModelConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest.ModelConfig |
parseFrom(ByteBuffer data) |
static DeployRequest.ModelConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest.ModelConfig |
parseFrom(com.google.protobuf.ByteString data) |
static DeployRequest.ModelConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest.ModelConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DeployRequest.ModelConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployRequest.ModelConfig |
parseFrom(InputStream input) |
static DeployRequest.ModelConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DeployRequest.ModelConfig> |
parser() |
DeployRequest.ModelConfig.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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ACCEPT_EULA_FIELD_NUMBER
public static final int HUGGING_FACE_ACCESS_TOKEN_FIELD_NUMBER
public static final int HUGGING_FACE_CACHE_ENABLED_FIELD_NUMBER
public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
public static final int CONTAINER_SPEC_FIELD_NUMBER
public static final int MODEL_USER_ID_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean getAcceptEula()
Optional. Whether the user accepts the End User License Agreement (EULA) for the model.
bool accept_eula = 1 [(.google.api.field_behavior) = OPTIONAL];getAcceptEula in interface DeployRequest.ModelConfigOrBuilderpublic String getHuggingFaceAccessToken()
Optional. The Hugging Face read access token used to access the model artifacts of gated models.
string hugging_face_access_token = 2 [(.google.api.field_behavior) = OPTIONAL];getHuggingFaceAccessToken in interface DeployRequest.ModelConfigOrBuilderpublic com.google.protobuf.ByteString getHuggingFaceAccessTokenBytes()
Optional. The Hugging Face read access token used to access the model artifacts of gated models.
string hugging_face_access_token = 2 [(.google.api.field_behavior) = OPTIONAL];getHuggingFaceAccessTokenBytes in interface DeployRequest.ModelConfigOrBuilderpublic boolean getHuggingFaceCacheEnabled()
Optional. If true, the model will deploy with a cached version instead of directly downloading the model artifacts from Hugging Face. This is suitable for VPC-SC users with limited internet access.
bool hugging_face_cache_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];getHuggingFaceCacheEnabled in interface DeployRequest.ModelConfigOrBuilderpublic String getModelDisplayName()
Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.
string model_display_name = 4 [(.google.api.field_behavior) = OPTIONAL];getModelDisplayName in interface DeployRequest.ModelConfigOrBuilderpublic com.google.protobuf.ByteString getModelDisplayNameBytes()
Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.
string model_display_name = 4 [(.google.api.field_behavior) = OPTIONAL];getModelDisplayNameBytes in interface DeployRequest.ModelConfigOrBuilderpublic boolean hasContainerSpec()
Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL];
hasContainerSpec in interface DeployRequest.ModelConfigOrBuilderpublic ModelContainerSpec getContainerSpec()
Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL];
getContainerSpec in interface DeployRequest.ModelConfigOrBuilderpublic ModelContainerSpecOrBuilder getContainerSpecOrBuilder()
Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL];
getContainerSpecOrBuilder in interface DeployRequest.ModelConfigOrBuilderpublic String getModelUserId()
Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.
string model_user_id = 6 [(.google.api.field_behavior) = OPTIONAL];getModelUserId in interface DeployRequest.ModelConfigOrBuilderpublic com.google.protobuf.ByteString getModelUserIdBytes()
Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.
string model_user_id = 6 [(.google.api.field_behavior) = OPTIONAL];getModelUserIdBytes in interface DeployRequest.ModelConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.ModelConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest.ModelConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest.ModelConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest.ModelConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest.ModelConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest.ModelConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployRequest.ModelConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static DeployRequest.ModelConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeployRequest.ModelConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DeployRequest.ModelConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeployRequest.ModelConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DeployRequest.ModelConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DeployRequest.ModelConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DeployRequest.ModelConfig.Builder newBuilder()
public static DeployRequest.ModelConfig.Builder newBuilder(DeployRequest.ModelConfig prototype)
public DeployRequest.ModelConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DeployRequest.ModelConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static DeployRequest.ModelConfig getDefaultInstance()
public static com.google.protobuf.Parser<DeployRequest.ModelConfig> parser()
public com.google.protobuf.Parser<DeployRequest.ModelConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic DeployRequest.ModelConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.