Class CopyModelOperationMetadata.Builder (3.35.0)

public static final class CopyModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<CopyModelOperationMetadata.Builder> implements CopyModelOperationMetadataOrBuilder

Details of ModelService.CopyModel operation.

Protobuf type google.cloud.aiplatform.v1.CopyModelOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CopyModelOperationMetadata build()
Returns
TypeDescription
CopyModelOperationMetadata

buildPartial()

public CopyModelOperationMetadata buildPartial()
Returns
TypeDescription
CopyModelOperationMetadata

clear()

public CopyModelOperationMetadata.Builder clear()
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CopyModelOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

clearGenericMetadata()

public CopyModelOperationMetadata.Builder clearGenericMetadata()

The common part of the operation metadata.

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

Returns
TypeDescription
CopyModelOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CopyModelOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

clone()

public CopyModelOperationMetadata.Builder clone()
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

getDefaultInstanceForType()

public CopyModelOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CopyModelOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGenericMetadata()

public GenericOperationMetadata getGenericMetadata()

The common part of the operation metadata.

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

Returns
TypeDescription
GenericOperationMetadata

The genericMetadata.

getGenericMetadataBuilder()

public GenericOperationMetadata.Builder getGenericMetadataBuilder()

The common part of the operation metadata.

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

Returns
TypeDescription
GenericOperationMetadata.Builder

getGenericMetadataOrBuilder()

public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()

The common part of the operation metadata.

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

Returns
TypeDescription
GenericOperationMetadataOrBuilder

hasGenericMetadata()

public boolean hasGenericMetadata()

The common part of the operation metadata.

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

Returns
TypeDescription
boolean

Whether the genericMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CopyModelOperationMetadata other)

public CopyModelOperationMetadata.Builder mergeFrom(CopyModelOperationMetadata other)
Parameter
NameDescription
otherCopyModelOperationMetadata
Returns
TypeDescription
CopyModelOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CopyModelOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

mergeGenericMetadata(GenericOperationMetadata value)

public CopyModelOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)

The common part of the operation metadata.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
CopyModelOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CopyModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CopyModelOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

setGenericMetadata(GenericOperationMetadata value)

public CopyModelOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

The common part of the operation metadata.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
CopyModelOperationMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public CopyModelOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

The common part of the operation metadata.

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

Parameter
NameDescription
builderForValueGenericOperationMetadata.Builder
Returns
TypeDescription
CopyModelOperationMetadata.Builder

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

public CopyModelOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CopyModelOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CopyModelOperationMetadata.Builder
Overrides