Class Word.Builder (2.1.4)

public static final class Word.Builder extends GeneratedMessageV3.Builder<Word.Builder> implements WordOrBuilder

A word representation.

Protobuf type google.cloud.vision.v1p3beta1.Word

Implements

WordOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSymbols(Iterable<? extends Symbol> values)

public Word.Builder addAllSymbols(Iterable<? extends Symbol> values)

List of symbols in the word. The order of the symbols follows the natural reading order.

repeated .google.cloud.vision.v1p3beta1.Symbol symbols = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.Symbol>
Returns
TypeDescription
Word.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Word.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Word.Builder
Overrides

addSymbols(Symbol value)

public Word.Builder addSymbols(Symbol value)

List of symbols in the word. The order of the symbols follows the natural reading order.

repeated .google.cloud.vision.v1p3beta1.Symbol symbols = 3;

Parameter
NameDescription
valueSymbol
Returns
TypeDescription
Word.Builder

addSymbols(Symbol.Builder builderForValue)

public Word.Builder addSymbols(Symbol.Builder builderForValue)

List of symbols in the word. The order of the symbols follows the natural reading order.

repeated .google.cloud.vision.v1p3beta1.Symbol symbols = 3;

Parameter
NameDescription
builderForValueSymbol.Builder
Returns
TypeDescription
Word.Builder

addSymbols(int index, Symbol value)

public Word.Builder addSymbols(int index, Symbol value)

List of symbols in the word. The order of the symbols follows the natural reading order.

repeated .google.cloud.vision.v1p3beta1.Symbol symbols = 3;

Parameters
NameDescription
indexint
valueSymbol
Returns