Class Document.Page.Token.DetectedBreak.Builder (2.19.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.v1beta3.Document.Page.Token.DetectedBreak

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Document.Page.Token.DetectedBreak build()
Returns
TypeDescription
Document.Page.Token.DetectedBreak

buildPartial()

public Document.Page.Token.DetectedBreak buildPartial()
Returns
TypeDescription
Document.Page.Token.DetectedBreak

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

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

Detected break type.

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

Returns
TypeDescription
Document.Page.Token.DetectedBreak.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Document.Page.Token.DetectedBreak getDefaultInstanceForType()
Returns
TypeDescription
Document.Page.Token.DetectedBreak

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

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

Detected break type.

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

Returns
TypeDescription
Document.Page.Token.DetectedBreak.Type

The type.

getTypeValue()

public int getTypeValue()

Detected break type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Document.Page.Token.DetectedBreak other)

public Document.Page.Token.DetectedBreak.Builder mergeFrom(Document.Page.Token.DetectedBreak other)
Parameter
NameDescription
otherDocument.Page.Token.DetectedBreak
Returns
TypeDescription
Document.Page.Token.DetectedBreak.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.Page.Token.DetectedBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.Page.Token.DetectedBreak.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Document.Page.Token.DetectedBreak.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Document.Page.Token.DetectedBreak.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Token.DetectedBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1beta3.Document.Page.Token.DetectedBreak.Type type = 1;

Parameter
NameDescription
valueDocument.Page.Token.DetectedBreak.Type

The type to set.

Returns
TypeDescription
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.v1beta3.Document.Page.Token.DetectedBreak.Type type = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Document.Page.Token.DetectedBreak.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Token.DetectedBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Document.Page.Token.DetectedBreak.Builder
Overrides