Class DeleteCollectionMetadata.Builder (0.8.0)

public static final class DeleteCollectionMetadata.Builder extends GeneratedMessageV3.Builder<DeleteCollectionMetadata.Builder> implements DeleteCollectionMetadataOrBuilder

Metadata message for DeleteCollectionRequest

Protobuf type google.cloud.visionai.v1.DeleteCollectionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteCollectionMetadata build()
Returns
Type Description
DeleteCollectionMetadata

buildPartial()

public DeleteCollectionMetadata buildPartial()
Returns
Type Description
DeleteCollectionMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationMetadata()

public DeleteCollectionMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
DeleteCollectionMetadata.Builder

clone()

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

getDefaultInstanceForType()

public DeleteCollectionMetadata getDefaultInstanceForType()
Returns
Type Description
DeleteCollectionMetadata

getDescriptorForType()

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

getOperationMetadata()

public OperationMetadata getOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadata

The operationMetadata.

getOperationMetadataBuilder()

public OperationMetadata.Builder getOperationMetadataBuilder()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadata.Builder

getOperationMetadataOrBuilder()

public OperationMetadataOrBuilder getOperationMetadataOrBuilder()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadataOrBuilder

hasOperationMetadata()

public boolean hasOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
boolean

Whether the operationMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteCollectionMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

public DeleteCollectionMetadata.Builder mergeOperationMetadata(OperationMetadata value)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
value OperationMetadata
Returns
Type Description
DeleteCollectionMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationMetadata(OperationMetadata value)

public DeleteCollectionMetadata.Builder setOperationMetadata(OperationMetadata value)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
value OperationMetadata
Returns
Type Description
DeleteCollectionMetadata.Builder

setOperationMetadata(OperationMetadata.Builder builderForValue)

public DeleteCollectionMetadata.Builder setOperationMetadata(OperationMetadata.Builder builderForValue)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
builderForValue OperationMetadata.Builder
Returns
Type Description
DeleteCollectionMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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