Class PublisherModel.CallToAction.Deploy.Builder (3.40.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.v1beta1.PublisherModel.CallToAction.Deploy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.Deploy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder
Overrides

build()

public PublisherModel.CallToAction.Deploy build()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy

buildPartial()

public PublisherModel.CallToAction.Deploy buildPartial()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy

clear()

public PublisherModel.CallToAction.Deploy.Builder clear()
Returns
TypeDescription
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
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

clearField(Descriptors.FieldDescriptor field)

public PublisherModel.CallToAction.Deploy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.Deploy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder
Overrides

clearPredictionResources()

public PublisherModel.CallToAction.Deploy.Builder clearPredictionResources()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

clone()

public PublisherModel.CallToAction.Deploy.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
DedicatedResourcesOrBuilder

getDefaultInstanceForType()

public PublisherModel.CallToAction.Deploy getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.CallToAction.Deploy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLargeModelReference()

public LargeModelReference getLargeModelReference()

Optional. Large model reference. When this is set, model_artifact_spec is not needed.

.google.cloud.aiplatform.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LargeModelReference.Builder

getLargeModelReferenceOrBuilder()

public LargeModelReferenceOrBuilder getLargeModelReferenceOrBuilder()

Optional. Large model reference. When this is set, model_artifact_spec is not needed.

.google.cloud.aiplatform.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LargeModelReferenceOrBuilder

getModelDisplayName()

public String getModelDisplayName()

Optional. Default model display name.

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

Returns
TypeDescription
String

The modelDisplayName.

getModelDisplayNameBytes()

public ByteString getModelDisplayNameBytes()

Optional. Default model display name.

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

Returns
TypeDescription
ByteString

The bytes for modelDisplayName.

getPredictionResourcesCase()

public PublisherModel.CallToAction.Deploy.PredictionResourcesCase getPredictionResourcesCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the regional resource reference.

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

Returns
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Returns
TypeDescription
boolean

Whether the dedicatedResources field is set.

hasLargeModelReference()

public boolean hasLargeModelReference()

Optional. Large model reference. When this is set, model_artifact_spec is not needed.

.google.cloud.aiplatform.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the sharedResources field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Parameter
NameDescription
valueAutomaticResources
Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueModelContainerSpec
Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Parameter
NameDescription
valueDedicatedResources
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

mergeFrom(PublisherModel.CallToAction.Deploy other)

public PublisherModel.CallToAction.Deploy.Builder mergeFrom(PublisherModel.CallToAction.Deploy other)
Parameter
NameDescription
otherPublisherModel.CallToAction.Deploy
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublisherModel.CallToAction.Deploy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PublisherModel.CallToAction.Deploy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueLargeModelReference
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.Deploy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The artifactUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for artifactUri to set.

Returns
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Parameter
NameDescription
valueAutomaticResources
Returns
TypeDescription
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.v1beta1.AutomaticResources automatic_resources = 6;

Parameter
NameDescription
builderForValueAutomaticResources.Builder
Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueModelContainerSpec
Returns
TypeDescription
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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueModelContainerSpec.Builder
Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Parameter
NameDescription
valueDedicatedResources
Returns
TypeDescription
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.v1beta1.DedicatedResources dedicated_resources = 5;

Parameter
NameDescription
builderForValueDedicatedResources.Builder
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.Deploy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueLargeModelReference
Returns
TypeDescription
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.v1beta1.LargeModelReference large_model_reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueLargeModelReference.Builder
Returns
TypeDescription
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
NameDescription
valueString

The modelDisplayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for modelDisplayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The publicArtifactUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for publicArtifactUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sharedResources to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sharedResources to set.

Returns
TypeDescription
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
NameDescription
valueString

The title to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.Deploy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublisherModel.CallToAction.Deploy.Builder
Overrides