src/main/java/com/passkit/grpc/Attributes.java
public static DeviceAttributes forNumber(int value) {
      switch (value) {
        case 0: return NoAttributes;
        case 1: return Ios;
        case 2: return Android;
        case 4: return SupportWallet;
        case 8: return WalletScanner;
        case 16: return WalletDaemon;
        case 32: return WalletPasses;
        case 64: return Windows;
        case 128: return OSX;
        case 256: return Linux;
        case 512: return Mobile;
        case 1024: return Desktop;
        case 2048: return Tablet;
        case 4096: return UnsupportedIos;
        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 DeviceAttributes forNumber(int value) {
      switch (value) {
        case 0: return NoAttributes;
        case 1: return Ios;
        case 2: return Android;
        case 4: return SupportWallet;
        case 8: return WalletScanner;
        case 16: return WalletDaemon;
        case 32: return WalletPasses;
        case 64: return Windows;
        case 128: return OSX;
        case 256: return Linux;
        case 512: return Mobile;
        case 1024: return Desktop;
        case 2048: return Tablet;
        case 4096: return UnsupportedIos;
        default: return null;
      }
    }
public static DeviceAttributes forNumber ( int value ) { switch ( value ) { case 0 : return NoAttributes ; case 1 : return Ios ; case 2 : return Android ; case 4 : return SupportWallet ; case 8 : return WalletScanner ; case 16 : return WalletDaemon ; case 32 : return WalletPasses ; case 64 : return Windows ; case 128 : return OSX ; case 256 : return Linux ; case 512 : return Mobile ; case 1024 : return Desktop ; case 2048 : return Tablet ; case 4096 : return UnsupportedIos ; 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 .