Enum ContentCategory
- java.lang.Object
-
- java.lang.Enum<ContentCategory>
-
- com.google.photos.library.v1.proto.ContentCategory
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ContentCategory>
public enum ContentCategory extends java.lang.Enum<ContentCategory> implements com.google.protobuf.ProtocolMessageEnum
This is a set of pre-defined content categories that you can filter on.
Protobuf enumgoogle.photos.library.v1.ContentCategory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANIMALS
Media items containing animals.ARTS
Media items containing art.BIRTHDAYS
Media items from birthdays.CITYSCAPES
Media items containing cityscapes.CRAFTS
Media items containing crafts.DOCUMENTS
Media items containing documents.FASHION
Media items related to fashion.FLOWERS
Media items containing flowers.FOOD
Media items containing food.GARDENS
Media items containing gardens.HOLIDAYS
Media items taken of holidays.HOUSES
Media items containing houses.LANDMARKS
Media items containing landmarks.LANDSCAPES
Media items containing landscapes.NIGHT
Media items taken at night.NONE
Default content category.PEOPLE
Media items containing people.PERFORMANCES
Media items from performances.PETS
Media items containing pets.RECEIPTS
Media items containing receipts.SCREENSHOTS
Media items that are screenshots.SELFIES
Media items that are selfies.SPORT
Media items from sporting events.TRAVEL
Media items taken during travel.UNRECOGNIZED
UTILITY
Media items that are considered to be utility.WEDDINGS
Media items from weddings.WHITEBOARDS
Media items containing whiteboards.
-
Field Summary
Fields Modifier and Type Field Description static int
ANIMALS_VALUE
Media items containing animals.static int
ARTS_VALUE
Media items containing art.static int
BIRTHDAYS_VALUE
Media items from birthdays.static int
CITYSCAPES_VALUE
Media items containing cityscapes.static int
CRAFTS_VALUE
Media items containing crafts.static int
DOCUMENTS_VALUE
Media items containing documents.static int
FASHION_VALUE
Media items related to fashion.static int
FLOWERS_VALUE
Media items containing flowers.static int
FOOD_VALUE
Media items containing food.static int
GARDENS_VALUE
Media items containing gardens.static int
HOLIDAYS_VALUE
Media items taken of holidays.static int
HOUSES_VALUE
Media items containing houses.static int
LANDMARKS_VALUE
Media items containing landmarks.static int
LANDSCAPES_VALUE
Media items containing landscapes.static int
NIGHT_VALUE
Media items taken at night.static int
NONE_VALUE
Default content category.static int
PEOPLE_VALUE
Media items containing people.static int
PERFORMANCES_VALUE
Media items from performances.static int
PETS_VALUE
Media items containing pets.static int
RECEIPTS_VALUE
Media items containing receipts.static int
SCREENSHOTS_VALUE
Media items that are screenshots.static int
SELFIES_VALUE
Media items that are selfies.static int
SPORT_VALUE
Media items from sporting events.static int
TRAVEL_VALUE
Media items taken during travel.static int
UTILITY_VALUE
Media items that are considered to be utility.static int
WEDDINGS_VALUE
Media items from weddings.static int
WHITEBOARDS_VALUE
Media items containing whiteboards.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentCategory
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<ContentCategory>
internalGetValueMap()
static ContentCategory
valueOf(int value)
Deprecated.static ContentCategory
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ContentCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContentCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ContentCategory NONE
Default content category. This category is ignored when any other category is used in the filter.
NONE = 0;
-
LANDSCAPES
public static final ContentCategory LANDSCAPES
Media items containing landscapes.
LANDSCAPES = 1;
-
RECEIPTS
public static final ContentCategory RECEIPTS
Media items containing receipts.
RECEIPTS = 2;
-
CITYSCAPES
public static final ContentCategory CITYSCAPES
Media items containing cityscapes.
CITYSCAPES = 3;
-
LANDMARKS
public static final ContentCategory LANDMARKS
Media items containing landmarks.
LANDMARKS = 4;
-
SELFIES
public static final ContentCategory SELFIES
Media items that are selfies.
SELFIES = 5;
-
PEOPLE
public static final ContentCategory PEOPLE
Media items containing people.
PEOPLE = 6;
-
PETS
public static final ContentCategory PETS
Media items containing pets.
PETS = 7;
-
WEDDINGS
public static final ContentCategory WEDDINGS
Media items from weddings.
WEDDINGS = 8;
-
BIRTHDAYS
public static final ContentCategory BIRTHDAYS
Media items from birthdays.
BIRTHDAYS = 9;
-
DOCUMENTS
public static final ContentCategory DOCUMENTS
Media items containing documents.
DOCUMENTS = 10;
-
TRAVEL
public static final ContentCategory TRAVEL
Media items taken during travel.
TRAVEL = 11;
-
ANIMALS
public static final ContentCategory ANIMALS
Media items containing animals.
ANIMALS = 12;
-
FOOD
public static final ContentCategory FOOD
Media items containing food.
FOOD = 13;
-
SPORT
public static final ContentCategory SPORT
Media items from sporting events.
SPORT = 14;
-
NIGHT
public static final ContentCategory NIGHT
Media items taken at night.
NIGHT = 15;
-
PERFORMANCES
public static final ContentCategory PERFORMANCES
Media items from performances.
PERFORMANCES = 16;
-
WHITEBOARDS
public static final ContentCategory WHITEBOARDS
Media items containing whiteboards.
WHITEBOARDS = 17;
-
SCREENSHOTS
public static final ContentCategory SCREENSHOTS
Media items that are screenshots.
SCREENSHOTS = 18;
-
UTILITY
public static final ContentCategory UTILITY
Media items that are considered to be utility. These include, but aren't limited to documents, screenshots, whiteboards etc.
UTILITY = 19;
-
ARTS
public static final ContentCategory ARTS
Media items containing art.
ARTS = 20;
-
CRAFTS
public static final ContentCategory CRAFTS
Media items containing crafts.
CRAFTS = 21;
-
FASHION
public static final ContentCategory FASHION
Media items related to fashion.
FASHION = 22;
-
HOUSES
public static final ContentCategory HOUSES
Media items containing houses.
HOUSES = 23;
-
GARDENS
public static final ContentCategory GARDENS
Media items containing gardens.
GARDENS = 24;
-
FLOWERS
public static final ContentCategory FLOWERS
Media items containing flowers.
FLOWERS = 25;
-
HOLIDAYS
public static final ContentCategory HOLIDAYS
Media items taken of holidays.
HOLIDAYS = 26;
-
UNRECOGNIZED
public static final ContentCategory UNRECOGNIZED
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
Default content category. This category is ignored when any other category is used in the filter.
NONE = 0;
- See Also:
- Constant Field Values
-
LANDSCAPES_VALUE
public static final int LANDSCAPES_VALUE
Media items containing landscapes.
LANDSCAPES = 1;
- See Also:
- Constant Field Values
-
RECEIPTS_VALUE
public static final int RECEIPTS_VALUE
Media items containing receipts.
RECEIPTS = 2;
- See Also:
- Constant Field Values
-
CITYSCAPES_VALUE
public static final int CITYSCAPES_VALUE
Media items containing cityscapes.
CITYSCAPES = 3;
- See Also:
- Constant Field Values
-
LANDMARKS_VALUE
public static final int LANDMARKS_VALUE
Media items containing landmarks.
LANDMARKS = 4;
- See Also:
- Constant Field Values
-
SELFIES_VALUE
public static final int SELFIES_VALUE
Media items that are selfies.
SELFIES = 5;
- See Also:
- Constant Field Values
-
PEOPLE_VALUE
public static final int PEOPLE_VALUE
Media items containing people.
PEOPLE = 6;
- See Also:
- Constant Field Values
-
PETS_VALUE
public static final int PETS_VALUE
Media items containing pets.
PETS = 7;
- See Also:
- Constant Field Values
-
WEDDINGS_VALUE
public static final int WEDDINGS_VALUE
Media items from weddings.
WEDDINGS = 8;
- See Also:
- Constant Field Values
-
BIRTHDAYS_VALUE
public static final int BIRTHDAYS_VALUE
Media items from birthdays.
BIRTHDAYS = 9;
- See Also:
- Constant Field Values
-
DOCUMENTS_VALUE
public static final int DOCUMENTS_VALUE
Media items containing documents.
DOCUMENTS = 10;
- See Also:
- Constant Field Values
-
TRAVEL_VALUE
public static final int TRAVEL_VALUE
Media items taken during travel.
TRAVEL = 11;
- See Also:
- Constant Field Values
-
ANIMALS_VALUE
public static final int ANIMALS_VALUE
Media items containing animals.
ANIMALS = 12;
- See Also:
- Constant Field Values
-
FOOD_VALUE
public static final int FOOD_VALUE
Media items containing food.
FOOD = 13;
- See Also:
- Constant Field Values
-
SPORT_VALUE
public static final int SPORT_VALUE
Media items from sporting events.
SPORT = 14;
- See Also:
- Constant Field Values
-
NIGHT_VALUE
public static final int NIGHT_VALUE
Media items taken at night.
NIGHT = 15;
- See Also:
- Constant Field Values
-
PERFORMANCES_VALUE
public static final int PERFORMANCES_VALUE
Media items from performances.
PERFORMANCES = 16;
- See Also:
- Constant Field Values
-
WHITEBOARDS_VALUE
public static final int WHITEBOARDS_VALUE
Media items containing whiteboards.
WHITEBOARDS = 17;
- See Also:
- Constant Field Values
-
SCREENSHOTS_VALUE
public static final int SCREENSHOTS_VALUE
Media items that are screenshots.
SCREENSHOTS = 18;
- See Also:
- Constant Field Values
-
UTILITY_VALUE
public static final int UTILITY_VALUE
Media items that are considered to be utility. These include, but aren't limited to documents, screenshots, whiteboards etc.
UTILITY = 19;
- See Also:
- Constant Field Values
-
ARTS_VALUE
public static final int ARTS_VALUE
Media items containing art.
ARTS = 20;
- See Also:
- Constant Field Values
-
CRAFTS_VALUE
public static final int CRAFTS_VALUE
Media items containing crafts.
CRAFTS = 21;
- See Also:
- Constant Field Values
-
FASHION_VALUE
public static final int FASHION_VALUE
Media items related to fashion.
FASHION = 22;
- See Also:
- Constant Field Values
-
HOUSES_VALUE
public static final int HOUSES_VALUE
Media items containing houses.
HOUSES = 23;
- See Also:
- Constant Field Values
-
GARDENS_VALUE
public static final int GARDENS_VALUE
Media items containing gardens.
GARDENS = 24;
- See Also:
- Constant Field Values
-
FLOWERS_VALUE
public static final int FLOWERS_VALUE
Media items containing flowers.
FLOWERS = 25;
- See Also:
- Constant Field Values
-
HOLIDAYS_VALUE
public static final int HOLIDAYS_VALUE
Media items taken of holidays.
HOLIDAYS = 26;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ContentCategory[] 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 (ContentCategory c : ContentCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentCategory 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
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ContentCategory 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 ContentCategory forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ContentCategory> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ContentCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-