Class DeployOperationMetadata.Builder (3.84.0)

public static final class DeployOperationMetadata.Builder extends GeneratedMessage.Builder<DeployOperationMetadata.Builder> implements DeployOperationMetadataOrBuilder

Runtime operation information for ModelGardenService.Deploy.

Protobuf type google.cloud.aiplatform.v1.DeployOperationMetadata

Static Methods

getDescriptor()

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

Methods

build()

public DeployOperationMetadata build()
Returns
Type Description
DeployOperationMetadata

buildPartial()

public DeployOperationMetadata buildPartial()
Returns
Type Description
DeployOperationMetadata

clear()

public DeployOperationMetadata.Builder clear()
Returns
Type Description
DeployOperationMetadata.Builder
Overrides

clearDestination()

public DeployOperationMetadata.Builder clearDestination()

Output only. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}

string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

clearGenericMetadata()

public DeployOperationMetadata.Builder clearGenericMetadata()

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
DeployOperationMetadata.Builder

clearModelId()

public DeployOperationMetadata.Builder clearModelId()

Output only. The model id to be used at query time.

string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

clearProjectNumber()

public DeployOperationMetadata.Builder clearProjectNumber()

Output only. The project number where the deploy model request is sent.

int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

clearPublisherModel()

public DeployOperationMetadata.Builder clearPublisherModel()

Output only. The name of the model resource.

string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeployOperationMetadata getDefaultInstanceForType()
Returns
Type Description
DeployOperationMetadata

getDescriptorForType()

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

getDestination()

public String getDestination()

Output only. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}

string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

Output only. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}

string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for destination.

getGenericMetadata()

public GenericOperationMetadata getGenericMetadata()

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadata

The genericMetadata.

getGenericMetadataBuilder()

public GenericOperationMetadata.Builder getGenericMetadataBuilder()

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadata.Builder

getGenericMetadataOrBuilder()

public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadataOrBuilder

getModelId()

public String getModelId()

Output only. The model id to be used at query time.

string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The modelId.

getModelIdBytes()

public ByteString getModelIdBytes()

Output only. The model id to be used at query time.

string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for modelId.

getProjectNumber()

public long getProjectNumber()

Output only. The project number where the deploy model request is sent.

int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The projectNumber.

getPublisherModel()

public String getPublisherModel()

Output only. The name of the model resource.

string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The publisherModel.

getPublisherModelBytes()

public ByteString getPublisherModelBytes()

Output only. The name of the model resource.

string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for publisherModel.

hasGenericMetadata()

public boolean hasGenericMetadata()

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
boolean

Whether the genericMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployOperationMetadata other)

public DeployOperationMetadata.Builder mergeFrom(DeployOperationMetadata other)
Parameter
Name Description
other DeployOperationMetadata
Returns
Type Description
DeployOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeployOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployOperationMetadata.Builder
Overrides

mergeGenericMetadata(GenericOperationMetadata value)

public DeployOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
DeployOperationMetadata.Builder

setDestination(String value)

public DeployOperationMetadata.Builder setDestination(String value)

Output only. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}

string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The destination to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public DeployOperationMetadata.Builder setDestinationBytes(ByteString value)

Output only. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}

string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for destination to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

setGenericMetadata(GenericOperationMetadata value)

public DeployOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
DeployOperationMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public DeployOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

The operation generic information.

.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
builderForValue GenericOperationMetadata.Builder
Returns
Type Description
DeployOperationMetadata.Builder

setModelId(String value)

public DeployOperationMetadata.Builder setModelId(String value)

Output only. The model id to be used at query time.

string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The modelId to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

setModelIdBytes(ByteString value)

public DeployOperationMetadata.Builder setModelIdBytes(ByteString value)

Output only. The model id to be used at query time.

string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for modelId to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

setProjectNumber(long value)

public DeployOperationMetadata.Builder setProjectNumber(long value)

Output only. The project number where the deploy model request is sent.

int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The projectNumber to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

setPublisherModel(String value)

public DeployOperationMetadata.Builder setPublisherModel(String value)

Output only. The name of the model resource.

string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The publisherModel to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.

setPublisherModelBytes(ByteString value)

public DeployOperationMetadata.Builder setPublisherModelBytes(ByteString value)

Output only. The name of the model resource.

string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for publisherModel to set.

Returns
Type Description
DeployOperationMetadata.Builder

This builder for chaining.