src/main/java/com/passkit/grpc/Image.java
public static ImageUse forNumber(int value) {
      switch (value) {
        case 0: return icon;
        case 1: return logo;
        case 2: return appleLogo;
        case 3: return hero;
        case 4: return eventStrip;
        case 5: return strip;
        case 6: return thumbnail;
        case 7: return background;
        case 8: return footer;
        case 9: return security;
        case 10: return privilege;
        case 11: return airlineAlliance;
        case 12: return personalization;
        case 13: return banner;
        case 14: return message;
        case 15: return profile;
        case 16: return appImage;
        case 18: return stampedImage;
        case 19: return unstampedImage;
        case 20: return stampImage;
        default: return null;
      }
    }
/**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
@param value The numeric wire value of the corresponding enum entry . @return The enum associated with the given numeric wire value .
public static ImageUse forNumber(int value) {
      switch (value) {
        case 0: return icon;
        case 1: return logo;
        case 2: return appleLogo;
        case 3: return hero;
        case 4: return eventStrip;
        case 5: return strip;
        case 6: return thumbnail;
        case 7: return background;
        case 8: return footer;
        case 9: return security;
        case 10: return privilege;
        case 11: return airlineAlliance;
        case 12: return personalization;
        case 13: return banner;
        case 14: return message;
        case 15: return profile;
        case 16: return appImage;
        case 18: return stampedImage;
        case 19: return unstampedImage;
        case 20: return stampImage;
        default: return null;
      }
    }
public static ImageUse forNumber ( int value ) { switch ( value ) { case 0 : return icon ; case 1 : return logo ; case 2 : return appleLogo ; case 3 : return hero ; case 4 : return eventStrip ; case 5 : return strip ; case 6 : return thumbnail ; case 7 : return background ; case 8 : return footer ; case 9 : return security ; case 10 : return privilege ; case 11 : return airlineAlliance ; case 12 : return personalization ; case 13 : return banner ; case 14 : return message ; case 15 : return profile ; case 16 : return appImage ; case 18 : return stampedImage ; case 19 : return unstampedImage ; case 20 : return stampImage ; default : return null ; } }
@param value The numeric wire value of the corresponding enum entry.
@param value The numeric wire value of the corresponding enum entry .