src/main/java/com/passkit/grpc/Integration.java
public static ProtocolIntgType forNumber(int value) {
      switch (value) {
        case 0: return PROTOCOL_INTG_TYPE_NONE;
        case 1: return HOOK_BEFORE_MEMBER_UPDATE_POINTS;
        case 4: return HOOK_AFTER_MEMBER_UPDATE_POINTS;
        case 8: return HOOK_BEFORE_MEMBER_TIER_UPDATE;
        case 16: return HOOK_AFTER_MEMBER_TIER_UPDATE;
        case 32: return HOOK_BEFORE_MEMBER_CHECK_IN;
        case 64: return HOOK_AFTER_MEMBER_CHECK_IN;
        case 128: return HOOK_BEFORE_MEMBER_CHECK_OUT;
        case 256: return HOOK_AFTER_MEMBER_CHECK_OUT;
        case 2048: return HOOK_BEFORE_COUPON_REDEEM;
        case 4096: return HOOK_AFTER_COUPON_REDEEM;
        case 8192: return HOOK_BEFORE_UPDATE_COUPON_OFFER;
        case 16384: return HOOK_AFTER_UPDATE_COUPON_OFFER;
        case 32768: return HOOK_BEFORE_CREATE_COUPON_OFFER;
        case 65536: return HOOK_AFTER_CREATE_COUPON_OFFER;
        case 2097152: return HOOK_BEFORE_UPDATE_PII;
        case 4194304: return HOOK_AFTER_UPDATE_PII;
        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 ProtocolIntgType forNumber(int value) {
      switch (value) {
        case 0: return PROTOCOL_INTG_TYPE_NONE;
        case 1: return HOOK_BEFORE_MEMBER_UPDATE_POINTS;
        case 4: return HOOK_AFTER_MEMBER_UPDATE_POINTS;
        case 8: return HOOK_BEFORE_MEMBER_TIER_UPDATE;
        case 16: return HOOK_AFTER_MEMBER_TIER_UPDATE;
        case 32: return HOOK_BEFORE_MEMBER_CHECK_IN;
        case 64: return HOOK_AFTER_MEMBER_CHECK_IN;
        case 128: return HOOK_BEFORE_MEMBER_CHECK_OUT;
        case 256: return HOOK_AFTER_MEMBER_CHECK_OUT;
        case 2048: return HOOK_BEFORE_COUPON_REDEEM;
        case 4096: return HOOK_AFTER_COUPON_REDEEM;
        case 8192: return HOOK_BEFORE_UPDATE_COUPON_OFFER;
        case 16384: return HOOK_AFTER_UPDATE_COUPON_OFFER;
        case 32768: return HOOK_BEFORE_CREATE_COUPON_OFFER;
        case 65536: return HOOK_AFTER_CREATE_COUPON_OFFER;
        case 2097152: return HOOK_BEFORE_UPDATE_PII;
        case 4194304: return HOOK_AFTER_UPDATE_PII;
        default: return null;
      }
    }
public static ProtocolIntgType forNumber ( int value ) { switch ( value ) { case 0 : return PROTOCOL_INTG_TYPE_NONE ; case 1 : return HOOK_BEFORE_MEMBER_UPDATE_POINTS ; case 4 : return HOOK_AFTER_MEMBER_UPDATE_POINTS ; case 8 : return HOOK_BEFORE_MEMBER_TIER_UPDATE ; case 16 : return HOOK_AFTER_MEMBER_TIER_UPDATE ; case 32 : return HOOK_BEFORE_MEMBER_CHECK_IN ; case 64 : return HOOK_AFTER_MEMBER_CHECK_IN ; case 128 : return HOOK_BEFORE_MEMBER_CHECK_OUT ; case 256 : return HOOK_AFTER_MEMBER_CHECK_OUT ; case 2048 : return HOOK_BEFORE_COUPON_REDEEM ; case 4096 : return HOOK_AFTER_COUPON_REDEEM ; case 8192 : return HOOK_BEFORE_UPDATE_COUPON_OFFER ; case 16384 : return HOOK_AFTER_UPDATE_COUPON_OFFER ; case 32768 : return HOOK_BEFORE_CREATE_COUPON_OFFER ; case 65536 : return HOOK_AFTER_CREATE_COUPON_OFFER ; case 2097152 : return HOOK_BEFORE_UPDATE_PII ; case 4194304 : return HOOK_AFTER_UPDATE_PII ; 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 .