Class DeployOperationMetadata.Builder (3.60.0)

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

Runtime operation information for ModelGardenService.Deploy.

Protobuf type google.cloud.aiplatform.v1beta1.DeployOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

public DeployOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployOperationMetadata.Builder
Overrides

clearGenericMetadata()

public DeployOperationMetadata.Builder clearGenericMetadata()

The operation generic information.

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

Returns
Type Description
DeployOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployOperationMetadata.Builder
Overrides

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.

clone()

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

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.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadata

The genericMetadata.

getGenericMetadataBuilder()

public GenericOperationMetadata.Builder getGenericMetadataBuilder()

The operation generic information.

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

Returns
Type Description
GenericOperationMetadata.Builder

getGenericMetadataOrBuilder()

public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()

The operation generic information.

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

Returns
Type Description
GenericOperationMetadataOrBuilder

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.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
boolean

Whether the genericMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1beta1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
DeployOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployOperationMetadata.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public DeployOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

The operation generic information.

.google.cloud.aiplatform.v1beta1.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.v1beta1.GenericOperationMetadata generic_metadata = 1;

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployOperationMetadata.Builder
Overrides