Class TextAnnotation.DetectedBreak.Builder (2.1.4)

public static final class TextAnnotation.DetectedBreak.Builder extends GeneratedMessageV3.Builder<TextAnnotation.DetectedBreak.Builder> implements TextAnnotation.DetectedBreakOrBuilder

Detected start or end of a structural component.

Protobuf type google.cloud.vision.v1.TextAnnotation.DetectedBreak

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextAnnotation.DetectedBreak build()
Returns
TypeDescription
TextAnnotation.DetectedBreak

buildPartial()

public TextAnnotation.DetectedBreak buildPartial()
Returns
TypeDescription
TextAnnotation.DetectedBreak

clear()

public TextAnnotation.DetectedBreak.Builder clear()
Returns
TypeDescription
TextAnnotation.DetectedBreak.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TextAnnotation.DetectedBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TextAnnotation.DetectedBreak.Builder
Overrides

clearIsPrefix()

public TextAnnotation.DetectedBreak.Builder clearIsPrefix()

True if break prepends the element.

bool is_prefix = 2;

Returns
TypeDescription
TextAnnotation.DetectedBreak.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TextAnnotation.DetectedBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TextAnnotation.DetectedBreak.Builder
Overrides