Class AnnotationMetadata.Builder (0.123.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotationMetadata build()
Returns
TypeDescription
AnnotationMetadata

buildPartial()

public AnnotationMetadata buildPartial()
Returns
TypeDescription
AnnotationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperatorMetadata()

public AnnotationMetadata.Builder clearOperatorMetadata()

Metadata related to human labeling.

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

Returns
TypeDescription
AnnotationMetadata.Builder

clone()

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

getDefaultInstanceForType()

public AnnotationMetadata getDefaultInstanceForType()
Returns
TypeDescription
AnnotationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperatorMetadata()

public OperatorMetadata getOperatorMetadata()

Metadata related to human labeling.

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

Returns
TypeDescription
OperatorMetadata

The operatorMetadata.

getOperatorMetadataBuilder()

public OperatorMetadata.Builder getOperatorMetadataBuilder()

Metadata related to human labeling.

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

Returns
TypeDescription
OperatorMetadata.Builder

getOperatorMetadataOrBuilder()

public OperatorMetadataOrBuilder getOperatorMetadataOrBuilder()

Metadata related to human labeling.

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

Returns
TypeDescription
OperatorMetadataOrBuilder

hasOperatorMetadata()

public boolean hasOperatorMetadata()

Metadata related to human labeling.

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

Returns
TypeDescription
boolean

Whether the operatorMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnnotationMetadata other)

public AnnotationMetadata.Builder mergeFrom(AnnotationMetadata other)
Parameter
NameDescription
otherAnnotationMetadata
Returns
TypeDescription
AnnotationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnnotationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOperatorMetadata
Returns
TypeDescription
AnnotationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AnnotationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueOperatorMetadata
Returns
TypeDescription
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
NameDescription
builderForValueOperatorMetadata.Builder
Returns
TypeDescription
AnnotationMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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