public static final class CollectionRecord.Buffer extends java.lang.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(java.lang.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() |
java.lang.String |
toString() |
java.lang.StringBuilder |
toString(java.lang.StringBuilder sb,
java.lang.String prefix) |
org.fusesource.hawtbuf.Buffer |
toUnframedBuffer() |
byte[] |
toUnframedByteArray() |
void |
writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) |
void |
writeFramed(java.io.OutputStream output) |
void |
writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output) |
void |
writeUnframed(java.io.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 java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder toString(java.lang.StringBuilder sb,
java.lang.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 java.io.IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>java.io.IOExceptionpublic void writeFramed(java.io.OutputStream output)
throws java.io.IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>java.io.IOExceptionpublic void writeUnframed(java.io.OutputStream output)
throws java.io.IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>java.io.IOExceptionpublic void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws java.io.IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionRecord.Bean,CollectionRecord.Buffer>java.io.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(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean equals(CollectionRecord.Buffer obj)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionRecord.Bean,CollectionRecord.Buffer>Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.