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

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.isSetScheduledExecutionId()) {
        oprot.writeFieldBegin(SCHEDULED_EXECUTION_ID_FIELD_DESC);
        oprot.writeI64(struct.scheduledExecutionId);
        oprot.writeFieldEnd();
      }
      if (struct.policy != null) {
        if (struct.isSetPolicy()) {
          oprot.writeFieldBegin(POLICY_FIELD_DESC);
          oprot.writeString(struct.policy);
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetDumpExecutionId()) {
        oprot.writeFieldBegin(DUMP_EXECUTION_ID_FIELD_DESC);
        oprot.writeI64(struct.dumpExecutionId);
        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/GetReplicationMetricsRequest.java