public akka.persistence.kafka.journal.EventFormats.EventFormat build() { akka.persistence.kafka.journal.EventFormats.EventFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public akka.persistence.kafka.journal.EventFormats.EventFormat buildPartial() { akka.persistence.kafka.journal.EventFormats.EventFormat result = new akka.persistence.kafka.journal.EventFormats.EventFormat(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.persistenceId_ = persistenceId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.sequenceNr_ = sequenceNr_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(akka.persistence.kafka.journal.EventFormats.EventFormat other) { if (other == akka.persistence.kafka.journal.EventFormats.EventFormat.getDefaultInstance()) return this; if (other.hasPersistenceId()) { bitField0_ |= 0x00000001; persistenceId_ = other.persistenceId_; onChanged(); } if (other.hasSequenceNr()) { setSequenceNr(other.getSequenceNr()); } if (other.hasData()) { mergeData(other.getData()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public akka.persistence.kafka.journal.EventFormats.EventFormat getDefaultInstanceForType() { return akka.persistence.kafka.journal.EventFormats.EventFormat.getDefaultInstance(); }