public static final class Document.Page.Token.Builder extends GeneratedMessageV3.Builder<Document.Page.Token.Builder> implements Document.Page.TokenOrBuilder
A detected token.
Protobuf type google.cloud.documentai.v1beta1.Document.Page.Token
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
public Document.Page.Token.Builder addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage>
|
addDetectedLanguages(Document.Page.DetectedLanguage value)
public Document.Page.Token.Builder addDetectedLanguages(Document.Page.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
public Document.Page.Token.Builder addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
addDetectedLanguages(int index, Document.Page.DetectedLanguage value)
public Document.Page.Token.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
public Document.Page.Token.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
addDetectedLanguagesBuilder()
public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
addDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Token.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Document.Page.Token build()
buildPartial()
public Document.Page.Token buildPartial()
clear()
public Document.Page.Token.Builder clear()
Overrides
clearDetectedBreak()
public Document.Page.Token.Builder clearDetectedBreak()
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
clearDetectedLanguages()
public Document.Page.Token.Builder clearDetectedLanguages()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
clearField(Descriptors.FieldDescriptor field)
public Document.Page.Token.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLayout()
public Document.Page.Token.Builder clearLayout()
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.Token.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Document.Page.Token.Builder clone()
Overrides
getDefaultInstanceForType()
public Document.Page.Token getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDetectedBreak()
public Document.Page.Token.DetectedBreak getDetectedBreak()
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
getDetectedBreakBuilder()
public Document.Page.Token.DetectedBreak.Builder getDetectedBreakBuilder()
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
getDetectedBreakOrBuilder()
public Document.Page.Token.DetectedBreakOrBuilder getDetectedBreakOrBuilder()
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
getDetectedLanguages(int index)
public Document.Page.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder getDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesBuilderList()
public List<Document.Page.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
getDetectedLanguagesCount()
public int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Returns |
---|
Type | Description |
int | |
getDetectedLanguagesList()
public List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
getDetectedLanguagesOrBuilder(int index)
public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesOrBuilderList()
public List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguageOrBuilder> | |
getLayout()
public Document.Page.Layout getLayout()
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
getLayoutBuilder()
public Document.Page.Layout.Builder getLayoutBuilder()
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
getLayoutOrBuilder()
public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
hasDetectedBreak()
public boolean hasDetectedBreak()
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
Returns |
---|
Type | Description |
boolean | Whether the detectedBreak field is set.
|
hasLayout()
public boolean hasLayout()
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
Returns |
---|
Type | Description |
boolean | Whether the layout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDetectedBreak(Document.Page.Token.DetectedBreak value)
public Document.Page.Token.Builder mergeDetectedBreak(Document.Page.Token.DetectedBreak value)
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
mergeFrom(Document.Page.Token other)
public Document.Page.Token.Builder mergeFrom(Document.Page.Token other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.Token.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Document.Page.Token.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeLayout(Document.Page.Layout value)
public Document.Page.Token.Builder mergeLayout(Document.Page.Layout value)
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Token.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDetectedLanguages(int index)
public Document.Page.Token.Builder removeDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
Parameter |
---|
Name | Description |
index | int
|
setDetectedBreak(Document.Page.Token.DetectedBreak value)
public Document.Page.Token.Builder setDetectedBreak(Document.Page.Token.DetectedBreak value)
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
setDetectedBreak(Document.Page.Token.DetectedBreak.Builder builderForValue)
public Document.Page.Token.Builder setDetectedBreak(Document.Page.Token.DetectedBreak.Builder builderForValue)
Detected break at the end of a
Token.
.google.cloud.documentai.v1beta1.Document.Page.Token.DetectedBreak detected_break = 2;
setDetectedLanguages(int index, Document.Page.DetectedLanguage value)
public Document.Page.Token.Builder setDetectedLanguages(int index, Document.Page.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
setDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
public Document.Page.Token.Builder setDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Token.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLayout(Document.Page.Layout value)
public Document.Page.Token.Builder setLayout(Document.Page.Layout value)
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
setLayout(Document.Page.Layout.Builder builderForValue)
public Document.Page.Token.Builder setLayout(Document.Page.Layout.Builder builderForValue)
Layout for
Token.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.Token.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Token.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides