Enum 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 enum google.photos.library.v1.ContentCategory
    • 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;
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static ContentCategory forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<ContentCategory> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null