Package com.google.cloud.documentai.v1
Class Document.Page.Line
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.Document.Page.Line
- All Implemented Interfaces:
Document.Page.LineOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Document.Page
public static final class Document.Page.Line
extends com.google.protobuf.GeneratedMessage
implements Document.Page.LineOrBuilder
A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.Protobuf type
google.cloud.documentai.v1.Document.Page.Line- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA collection of tokens that a human would perceive as a line.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Document.Page.Linestatic final com.google.protobuf.Descriptors.DescriptorgetDetectedLanguages(int index) A list of detected languages together with confidence.intA list of detected languages together with confidence.A list of detected languages together with confidence.getDetectedLanguagesOrBuilder(int index) A list of detected languages together with confidence.List<? extends Document.Page.DetectedLanguageOrBuilder>A list of detected languages together with confidence.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].[Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].com.google.protobuf.Parser<Document.Page.Line>Deprecated.google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated.Deprecated.intinthashCode()boolean[Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].booleanDeprecated.google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Document.Page.Line.Builderstatic Document.Page.Line.BuildernewBuilder(Document.Page.Line prototype) protected Document.Page.Line.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Document.Page.LineparseDelimitedFrom(InputStream input) static Document.Page.LineparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.Page.LineparseFrom(byte[] data) static Document.Page.LineparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.Page.LineparseFrom(com.google.protobuf.ByteString data) static Document.Page.LineparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.Page.LineparseFrom(com.google.protobuf.CodedInputStream input) static Document.Page.LineparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.Page.LineparseFrom(InputStream input) static Document.Page.LineparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.Page.LineparseFrom(ByteBuffer data) static Document.Page.LineparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Document.Page.Line>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LAYOUT_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER- See Also:
-
DETECTED_LANGUAGES_FIELD_NUMBER
public static final int DETECTED_LANGUAGES_FIELD_NUMBER- See Also:
-
PROVENANCE_FIELD_NUMBER
public static final int PROVENANCE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasLayout
public boolean hasLayout()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
.google.cloud.documentai.v1.Document.Page.Layout layout = 1;- Specified by:
hasLayoutin interfaceDocument.Page.LineOrBuilder- Returns:
- Whether the layout field is set.
-
getLayout
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
.google.cloud.documentai.v1.Document.Page.Layout layout = 1;- Specified by:
getLayoutin interfaceDocument.Page.LineOrBuilder- Returns:
- The layout.
-
getLayoutOrBuilder
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
.google.cloud.documentai.v1.Document.Page.Layout layout = 1;- Specified by:
getLayoutOrBuilderin interfaceDocument.Page.LineOrBuilder
-
getDetectedLanguagesList
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;- Specified by:
getDetectedLanguagesListin interfaceDocument.Page.LineOrBuilder
-
getDetectedLanguagesOrBuilderList
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;- Specified by:
getDetectedLanguagesOrBuilderListin interfaceDocument.Page.LineOrBuilder
-
getDetectedLanguagesCount
public int getDetectedLanguagesCount()A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;- Specified by:
getDetectedLanguagesCountin interfaceDocument.Page.LineOrBuilder
-
getDetectedLanguages
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;- Specified by:
getDetectedLanguagesin interfaceDocument.Page.LineOrBuilder
-
getDetectedLanguagesOrBuilder
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;- Specified by:
getDetectedLanguagesOrBuilderin interfaceDocument.Page.LineOrBuilder
-
hasProvenance
Deprecated.google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=235The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true];- Specified by:
hasProvenancein interfaceDocument.Page.LineOrBuilder- Returns:
- Whether the provenance field is set.
-
getProvenance
Deprecated.google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=235The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true];- Specified by:
getProvenancein interfaceDocument.Page.LineOrBuilder- Returns:
- The provenance.
-
getProvenanceOrBuilder
Deprecated.The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true];- Specified by:
getProvenanceOrBuilderin interfaceDocument.Page.LineOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Document.Page.Line parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page.Line parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page.Line parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page.Line parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page.Line parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page.Line parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Document.Page.Line parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Document.Page.Line parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Document.Page.Line parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Document.Page.Line parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Document.Page.Line.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-