@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, SQLAllTableConstraints 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.isSetPrimaryKeys()) {
        optionals.set(0);
      }
      if (struct.isSetForeignKeys()) {
        optionals.set(1);
      }
      if (struct.isSetUniqueConstraints()) {
        optionals.set(2);
      }
      if (struct.isSetNotNullConstraints()) {
        optionals.set(3);
      }
      if (struct.isSetDefaultConstraints()) {
        optionals.set(4);
      }
      if (struct.isSetCheckConstraints()) {
        optionals.set(5);
      }
      oprot.writeBitSet(optionals, 6);
      if (struct.isSetPrimaryKeys()) {
        {
          oprot.writeI32(struct.primaryKeys.size());
          for (SQLPrimaryKey _iter34 : struct.primaryKeys)
          {
            _iter34.write(oprot);
          }
        }
      }
      if (struct.isSetForeignKeys()) {
        {
          oprot.writeI32(struct.foreignKeys.size());
          for (SQLForeignKey _iter35 : struct.foreignKeys)
          {
            _iter35.write(oprot);
          }
        }
      }
      if (struct.isSetUniqueConstraints()) {
        {
          oprot.writeI32(struct.uniqueConstraints.size());
          for (SQLUniqueConstraint _iter36 : struct.uniqueConstraints)
          {
            _iter36.write(oprot);
          }
        }
      }
      if (struct.isSetNotNullConstraints()) {
        {
          oprot.writeI32(struct.notNullConstraints.size());
          for (SQLNotNullConstraint _iter37 : struct.notNullConstraints)
          {
            _iter37.write(oprot);
          }
        }
      }
      if (struct.isSetDefaultConstraints()) {
        {
          oprot.writeI32(struct.defaultConstraints.size());
          for (SQLDefaultConstraint _iter38 : struct.defaultConstraints)
          {
            _iter38.write(oprot);
          }
        }
      }
      if (struct.isSetCheckConstraints()) {
        {
          oprot.writeI32(struct.checkConstraints.size());
          for (SQLCheckConstraint _iter39 : struct.checkConstraints)
          {
            _iter39.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/SQLAllTableConstraints.java