Class AnnotationMetadata (0.162.0)

public final class AnnotationMetadata extends GeneratedMessageV3 implements AnnotationMetadataOrBuilder

Additional information associated with the annotation.

Protobuf type google.cloud.datalabeling.v1beta1.AnnotationMetadata

Static Fields

OPERATOR_METADATA_FIELD_NUMBER

public static final int OPERATOR_METADATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnnotationMetadata getDefaultInstance()
Returns
Type Description
AnnotationMetadata

getDescriptor()

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

newBuilder()

public static AnnotationMetadata.Builder newBuilder()
Returns
Type Description
AnnotationMetadata.Builder

newBuilder(AnnotationMetadata prototype)

public static AnnotationMetadata.Builder newBuilder(AnnotationMetadata prototype)
Parameter
Name Description
prototype AnnotationMetadata
Returns
Type Description
AnnotationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AnnotationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnnotationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnnotationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnnotationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnnotationMetadata> parser()
Returns
Type Description
Parser<AnnotationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AnnotationMetadata getDefaultInstanceForType()
Returns
Type Description
AnnotationMetadata

getOperatorMetadata()

public OperatorMetadata getOperatorMetadata()

Metadata related to human labeling.

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

Returns
Type Description
OperatorMetadata

The operatorMetadata.

getOperatorMetadataOrBuilder()

public OperatorMetadataOrBuilder getOperatorMetadataOrBuilder()

Metadata related to human labeling.

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

Returns
Type Description
OperatorMetadataOrBuilder

getParserForType()

public Parser<AnnotationMetadata> getParserForType()
Returns
Type Description
Parser<AnnotationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOperatorMetadata()

public boolean hasOperatorMetadata()

Metadata related to human labeling.

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

Returns
Type Description
boolean

Whether the operatorMetadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnnotationMetadata.Builder newBuilderForType()
Returns
Type Description
AnnotationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnnotationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnnotationMetadata.Builder toBuilder()
Returns
Type Description
AnnotationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException