src/main/java/com/passkit/grpc/CommonObjects.java
public static UsageType forNumber(int value) {
      switch (value) {
        case 0: return NO_USAGE;
        case 1: return USAGE_APPLE_WALLET;
        case 2: return USAGE_GOOGLE_PAY;
        case 4: return USAGE_DATA_COLLECTION_PAGE;
        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 UsageType forNumber(int value) {
      switch (value) {
        case 0: return NO_USAGE;
        case 1: return USAGE_APPLE_WALLET;
        case 2: return USAGE_GOOGLE_PAY;
        case 4: return USAGE_DATA_COLLECTION_PAGE;
        default: return null;
      }
    }
public static UsageType forNumber ( int value ) { switch ( value ) { case 0 : return NO_USAGE ; case 1 : return USAGE_APPLE_WALLET ; case 2 : return USAGE_GOOGLE_PAY ; case 4 : return USAGE_DATA_COLLECTION_PAGE ; 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 .