public org.fusesource.hawtbuf.Buffer toFramedBuffer() { return org.fusesource.hawtbuf.proto.MessageBufferSupport.toFramedBuffer(this); }
public org.fusesource.hawtbuf.Buffer toUnframedBuffer() { if( buffer !=null ) { return buffer; } return org.fusesource.hawtbuf.proto.MessageBufferSupport.toUnframedBuffer(this); }
public Buffer parseFramed(java.io.InputStream data) throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException, java.io.IOException { return parseUnframed(org.fusesource.hawtbuf.proto.MessageBufferSupport.readFrame(data)); }
public Bean addAllSender(java.lang.Iterable<? extends org.fusesource.hawtbuf.Buffer> collection) { org.fusesource.hawtbuf.proto.MessageBufferSupport.addAll(collection, this.createSenderList()); return this; }
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; }
org.fusesource.hawtbuf.proto.MessageBufferSupport.writeMessage(output, 2, i.freeze());
public Buffer parseFramed(java.io.InputStream data) throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException, java.io.IOException { return parseUnframed(org.fusesource.hawtbuf.proto.MessageBufferSupport.readFrame(data)); }
public Bean addAllSender(java.lang.Iterable<? extends org.fusesource.hawtbuf.Buffer> collection) { org.fusesource.hawtbuf.proto.MessageBufferSupport.addAll(collection, this.createSenderList()); return this; }
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; }
org.fusesource.hawtbuf.proto.MessageBufferSupport.writeMessage(output, 2, i.freeze());
public Buffer parseFramed(java.io.InputStream data) throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException, java.io.IOException { return parseUnframed(org.fusesource.hawtbuf.proto.MessageBufferSupport.readFrame(data)); }
public org.fusesource.hawtbuf.Buffer toUnframedBuffer() { if( buffer !=null ) { return buffer; } return org.fusesource.hawtbuf.proto.MessageBufferSupport.toUnframedBuffer(this); }
public org.fusesource.hawtbuf.Buffer toFramedBuffer() { return org.fusesource.hawtbuf.proto.MessageBufferSupport.toFramedBuffer(this); }
public Bean addAllReceivedMessageIds(java.lang.Iterable<? extends java.lang.Integer> collection) { org.fusesource.hawtbuf.proto.MessageBufferSupport.addAll(collection, this.createReceivedMessageIdsList()); return this; }
public Buffer parseFramed(java.io.InputStream data) throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException, java.io.IOException { return parseUnframed(org.fusesource.hawtbuf.proto.MessageBufferSupport.readFrame(data)); }
public org.fusesource.hawtbuf.Buffer toUnframedBuffer() { if( buffer !=null ) { return buffer; } return org.fusesource.hawtbuf.proto.MessageBufferSupport.toUnframedBuffer(this); }
public org.fusesource.hawtbuf.Buffer toFramedBuffer() { return org.fusesource.hawtbuf.proto.MessageBufferSupport.toFramedBuffer(this); }
public Bean addAllSubscriptions(java.lang.Iterable<? extends TopicPB.Getter> collection) { org.fusesource.hawtbuf.proto.MessageBufferSupport.addAll(collection, this.createSubscriptionsList()); return this; }
public Buffer parseFramed(java.io.InputStream data) throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException, java.io.IOException { return parseUnframed(org.fusesource.hawtbuf.proto.MessageBufferSupport.readFrame(data)); }
public org.fusesource.hawtbuf.Buffer toUnframedBuffer() { if( buffer !=null ) { return buffer; } return org.fusesource.hawtbuf.proto.MessageBufferSupport.toUnframedBuffer(this); }