Class AnnotationMetadata.Builder (0.168.0)

public static final class AnnotationMetadata.Builder extends GeneratedMessageV3.Builder<AnnotationMetadata.Builder> implements AnnotationMetadataOrBuilder

Additional information associated with the annotation.

Protobuf type google.cloud.datalabeling.v1beta1.AnnotationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotationMetadata build()
Returns
Type Description
AnnotationMetadata

buildPartial()

public AnnotationMetadata buildPartial()
Returns
Type Description
AnnotationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperatorMetadata()

public AnnotationMetadata.Builder clearOperatorMetadata()

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Returns
Type Description
AnnotationMetadata.Builder

clone()

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

getDefaultInstanceForType()

public AnnotationMetadata getDefaultInstanceForType()
Returns
Type Description
AnnotationMetadata

getDescriptorForType()

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

getOperatorMetadata()

public OperatorMetadata getOperatorMetadata()

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Returns
Type Description
OperatorMetadata

The operatorMetadata.

getOperatorMetadataBuilder()

public OperatorMetadata.Builder getOperatorMetadataBuilder()

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Returns
Type Description
OperatorMetadata.Builder

getOperatorMetadataOrBuilder()

public OperatorMetadataOrBuilder getOperatorMetadataOrBuilder()

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Returns
Type Description
OperatorMetadataOrBuilder

hasOperatorMetadata()

public boolean hasOperatorMetadata()

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Returns
Type Description
boolean

Whether the operatorMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnnotationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperatorMetadata(OperatorMetadata value)

public AnnotationMetadata.Builder mergeOperatorMetadata(OperatorMetadata value)

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Parameter
Name Description
value OperatorMetadata
Returns
Type Description
AnnotationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperatorMetadata(OperatorMetadata value)

public AnnotationMetadata.Builder setOperatorMetadata(OperatorMetadata value)

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Parameter
Name Description
value OperatorMetadata
Returns
Type Description
AnnotationMetadata.Builder

setOperatorMetadata(OperatorMetadata.Builder builderForValue)

public AnnotationMetadata.Builder setOperatorMetadata(OperatorMetadata.Builder builderForValue)

Metadata related to human labeling.

.google.cloud.datalabeling.v1beta1.OperatorMetadata operator_metadata = 2;

Parameter
Name Description
builderForValue OperatorMetadata.Builder
Returns
Type Description
AnnotationMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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