public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getPersistenceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getChannelIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, persistentSequenceNr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, deliverySequenceNr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getChannelBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
bitField0_ = (bitField0_ & ~0x00000040); if (confirmMessageBuilder_ == null) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance(); } else { confirmMessageBuilder_.clear();
bitField0_ = (bitField0_ & ~0x00000040); if (confirmMessageBuilder_ == null) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance(); } else { confirmMessageBuilder_.clear();
bitField0_ = (bitField0_ & ~0x00000040); if (confirmMessageBuilder_ == null) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance(); } else { confirmMessageBuilder_.clear();
public akka.persistence.serialization.MessageFormats.DeliveredMessage buildPartial() { akka.persistence.serialization.MessageFormats.DeliveredMessage result = new akka.persistence.serialization.MessageFormats.DeliveredMessage(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.channelId_ = channelId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.persistentSequenceNr_ = persistentSequenceNr_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.deliverySequenceNr_ = deliverySequenceNr_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.channel_ = channel_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
bitField0_ = (bitField0_ & ~0x00000040); if (confirmMessageBuilder_ == null) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance(); } else { confirmMessageBuilder_.clear();
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getPersistenceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getChannelIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, persistentSequenceNr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, deliverySequenceNr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getChannelBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public akka.persistence.serialization.MessageFormats.DeliveredMessage buildPartial() { akka.persistence.serialization.MessageFormats.DeliveredMessage result = new akka.persistence.serialization.MessageFormats.DeliveredMessage(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.channelId_ = channelId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.persistentSequenceNr_ = persistentSequenceNr_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.deliverySequenceNr_ = deliverySequenceNr_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.channel_ = channel_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public akka.persistence.serialization.MessageFormats.DeliveredMessage buildPartial() { akka.persistence.serialization.MessageFormats.DeliveredMessage result = new akka.persistence.serialization.MessageFormats.DeliveredMessage(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.channelId_ = channelId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.persistentSequenceNr_ = persistentSequenceNr_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.deliverySequenceNr_ = deliverySequenceNr_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.channel_ = channel_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.DeliveredMessage other) { if (other == akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) return this; if (other.hasPersistenceId()) { bitField0_ |= 0x00000001; persistenceId_ = other.persistenceId_; onChanged(); } if (other.hasChannelId()) { bitField0_ |= 0x00000002; channelId_ = other.channelId_; onChanged(); } if (other.hasPersistentSequenceNr()) { setPersistentSequenceNr(other.getPersistentSequenceNr()); } if (other.hasDeliverySequenceNr()) { setDeliverySequenceNr(other.getDeliverySequenceNr()); } if (other.hasChannel()) { bitField0_ |= 0x00000010; channel_ = other.channel_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.DeliveredMessage other) { if (other == akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) return this; if (other.hasPersistenceId()) { bitField0_ |= 0x00000001; persistenceId_ = other.persistenceId_; onChanged(); } if (other.hasChannelId()) { bitField0_ |= 0x00000002; channelId_ = other.channelId_; onChanged(); } if (other.hasPersistentSequenceNr()) { setPersistentSequenceNr(other.getPersistentSequenceNr()); } if (other.hasDeliverySequenceNr()) { setDeliverySequenceNr(other.getDeliverySequenceNr()); } if (other.hasChannel()) { bitField0_ |= 0x00000010; channel_ = other.channel_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getPersistenceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getChannelIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, persistentSequenceNr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, deliverySequenceNr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getChannelBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getPersistenceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getChannelIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, persistentSequenceNr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, deliverySequenceNr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getChannelBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public akka.persistence.serialization.MessageFormats.DeliveredMessage buildPartial() { akka.persistence.serialization.MessageFormats.DeliveredMessage result = new akka.persistence.serialization.MessageFormats.DeliveredMessage(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.channelId_ = channelId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.persistentSequenceNr_ = persistentSequenceNr_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.deliverySequenceNr_ = deliverySequenceNr_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.channel_ = channel_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.DeliveredMessage other) { if (other == akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) return this; if (other.hasPersistenceId()) { bitField0_ |= 0x00000001; persistenceId_ = other.persistenceId_; onChanged(); } if (other.hasChannelId()) { bitField0_ |= 0x00000002; channelId_ = other.channelId_; onChanged(); } if (other.hasPersistentSequenceNr()) { setPersistentSequenceNr(other.getPersistentSequenceNr()); } if (other.hasDeliverySequenceNr()) { setDeliverySequenceNr(other.getDeliverySequenceNr()); } if (other.hasChannel()) { bitField0_ |= 0x00000010; channel_ = other.channel_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.DeliveredMessage other) { if (other == akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) return this; if (other.hasPersistenceId()) { bitField0_ |= 0x00000001; persistenceId_ = other.persistenceId_; onChanged(); } if (other.hasChannelId()) { bitField0_ |= 0x00000002; channelId_ = other.channelId_; onChanged(); } if (other.hasPersistentSequenceNr()) { setPersistentSequenceNr(other.getPersistentSequenceNr()); } if (other.hasDeliverySequenceNr()) { setDeliverySequenceNr(other.getDeliverySequenceNr()); } if (other.hasChannel()) { bitField0_ |= 0x00000010; channel_ = other.channel_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional .DeliveredMessage confirmMessage = 9;</code> */ public Builder mergeConfirmMessage(akka.persistence.serialization.MessageFormats.DeliveredMessage value) { if (confirmMessageBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && confirmMessage_ != akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.newBuilder(confirmMessage_).mergeFrom(value).buildPartial(); } else { confirmMessage_ = value; } onChanged(); } else { confirmMessageBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
/** * <code>optional .DeliveredMessage confirmMessage = 9;</code> */ public Builder mergeConfirmMessage(akka.persistence.serialization.MessageFormats.DeliveredMessage value) { if (confirmMessageBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && confirmMessage_ != akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.newBuilder(confirmMessage_).mergeFrom(value).buildPartial(); } else { confirmMessage_ = value; } onChanged(); } else { confirmMessageBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
/** * <code>optional .DeliveredMessage confirmMessage = 9;</code> */ public Builder mergeConfirmMessage(akka.persistence.serialization.MessageFormats.DeliveredMessage value) { if (confirmMessageBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && confirmMessage_ != akka.persistence.serialization.MessageFormats.DeliveredMessage.getDefaultInstance()) { confirmMessage_ = akka.persistence.serialization.MessageFormats.DeliveredMessage.newBuilder(confirmMessage_).mergeFrom(value).buildPartial(); } else { confirmMessage_ = value; } onChanged(); } else { confirmMessageBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getPersistenceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getChannelIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, persistentSequenceNr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, deliverySequenceNr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getChannelBytes()); } getUnknownFields().writeTo(output); }