public static final class Symbol.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder> implements SymbolOrBuilder
A single symbol representation.Protobuf type
google.cloud.vision.v1.Symbol| Type | Property and Description |
|---|---|
Symbol.Builder |
clear
Additional information detected for the symbol.
|
boolean |
has
Additional information detected for the symbol.
|
| Modifier and Type | Method and Description |
|---|---|
Symbol.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Symbol |
build() |
Symbol |
buildPartial() |
Symbol.Builder |
clear() |
Symbol.Builder |
clearBoundingBox()
The bounding box for the symbol.
|
Symbol.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Symbol.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Symbol.Builder |
clearProperty()
Additional information detected for the symbol.
|
Symbol.Builder |
clearText()
The actual UTF-8 representation of the symbol.
|
Symbol.Builder |
clone() |
BoundingPoly |
getBoundingBox()
The bounding box for the symbol.
|
BoundingPoly.Builder |
getBoundingBoxBuilder()
The bounding box for the symbol.
|
BoundingPolyOrBuilder |
getBoundingBoxOrBuilder()
The bounding box for the symbol.
|
Symbol |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TextAnnotation.TextProperty |
getProperty()
Additional information detected for the symbol.
|
TextAnnotation.TextProperty.Builder |
getPropertyBuilder()
Additional information detected for the symbol.
|
TextAnnotation.TextPropertyOrBuilder |
getPropertyOrBuilder()
Additional information detected for the symbol.
|
java.lang.String |
getText()
The actual UTF-8 representation of the symbol.
|
com.google.protobuf.ByteString |
getTextBytes()
The actual UTF-8 representation of the symbol.
|
boolean |
hasBoundingBox()
The bounding box for the symbol.
|
boolean |
hasProperty()
Additional information detected for the symbol.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Symbol.Builder |
mergeBoundingBox(BoundingPoly value)
The bounding box for the symbol.
|
Symbol.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Symbol.Builder |
mergeFrom(com.google.protobuf.Message other) |
Symbol.Builder |
mergeFrom(Symbol other) |
Symbol.Builder |
mergeProperty(TextAnnotation.TextProperty value)
Additional information detected for the symbol.
|
Symbol.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Symbol.Builder |
setBoundingBox(BoundingPoly.Builder builderForValue)
The bounding box for the symbol.
|
Symbol.Builder |
setBoundingBox(BoundingPoly value)
The bounding box for the symbol.
|
Symbol.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Symbol.Builder |
setProperty(TextAnnotation.TextProperty.Builder builderForValue)
Additional information detected for the symbol.
|
Symbol.Builder |
setProperty(TextAnnotation.TextProperty value)
Additional information detected for the symbol.
|
Symbol.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Symbol.Builder |
setText(java.lang.String value)
The actual UTF-8 representation of the symbol.
|
Symbol.Builder |
setTextBytes(com.google.protobuf.ByteString value)
The actual UTF-8 representation of the symbol.
|
Symbol.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic boolean hasProperty
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;hasProperty in interface SymbolOrBuilderpublic Symbol.Builder clearProperty
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Symbol build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Symbol buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Symbol.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Symbol.Builder>public Symbol.Builder mergeFrom(Symbol other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public Symbol.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Symbol.Builder>java.io.IOExceptionpublic boolean hasProperty()
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;hasProperty in interface SymbolOrBuilderpublic TextAnnotation.TextProperty getProperty()
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;getProperty in interface SymbolOrBuilderpublic Symbol.Builder setProperty(TextAnnotation.TextProperty value)
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;public Symbol.Builder setProperty(TextAnnotation.TextProperty.Builder builderForValue)
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;public Symbol.Builder mergeProperty(TextAnnotation.TextProperty value)
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;public Symbol.Builder clearProperty()
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;public TextAnnotation.TextProperty.Builder getPropertyBuilder()
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;public TextAnnotation.TextPropertyOrBuilder getPropertyOrBuilder()
Additional information detected for the symbol.
.google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;getPropertyOrBuilder in interface SymbolOrBuilderpublic boolean hasBoundingBox()
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;hasBoundingBox in interface SymbolOrBuilderpublic BoundingPoly getBoundingBox()
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;getBoundingBox in interface SymbolOrBuilderpublic Symbol.Builder setBoundingBox(BoundingPoly value)
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;public Symbol.Builder setBoundingBox(BoundingPoly.Builder builderForValue)
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;public Symbol.Builder mergeBoundingBox(BoundingPoly value)
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;public Symbol.Builder clearBoundingBox()
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;public BoundingPoly.Builder getBoundingBoxBuilder()
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;public BoundingPolyOrBuilder getBoundingBoxOrBuilder()
The bounding box for the symbol.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
* when the text is horizontal it might look like:
0----1
| |
3----2
* when it's rotated 180 degrees around the top-left corner it becomes:
2----3
| |
1----0
and the vertice order will still be (0, 1, 2, 3).
.google.cloud.vision.v1.BoundingPoly bounding_box = 2;getBoundingBoxOrBuilder in interface SymbolOrBuilderpublic java.lang.String getText()
The actual UTF-8 representation of the symbol.
string text = 3;getText in interface SymbolOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
The actual UTF-8 representation of the symbol.
string text = 3;getTextBytes in interface SymbolOrBuilderpublic Symbol.Builder setText(java.lang.String value)
The actual UTF-8 representation of the symbol.
string text = 3;public Symbol.Builder clearText()
The actual UTF-8 representation of the symbol.
string text = 3;public Symbol.Builder setTextBytes(com.google.protobuf.ByteString value)
The actual UTF-8 representation of the symbol.
string text = 3;public final Symbol.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>public final Symbol.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Symbol.Builder>