@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      {
        oprot.writeI32(struct.fileIds.size());
        for (long _iter1120 : struct.fileIds)
        {
          oprot.writeI64(_iter1120);
        }
      }
      oprot.writeBinary(struct.expr);
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetDoGetFooters()) {
        optionals.set(0);
      }
      if (struct.isSetType()) {
        optionals.set(1);
      }
      oprot.writeBitSet(optionals, 2);
      if (struct.isSetDoGetFooters()) {
        oprot.writeBool(struct.doGetFooters);
      }
      if (struct.isSetType()) {
        oprot.writeI32(struct.type.getValue());
      }
    }
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/GetFileMetadataByExprRequest.java