@Override
    public void write(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TProtocol oprot, TableChange struct) throws org.apache.amoro.shade.thrift.org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.innerTable != null) {
        oprot.writeFieldBegin(INNER_TABLE_FIELD_DESC);
        oprot.writeString(struct.innerTable);
        oprot.writeFieldEnd();
      }
      if (struct.addFiles != null) {
        oprot.writeFieldBegin(ADD_FILES_FIELD_DESC);
        {
          oprot.writeListBegin(new org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TList(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TType.STRUCT, struct.addFiles.size()));
          for (DataFile _iter54 : struct.addFiles)
          {
            _iter54.write(oprot);
          }
          oprot.writeListEnd();
        }
        oprot.writeFieldEnd();
      }
      if (struct.deleteFiles != null) {
        oprot.writeFieldBegin(DELETE_FILES_FIELD_DESC);
        {
          oprot.writeListBegin(new org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TList(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TType.STRUCT, struct.deleteFiles.size()));
          for (DataFile _iter55 : struct.deleteFiles)
          {
            _iter55.write(oprot);
          }
          oprot.writeListEnd();
        }
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(SNAPSHOT_ID_FIELD_DESC);
      oprot.writeI64(struct.snapshotId);
      oprot.writeFieldEnd();
      oprot.writeFieldBegin(SNAPSHOT_SEQUENCE_FIELD_DESC);
      oprot.writeI64(struct.snapshotSequence);
      oprot.writeFieldEnd();
      oprot.writeFieldBegin(PARENT_SNAPSHOT_ID_FIELD_DESC);
      oprot.writeI64(struct.parentSnapshotId);
      oprot.writeFieldEnd();
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
amoro-common/src/main/gen-java/org/apache/amoro/api/TableChange.java