@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.dbName = iprot.readString();
      struct.setDbNameIsSet(true);
      struct.tblName = iprot.readString();
      struct.setTblNameIsSet(true);
      {
        org.apache.thrift.protocol.TList _list668 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
        struct.parts = new java.util.ArrayList<Partition>(_list668.size);
        @org.apache.thrift.annotation.Nullable Partition _elem669;
        for (int _i670 = 0; _i670 < _list668.size; ++_i670)
        {
          _elem669 = new Partition();
          _elem669.read(iprot);
          struct.parts.add(_elem669);
        }
      }
      struct.setPartsIsSet(true);
      struct.ifNotExists = iprot.readBool();
      struct.setIfNotExistsIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(6);
      if (incoming.get(0)) {
        struct.needResult = iprot.readBool();
        struct.setNeedResultIsSet(true);
      }
      if (incoming.get(1)) {
        struct.catName = iprot.readString();
        struct.setCatNameIsSet(true);
      }
      if (incoming.get(2)) {
        struct.validWriteIdList = iprot.readString();
        struct.setValidWriteIdListIsSet(true);
      }
      if (incoming.get(3)) {
        struct.skipColumnSchemaForPartition = iprot.readBool();
        struct.setSkipColumnSchemaForPartitionIsSet(true);
      }
      if (incoming.get(4)) {
        {
          org.apache.thrift.protocol.TList _list671 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.partitionColSchema = new java.util.ArrayList<FieldSchema>(_list671.size);
          @org.apache.thrift.annotation.Nullable FieldSchema _elem672;
          for (int _i673 = 0; _i673 < _list671.size; ++_i673)
          {
            _elem672 = new FieldSchema();
            _elem672.read(iprot);
            struct.partitionColSchema.add(_elem672);
          }
        }
        struct.setPartitionColSchemaIsSet(true);
      }
      if (incoming.get(5)) {
        struct.environmentContext = new EnvironmentContext();
        struct.environmentContext.read(iprot);
        struct.setEnvironmentContextIsSet(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/AddPartitionsRequest.java