public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case RESOURCE_PLAN_NAME:
      return isSetResourcePlanName();
    case TRIGGER_NAME:
      return isSetTriggerName();
    case TRIGGER_EXPRESSION:
      return isSetTriggerExpression();
    case ACTION_EXPRESSION:
      return isSetActionExpression();
    case IS_IN_UNMANAGED:
      return isSetIsInUnmanaged();
    case NS:
      return isSetNs();
    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMTrigger.java