Class AnnotationList.Builder (0.10.0)

public static final class AnnotationList.Builder extends GeneratedMessageV3.Builder<AnnotationList.Builder> implements AnnotationListOrBuilder

List representation in annotation.

Protobuf type google.cloud.visionai.v1.AnnotationList

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends AnnotationValue> values)

public AnnotationList.Builder addAllValues(Iterable<? extends AnnotationValue> values)

The values of LIST data type annotation.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.AnnotationValue>
Returns
Type Description
AnnotationList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnnotationList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnnotationList.Builder
Overrides

addValues(AnnotationValue value)

public AnnotationList.Builder addValues(AnnotationValue value)

The values of LIST data type annotation.

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

Parameter
Name Description
value AnnotationValue
Returns
Type Description
AnnotationList.Builder

addValues(AnnotationValue.Builder builderForValue)

public AnnotationList.Builder addValues(AnnotationValue.Builder builderForValue)

The values of LIST data type annotation.

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

Parameter
Name Description
builderForValue AnnotationValue.Builder
Returns
Type Description
AnnotationList.Builder

addValues(int index, AnnotationValue value)

public AnnotationList.Builder addValues(int index, AnnotationValue value)

The values of LIST data type annotation.

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

Parameters
Name Description
index int
value AnnotationValue
Returns
Type Description
AnnotationList.Builder

addValues(int index, AnnotationValue.Builder builderForValue)

public AnnotationList.Builder addValues(int index, AnnotationValue.Builder builderForValue)

The values of LIST data type annotation.

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

Parameters
Name Description
index int
builderForValue AnnotationValue.Builder
Returns
Type Description
AnnotationList.Builder

addValuesBuilder()

public AnnotationValue.Builder addValuesBuilder()

The values of LIST data type annotation.

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

Returns
Type Description
AnnotationValue.Builder

addValuesBuilder(int index)

public AnnotationValue.Builder addValuesBuilder(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.Builder

build()

public AnnotationList build()
Returns
Type Description
AnnotationList

buildPartial()

public AnnotationList buildPartial()
Returns
Type Description
AnnotationList

clear()

public AnnotationList.Builder clear()
Returns
Type Description
AnnotationList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AnnotationList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnnotationList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnnotationList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnnotationList.Builder
Overrides

clearValues()

public AnnotationList.Builder clearValues()

The values of LIST data type annotation.

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

Returns
Type Description
AnnotationList.Builder

clone()

public AnnotationList.Builder clone()
Returns
Type Description
AnnotationList.Builder
Overrides

getDefaultInstanceForType()

public AnnotationList getDefaultInstanceForType()
Returns
Type Description
AnnotationList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getValuesBuilder(int index)

public AnnotationValue.Builder getValuesBuilder(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.Builder

getValuesBuilderList()

public List<AnnotationValue.Builder> getValuesBuilderList()

The values of LIST data type annotation.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnnotationList other)

public AnnotationList.Builder mergeFrom(AnnotationList other)
Parameter
Name Description
other AnnotationList
Returns
Type Description
AnnotationList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnnotationList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotationList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnnotationList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnnotationList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnnotationList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnnotationList.Builder
Overrides

removeValues(int index)

public AnnotationList.Builder removeValues(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
AnnotationList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnnotationList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnnotationList.Builder
Overrides

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

public AnnotationList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnnotationList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnnotationList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnnotationList.Builder
Overrides

setValues(int index, AnnotationValue value)

public AnnotationList.Builder setValues(int index, AnnotationValue value)

The values of LIST data type annotation.

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

Parameters
Name Description
index int
value AnnotationValue
Returns
Type Description
AnnotationList.Builder

setValues(int index, AnnotationValue.Builder builderForValue)

public AnnotationList.Builder setValues(int index, AnnotationValue.Builder builderForValue)

The values of LIST data type annotation.

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

Parameters
Name Description
index int
builderForValue AnnotationValue.Builder
Returns
Type Description
AnnotationList.Builder