@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest 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);
      java.util.BitSet incoming = iprot.readBitSet(7);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.tblNames = new java.util.ArrayList<java.lang.String>(_list1208.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem1209;
          for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210)
          {
            _elem1209 = iprot.readString();
            struct.tblNames.add(_elem1209);
          }
        }
        struct.setTblNamesIsSet(true);
      }
      if (incoming.get(1)) {
        struct.capabilities = new ClientCapabilities();
        struct.capabilities.read(iprot);
        struct.setCapabilitiesIsSet(true);
      }
      if (incoming.get(2)) {
        struct.catName = iprot.readString();
        struct.setCatNameIsSet(true);
      }
      if (incoming.get(3)) {
        {
          org.apache.thrift.protocol.TList _list1211 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.processorCapabilities = new java.util.ArrayList<java.lang.String>(_list1211.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem1212;
          for (int _i1213 = 0; _i1213 < _list1211.size; ++_i1213)
          {
            _elem1212 = iprot.readString();
            struct.processorCapabilities.add(_elem1212);
          }
        }
        struct.setProcessorCapabilitiesIsSet(true);
      }
      if (incoming.get(4)) {
        struct.processorIdentifier = iprot.readString();
        struct.setProcessorIdentifierIsSet(true);
      }
      if (incoming.get(5)) {
        struct.projectionSpec = new GetProjectionsSpec();
        struct.projectionSpec.read(iprot);
        struct.setProjectionSpecIsSet(true);
      }
      if (incoming.get(6)) {
        struct.tablesPattern = iprot.readString();
        struct.setTablesPatternIsSet(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/GetTablesRequest.java