public static final class Paragraph.Builder extends GeneratedMessageV3.Builder<Paragraph.Builder> implements ParagraphOrBuilder
Structural unit of text representing a number of words in certain order.
Protobuf type google.cloud.vision.v1p4beta1.Paragraph
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Paragraph.BuilderImplements
ParagraphOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllWords(Iterable<? extends Word> values)
public Paragraph.Builder addAllWords(Iterable<? extends Word> values)
List of all words in this paragraph.
repeated .google.cloud.vision.v1p4beta1.Word words = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.Word> |
Type | Description |
Paragraph.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Paragraph.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Paragraph.Builder |
addWords(Word value)
public Paragraph.Builder addWords(Word value)
List of all words in this paragraph.
repeated .google.cloud.vision.v1p4beta1.Word words = 3;
Name | Description |
value | Word |
Type | Description |
Paragraph.Builder |
addWords(Word.Builder builderForValue)
public Paragraph.Builder addWords(Word.Builder builderForValue)
List of all words in this paragraph.
repeated .google.cloud.vision.v1p4beta1.Word words = 3;
Name | Description |
builderForValue | Word.Builder |
Type | Description |
Paragraph.Builder |
addWords(int index, Word value)
public Paragraph.Builder addWords(int index, Word value)
List of all words in this paragraph.
repeated .google.cloud.vision.v1p4beta1.Word words = 3;
Name | Description |
index | int |
value | Word |
Type | Description |
Paragraph.Builder |