@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, CreateTableRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.table = new Table();
      struct.table.read(iprot);
      struct.setTableIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(9);
      if (incoming.get(0)) {
        struct.envContext = new EnvironmentContext();
        struct.envContext.read(iprot);
        struct.setEnvContextIsSet(true);
      }
      if (incoming.get(1)) {
        {
          org.apache.thrift.protocol.TList _list1385 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.primaryKeys = new java.util.ArrayList<SQLPrimaryKey>(_list1385.size);
          @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1386;
          for (int _i1387 = 0; _i1387 < _list1385.size; ++_i1387)
          {
            _elem1386 = new SQLPrimaryKey();
            _elem1386.read(iprot);
            struct.primaryKeys.add(_elem1386);
          }
        }
        struct.setPrimaryKeysIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TList _list1388 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.foreignKeys = new java.util.ArrayList<SQLForeignKey>(_list1388.size);
          @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1389;
          for (int _i1390 = 0; _i1390 < _list1388.size; ++_i1390)
          {
            _elem1389 = new SQLForeignKey();
            _elem1389.read(iprot);
            struct.foreignKeys.add(_elem1389);
          }
        }
        struct.setForeignKeysIsSet(true);
      }
      if (incoming.get(3)) {
        {
          org.apache.thrift.protocol.TList _list1391 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.uniqueConstraints = new java.util.ArrayList<SQLUniqueConstraint>(_list1391.size);
          @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1392;
          for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393)
          {
            _elem1392 = new SQLUniqueConstraint();
            _elem1392.read(iprot);
            struct.uniqueConstraints.add(_elem1392);
          }
        }
        struct.setUniqueConstraintsIsSet(true);
      }
      if (incoming.get(4)) {
        {
          org.apache.thrift.protocol.TList _list1394 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.notNullConstraints = new java.util.ArrayList<SQLNotNullConstraint>(_list1394.size);
          @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1395;
          for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396)
          {
            _elem1395 = new SQLNotNullConstraint();
            _elem1395.read(iprot);
            struct.notNullConstraints.add(_elem1395);
          }
        }
        struct.setNotNullConstraintsIsSet(true);
      }
      if (incoming.get(5)) {
        {
          org.apache.thrift.protocol.TList _list1397 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.defaultConstraints = new java.util.ArrayList<SQLDefaultConstraint>(_list1397.size);
          @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1398;
          for (int _i1399 = 0; _i1399 < _list1397.size; ++_i1399)
          {
            _elem1398 = new SQLDefaultConstraint();
            _elem1398.read(iprot);
            struct.defaultConstraints.add(_elem1398);
          }
        }
        struct.setDefaultConstraintsIsSet(true);
      }
      if (incoming.get(6)) {
        {
          org.apache.thrift.protocol.TList _list1400 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.checkConstraints = new java.util.ArrayList<SQLCheckConstraint>(_list1400.size);
          @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1401;
          for (int _i1402 = 0; _i1402 < _list1400.size; ++_i1402)
          {
            _elem1401 = new SQLCheckConstraint();
            _elem1401.read(iprot);
            struct.checkConstraints.add(_elem1401);
          }
        }
        struct.setCheckConstraintsIsSet(true);
      }
      if (incoming.get(7)) {
        {
          org.apache.thrift.protocol.TList _list1403 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.processorCapabilities = new java.util.ArrayList<java.lang.String>(_list1403.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem1404;
          for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405)
          {
            _elem1404 = iprot.readString();
            struct.processorCapabilities.add(_elem1404);
          }
        }
        struct.setProcessorCapabilitiesIsSet(true);
      }
      if (incoming.get(8)) {
        struct.processorIdentifier = iprot.readString();
        struct.setProcessorIdentifierIsSet(true);
      }
    }
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/CreateTableRequest.java