public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }