public final class DeployPublisherModelRequest extends com.google.protobuf.GeneratedMessageV3 implements DeployPublisherModelRequestOrBuilder
Request message for [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].Protobuf type
google.cloud.aiplatform.v1beta1.DeployPublisherModelRequest| Modifier and Type | Class and Description |
|---|---|
static class |
DeployPublisherModelRequest.Builder
Request message for
[ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].
|
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 |
DEDICATED_RESOURCES_FIELD_NUMBER |
static int |
DESTINATION_FIELD_NUMBER |
static int |
ENDPOINT_DISPLAY_NAME_FIELD_NUMBER |
static int |
HUGGING_FACE_ACCESS_TOKEN_FIELD_NUMBER |
static int |
MODEL_DISPLAY_NAME_FIELD_NUMBER |
static int |
MODEL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAcceptEula()
Optional.
|
DedicatedResources |
getDedicatedResources()
Optional.
|
DedicatedResourcesOrBuilder |
getDedicatedResourcesOrBuilder()
Optional.
|
static DeployPublisherModelRequest |
getDefaultInstance() |
DeployPublisherModelRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestination()
Required.
|
com.google.protobuf.ByteString |
getDestinationBytes()
Required.
|
String |
getEndpointDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getEndpointDisplayNameBytes()
Optional.
|
String |
getHuggingFaceAccessToken()
Optional.
|
com.google.protobuf.ByteString |
getHuggingFaceAccessTokenBytes()
Optional.
|
String |
getModel()
Required.
|
com.google.protobuf.ByteString |
getModelBytes()
Required.
|
String |
getModelDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getModelDisplayNameBytes()
Optional.
|
com.google.protobuf.Parser<DeployPublisherModelRequest> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDedicatedResources()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeployPublisherModelRequest.Builder |
newBuilder() |
static DeployPublisherModelRequest.Builder |
newBuilder(DeployPublisherModelRequest prototype) |
DeployPublisherModelRequest.Builder |
newBuilderForType() |
protected DeployPublisherModelRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DeployPublisherModelRequest |
parseDelimitedFrom(InputStream input) |
static DeployPublisherModelRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployPublisherModelRequest |
parseFrom(byte[] data) |
static DeployPublisherModelRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployPublisherModelRequest |
parseFrom(ByteBuffer data) |
static DeployPublisherModelRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployPublisherModelRequest |
parseFrom(com.google.protobuf.ByteString data) |
static DeployPublisherModelRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployPublisherModelRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DeployPublisherModelRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeployPublisherModelRequest |
parseFrom(InputStream input) |
static DeployPublisherModelRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DeployPublisherModelRequest> |
parser() |
DeployPublisherModelRequest.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 MODEL_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
public static final int ENDPOINT_DISPLAY_NAME_FIELD_NUMBER
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
public static final int HUGGING_FACE_ACCESS_TOKEN_FIELD_NUMBER
public static final int ACCEPT_EULA_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 String getModel()
Required. The name of the PublisherModel resource.
Format:
`publishers/{publisher}/models/{publisher_model}@{version_id}`, or
`publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
or Hugging Face model ID like `google/gemma-2-2b-it`.
string model = 1 [(.google.api.field_behavior) = REQUIRED];getModel in interface DeployPublisherModelRequestOrBuilderpublic com.google.protobuf.ByteString getModelBytes()
Required. The name of the PublisherModel resource.
Format:
`publishers/{publisher}/models/{publisher_model}@{version_id}`, or
`publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
or Hugging Face model ID like `google/gemma-2-2b-it`.
string model = 1 [(.google.api.field_behavior) = REQUIRED];getModelBytes in interface DeployPublisherModelRequestOrBuilderpublic String getDestination()
Required. The resource name of the Location to deploy the model in.
Format: `projects/{project}/locations/{location}`
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getDestination in interface DeployPublisherModelRequestOrBuilderpublic com.google.protobuf.ByteString getDestinationBytes()
Required. The resource name of the Location to deploy the model in.
Format: `projects/{project}/locations/{location}`
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getDestinationBytes in interface DeployPublisherModelRequestOrBuilderpublic String getEndpointDisplayName()
Optional. The user-specified display name of the endpoint. If not set, a default name will be used.
string endpoint_display_name = 3 [(.google.api.field_behavior) = OPTIONAL];getEndpointDisplayName in interface DeployPublisherModelRequestOrBuilderpublic com.google.protobuf.ByteString getEndpointDisplayNameBytes()
Optional. The user-specified display name of the endpoint. If not set, a default name will be used.
string endpoint_display_name = 3 [(.google.api.field_behavior) = OPTIONAL];getEndpointDisplayNameBytes in interface DeployPublisherModelRequestOrBuilderpublic boolean hasDedicatedResources()
Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.
.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
hasDedicatedResources in interface DeployPublisherModelRequestOrBuilderpublic DedicatedResources getDedicatedResources()
Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.
.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getDedicatedResources in interface DeployPublisherModelRequestOrBuilderpublic DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.
.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getDedicatedResourcesOrBuilder in interface DeployPublisherModelRequestOrBuilderpublic 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 = 5 [(.google.api.field_behavior) = OPTIONAL];getModelDisplayName in interface DeployPublisherModelRequestOrBuilderpublic 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 = 5 [(.google.api.field_behavior) = OPTIONAL];getModelDisplayNameBytes in interface DeployPublisherModelRequestOrBuilderpublic String getHuggingFaceAccessToken()
Optional. The Hugging Face read access token used to access the model artifacts of gated models.
string hugging_face_access_token = 6 [(.google.api.field_behavior) = OPTIONAL];getHuggingFaceAccessToken in interface DeployPublisherModelRequestOrBuilderpublic 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 = 6 [(.google.api.field_behavior) = OPTIONAL];getHuggingFaceAccessTokenBytes in interface DeployPublisherModelRequestOrBuilderpublic boolean getAcceptEula()
Optional. Whether the user accepts the End User License Agreement (EULA) for the model.
bool accept_eula = 7 [(.google.api.field_behavior) = OPTIONAL];getAcceptEula in interface DeployPublisherModelRequestOrBuilderpublic 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 DeployPublisherModelRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployPublisherModelRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployPublisherModelRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployPublisherModelRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployPublisherModelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployPublisherModelRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeployPublisherModelRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static DeployPublisherModelRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeployPublisherModelRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DeployPublisherModelRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeployPublisherModelRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DeployPublisherModelRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DeployPublisherModelRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DeployPublisherModelRequest.Builder newBuilder()
public static DeployPublisherModelRequest.Builder newBuilder(DeployPublisherModelRequest prototype)
public DeployPublisherModelRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DeployPublisherModelRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DeployPublisherModelRequest getDefaultInstance()
public static com.google.protobuf.Parser<DeployPublisherModelRequest> parser()
public com.google.protobuf.Parser<DeployPublisherModelRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DeployPublisherModelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.