public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(1, getStateIdentifierBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(2, getTimeoutBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += akka.protobuf.CodedOutputStream .computeInt64Size(3, timeoutNanos_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.PersistentStateChangeEvent other) { if (other == akka.persistence.serialization.MessageFormats.PersistentStateChangeEvent.getDefaultInstance()) return this; if (other.hasStateIdentifier()) { bitField0_ |= 0x00000001; stateIdentifier_ = other.stateIdentifier_; onChanged(); } if (other.hasTimeout()) { bitField0_ |= 0x00000002; timeout_ = other.timeout_; onChanged(); } if (other.hasTimeoutNanos()) { setTimeoutNanos(other.getTimeoutNanos()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(1, getStateIdentifierBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(2, getTimeoutBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += akka.protobuf.CodedOutputStream .computeInt64Size(3, timeoutNanos_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.PersistentStateChangeEvent other) { if (other == akka.persistence.serialization.MessageFormats.PersistentStateChangeEvent.getDefaultInstance()) return this; if (other.hasStateIdentifier()) { bitField0_ |= 0x00000001; stateIdentifier_ = other.stateIdentifier_; onChanged(); } if (other.hasTimeout()) { bitField0_ |= 0x00000002; timeout_ = other.timeout_; onChanged(); } if (other.hasTimeoutNanos()) { setTimeoutNanos(other.getTimeoutNanos()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateIdentifierBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTimeoutBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, timeoutNanos_); } getUnknownFields().writeTo(output); }
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateIdentifierBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTimeoutBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, timeoutNanos_); } getUnknownFields().writeTo(output); }