Class CreateCollectionMetadata.Builder (0.1.0)

public static final class CreateCollectionMetadata.Builder extends GeneratedMessageV3.Builder<CreateCollectionMetadata.Builder> implements CreateCollectionMetadataOrBuilder

Metadata message for CreateCollectionRequest

Protobuf type google.cloud.visionai.v1.CreateCollectionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCollectionMetadata build()
Returns
Type Description
CreateCollectionMetadata

buildPartial()

public CreateCollectionMetadata buildPartial()
Returns
Type Description
CreateCollectionMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationMetadata()

public CreateCollectionMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

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

Returns
Type Description
CreateCollectionMetadata.Builder

clone()

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

getDefaultInstanceForType()

public CreateCollectionMetadata getDefaultInstanceForType()
Returns
Type Description
CreateCollectionMetadata

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationMetadata(OperationMetadata value)

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

setOperationMetadata(OperationMetadata.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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