Class DeployPublisherModelOperationMetadata.Builder (3.57.0)

public static final class DeployPublisherModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<DeployPublisherModelOperationMetadata.Builder> implements DeployPublisherModelOperationMetadataOrBuilder

Runtime operation information for ModelGardenService.DeployPublisherModel.

Protobuf type google.cloud.aiplatform.v1beta1.DeployPublisherModelOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployPublisherModelOperationMetadata build()
Returns
Type Description
DeployPublisherModelOperationMetadata

buildPartial()

public DeployPublisherModelOperationMetadata buildPartial()
Returns
Type Description
DeployPublisherModelOperationMetadata

clear()

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

clearDestination()

public DeployPublisherModelOperationMetadata.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
DeployPublisherModelOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public DeployPublisherModelOperationMetadata.Builder clearGenericMetadata()

The operation generic information.

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

Returns
Type Description
DeployPublisherModelOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectNumber()

public DeployPublisherModelOperationMetadata.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
DeployPublisherModelOperationMetadata.Builder

This builder for chaining.

clearPublisherModel()

public DeployPublisherModelOperationMetadata.Builder clearPublisherModel()

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

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

Returns
Type Description
DeployPublisherModelOperationMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DeployPublisherModelOperationMetadata getDefaultInstanceForType()
Returns
Type Description
DeployPublisherModelOperationMetadata

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 PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

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 PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

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(DeployPublisherModelOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public DeployPublisherModelOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)

The operation generic information.

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

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
DeployPublisherModelOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDestination(String value)

public DeployPublisherModelOperationMetadata.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
DeployPublisherModelOperationMetadata.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public DeployPublisherModelOperationMetadata.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
DeployPublisherModelOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public DeployPublisherModelOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

The operation generic information.

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

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
DeployPublisherModelOperationMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public DeployPublisherModelOperationMetadata.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
DeployPublisherModelOperationMetadata.Builder

setProjectNumber(long value)

public DeployPublisherModelOperationMetadata.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
DeployPublisherModelOperationMetadata.Builder

This builder for chaining.

setPublisherModel(String value)

public DeployPublisherModelOperationMetadata.Builder setPublisherModel(String value)

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

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

This builder for chaining.

setPublisherModelBytes(ByteString value)

public DeployPublisherModelOperationMetadata.Builder setPublisherModelBytes(ByteString value)

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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