public static final class CollectionKey.Buffer extends java.lang.Object implements org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>, CollectionKey.Getter
| Modifier and Type | Method and Description |
|---|---|
CollectionKey.Bean |
copy() |
boolean |
equals(CollectionKey.Buffer obj) |
boolean |
equals(java.lang.Object obj) |
CollectionKey.Buffer |
freeze() |
boolean |
frozen() |
long |
getKey() |
int |
hashCode() |
boolean |
hasKey() |
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 CollectionKey.Bean copy()
copy in interface CollectionKey.Gettercopy in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>public CollectionKey.Buffer freeze()
freeze in interface CollectionKey.Getterfreeze in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.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 CollectionKey.Getterpublic boolean hasKey()
hasKey in interface CollectionKey.Getterpublic long getKey()
getKey in interface CollectionKey.Getterpublic org.fusesource.hawtbuf.Buffer toUnframedBuffer()
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public org.fusesource.hawtbuf.Buffer toFramedBuffer()
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public byte[] toUnframedByteArray()
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public byte[] toFramedByteArray()
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws java.io.IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>java.io.IOExceptionpublic void writeFramed(java.io.OutputStream output)
throws java.io.IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>java.io.IOExceptionpublic void writeUnframed(java.io.OutputStream output)
throws java.io.IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>java.io.IOExceptionpublic void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws java.io.IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>java.io.IOExceptionpublic int serializedSizeFramed()
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public int serializedSizeUnframed()
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean equals(CollectionKey.Buffer obj)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>Copyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.