@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, Table 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.isSetTableName()) {
        optionals.set(0);
      }
      if (struct.isSetDbName()) {
        optionals.set(1);
      }
      if (struct.isSetOwner()) {
        optionals.set(2);
      }
      if (struct.isSetCreateTime()) {
        optionals.set(3);
      }
      if (struct.isSetLastAccessTime()) {
        optionals.set(4);
      }
      if (struct.isSetRetention()) {
        optionals.set(5);
      }
      if (struct.isSetSd()) {
        optionals.set(6);
      }
      if (struct.isSetPartitionKeys()) {
        optionals.set(7);
      }
      if (struct.isSetParameters()) {
        optionals.set(8);
      }
      if (struct.isSetViewOriginalText()) {
        optionals.set(9);
      }
      if (struct.isSetViewExpandedText()) {
        optionals.set(10);
      }
      if (struct.isSetTableType()) {
        optionals.set(11);
      }
      if (struct.isSetPrivileges()) {
        optionals.set(12);
      }
      if (struct.isSetTemporary()) {
        optionals.set(13);
      }
      if (struct.isSetRewriteEnabled()) {
        optionals.set(14);
      }
      if (struct.isSetCreationMetadata()) {
        optionals.set(15);
      }
      if (struct.isSetCatName()) {
        optionals.set(16);
      }
      if (struct.isSetOwnerType()) {
        optionals.set(17);
      }
      if (struct.isSetWriteId()) {
        optionals.set(18);
      }
      if (struct.isSetIsStatsCompliant()) {
        optionals.set(19);
      }
      if (struct.isSetColStats()) {
        optionals.set(20);
      }
      if (struct.isSetAccessType()) {
        optionals.set(21);
      }
      if (struct.isSetRequiredReadCapabilities()) {
        optionals.set(22);
      }
      if (struct.isSetRequiredWriteCapabilities()) {
        optionals.set(23);
      }
      if (struct.isSetId()) {
        optionals.set(24);
      }
      if (struct.isSetFileMetadata()) {
        optionals.set(25);
      }
      if (struct.isSetDictionary()) {
        optionals.set(26);
      }
      if (struct.isSetTxnId()) {
        optionals.set(27);
      }
      oprot.writeBitSet(optionals, 28);
      if (struct.isSetTableName()) {
        oprot.writeString(struct.tableName);
      }
      if (struct.isSetDbName()) {
        oprot.writeString(struct.dbName);
      }
      if (struct.isSetOwner()) {
        oprot.writeString(struct.owner);
      }
      if (struct.isSetCreateTime()) {
        oprot.writeI32(struct.createTime);
      }
      if (struct.isSetLastAccessTime()) {
        oprot.writeI32(struct.lastAccessTime);
      }
      if (struct.isSetRetention()) {
        oprot.writeI32(struct.retention);
      }
      if (struct.isSetSd()) {
        struct.sd.write(oprot);
      }
      if (struct.isSetPartitionKeys()) {
        {
          oprot.writeI32(struct.partitionKeys.size());
          for (FieldSchema _iter377 : struct.partitionKeys)
          {
            _iter377.write(oprot);
          }
        }
      }
      if (struct.isSetParameters()) {
        {
          oprot.writeI32(struct.parameters.size());
          for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter378 : struct.parameters.entrySet())
          {
            oprot.writeString(_iter378.getKey());
            oprot.writeString(_iter378.getValue());
          }
        }
      }
      if (struct.isSetViewOriginalText()) {
        oprot.writeString(struct.viewOriginalText);
      }
      if (struct.isSetViewExpandedText()) {
        oprot.writeString(struct.viewExpandedText);
      }
      if (struct.isSetTableType()) {
        oprot.writeString(struct.tableType);
      }
      if (struct.isSetPrivileges()) {
        struct.privileges.write(oprot);
      }
      if (struct.isSetTemporary()) {
        oprot.writeBool(struct.temporary);
      }
      if (struct.isSetRewriteEnabled()) {
        oprot.writeBool(struct.rewriteEnabled);
      }
      if (struct.isSetCreationMetadata()) {
        struct.creationMetadata.write(oprot);
      }
      if (struct.isSetCatName()) {
        oprot.writeString(struct.catName);
      }
      if (struct.isSetOwnerType()) {
        oprot.writeI32(struct.ownerType.getValue());
      }
      if (struct.isSetWriteId()) {
        oprot.writeI64(struct.writeId);
      }
      if (struct.isSetIsStatsCompliant()) {
        oprot.writeBool(struct.isStatsCompliant);
      }
      if (struct.isSetColStats()) {
        struct.colStats.write(oprot);
      }
      if (struct.isSetAccessType()) {
        oprot.writeByte(struct.accessType);
      }
      if (struct.isSetRequiredReadCapabilities()) {
        {
          oprot.writeI32(struct.requiredReadCapabilities.size());
          for (java.lang.String _iter379 : struct.requiredReadCapabilities)
          {
            oprot.writeString(_iter379);
          }
        }
      }
      if (struct.isSetRequiredWriteCapabilities()) {
        {
          oprot.writeI32(struct.requiredWriteCapabilities.size());
          for (java.lang.String _iter380 : struct.requiredWriteCapabilities)
          {
            oprot.writeString(_iter380);
          }
        }
      }
      if (struct.isSetId()) {
        oprot.writeI64(struct.id);
      }
      if (struct.isSetFileMetadata()) {
        struct.fileMetadata.write(oprot);
      }
      if (struct.isSetDictionary()) {
        struct.dictionary.write(oprot);
      }
      if (struct.isSetTxnId()) {
        oprot.writeI64(struct.txnId);
      }
    }
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/Table.java