Class Document.Page.Token.DetectedBreak.Builder (2.48.0)

public static final class Document.Page.Token.DetectedBreak.Builder extends GeneratedMessageV3.Builder<Document.Page.Token.DetectedBreak.Builder> implements Document.Page.Token.DetectedBreakOrBuilder

Detected break at the end of a Token.

Protobuf type google.cloud.documentai.v1.Document.Page.Token.DetectedBreak

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.Page.Token.DetectedBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

build()

public Document.Page.Token.DetectedBreak build()
Returns
Type Description
Document.Page.Token.DetectedBreak

buildPartial()

public Document.Page.Token.DetectedBreak buildPartial()
Returns
Type Description
Document.Page.Token.DetectedBreak

clear()

public Document.Page.Token.DetectedBreak.Builder clear()
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Document.Page.Token.DetectedBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.Page.Token.DetectedBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

clearType()

public Document.Page.Token.DetectedBreak.Builder clearType()

Detected break type.

.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type type = 1;

Returns
Type Description
Document.Page.Token.DetectedBreak.Builder

This builder for chaining.

clone()

public Document.Page.Token.DetectedBreak.Builder clone()
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

getDefaultInstanceForType()

public Document.Page.Token.DetectedBreak getDefaultInstanceForType()
Returns
Type Description
Document.Page.Token.DetectedBreak

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getType()

public Document.Page.Token.DetectedBreak.Type getType()

Detected break type.

.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type type = 1;

Returns
Type Description
Document.Page.Token.DetectedBreak.Type

The type.

getTypeValue()

public int getTypeValue()

Detected break type.

.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.Page.Token.DetectedBreak other)

public Document.Page.Token.DetectedBreak.Builder mergeFrom(Document.Page.Token.DetectedBreak other)
Parameter
Name Description
other Document.Page.Token.DetectedBreak
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.Page.Token.DetectedBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.Page.Token.DetectedBreak.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Token.DetectedBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Document.Page.Token.DetectedBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.Page.Token.DetectedBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides

setType(Document.Page.Token.DetectedBreak.Type value)

public Document.Page.Token.DetectedBreak.Builder setType(Document.Page.Token.DetectedBreak.Type value)

Detected break type.

.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type type = 1;

Parameter
Name Description
value Document.Page.Token.DetectedBreak.Type

The type to set.

Returns
Type Description
Document.Page.Token.DetectedBreak.Builder

This builder for chaining.

setTypeValue(int value)

public Document.Page.Token.DetectedBreak.Builder setTypeValue(int value)

Detected break type.

.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak.Type type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Document.Page.Token.DetectedBreak.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Token.DetectedBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.Page.Token.DetectedBreak.Builder
Overrides