Package com.google.cloud.documentai.v1
Enum Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase
java.lang.Object
java.lang.Enum<Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase>
com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase>
- Enclosing class:
- Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock
public static enum Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase
extends Enum<Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase>
implements com.google.protobuf.Internal.EnumLite
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
BLOB_ASSET_ID
public static final Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase BLOB_ASSET_ID -
GCS_URI
public static final Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase GCS_URI -
DATA_URI
public static final Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase DATA_URI -
IMAGESOURCE_NOT_SET
public static final Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase IMAGESOURCE_NOT_SET
-
-
Method Details
-
values
public static Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase[] values()Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase valueOf(int value) Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.ImageSourceCase forNumber(int value) -
getNumber
public int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-