src/main/java/com/passkit/grpc/Integration.java
public static IntegrationType forNumber(int value) {
      switch (value) {
        case 0: return INTEGRATION_TYPE_NONE;
        case 1: return SOURCE_INTEGRATION;
        case 4: return HOOK_BEFORE_OBJECT_RECORD_CREATION;
        case 8: return HOOK_AFTER_OBJECT_RECORD_CREATION;
        case 16: return HOOK_BEFORE_PASS_ISSUE;
        case 32: return HOOK_AFTER_PASS_ISSUE;
        case 64: return HOOK_AFTER_PASS_INSTALL;
        case 128: return HOOK_AFTER_PASS_UNINSTALL;
        case 256: return HOOK_BEFORE_OBJECT_RECORD_UPDATE;
        case 512: return HOOK_AFTER_OBJECT_RECORD_UPDATE;
        case 1024: return HOOK_BEFORE_PASS_RECORD_UPDATE;
        case 2048: return HOOK_AFTER_PASS_RECORD_UPDATE;
        case 4096: return HOOK_BEFORE_PASS_UPDATE;
        case 8192: return HOOK_AFTER_PASS_UPDATE;
        case 16384: return HOOK_BEFORE_PASS_RECORD_DELETE;
        case 32768: return HOOK_AFTER_PASS_RECORD_DELETE;
        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 IntegrationType forNumber(int value) {
      switch (value) {
        case 0: return INTEGRATION_TYPE_NONE;
        case 1: return SOURCE_INTEGRATION;
        case 4: return HOOK_BEFORE_OBJECT_RECORD_CREATION;
        case 8: return HOOK_AFTER_OBJECT_RECORD_CREATION;
        case 16: return HOOK_BEFORE_PASS_ISSUE;
        case 32: return HOOK_AFTER_PASS_ISSUE;
        case 64: return HOOK_AFTER_PASS_INSTALL;
        case 128: return HOOK_AFTER_PASS_UNINSTALL;
        case 256: return HOOK_BEFORE_OBJECT_RECORD_UPDATE;
        case 512: return HOOK_AFTER_OBJECT_RECORD_UPDATE;
        case 1024: return HOOK_BEFORE_PASS_RECORD_UPDATE;
        case 2048: return HOOK_AFTER_PASS_RECORD_UPDATE;
        case 4096: return HOOK_BEFORE_PASS_UPDATE;
        case 8192: return HOOK_AFTER_PASS_UPDATE;
        case 16384: return HOOK_BEFORE_PASS_RECORD_DELETE;
        case 32768: return HOOK_AFTER_PASS_RECORD_DELETE;
        default: return null;
      }
    }
public static IntegrationType forNumber ( int value ) { switch ( value ) { case 0 : return INTEGRATION_TYPE_NONE ; case 1 : return SOURCE_INTEGRATION ; case 4 : return HOOK_BEFORE_OBJECT_RECORD_CREATION ; case 8 : return HOOK_AFTER_OBJECT_RECORD_CREATION ; case 16 : return HOOK_BEFORE_PASS_ISSUE ; case 32 : return HOOK_AFTER_PASS_ISSUE ; case 64 : return HOOK_AFTER_PASS_INSTALL ; case 128 : return HOOK_AFTER_PASS_UNINSTALL ; case 256 : return HOOK_BEFORE_OBJECT_RECORD_UPDATE ; case 512 : return HOOK_AFTER_OBJECT_RECORD_UPDATE ; case 1024 : return HOOK_BEFORE_PASS_RECORD_UPDATE ; case 2048 : return HOOK_AFTER_PASS_RECORD_UPDATE ; case 4096 : return HOOK_BEFORE_PASS_UPDATE ; case 8192 : return HOOK_AFTER_PASS_UPDATE ; case 16384 : return HOOK_BEFORE_PASS_RECORD_DELETE ; case 32768 : return HOOK_AFTER_PASS_RECORD_DELETE ; 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 .