public static final class PublisherModel.CallToAction.Deploy extends GeneratedMessageV3 implements PublisherModel.CallToAction.DeployOrBuilder
Model metadata that is needed for UploadModel or
DeployModel/CreateEndpoint requests.
Protobuf type google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CONTAINER_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEPLOY_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEPLOY_TASK_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LARGE_MODEL_REFERENCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MODEL_DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PUBLIC_ARTIFACT_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SHARED_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static PublisherModel.CallToAction.Deploy getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PublisherModel.CallToAction.Deploy.Builder newBuilder()
public static PublisherModel.CallToAction.Deploy.Builder newBuilder(PublisherModel.CallToAction.Deploy prototype)
public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input)
public static PublisherModel.CallToAction.Deploy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static PublisherModel.CallToAction.Deploy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteString data)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(CodedInputStream input)
public static PublisherModel.CallToAction.Deploy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input)
public static PublisherModel.CallToAction.Deploy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data)
public static PublisherModel.CallToAction.Deploy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PublisherModel.CallToAction.Deploy> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getArtifactUri()
Optional. The path to the directory containing the Model artifact and
any of its supporting files.
string artifact_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The artifactUri.
|
public ByteString getArtifactUriBytes()
Optional. The path to the directory containing the Model artifact and
any of its supporting files.
string artifact_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for artifactUri.
|
public AutomaticResources getAutomaticResources()
A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 6;
public AutomaticResourcesOrBuilder getAutomaticResourcesOrBuilder()
A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 6;
public ModelContainerSpec getContainerSpec()
Optional. The specification of the container that is to be used when
deploying this Model in Vertex AI. Not present for Large Models.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
public ModelContainerSpecOrBuilder getContainerSpecOrBuilder()
Optional. The specification of the container that is to be used when
deploying this Model in Vertex AI. Not present for Large Models.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
public DedicatedResources getDedicatedResources()
A description of resources that are dedicated to the DeployedModel,
and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 5;
public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
A description of resources that are dedicated to the DeployedModel,
and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 5;
public PublisherModel.CallToAction.Deploy getDefaultInstanceForType()
public PublisherModel.CallToAction.Deploy.DeployMetadata getDeployMetadata()
Optional. Metadata information about this deployment config.
optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
public PublisherModel.CallToAction.Deploy.DeployMetadataOrBuilder getDeployMetadataOrBuilder()
Optional. Metadata information about this deployment config.
optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
public String getDeployTaskName()
Optional. The name of the deploy task (e.g., "text to image
generation").
optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The deployTaskName.
|
public ByteString getDeployTaskNameBytes()
Optional. The name of the deploy task (e.g., "text to image
generation").
optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for deployTaskName.
|
public LargeModelReference getLargeModelReference()
Optional. Large model reference. When this is set, model_artifact_spec
is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
public LargeModelReferenceOrBuilder getLargeModelReferenceOrBuilder()
Optional. Large model reference. When this is set, model_artifact_spec
is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getModelDisplayName()
Optional. Default model display name.
string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The modelDisplayName.
|
public ByteString getModelDisplayNameBytes()
Optional. Default model display name.
string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for modelDisplayName.
|
public Parser<PublisherModel.CallToAction.Deploy> getParserForType()
Overrides
public PublisherModel.CallToAction.Deploy.PredictionResourcesCase getPredictionResourcesCase()
public String getPublicArtifactUri()
Optional. The signed URI for ephemeral Cloud Storage access to model
artifact.
string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The publicArtifactUri.
|
public ByteString getPublicArtifactUriBytes()
Optional. The signed URI for ephemeral Cloud Storage access to model
artifact.
string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for publicArtifactUri.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public String getSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
string shared_resources = 7;
Returns |
Type |
Description |
String |
The sharedResources.
|
public ByteString getSharedResourcesBytes()
The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
string shared_resources = 7;
Returns |
Type |
Description |
ByteString |
The bytes for sharedResources.
|
Required. The title of the regional resource reference.
string title = 8 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The title.
|
public ByteString getTitleBytes()
Required. The title of the regional resource reference.
string title = 8 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
public boolean hasAutomaticResources()
A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 6;
Returns |
Type |
Description |
boolean |
Whether the automaticResources field is set.
|
public boolean hasContainerSpec()
Optional. The specification of the container that is to be used when
deploying this Model in Vertex AI. Not present for Large Models.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the containerSpec field is set.
|
public boolean hasDedicatedResources()
A description of resources that are dedicated to the DeployedModel,
and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 5;
Returns |
Type |
Description |
boolean |
Whether the dedicatedResources field is set.
|
public boolean hasDeployMetadata()
Optional. Metadata information about this deployment config.
optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the deployMetadata field is set.
|
public boolean hasDeployTaskName()
Optional. The name of the deploy task (e.g., "text to image
generation").
optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the deployTaskName field is set.
|
public boolean hasLargeModelReference()
Optional. Large model reference. When this is set, model_artifact_spec
is not needed.
.google.cloud.aiplatform.v1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the largeModelReference field is set.
|
public boolean hasSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
string shared_resources = 7;
Returns |
Type |
Description |
boolean |
Whether the sharedResources field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PublisherModel.CallToAction.Deploy.Builder newBuilderForType()
protected PublisherModel.CallToAction.Deploy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public PublisherModel.CallToAction.Deploy.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides