Class AnnotationList.Builder (0.40.0)

public static final class AnnotationList.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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