public static final class ClassificationMetadata.Builder extends GeneratedMessageV3.Builder<ClassificationMetadata.Builder> implements ClassificationMetadataOrBuilder
Metadata for classification annotations.
Protobuf type google.cloud.datalabeling.v1beta1.ClassificationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ClassificationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ClassificationMetadata build()
public ClassificationMetadata buildPartial()
public ClassificationMetadata.Builder clear()
Overrides
public ClassificationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ClassificationMetadata.Builder clearIsMultiLabel()
Whether the classification task is multi-label or not.
bool is_multi_label = 1;
public ClassificationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ClassificationMetadata.Builder clone()
Overrides
public ClassificationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public boolean getIsMultiLabel()
Whether the classification task is multi-label or not.
bool is_multi_label = 1;
Returns |
---|
Type | Description |
boolean | The isMultiLabel.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ClassificationMetadata.Builder mergeFrom(ClassificationMetadata other)
public ClassificationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ClassificationMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ClassificationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ClassificationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ClassificationMetadata.Builder setIsMultiLabel(boolean value)
Whether the classification task is multi-label or not.
bool is_multi_label = 1;
Parameter |
---|
Name | Description |
value | boolean
The isMultiLabel to set.
|
public ClassificationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ClassificationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides