Class UploadModelOperationMetadata.Builder (3.37.0)

public static final class UploadModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<UploadModelOperationMetadata.Builder> implements UploadModelOperationMetadataOrBuilder

Details of ModelService.UploadModel operation.

Protobuf type google.cloud.aiplatform.v1.UploadModelOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UploadModelOperationMetadata build()
Returns
TypeDescription
UploadModelOperationMetadata

buildPartial()

public UploadModelOperationMetadata buildPartial()
Returns
TypeDescription
UploadModelOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public UploadModelOperationMetadata.Builder clearGenericMetadata()

The common part of the operation metadata.

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

Returns
TypeDescription
UploadModelOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UploadModelOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
UploadModelOperationMetadata

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

public UploadModelOperationMetadata.Builder mergeFrom(UploadModelOperationMetadata other)
Parameter
NameDescription
otherUploadModelOperationMetadata
Returns
TypeDescription
UploadModelOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public UploadModelOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)

The common part of the operation metadata.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
UploadModelOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public UploadModelOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

The common part of the operation metadata.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
UploadModelOperationMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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