com.basho.riak.pbc
Class RPB.RpbContent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.basho.riak.pbc.RPB.RpbContent
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite
- Enclosing class:
- RPB
public static final class RPB.RpbContent
- extends com.google.protobuf.GeneratedMessage
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
Methods inherited from class com.google.protobuf.GeneratedMessage |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension |
Methods inherited from class com.google.protobuf.AbstractMessage |
equals, hashCode, toString |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
CHARSET_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
- See Also:
- Constant Field Values
CONTENT_ENCODING_FIELD_NUMBER
public static final int CONTENT_ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
VTAG_FIELD_NUMBER
public static final int VTAG_FIELD_NUMBER
- See Also:
- Constant Field Values
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
- See Also:
- Constant Field Values
LAST_MOD_FIELD_NUMBER
public static final int LAST_MOD_FIELD_NUMBER
- See Also:
- Constant Field Values
LAST_MOD_USECS_FIELD_NUMBER
public static final int LAST_MOD_USECS_FIELD_NUMBER
- See Also:
- Constant Field Values
USERMETA_FIELD_NUMBER
public static final int USERMETA_FIELD_NUMBER
- See Also:
- Constant Field Values
INDEXES_FIELD_NUMBER
public static final int INDEXES_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static RPB.RpbContent getDefaultInstance()
getDefaultInstanceForType
public RPB.RpbContent getDefaultInstanceForType()
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
hasValue
public boolean hasValue()
getValue
public com.google.protobuf.ByteString getValue()
hasContentType
public boolean hasContentType()
getContentType
public com.google.protobuf.ByteString getContentType()
hasCharset
public boolean hasCharset()
getCharset
public com.google.protobuf.ByteString getCharset()
hasContentEncoding
public boolean hasContentEncoding()
getContentEncoding
public com.google.protobuf.ByteString getContentEncoding()
hasVtag
public boolean hasVtag()
getVtag
public com.google.protobuf.ByteString getVtag()
getLinksList
public List<RPB.RpbLink> getLinksList()
getLinksCount
public int getLinksCount()
getLinks
public RPB.RpbLink getLinks(int index)
hasLastMod
public boolean hasLastMod()
getLastMod
public int getLastMod()
hasLastModUsecs
public boolean hasLastModUsecs()
getLastModUsecs
public int getLastModUsecs()
getUsermetaList
public List<RPB.RpbPair> getUsermetaList()
getUsermetaCount
public int getUsermetaCount()
getUsermeta
public RPB.RpbPair getUsermeta(int index)
getIndexesList
public List<RPB.RpbPair> getIndexesList()
getIndexesCount
public int getIndexesCount()
getIndexes
public RPB.RpbPair getIndexes(int index)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLite
- Overrides:
isInitialized
in class com.google.protobuf.GeneratedMessage
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo
in interface com.google.protobuf.MessageLite
- Overrides:
writeTo
in class com.google.protobuf.AbstractMessage
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interface com.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in class com.google.protobuf.AbstractMessage
parseFrom
public static RPB.RpbContent parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPB.RpbContent parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPB.RpbContent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPB.RpbContent parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPB.RpbContent parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static RPB.RpbContent parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static RPB.RpbContent parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static RPB.RpbContent parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static RPB.RpbContent parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static RPB.RpbContent parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static RPB.RpbContent.Builder newBuilder()
newBuilderForType
public RPB.RpbContent.Builder newBuilderForType()
newBuilder
public static RPB.RpbContent.Builder newBuilder(RPB.RpbContent prototype)
toBuilder
public RPB.RpbContent.Builder toBuilder()
Copyright © 2012. All Rights Reserved.