@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetPartitions()) {
        optionals.set(0);
      }
      if (struct.isSetIsStatsCompliant()) {
        optionals.set(1);
      }
      if (struct.isSetPartitionColSchema()) {
        optionals.set(2);
      }
      oprot.writeBitSet(optionals, 3);
      if (struct.isSetPartitions()) {
        {
          oprot.writeI32(struct.partitions.size());
          for (Partition _iter650 : struct.partitions)
          {
            _iter650.write(oprot);
          }
        }
      }
      if (struct.isSetIsStatsCompliant()) {
        oprot.writeBool(struct.isStatsCompliant);
      }
      if (struct.isSetPartitionColSchema()) {
        {
          oprot.writeI32(struct.partitionColSchema.size());
          for (FieldSchema _iter651 : struct.partitionColSchema)
          {
            _iter651.write(oprot);
          }
        }
      }
    }
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/AddPartitionsResult.java