Class LabelImageSegmentationOperationMetadata.Builder (0.162.0)

public static final class LabelImageSegmentationOperationMetadata.Builder extends GeneratedMessageV3.Builder<LabelImageSegmentationOperationMetadata.Builder> implements LabelImageSegmentationOperationMetadataOrBuilder

Details of a LabelImageSegmentation operation metadata.

Protobuf type google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelImageSegmentationOperationMetadata build()
Returns
Type Description
LabelImageSegmentationOperationMetadata

buildPartial()

public LabelImageSegmentationOperationMetadata buildPartial()
Returns
Type Description
LabelImageSegmentationOperationMetadata

clear()

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

clearBasicConfig()

public LabelImageSegmentationOperationMetadata.Builder clearBasicConfig()

Basic human annotation config.

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

Returns
Type Description
LabelImageSegmentationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBasicConfig()

public HumanAnnotationConfig getBasicConfig()

Basic human annotation config.

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

Returns
Type Description
HumanAnnotationConfig

The basicConfig.

getBasicConfigBuilder()

public HumanAnnotationConfig.Builder getBasicConfigBuilder()

Basic human annotation config.

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

Returns
Type Description
HumanAnnotationConfig.Builder

getBasicConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Basic human annotation config.

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

Returns
Type Description
HumanAnnotationConfigOrBuilder

getDefaultInstanceForType()

public LabelImageSegmentationOperationMetadata getDefaultInstanceForType()
Returns
Type Description
LabelImageSegmentationOperationMetadata

getDescriptorForType()

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

hasBasicConfig()

public boolean hasBasicConfig()

Basic human annotation config.

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

Returns
Type Description
boolean

Whether the basicConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBasicConfig(HumanAnnotationConfig value)

public LabelImageSegmentationOperationMetadata.Builder mergeBasicConfig(HumanAnnotationConfig value)

Basic human annotation config.

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

Parameter
Name Description
value HumanAnnotationConfig
Returns
Type Description
LabelImageSegmentationOperationMetadata.Builder

mergeFrom(LabelImageSegmentationOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBasicConfig(HumanAnnotationConfig value)

public LabelImageSegmentationOperationMetadata.Builder setBasicConfig(HumanAnnotationConfig value)

Basic human annotation config.

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

Parameter
Name Description
value HumanAnnotationConfig
Returns
Type Description
LabelImageSegmentationOperationMetadata.Builder

setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

public LabelImageSegmentationOperationMetadata.Builder setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

Basic human annotation config.

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

Parameter
Name Description
builderForValue HumanAnnotationConfig.Builder
Returns
Type Description
LabelImageSegmentationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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