public static enum Document.Page.Layout.Orientation extends Enum<Document.Page.Layout.Orientation> implements com.google.protobuf.ProtocolMessageEnum
Detected human reading orientation.Protobuf enum
google.cloud.documentai.v1beta2.Document.Page.Layout.Orientation| Enum Constant and Description |
|---|
ORIENTATION_UNSPECIFIED
Unspecified orientation.
|
PAGE_DOWN
Orientation is aligned with page down.
|
PAGE_LEFT
Orientation is aligned with page left.
|
PAGE_RIGHT
Orientation is aligned with page right.
|
PAGE_UP
Orientation is aligned with page up.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ORIENTATION_UNSPECIFIED_VALUE
Unspecified orientation.
|
static int |
PAGE_DOWN_VALUE
Orientation is aligned with page down.
|
static int |
PAGE_LEFT_VALUE
Orientation is aligned with page left.
|
static int |
PAGE_RIGHT_VALUE
Orientation is aligned with page right.
|
static int |
PAGE_UP_VALUE
Orientation is aligned with page up.
|
| Modifier and Type | Method and Description |
|---|---|
static Document.Page.Layout.Orientation |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Document.Page.Layout.Orientation> |
internalGetValueMap() |
static Document.Page.Layout.Orientation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Document.Page.Layout.Orientation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Document.Page.Layout.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.Page.Layout.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.Page.Layout.Orientation ORIENTATION_UNSPECIFIED
Unspecified orientation.
ORIENTATION_UNSPECIFIED = 0;public static final Document.Page.Layout.Orientation PAGE_UP
Orientation is aligned with page up.
PAGE_UP = 1;public static final Document.Page.Layout.Orientation PAGE_RIGHT
Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.
PAGE_RIGHT = 2;public static final Document.Page.Layout.Orientation PAGE_DOWN
Orientation is aligned with page down. Turn the head 180 degrees from upright to read.
PAGE_DOWN = 3;public static final Document.Page.Layout.Orientation PAGE_LEFT
Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read.
PAGE_LEFT = 4;public static final Document.Page.Layout.Orientation UNRECOGNIZED
public static final int ORIENTATION_UNSPECIFIED_VALUE
Unspecified orientation.
ORIENTATION_UNSPECIFIED = 0;public static final int PAGE_UP_VALUE
Orientation is aligned with page up.
PAGE_UP = 1;public static final int PAGE_RIGHT_VALUE
Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.
PAGE_RIGHT = 2;public static final int PAGE_DOWN_VALUE
Orientation is aligned with page down. Turn the head 180 degrees from upright to read.
PAGE_DOWN = 3;public static final int PAGE_LEFT_VALUE
Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read.
PAGE_LEFT = 4;public static Document.Page.Layout.Orientation[] values()
for (Document.Page.Layout.Orientation c : Document.Page.Layout.Orientation.values()) System.out.println(c);
public static Document.Page.Layout.Orientation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Document.Page.Layout.Orientation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Document.Page.Layout.Orientation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Document.Page.Layout.Orientation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Document.Page.Layout.Orientation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.