Class AnnotationList (0.11.0)

public final class AnnotationList extends GeneratedMessageV3 implements AnnotationListOrBuilder

List representation in annotation.

Protobuf type google.cloud.visionai.v1.AnnotationList

Static Fields

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnnotationList getDefaultInstance()
Returns
Type Description
AnnotationList

getDescriptor()

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

newBuilder()

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

newBuilder(AnnotationList prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AnnotationList getDefaultInstanceForType()
Returns
Type Description
AnnotationList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValues(int index)

public AnnotationValue getValues(int index)

The values of LIST data type annotation.

repeated .google.cloud.visionai.v1.AnnotationValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotationValue

getValuesCount()

public int getValuesCount()

The values of LIST data type annotation.

repeated .google.cloud.visionai.v1.AnnotationValue values = 1;

Returns
Type Description
int

getValuesList()

public List<AnnotationValue> getValuesList()

The values of LIST data type annotation.

repeated .google.cloud.visionai.v1.AnnotationValue values = 1;

Returns
Type Description
List<AnnotationValue>

getValuesOrBuilder(int index)

public AnnotationValueOrBuilder getValuesOrBuilder(int index)

The values of LIST data type annotation.

repeated .google.cloud.visionai.v1.AnnotationValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotationValueOrBuilder

getValuesOrBuilderList()

public List<? extends AnnotationValueOrBuilder> getValuesOrBuilderList()

The values of LIST data type annotation.

repeated .google.cloud.visionai.v1.AnnotationValue values = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.AnnotationValueOrBuilder>

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 AnnotationList.Builder newBuilderForType()
Returns
Type Description
AnnotationList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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