Package com.viam.component.camera.v1
Enum Class Camera.Format
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Camera.Format>
,Constable
- Enclosing class:
- Camera
public static enum Camera.Format
extends Enum<Camera.Format>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.component.camera.v1.Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFORMAT_JPEG = 3;
FORMAT_PNG = 4;
FORMAT_RAW_DEPTH = 2;
FORMAT_RAW_RGBA = 1;
FORMAT_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
FORMAT_JPEG = 3;
static final int
FORMAT_PNG = 4;
static final int
FORMAT_RAW_DEPTH = 2;
static final int
FORMAT_RAW_RGBA = 1;
static final int
FORMAT_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Camera.Format
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Camera.Format>
static com.google.protobuf.Internal.EnumVerifier
static Camera.Format
valueOf
(int value) Deprecated.static Camera.Format
Returns the enum constant of this class with the specified name.static Camera.Format[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORMAT_UNSPECIFIED
FORMAT_UNSPECIFIED = 0;
-
FORMAT_RAW_RGBA
FORMAT_RAW_RGBA = 1;
-
FORMAT_RAW_DEPTH
FORMAT_RAW_DEPTH = 2;
-
FORMAT_JPEG
FORMAT_JPEG = 3;
-
FORMAT_PNG
FORMAT_PNG = 4;
-
UNRECOGNIZED
-
-
Field Details
-
FORMAT_UNSPECIFIED_VALUE
public static final int FORMAT_UNSPECIFIED_VALUEFORMAT_UNSPECIFIED = 0;
- See Also:
-
FORMAT_RAW_RGBA_VALUE
public static final int FORMAT_RAW_RGBA_VALUEFORMAT_RAW_RGBA = 1;
- See Also:
-
FORMAT_RAW_DEPTH_VALUE
public static final int FORMAT_RAW_DEPTH_VALUEFORMAT_RAW_DEPTH = 2;
- See Also:
-
FORMAT_JPEG_VALUE
public static final int FORMAT_JPEG_VALUEFORMAT_JPEG = 3;
- See Also:
-
FORMAT_PNG_VALUE
public static final int FORMAT_PNG_VALUEFORMAT_PNG = 4;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-