Package com.google.cloud.documentai.v1
Class BoundingPoly.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BoundingPoly.Builder>
com.google.cloud.documentai.v1.BoundingPoly.Builder
- All Implemented Interfaces:
BoundingPolyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BoundingPoly
public static final class BoundingPoly.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BoundingPoly.Builder>
implements BoundingPolyOrBuilder
A bounding polygon for the detected image annotation.Protobuf type
google.cloud.documentai.v1.BoundingPoly-
Method Summary
Modifier and TypeMethodDescriptionaddAllNormalizedVertices(Iterable<? extends NormalizedVertex> values) The bounding polygon normalized vertices.addAllVertices(Iterable<? extends Vertex> values) The bounding polygon vertices.addNormalizedVertices(int index, NormalizedVertex value) The bounding polygon normalized vertices.addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue) The bounding polygon normalized vertices.The bounding polygon normalized vertices.addNormalizedVertices(NormalizedVertex.Builder builderForValue) The bounding polygon normalized vertices.The bounding polygon normalized vertices.addNormalizedVerticesBuilder(int index) The bounding polygon normalized vertices.addVertices(int index, Vertex value) The bounding polygon vertices.addVertices(int index, Vertex.Builder builderForValue) The bounding polygon vertices.addVertices(Vertex value) The bounding polygon vertices.addVertices(Vertex.Builder builderForValue) The bounding polygon vertices.The bounding polygon vertices.addVerticesBuilder(int index) The bounding polygon vertices.build()clear()The bounding polygon normalized vertices.The bounding polygon vertices.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNormalizedVertices(int index) The bounding polygon normalized vertices.getNormalizedVerticesBuilder(int index) The bounding polygon normalized vertices.The bounding polygon normalized vertices.intThe bounding polygon normalized vertices.The bounding polygon normalized vertices.getNormalizedVerticesOrBuilder(int index) The bounding polygon normalized vertices.List<? extends NormalizedVertexOrBuilder>The bounding polygon normalized vertices.getVertices(int index) The bounding polygon vertices.getVerticesBuilder(int index) The bounding polygon vertices.The bounding polygon vertices.intThe bounding polygon vertices.The bounding polygon vertices.getVerticesOrBuilder(int index) The bounding polygon vertices.List<? extends VertexOrBuilder>The bounding polygon vertices.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(BoundingPoly other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNormalizedVertices(int index) The bounding polygon normalized vertices.removeVertices(int index) The bounding polygon vertices.setNormalizedVertices(int index, NormalizedVertex value) The bounding polygon normalized vertices.setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue) The bounding polygon normalized vertices.setVertices(int index, Vertex value) The bounding polygon vertices.setVertices(int index, Vertex.Builder builderForValue) The bounding polygon vertices.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BoundingPoly.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BoundingPoly.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BoundingPoly.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BoundingPoly.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BoundingPoly.Builder>
-
mergeFrom
public BoundingPoly.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BoundingPoly.Builder>- Throws:
IOException
-
getVerticesList
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1;- Specified by:
getVerticesListin interfaceBoundingPolyOrBuilder
-
getVerticesCount
public int getVerticesCount()The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1;- Specified by:
getVerticesCountin interfaceBoundingPolyOrBuilder
-
getVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1;- Specified by:
getVerticesin interfaceBoundingPolyOrBuilder
-
setVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
setVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
addVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
addVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
addVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
addVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
addAllVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
clearVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
removeVertices
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
getVerticesBuilder
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
getVerticesOrBuilder
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1;- Specified by:
getVerticesOrBuilderin interfaceBoundingPolyOrBuilder
-
getVerticesOrBuilderList
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1;- Specified by:
getVerticesOrBuilderListin interfaceBoundingPolyOrBuilder
-
addVerticesBuilder
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
addVerticesBuilder
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
getVerticesBuilderList
The bounding polygon vertices.
repeated .google.cloud.documentai.v1.Vertex vertices = 1; -
getNormalizedVerticesList
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2;- Specified by:
getNormalizedVerticesListin interfaceBoundingPolyOrBuilder
-
getNormalizedVerticesCount
public int getNormalizedVerticesCount()The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2;- Specified by:
getNormalizedVerticesCountin interfaceBoundingPolyOrBuilder
-
getNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2;- Specified by:
getNormalizedVerticesin interfaceBoundingPolyOrBuilder
-
setNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
setNormalizedVertices
public BoundingPoly.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue) The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
addNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
addNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
addNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
addNormalizedVertices
public BoundingPoly.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue) The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
addAllNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
clearNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
removeNormalizedVertices
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
getNormalizedVerticesBuilder
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
getNormalizedVerticesOrBuilder
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2;- Specified by:
getNormalizedVerticesOrBuilderin interfaceBoundingPolyOrBuilder
-
getNormalizedVerticesOrBuilderList
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2;- Specified by:
getNormalizedVerticesOrBuilderListin interfaceBoundingPolyOrBuilder
-
addNormalizedVerticesBuilder
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
addNormalizedVerticesBuilder
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; -
getNormalizedVerticesBuilderList
The bounding polygon normalized vertices.
repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2;
-