Class LabelImageBoundingBoxOperationMetadata.Builder (0.123.3)

public static final class LabelImageBoundingBoxOperationMetadata.Builder extends GeneratedMessageV3.Builder<LabelImageBoundingBoxOperationMetadata.Builder> implements LabelImageBoundingBoxOperationMetadataOrBuilder

Details of a LabelImageBoundingBox operation metadata.

Protobuf type google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelImageBoundingBoxOperationMetadata build()
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata

buildPartial()

public LabelImageBoundingBoxOperationMetadata buildPartial()
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata

clear()

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

clearBasicConfig()

public LabelImageBoundingBoxOperationMetadata.Builder clearBasicConfig()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBasicConfig()

public HumanAnnotationConfig getBasicConfig()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
TypeDescription
HumanAnnotationConfig

The basicConfig.

getBasicConfigBuilder()

public HumanAnnotationConfig.Builder getBasicConfigBuilder()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
TypeDescription
HumanAnnotationConfig.Builder

getBasicConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
TypeDescription
HumanAnnotationConfigOrBuilder

getDefaultInstanceForType()

public LabelImageBoundingBoxOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBasicConfig()

public boolean hasBasicConfig()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
TypeDescription
boolean

Whether the basicConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBasicConfig(HumanAnnotationConfig value)

public LabelImageBoundingBoxOperationMetadata.Builder mergeBasicConfig(HumanAnnotationConfig value)

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Parameter
NameDescription
valueHumanAnnotationConfig
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata.Builder

mergeFrom(LabelImageBoundingBoxOperationMetadata other)

public LabelImageBoundingBoxOperationMetadata.Builder mergeFrom(LabelImageBoundingBoxOperationMetadata other)
Parameter
NameDescription
otherLabelImageBoundingBoxOperationMetadata
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBasicConfig(HumanAnnotationConfig value)

public LabelImageBoundingBoxOperationMetadata.Builder setBasicConfig(HumanAnnotationConfig value)

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Parameter
NameDescription
valueHumanAnnotationConfig
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata.Builder

setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

public LabelImageBoundingBoxOperationMetadata.Builder setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Parameter
NameDescription
builderForValueHumanAnnotationConfig.Builder
Returns
TypeDescription
LabelImageBoundingBoxOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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