public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getKey()); } if (hasType()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getType()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getKey()); } if (hasType()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getType()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(1, getName()); } if (hasQos()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getQos()); } if (hasAddress()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getAddress()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getKey()); } if (hasType()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getType()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getKey()); } if (hasType()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getType()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getKey()); } if (hasType()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getType()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(1, getName()); } if (hasQos()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(2, getQos()); } if (hasAddress()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(3, getAddress()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(1, getClientId()); } if (hasSubscriptions()) { for (TopicPB.Getter i : getSubscriptionsList()) { size += org.fusesource.hawtbuf.proto.MessageBufferSupport.computeMessageSize(2, i.freeze()); } } if (hasReceivedMessageIds()) { for (int i : getReceivedMessageIdsList()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(3, i); } } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(1, getClientId()); } if (hasSubscriptions()) { for (TopicPB.Getter i : getSubscriptionsList()) { size += org.fusesource.hawtbuf.proto.MessageBufferSupport.computeMessageSize(2, i.freeze()); } } if (hasReceivedMessageIds()) { for (int i : getReceivedMessageIdsList()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(3, i); } } return size; }
size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getCodec()); if (hasSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(3, getSize()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(6, getCompression()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(14, getDirectSize());
size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getCodec()); if (hasSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(3, getSize()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(6, getCompression()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(14, getDirectSize());
size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getMessageKey()); if (hasSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getSize()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(6, getRedeliveries());
size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getMessageKey()); if (hasSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getSize()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(6, getRedeliveries());
size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getMessageKey()); if (hasSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getSize()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(6, getRedeliveries());
size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getMessageKey()); if (hasSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getSize()); size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(6, getRedeliveries());
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasCollectionKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getCollectionKey()); } if (hasEntryKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getEntryKey()); } if (hasValueLocation()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getValueLocation()); } if (hasValueLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getValueLength()); } if (hasValue()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(5, getValue()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(6, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasCollectionKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getCollectionKey()); } if (hasEntryKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getEntryKey()); } if (hasValueLocation()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getValueLocation()); } if (hasValueLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getValueLength()); } if (hasValue()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(5, getValue()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(6, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasCollectionKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getCollectionKey()); } if (hasEntryKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getEntryKey()); } if (hasValueLocation()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getValueLocation()); } if (hasValueLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getValueLength()); } if (hasValue()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(5, getValue()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(6, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasCollectionKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getCollectionKey()); } if (hasEntryKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getEntryKey()); } if (hasValueLocation()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getValueLocation()); } if (hasValueLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getValueLength()); } if (hasValue()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(5, getValue()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(6, getMeta()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasCollectionKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getCollectionKey()); } if (hasEntryKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getEntryKey()); } if (hasValueLocation()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getValueLocation()); } if (hasValueLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt32Size(4, getValueLength()); } if (hasValue()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(5, getValue()); } if (hasMeta()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(6, getMeta()); } return size; }