Class AnnotationMetadata (0.150.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnnotationMetadata getDefaultInstance()
Returns
TypeDescription
AnnotationMetadata

getDescriptor()

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

newBuilder()

public static AnnotationMetadata.Builder newBuilder()
Returns
TypeDescription
AnnotationMetadata.Builder

newBuilder(AnnotationMetadata prototype)

public static AnnotationMetadata.Builder newBuilder(AnnotationMetadata prototype)
Parameter
NameDescription
prototypeAnnotationMetadata
Returns
TypeDescription
AnnotationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AnnotationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnnotationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnnotationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnnotationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnnotationMetadata> parser()
Returns
TypeDescription
Parser<AnnotationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AnnotationMetadata getDefaultInstanceForType()
Returns
TypeDescription
AnnotationMetadata

getOperatorMetadata()

public OperatorMetadata getOperatorMetadata()

Metadata related to human labeling.

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

Returns
TypeDescription
OperatorMetadata

The operatorMetadata.

getOperatorMetadataOrBuilder()

public OperatorMetadataOrBuilder getOperatorMetadataOrBuilder()

Metadata related to human labeling.

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

Returns
TypeDescription
OperatorMetadataOrBuilder

getParserForType()

public Parser<AnnotationMetadata> getParserForType()
Returns
TypeDescription
Parser<AnnotationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasOperatorMetadata()

public boolean hasOperatorMetadata()

Metadata related to human labeling.

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

Returns
TypeDescription
boolean

Whether the operatorMetadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnnotationMetadata.Builder newBuilderForType()
Returns
TypeDescription
AnnotationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnnotationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnnotationMetadata.Builder toBuilder()
Returns
TypeDescription
AnnotationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException