public static final class DeployRequest.ModelConfig extends com.google.protobuf.GeneratedMessageV3 implements DeployRequest.ModelConfigOrBuilder
The model config to use for the deployment.Protobuf type
google.cloud.aiplatform.v1beta1.DeployRequest.ModelConfig| Modifier and Type | Class and Description |
|---|---|
static class |
DeployRequest.ModelConfig.Builder
The model config to use for the deployment.
|
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 |
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 |
| 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.
|
com.google.protobuf.Parser<DeployRequest.ModelConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasContainerSpec()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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, 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 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
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 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.v1beta1.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.v1beta1.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.v1beta1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL];
getContainerSpecOrBuilder in interface DeployRequest.ModelConfigOrBuilderpublic 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.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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3public DeployRequest.ModelConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.