public static final class CollectionRecord.Buffer extends Object implements org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>, CollectionRecord.Getter
| Modifier and Type | Method and Description |
|---|---|
CollectionRecord.Bean |
copy() |
boolean |
equals(CollectionRecord.Buffer obj) |
boolean |
equals(Object obj) |
CollectionRecord.Buffer |
freeze() |
boolean |
frozen() |
long |
getKey() |
org.fusesource.hawtbuf.Buffer |
getMeta() |
int |
getType() |
int |
hashCode() |
boolean |
hasKey() |
boolean |
hasMeta() |
boolean |
hasType() |
int |
serializedSizeFramed() |
int |
serializedSizeUnframed() |
org.fusesource.hawtbuf.Buffer |
toFramedBuffer() |
byte[] |
toFramedByteArray() |
String |
toString() |
StringBuilder |
toString(StringBuilder sb,
String prefix) |
org.fusesource.hawtbuf.Buffer |
toUnframedBuffer() |
byte[] |
toUnframedByteArray() |
void |
writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) |
void |
writeFramed(OutputStream output) |
void |
writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output) |
void |
writeUnframed(OutputStream output) |
public CollectionRecord.Bean copy()
copy in interface CollectionRecord.Gettercopy in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionRecord.Bean,CollectionRecord.Buffer>public CollectionRecord.Buffer freeze()
freeze in interface CollectionRecord.Getterfreeze in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionRecord.Bean,CollectionRecord.Buffer>public StringBuilder toString(StringBuilder sb, String prefix)
toString in interface CollectionRecord.Getterpublic boolean hasKey()
hasKey in interface CollectionRecord.Getterpublic long getKey()
getKey in interface CollectionRecord.Getterpublic boolean hasType()
hasType in interface CollectionRecord.Getterpublic int getType()
getType in interface CollectionRecord.Getterpublic boolean hasMeta()
hasMeta in interface CollectionRecord.Getterpublic org.fusesource.hawtbuf.Buffer getMeta()
getMeta in interface CollectionRecord.Getterpublic org.fusesource.hawtbuf.Buffer toUnframedBuffer()
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>public org.fusesource.hawtbuf.Buffer toFramedBuffer()
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>public byte[] toUnframedByteArray()
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>public byte[] toFramedByteArray()
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>IOExceptionpublic void writeFramed(OutputStream output) throws IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>IOExceptionpublic void writeUnframed(OutputStream output) throws IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>IOExceptionpublic void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>IOExceptionpublic int serializedSizeFramed()
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>public int serializedSizeUnframed()
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>public boolean equals(CollectionRecord.Buffer obj)
public boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionRecord.Bean,CollectionRecord.Buffer>Copyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.