Package com.google.photos.types.proto
Enum MediaMetadata.MetadataCase
- java.lang.Object
-
- java.lang.Enum<MediaMetadata.MetadataCase>
-
- com.google.photos.types.proto.MediaMetadata.MetadataCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<MediaMetadata.MetadataCase>
- Enclosing class:
- MediaMetadata
public static enum MediaMetadata.MetadataCase extends java.lang.Enum<MediaMetadata.MetadataCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description METADATA_NOT_SET
PHOTO
VIDEO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MediaMetadata.MetadataCase
forNumber(int value)
int
getNumber()
static MediaMetadata.MetadataCase
valueOf(int value)
Deprecated.static MediaMetadata.MetadataCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MediaMetadata.MetadataCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PHOTO
public static final MediaMetadata.MetadataCase PHOTO
-
VIDEO
public static final MediaMetadata.MetadataCase VIDEO
-
METADATA_NOT_SET
public static final MediaMetadata.MetadataCase METADATA_NOT_SET
-
-
Method Detail
-
values
public static MediaMetadata.MetadataCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MediaMetadata.MetadataCase c : MediaMetadata.MetadataCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaMetadata.MetadataCase valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
@Deprecated public static MediaMetadata.MetadataCase 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static MediaMetadata.MetadataCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-