Class PublisherModel.CallToAction.Deploy.Builder (3.52.0)

public static final class PublisherModel.CallToAction.Deploy.Builder extends GeneratedMessageV3.Builder<PublisherModel.CallToAction.Deploy.Builder> implements PublisherModel.CallToAction.DeployOrBuilder

Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.

Protobuf type google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.Deploy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

build()

public PublisherModel.CallToAction.Deploy build()
Returns
Type Description
PublisherModel.CallToAction.Deploy

buildPartial()

public PublisherModel.CallToAction.Deploy buildPartial()
Returns
Type Description
PublisherModel.CallToAction.Deploy

clear()

public PublisherModel.CallToAction.Deploy.Builder clear()
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

clearArtifactUri()

public PublisherModel.CallToAction.Deploy.Builder clearArtifactUri()

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
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clearAutomaticResources()

public PublisherModel.CallToAction.Deploy.Builder clearAutomaticResources()

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
PublisherModel.CallToAction.Deploy.Builder

clearContainerSpec()

public PublisherModel.CallToAction.Deploy.Builder clearContainerSpec()

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
PublisherModel.CallToAction.Deploy.Builder

clearDedicatedResources()

public PublisherModel.CallToAction.Deploy.Builder clearDedicatedResources()

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
PublisherModel.CallToAction.Deploy.Builder

clearDeployMetadata()

public PublisherModel.CallToAction.Deploy.Builder clearDeployMetadata()

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
PublisherModel.CallToAction.Deploy.Builder

clearDeployTaskName()

public PublisherModel.CallToAction.Deploy.Builder clearDeployTaskName()

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
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PublisherModel.CallToAction.Deploy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

clearLargeModelReference()

public PublisherModel.CallToAction.Deploy.Builder clearLargeModelReference()

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
PublisherModel.CallToAction.Deploy.Builder

clearModelDisplayName()

public PublisherModel.CallToAction.Deploy.Builder clearModelDisplayName()

Optional. Default model display name.

string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.Deploy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

clearPredictionResources()

public PublisherModel.CallToAction.Deploy.Builder clearPredictionResources()
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

clearPublicArtifactUri()

public PublisherModel.CallToAction.Deploy.Builder clearPublicArtifactUri()

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
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clearSharedResources()

public PublisherModel.CallToAction.Deploy.Builder clearSharedResources()

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
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clearTitle()

public PublisherModel.CallToAction.Deploy.Builder clearTitle()

Required. The title of the regional resource reference.

string title = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clone()

public PublisherModel.CallToAction.Deploy.Builder clone()
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

getArtifactUri()

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.

getArtifactUriBytes()

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.

getAutomaticResources()

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;

Returns
Type Description
AutomaticResources

The automaticResources.

getAutomaticResourcesBuilder()

public AutomaticResources.Builder getAutomaticResourcesBuilder()

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
AutomaticResources.Builder

getAutomaticResourcesOrBuilder()

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;

Returns
Type Description
AutomaticResourcesOrBuilder

getContainerSpec()

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];

Returns
Type Description
ModelContainerSpec

The containerSpec.

getContainerSpecBuilder()

public ModelContainerSpec.Builder getContainerSpecBuilder()

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
ModelContainerSpec.Builder

getContainerSpecOrBuilder()

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];

Returns
Type Description
ModelContainerSpecOrBuilder

getDedicatedResources()

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;

Returns
Type Description
DedicatedResources

The dedicatedResources.

getDedicatedResourcesBuilder()

public DedicatedResources.Builder getDedicatedResourcesBuilder()

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
DedicatedResources.Builder

getDedicatedResourcesOrBuilder()

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;

Returns
Type Description
DedicatedResourcesOrBuilder

getDefaultInstanceForType()

public PublisherModel.CallToAction.Deploy getDefaultInstanceForType()
Returns
Type Description
PublisherModel.CallToAction.Deploy

getDeployMetadata()

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];

Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata

The deployMetadata.

getDeployMetadataBuilder()

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder getDeployMetadataBuilder()

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
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

getDeployMetadataOrBuilder()

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];

Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadataOrBuilder

getDeployTaskName()

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.

getDeployTaskNameBytes()

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLargeModelReference()

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];

Returns
Type Description
LargeModelReference

The largeModelReference.

getLargeModelReferenceBuilder()

public LargeModelReference.Builder getLargeModelReferenceBuilder()

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
LargeModelReference.Builder

getLargeModelReferenceOrBuilder()

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];

Returns
Type Description
LargeModelReferenceOrBuilder

getModelDisplayName()

public String getModelDisplayName()

Optional. Default model display name.

string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The modelDisplayName.

getModelDisplayNameBytes()

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.

getPredictionResourcesCase()

public PublisherModel.CallToAction.Deploy.PredictionResourcesCase getPredictionResourcesCase()
Returns
Type Description
PublisherModel.CallToAction.Deploy.PredictionResourcesCase

getPublicArtifactUri()

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.

getPublicArtifactUriBytes()

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.

getSharedResources()

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.

getSharedResourcesBytes()

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.

getTitle()

public String getTitle()

Required. The title of the regional resource reference.

string title = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The title.

getTitleBytes()

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.

hasAutomaticResources()

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.

hasContainerSpec()

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.

hasDedicatedResources()

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.

hasDeployMetadata()

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.

hasDeployTaskName()

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.

hasLargeModelReference()

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.

hasSharedResources()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutomaticResources(AutomaticResources value)

public PublisherModel.CallToAction.Deploy.Builder mergeAutomaticResources(AutomaticResources value)

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;

Parameter
Name Description
value AutomaticResources
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

mergeContainerSpec(ModelContainerSpec value)

public PublisherModel.CallToAction.Deploy.Builder mergeContainerSpec(ModelContainerSpec value)

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];

Parameter
Name Description
value ModelContainerSpec
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

mergeDedicatedResources(DedicatedResources value)

public PublisherModel.CallToAction.Deploy.Builder mergeDedicatedResources(DedicatedResources value)

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;

Parameter
Name Description
value DedicatedResources
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

mergeDeployMetadata(PublisherModel.CallToAction.Deploy.DeployMetadata value)

public PublisherModel.CallToAction.Deploy.Builder mergeDeployMetadata(PublisherModel.CallToAction.Deploy.DeployMetadata value)

Optional. Metadata information about this deployment config.

optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PublisherModel.CallToAction.Deploy.DeployMetadata
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

mergeFrom(PublisherModel.CallToAction.Deploy other)

public PublisherModel.CallToAction.Deploy.Builder mergeFrom(PublisherModel.CallToAction.Deploy other)
Parameter
Name Description
other PublisherModel.CallToAction.Deploy
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublisherModel.CallToAction.Deploy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PublisherModel.CallToAction.Deploy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

mergeLargeModelReference(LargeModelReference value)

public PublisherModel.CallToAction.Deploy.Builder mergeLargeModelReference(LargeModelReference value)

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];

Parameter
Name Description
value LargeModelReference
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.Deploy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

setArtifactUri(String value)

public PublisherModel.CallToAction.Deploy.Builder setArtifactUri(String value)

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];

Parameter
Name Description
value String

The artifactUri to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setArtifactUriBytes(ByteString value)

public PublisherModel.CallToAction.Deploy.Builder setArtifactUriBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for artifactUri to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setAutomaticResources(AutomaticResources value)

public PublisherModel.CallToAction.Deploy.Builder setAutomaticResources(AutomaticResources value)

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;

Parameter
Name Description
value AutomaticResources
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setAutomaticResources(AutomaticResources.Builder builderForValue)

public PublisherModel.CallToAction.Deploy.Builder setAutomaticResources(AutomaticResources.Builder builderForValue)

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;

Parameter
Name Description
builderForValue AutomaticResources.Builder
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setContainerSpec(ModelContainerSpec value)

public PublisherModel.CallToAction.Deploy.Builder setContainerSpec(ModelContainerSpec value)

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];

Parameter
Name Description
value ModelContainerSpec
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setContainerSpec(ModelContainerSpec.Builder builderForValue)

public PublisherModel.CallToAction.Deploy.Builder setContainerSpec(ModelContainerSpec.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ModelContainerSpec.Builder
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setDedicatedResources(DedicatedResources value)

public PublisherModel.CallToAction.Deploy.Builder setDedicatedResources(DedicatedResources value)

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;

Parameter
Name Description
value DedicatedResources
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setDedicatedResources(DedicatedResources.Builder builderForValue)

public PublisherModel.CallToAction.Deploy.Builder setDedicatedResources(DedicatedResources.Builder builderForValue)

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;

Parameter
Name Description
builderForValue DedicatedResources.Builder
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setDeployMetadata(PublisherModel.CallToAction.Deploy.DeployMetadata value)

public PublisherModel.CallToAction.Deploy.Builder setDeployMetadata(PublisherModel.CallToAction.Deploy.DeployMetadata value)

Optional. Metadata information about this deployment config.

optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PublisherModel.CallToAction.Deploy.DeployMetadata
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setDeployMetadata(PublisherModel.CallToAction.Deploy.DeployMetadata.Builder builderForValue)

public PublisherModel.CallToAction.Deploy.Builder setDeployMetadata(PublisherModel.CallToAction.Deploy.DeployMetadata.Builder builderForValue)

Optional. Metadata information about this deployment config.

optional .google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata deploy_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setDeployTaskName(String value)

public PublisherModel.CallToAction.Deploy.Builder setDeployTaskName(String value)

Optional. The name of the deploy task (e.g., "text to image generation").

optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The deployTaskName to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setDeployTaskNameBytes(ByteString value)

public PublisherModel.CallToAction.Deploy.Builder setDeployTaskNameBytes(ByteString value)

Optional. The name of the deploy task (e.g., "text to image generation").

optional string deploy_task_name = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for deployTaskName to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.Deploy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

setLargeModelReference(LargeModelReference value)

public PublisherModel.CallToAction.Deploy.Builder setLargeModelReference(LargeModelReference value)

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];

Parameter
Name Description
value LargeModelReference
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setLargeModelReference(LargeModelReference.Builder builderForValue)

public PublisherModel.CallToAction.Deploy.Builder setLargeModelReference(LargeModelReference.Builder builderForValue)

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];

Parameter
Name Description
builderForValue LargeModelReference.Builder
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

setModelDisplayName(String value)

public PublisherModel.CallToAction.Deploy.Builder setModelDisplayName(String value)

Optional. Default model display name.

string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The modelDisplayName to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setModelDisplayNameBytes(ByteString value)

public PublisherModel.CallToAction.Deploy.Builder setModelDisplayNameBytes(ByteString value)

Optional. Default model display name.

string model_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for modelDisplayName to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setPublicArtifactUri(String value)

public PublisherModel.CallToAction.Deploy.Builder setPublicArtifactUri(String value)

Optional. The signed URI for ephemeral Cloud Storage access to model artifact.

string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The publicArtifactUri to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setPublicArtifactUriBytes(ByteString value)

public PublisherModel.CallToAction.Deploy.Builder setPublicArtifactUriBytes(ByteString value)

Optional. The signed URI for ephemeral Cloud Storage access to model artifact.

string public_artifact_uri = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for publicArtifactUri to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PublisherModel.CallToAction.Deploy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides

setSharedResources(String value)

public PublisherModel.CallToAction.Deploy.Builder setSharedResources(String value)

The resource name of the shared DeploymentResourcePool to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string shared_resources = 7;

Parameter
Name Description
value String

The sharedResources to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setSharedResourcesBytes(ByteString value)

public PublisherModel.CallToAction.Deploy.Builder setSharedResourcesBytes(ByteString value)

The resource name of the shared DeploymentResourcePool to deploy on. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string shared_resources = 7;

Parameter
Name Description
value ByteString

The bytes for sharedResources to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setTitle(String value)

public PublisherModel.CallToAction.Deploy.Builder setTitle(String value)

Required. The title of the regional resource reference.

string title = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The title to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public PublisherModel.CallToAction.Deploy.Builder setTitleBytes(ByteString value)

Required. The title of the regional resource reference.

string title = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.Deploy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.Deploy.Builder
Overrides