code: LogMetadata withUpdateVersion(int value) {
          Preconditions.checkArgument(value >= this.updateVersion.get(), "versions must increase");
          this.updateVersion.set(value);
          return this;
      }
docs: Updates the current version of the metadata.
  
  @param value The new metadata version.
  @return This instance.