Package com.google.cloud.aiplatform.v1
Class DeployRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.DeployRequest
- All Implemented Interfaces:
DeployRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DeployRequest
extends com.google.protobuf.GeneratedMessage
implements DeployRequestOrBuilder
Request message for [ModelGardenService.Deploy][google.cloud.aiplatform.v1.ModelGardenService.Deploy].Protobuf type
google.cloud.aiplatform.v1.DeployRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classRequest message for [ModelGardenService.Deploy][google.cloud.aiplatform.v1.ModelGardenService.Deploy].static final classThe deploy config to use for the deployment.static interfacestatic final classThe endpoint config to use for the deployment.static interfacestatic final classThe model config to use for the deployment.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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 extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DeployRequestOptional.Optional.static final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.Optional.The Hugging Face model to deploy.com.google.protobuf.ByteStringThe Hugging Face model to deploy.Optional.Optional.com.google.protobuf.Parser<DeployRequest>The Model Garden model to deploy.com.google.protobuf.ByteStringThe Model Garden model to deploy.intbooleanOptional.booleanOptional.inthashCode()booleanThe Hugging Face model to deploy.booleanOptional.booleanThe Model Garden model to deploy.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DeployRequest.Builderstatic DeployRequest.BuildernewBuilder(DeployRequest prototype) protected DeployRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DeployRequestparseDelimitedFrom(InputStream input) static DeployRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployRequestparseFrom(byte[] data) static DeployRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployRequestparseFrom(com.google.protobuf.ByteString data) static DeployRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployRequestparseFrom(com.google.protobuf.CodedInputStream input) static DeployRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployRequestparseFrom(InputStream input) static DeployRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployRequestparseFrom(ByteBuffer data) static DeployRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DeployRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PUBLISHER_MODEL_NAME_FIELD_NUMBER
public static final int PUBLISHER_MODEL_NAME_FIELD_NUMBER- See Also:
-
HUGGING_FACE_MODEL_ID_FIELD_NUMBER
public static final int HUGGING_FACE_MODEL_ID_FIELD_NUMBER- See Also:
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER- See Also:
-
MODEL_CONFIG_FIELD_NUMBER
public static final int MODEL_CONFIG_FIELD_NUMBER- See Also:
-
ENDPOINT_CONFIG_FIELD_NUMBER
public static final int ENDPOINT_CONFIG_FIELD_NUMBER- See Also:
-
DEPLOY_CONFIG_FIELD_NUMBER
public static final int DEPLOY_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getArtifactsCase
- Specified by:
getArtifactsCasein interfaceDeployRequestOrBuilder
-
hasPublisherModelName
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) = { ... }- Specified by:
hasPublisherModelNamein interfaceDeployRequestOrBuilder- Returns:
- Whether the publisherModelName field is set.
-
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) = { ... }- Specified by:
getPublisherModelNamein interfaceDeployRequestOrBuilder- Returns:
- The publisherModelName.
-
getPublisherModelNameBytes
public 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) = { ... }- Specified by:
getPublisherModelNameBytesin interfaceDeployRequestOrBuilder- Returns:
- The bytes for publisherModelName.
-
hasHuggingFaceModelId
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;- Specified by:
hasHuggingFaceModelIdin interfaceDeployRequestOrBuilder- Returns:
- Whether the huggingFaceModelId field is set.
-
getHuggingFaceModelId
The Hugging Face model to deploy. Format: Hugging Face model ID like `google/gemma-2-2b-it`.
string hugging_face_model_id = 2;- Specified by:
getHuggingFaceModelIdin interfaceDeployRequestOrBuilder- Returns:
- The huggingFaceModelId.
-
getHuggingFaceModelIdBytes
public 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;- Specified by:
getHuggingFaceModelIdBytesin interfaceDeployRequestOrBuilder- Returns:
- The bytes for huggingFaceModelId.
-
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) = { ... }- Specified by:
getDestinationin interfaceDeployRequestOrBuilder- Returns:
- The destination.
-
getDestinationBytes
public 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) = { ... }- Specified by:
getDestinationBytesin interfaceDeployRequestOrBuilder- Returns:
- The bytes for destination.
-
hasModelConfig
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.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasModelConfigin interfaceDeployRequestOrBuilder- Returns:
- Whether the modelConfig field is set.
-
getModelConfig
Optional. The model config to use for the deployment. If not specified, the default model config will be used.
.google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelConfigin interfaceDeployRequestOrBuilder- Returns:
- The modelConfig.
-
getModelConfigOrBuilder
Optional. The model config to use for the deployment. If not specified, the default model config will be used.
.google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelConfigOrBuilderin interfaceDeployRequestOrBuilder
-
hasEndpointConfig
public boolean hasEndpointConfig()Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
.google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEndpointConfigin interfaceDeployRequestOrBuilder- Returns:
- Whether the endpointConfig field is set.
-
getEndpointConfig
Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
.google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointConfigin interfaceDeployRequestOrBuilder- Returns:
- The endpointConfig.
-
getEndpointConfigOrBuilder
Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
.google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointConfigOrBuilderin interfaceDeployRequestOrBuilder
-
hasDeployConfig
public boolean hasDeployConfig()Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used.
.google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeployConfigin interfaceDeployRequestOrBuilder- Returns:
- Whether the deployConfig field is set.
-
getDeployConfig
Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used.
.google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployConfigin interfaceDeployRequestOrBuilder- Returns:
- The deployConfig.
-
getDeployConfigOrBuilder
Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used.
.google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployConfigOrBuilderin interfaceDeployRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeployRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeployRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DeployRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DeployRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DeployRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeployRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-