public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasTopicKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getTopicKey()); } if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getClientId()); } if (hasSubscriptionName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(3, getSubscriptionName()); } if (hasSelector()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(4, getSelector()); } if (hasDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(5, getDestinationName()); } if (hasSubscribedDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(6, getSubscribedDestinationName()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasTopicKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getTopicKey()); } if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getClientId()); } if (hasSubscriptionName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(3, getSubscriptionName()); } if (hasSelector()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(4, getSelector()); } if (hasDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(5, getDestinationName()); } if (hasSubscribedDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(6, getSubscribedDestinationName()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasTopicKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getTopicKey()); } if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getClientId()); } if (hasSubscriptionName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(3, getSubscriptionName()); } if (hasSelector()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(4, getSelector()); } if (hasDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(5, getDestinationName()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasTopicKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getTopicKey()); } if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getClientId()); } if (hasSubscriptionName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(3, getSubscriptionName()); } if (hasSelector()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(4, getSelector()); } if (hasDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(5, getDestinationName()); } return size; }
public int serializedSizeUnframed() { if (buffer != null) { return buffer.length; } if (size != -1) return size; size = 0; if (hasTopicKey()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(1, getTopicKey()); } if (hasClientId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getClientId()); } if (hasSubscriptionName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(3, getSubscriptionName()); } if (hasSelector()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(4, getSelector()); } if (hasDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(5, getDestinationName()); } if (hasSubscribedDestinationName()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(6, getSubscribedDestinationName()); } return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasMagic()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getMagic()); } if (hasTransferId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getTransferId()); } if (hasFileSegments()) { for (FileSegments i : getFileSegmentsList()) { size += computeMessageSize(10, i); } } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasMagic()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getMagic()); } if (hasFileId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getFileId()); } if (hasSegmentId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(3, getSegmentId()); } if (hasSegmentOffset()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(4, getSegmentOffset()); } if (hasSegmentLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(5, getSegmentLength()); } if (hasFilters()) { for (java.lang.String i : getFiltersList()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(6, i); } } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasHashAlg()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getHashAlg()); } if (hasHashBytes()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeBytesSize(2, getHashBytes()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasMagic()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getMagic()); } if (hasHashes()) { for (Hash i : getHashesList()) { size += computeMessageSize(2, i); } } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasFileId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getFileId()); } if (hasSegments()) { for (Segment i : getSegmentsList()) { size += computeMessageSize(2, i); } } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasFileId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getFileId()); } if (hasPath()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getPath()); } if (hasFileLastModified()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getFileLastModified()); } if (hasHashes()) { for (Hash i : getHashesList()) { size += computeMessageSize(4, i); } } if (hasFilters()) { for (java.lang.String i : getFiltersList()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(5, i); } } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasMagic()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getMagic()); } if (hasTransferId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(2, getTransferId()); } if (hasTransferTotalSize()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getTransferTotalSize()); } if (hasFiles()) { for (File i : getFilesList()) { size += computeMessageSize(10, i); } } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasSegmentId()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeStringSize(1, getSegmentId()); } if (hasOffset()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(2, getOffset()); } if (hasLength()) { size += org.fusesource.hawtbuf.proto.CodedOutputStream.computeInt64Size(3, getLength()); } memoizedSerializedSize = size; return size; }