src/main/java/com/passkit/grpc/Protocols.java
public static ProtocolCommonEvents forNumber(int value) {
      switch (value) {
        case 0: return PROTOCOL_COMMON_EVENTS_DO_NOT_USE;
        case 1: return EVENT_OBJECT_CREATED;
        case 2: return EVENT_OBJECT_UPDATED;
        case 3: return EVENT_OBJECT_EXPIRED;
        case 4: return EVENT_OBJECT_DELETED;
        case 5: return EVENT_PASS_ISSUED;
        case 6: return EVENT_PASS_INSTALLED;
        case 7: return EVENT_PASS_UNINSTALLED;
        case 8: return EVENT_PASS_INVALIDATED;
        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 ProtocolCommonEvents forNumber(int value) {
      switch (value) {
        case 0: return PROTOCOL_COMMON_EVENTS_DO_NOT_USE;
        case 1: return EVENT_OBJECT_CREATED;
        case 2: return EVENT_OBJECT_UPDATED;
        case 3: return EVENT_OBJECT_EXPIRED;
        case 4: return EVENT_OBJECT_DELETED;
        case 5: return EVENT_PASS_ISSUED;
        case 6: return EVENT_PASS_INSTALLED;
        case 7: return EVENT_PASS_UNINSTALLED;
        case 8: return EVENT_PASS_INVALIDATED;
        default: return null;
      }
    }
public static ProtocolCommonEvents forNumber ( int value ) { switch ( value ) { case 0 : return PROTOCOL_COMMON_EVENTS_DO_NOT_USE ; case 1 : return EVENT_OBJECT_CREATED ; case 2 : return EVENT_OBJECT_UPDATED ; case 3 : return EVENT_OBJECT_EXPIRED ; case 4 : return EVENT_OBJECT_DELETED ; case 5 : return EVENT_PASS_ISSUED ; case 6 : return EVENT_PASS_INSTALLED ; case 7 : return EVENT_PASS_UNINSTALLED ; case 8 : return EVENT_PASS_INVALIDATED ; 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 .