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

public static final class Document.Page.Token.DetectedBreak.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.