public static final class BoundingPoly.Builder extends GeneratedMessageV3.Builder<BoundingPoly.Builder> implements BoundingPolyOrBuilder
A bounding polygon for the detected image annotation.
Protobuf type google.cloud.documentai.v1beta3.BoundingPoly
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
public BoundingPoly.Builder addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta3.NormalizedVertex>
|
addAllVertices(Iterable<? extends Vertex> values)
public BoundingPoly.Builder addAllVertices(Iterable<? extends Vertex> values)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta3.Vertex>
|
addNormalizedVertices(NormalizedVertex value)
public BoundingPoly.Builder addNormalizedVertices(NormalizedVertex value)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
addNormalizedVertices(NormalizedVertex.Builder builderForValue)
public BoundingPoly.Builder addNormalizedVertices(NormalizedVertex.Builder builderForValue)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
addNormalizedVertices(int index, NormalizedVertex value)
public BoundingPoly.Builder addNormalizedVertices(int index, NormalizedVertex value)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public BoundingPoly.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
addNormalizedVerticesBuilder()
public NormalizedVertex.Builder addNormalizedVerticesBuilder()
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
addNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BoundingPoly.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addVertices(Vertex value)
public BoundingPoly.Builder addVertices(Vertex value)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
value |
Vertex
|
addVertices(Vertex.Builder builderForValue)
public BoundingPoly.Builder addVertices(Vertex.Builder builderForValue)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
addVertices(int index, Vertex value)
public BoundingPoly.Builder addVertices(int index, Vertex value)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Vertex
|
addVertices(int index, Vertex.Builder builderForValue)
public BoundingPoly.Builder addVertices(int index, Vertex.Builder builderForValue)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
addVerticesBuilder()
public Vertex.Builder addVerticesBuilder()
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
addVerticesBuilder(int index)
public Vertex.Builder addVerticesBuilder(int index)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public BoundingPoly build()
buildPartial()
public BoundingPoly buildPartial()
clear()
public BoundingPoly.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BoundingPoly.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedVertices()
public BoundingPoly.Builder clearNormalizedVertices()
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public BoundingPoly.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVertices()
public BoundingPoly.Builder clearVertices()
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
clone()
public BoundingPoly.Builder clone()
Overrides
getDefaultInstanceForType()
public BoundingPoly getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNormalizedVertices(int index)
public NormalizedVertex getNormalizedVertices(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesBuilderList()
public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
getNormalizedVerticesCount()
public int getNormalizedVerticesCount()
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Returns |
Type |
Description |
int |
|
getNormalizedVerticesList()
public List<NormalizedVertex> getNormalizedVerticesList()
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
getNormalizedVerticesOrBuilder(int index)
public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesOrBuilderList()
public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta3.NormalizedVertexOrBuilder> |
|
getVertices(int index)
public Vertex getVertices(int index)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Vertex |
|
getVerticesBuilder(int index)
public Vertex.Builder getVerticesBuilder(int index)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getVerticesBuilderList()
public List<Vertex.Builder> getVerticesBuilderList()
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
getVerticesCount()
public int getVerticesCount()
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Returns |
Type |
Description |
int |
|
getVerticesList()
public List<Vertex> getVerticesList()
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
getVerticesOrBuilder(int index)
public VertexOrBuilder getVerticesOrBuilder(int index)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getVerticesOrBuilderList()
public List<? extends VertexOrBuilder> getVerticesOrBuilderList()
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta3.VertexOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BoundingPoly other)
public BoundingPoly.Builder mergeFrom(BoundingPoly other)
public BoundingPoly.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BoundingPoly.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BoundingPoly.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNormalizedVertices(int index)
public BoundingPoly.Builder removeNormalizedVertices(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
Parameter |
Name |
Description |
index |
int
|
removeVertices(int index)
public BoundingPoly.Builder removeVertices(int index)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BoundingPoly.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNormalizedVertices(int index, NormalizedVertex value)
public BoundingPoly.Builder setNormalizedVertices(int index, NormalizedVertex value)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public BoundingPoly.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1beta3.NormalizedVertex normalized_vertices = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BoundingPoly.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BoundingPoly.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVertices(int index, Vertex value)
public BoundingPoly.Builder setVertices(int index, Vertex value)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Vertex
|
setVertices(int index, Vertex.Builder builderForValue)
public BoundingPoly.Builder setVertices(int index, Vertex.Builder builderForValue)
The bounding polygon vertices.
repeated .google.cloud.documentai.v1beta3.Vertex vertices = 1;