@Override
  public java.lang.String toString() {
    java.lang.StringBuilder sb = new java.lang.StringBuilder("WMTrigger(");
    boolean first = true;

    sb.append("resourcePlanName:");
    if (this.resourcePlanName == null) {
      sb.append("null");
    } else {
      sb.append(this.resourcePlanName);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("triggerName:");
    if (this.triggerName == null) {
      sb.append("null");
    } else {
      sb.append(this.triggerName);
    }
    first = false;
    if (isSetTriggerExpression()) {
      if (!first) sb.append(", ");
      sb.append("triggerExpression:");
      if (this.triggerExpression == null) {
        sb.append("null");
      } else {
        sb.append(this.triggerExpression);
      }
      first = false;
    }
    if (isSetActionExpression()) {
      if (!first) sb.append(", ");
      sb.append("actionExpression:");
      if (this.actionExpression == null) {
        sb.append("null");
      } else {
        sb.append(this.actionExpression);
      }
      first = false;
    }
    if (isSetIsInUnmanaged()) {
      if (!first) sb.append(", ");
      sb.append("isInUnmanaged:");
      sb.append(this.isInUnmanaged);
      first = false;
    }
    if (isSetNs()) {
      if (!first) sb.append(", ");
      sb.append("ns:");
      if (this.ns == null) {
        sb.append("null");
      } else {
        sb.append(this.ns);
      }
      first = false;
    }
    sb.append(")");
    return sb.toString();
  }
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