public void write(org.apache.thrift.protocol.TProtocol oprot, ScheduledQueryPollResponse struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.scheduleKey != null) {
        if (struct.isSetScheduleKey()) {
          oprot.writeFieldBegin(SCHEDULE_KEY_FIELD_DESC);
          struct.scheduleKey.write(oprot);
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetExecutionId()) {
        oprot.writeFieldBegin(EXECUTION_ID_FIELD_DESC);
        oprot.writeI64(struct.executionId);
        oprot.writeFieldEnd();
      }
      if (struct.query != null) {
        if (struct.isSetQuery()) {
          oprot.writeFieldBegin(QUERY_FIELD_DESC);
          oprot.writeString(struct.query);
          oprot.writeFieldEnd();
        }
      }
      if (struct.user != null) {
        if (struct.isSetUser()) {
          oprot.writeFieldBegin(USER_FIELD_DESC);
          oprot.writeString(struct.user);
          oprot.writeFieldEnd();
        }
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }
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/ScheduledQueryPollResponse.java