@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, AlterTableRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      oprot.writeString(struct.dbName);
      oprot.writeString(struct.tableName);
      struct.table.write(oprot);
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetCatName()) {
        optionals.set(0);
      }
      if (struct.isSetEnvironmentContext()) {
        optionals.set(1);
      }
      if (struct.isSetWriteId()) {
        optionals.set(2);
      }
      if (struct.isSetValidWriteIdList()) {
        optionals.set(3);
      }
      if (struct.isSetProcessorCapabilities()) {
        optionals.set(4);
      }
      if (struct.isSetProcessorIdentifier()) {
        optionals.set(5);
      }
      if (struct.isSetExpectedParameterKey()) {
        optionals.set(6);
      }
      if (struct.isSetExpectedParameterValue()) {
        optionals.set(7);
      }
      oprot.writeBitSet(optionals, 8);
      if (struct.isSetCatName()) {
        oprot.writeString(struct.catName);
      }
      if (struct.isSetEnvironmentContext()) {
        struct.environmentContext.write(oprot);
      }
      if (struct.isSetWriteId()) {
        oprot.writeI64(struct.writeId);
      }
      if (struct.isSetValidWriteIdList()) {
        oprot.writeString(struct.validWriteIdList);
      }
      if (struct.isSetProcessorCapabilities()) {
        {
          oprot.writeI32(struct.processorCapabilities.size());
          for (java.lang.String _iter1452 : struct.processorCapabilities)
          {
            oprot.writeString(_iter1452);
          }
        }
      }
      if (struct.isSetProcessorIdentifier()) {
        oprot.writeString(struct.processorIdentifier);
      }
      if (struct.isSetExpectedParameterKey()) {
        oprot.writeString(struct.expectedParameterKey);
      }
      if (struct.isSetExpectedParameterValue()) {
        oprot.writeString(struct.expectedParameterValue);
      }
    }
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/AlterTableRequest.java