public static final class AnnotationList.Builder extends GeneratedMessage.Builder<AnnotationList.Builder> implements AnnotationListOrBuilder
List representation in annotation.
Protobuf type google.cloud.visionai.v1.AnnotationList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addValues(AnnotationValue value)
public AnnotationList.Builder addValues(AnnotationValue value)
The values of LIST data type annotation.
repeated .google.cloud.visionai.v1.AnnotationValue values = 1;
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;
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;
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;
addValuesBuilder()
public AnnotationValue.Builder addValuesBuilder()
The values of LIST data type annotation.
repeated .google.cloud.visionai.v1.AnnotationValue values = 1;
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
|
build()
public AnnotationList build()
buildPartial()
public AnnotationList buildPartial()
clear()
public AnnotationList.Builder clear()
Overrides
clearValues()
public AnnotationList.Builder clearValues()
The values of LIST data type annotation.
repeated .google.cloud.visionai.v1.AnnotationValue values = 1;
getDefaultInstanceForType()
public AnnotationList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getValuesBuilderList()
public List<AnnotationValue.Builder> getValuesBuilderList()
The values of LIST data type annotation.
repeated .google.cloud.visionai.v1.AnnotationValue values = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AnnotationList other)
public AnnotationList.Builder mergeFrom(AnnotationList other)
public AnnotationList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnnotationList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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;
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;