Class LabelImageSegmentationOperationMetadata.Builder (0.136.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelImageSegmentationOperationMetadata build()
Returns
TypeDescription
LabelImageSegmentationOperationMetadata

buildPartial()

public LabelImageSegmentationOperationMetadata buildPartial()
Returns
TypeDescription
LabelImageSegmentationOperationMetadata

clear()

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

clearBasicConfig()

public LabelImageSegmentationOperationMetadata.Builder clearBasicConfig()

Basic human annotation config.

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

Returns
TypeDescription
LabelImageSegmentationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBasicConfig()

public HumanAnnotationConfig getBasicConfig()

Basic human annotation config.

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

Returns
TypeDescription
HumanAnnotationConfig

The basicConfig.

getBasicConfigBuilder()

public HumanAnnotationConfig.Builder getBasicConfigBuilder()

Basic human annotation config.

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

Returns
TypeDescription
HumanAnnotationConfig.Builder

getBasicConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Basic human annotation config.

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

Returns
TypeDescription
HumanAnnotationConfigOrBuilder

getDefaultInstanceForType()

public LabelImageSegmentationOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
LabelImageSegmentationOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBasicConfig()

public boolean hasBasicConfig()

Basic human annotation config.

.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 LabelImageSegmentationOperationMetadata.Builder mergeBasicConfig(HumanAnnotationConfig value)

Basic human annotation config.

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

Parameter
NameDescription
valueHumanAnnotationConfig
Returns
TypeDescription
LabelImageSegmentationOperationMetadata.Builder

mergeFrom(LabelImageSegmentationOperationMetadata other)

public LabelImageSegmentationOperationMetadata.Builder mergeFrom(LabelImageSegmentationOperationMetadata other)
Parameter
NameDescription
otherLabelImageSegmentationOperationMetadata
Returns
TypeDescription
LabelImageSegmentationOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LabelImageSegmentationOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueHumanAnnotationConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAnnotationConfig.Builder
Returns
TypeDescription
LabelImageSegmentationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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