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 ANIMALSMedia items containing animals.ARTSMedia items containing art.BIRTHDAYSMedia items from birthdays.CITYSCAPESMedia items containing cityscapes.CRAFTSMedia items containing crafts.DOCUMENTSMedia items containing documents.FASHIONMedia items related to fashion.FLOWERSMedia items containing flowers.FOODMedia items containing food.GARDENSMedia items containing gardens.HOLIDAYSMedia items taken of holidays.HOUSESMedia items containing houses.LANDMARKSMedia items containing landmarks.LANDSCAPESMedia items containing landscapes.NIGHTMedia items taken at night.NONEDefault content category.PEOPLEMedia items containing people.PERFORMANCESMedia items from performances.PETSMedia items containing pets.RECEIPTSMedia items containing receipts.SCREENSHOTSMedia items that are screenshots.SELFIESMedia items that are selfies.SPORTMedia items from sporting events.TRAVELMedia items taken during travel.UNRECOGNIZEDUTILITYMedia items that are considered to be utility.WEDDINGSMedia items from weddings.WHITEBOARDSMedia items containing whiteboards.
-
Field Summary
Fields Modifier and Type Field Description static intANIMALS_VALUEMedia items containing animals.static intARTS_VALUEMedia items containing art.static intBIRTHDAYS_VALUEMedia items from birthdays.static intCITYSCAPES_VALUEMedia items containing cityscapes.static intCRAFTS_VALUEMedia items containing crafts.static intDOCUMENTS_VALUEMedia items containing documents.static intFASHION_VALUEMedia items related to fashion.static intFLOWERS_VALUEMedia items containing flowers.static intFOOD_VALUEMedia items containing food.static intGARDENS_VALUEMedia items containing gardens.static intHOLIDAYS_VALUEMedia items taken of holidays.static intHOUSES_VALUEMedia items containing houses.static intLANDMARKS_VALUEMedia items containing landmarks.static intLANDSCAPES_VALUEMedia items containing landscapes.static intNIGHT_VALUEMedia items taken at night.static intNONE_VALUEDefault content category.static intPEOPLE_VALUEMedia items containing people.static intPERFORMANCES_VALUEMedia items from performances.static intPETS_VALUEMedia items containing pets.static intRECEIPTS_VALUEMedia items containing receipts.static intSCREENSHOTS_VALUEMedia items that are screenshots.static intSELFIES_VALUEMedia items that are selfies.static intSPORT_VALUEMedia items from sporting events.static intTRAVEL_VALUEMedia items taken during travel.static intUTILITY_VALUEMedia items that are considered to be utility.static intWEDDINGS_VALUEMedia items from weddings.static intWHITEBOARDS_VALUEMedia items containing whiteboards.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentCategoryforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ContentCategory>internalGetValueMap()static ContentCategoryvalueOf(int value)Deprecated.static ContentCategoryvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ContentCategoryvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-