public static final class RiakKvPB.RpbContent extends com.google.protobuf.GeneratedMessage implements RiakKvPB.RpbContentOrBuilder
RpbContent
Content message included in get/put responses Holds the value and associated metadata
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakKvPB.RpbContent.Builder
Protobuf type
RpbContent |
com.google.protobuf.GeneratedMessage.BuilderParent, 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.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CHARSET_FIELD_NUMBER |
static int |
CONTENT_ENCODING_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
DELETED_FIELD_NUMBER |
static int |
INDEXES_FIELD_NUMBER |
static int |
LAST_MOD_FIELD_NUMBER |
static int |
LAST_MOD_USECS_FIELD_NUMBER |
static int |
LINKS_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbContent> |
PARSER |
static int |
USERMETA_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
static int |
VTAG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getCharset()
optional bytes charset = 3; |
com.google.protobuf.ByteString |
getContentEncoding()
optional bytes content_encoding = 4; |
com.google.protobuf.ByteString |
getContentType()
optional bytes content_type = 2; |
static RiakKvPB.RpbContent |
getDefaultInstance() |
RiakKvPB.RpbContent |
getDefaultInstanceForType() |
boolean |
getDeleted()
optional bool deleted = 11; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RiakPB.RpbPair |
getIndexes(int index)
repeated .RpbPair indexes = 10; |
int |
getIndexesCount()
repeated .RpbPair indexes = 10; |
List<RiakPB.RpbPair> |
getIndexesList()
repeated .RpbPair indexes = 10; |
RiakPB.RpbPairOrBuilder |
getIndexesOrBuilder(int index)
repeated .RpbPair indexes = 10; |
List<? extends RiakPB.RpbPairOrBuilder> |
getIndexesOrBuilderList()
repeated .RpbPair indexes = 10; |
int |
getLastMod()
optional uint32 last_mod = 7; |
int |
getLastModUsecs()
optional uint32 last_mod_usecs = 8; |
RiakKvPB.RpbLink |
getLinks(int index)
repeated .RpbLink links = 6; |
int |
getLinksCount()
repeated .RpbLink links = 6; |
List<RiakKvPB.RpbLink> |
getLinksList()
repeated .RpbLink links = 6; |
RiakKvPB.RpbLinkOrBuilder |
getLinksOrBuilder(int index)
repeated .RpbLink links = 6; |
List<? extends RiakKvPB.RpbLinkOrBuilder> |
getLinksOrBuilderList()
repeated .RpbLink links = 6; |
com.google.protobuf.Parser<RiakKvPB.RpbContent> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
RiakPB.RpbPair |
getUsermeta(int index)
repeated .RpbPair usermeta = 9; |
int |
getUsermetaCount()
repeated .RpbPair usermeta = 9; |
List<RiakPB.RpbPair> |
getUsermetaList()
repeated .RpbPair usermeta = 9; |
RiakPB.RpbPairOrBuilder |
getUsermetaOrBuilder(int index)
repeated .RpbPair usermeta = 9; |
List<? extends RiakPB.RpbPairOrBuilder> |
getUsermetaOrBuilderList()
repeated .RpbPair usermeta = 9; |
com.google.protobuf.ByteString |
getValue()
required bytes value = 1; |
com.google.protobuf.ByteString |
getVtag()
optional bytes vtag = 5; |
boolean |
hasCharset()
optional bytes charset = 3; |
boolean |
hasContentEncoding()
optional bytes content_encoding = 4; |
boolean |
hasContentType()
optional bytes content_type = 2; |
boolean |
hasDeleted()
optional bool deleted = 11; |
boolean |
hasLastMod()
optional uint32 last_mod = 7; |
boolean |
hasLastModUsecs()
optional uint32 last_mod_usecs = 8; |
boolean |
hasValue()
required bytes value = 1; |
boolean |
hasVtag()
optional bytes vtag = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakKvPB.RpbContent.Builder |
newBuilder() |
static RiakKvPB.RpbContent.Builder |
newBuilder(RiakKvPB.RpbContent prototype) |
RiakKvPB.RpbContent.Builder |
newBuilderForType() |
protected RiakKvPB.RpbContent.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbContent |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbContent |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbContent |
parseFrom(byte[] data) |
static RiakKvPB.RpbContent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbContent |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbContent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbContent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbContent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbContent |
parseFrom(InputStream input) |
static RiakKvPB.RpbContent |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbContent.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RiakKvPB.RpbContent> PARSER
public static final int VALUE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
public static final int CONTENT_ENCODING_FIELD_NUMBER
public static final int VTAG_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
public static final int LAST_MOD_FIELD_NUMBER
public static final int LAST_MOD_USECS_FIELD_NUMBER
public static final int USERMETA_FIELD_NUMBER
public static final int INDEXES_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER
public static RiakKvPB.RpbContent getDefaultInstance()
public RiakKvPB.RpbContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RiakKvPB.RpbContent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasValue()
required bytes value = 1;hasValue in interface RiakKvPB.RpbContentOrBuilderpublic com.google.protobuf.ByteString getValue()
required bytes value = 1;getValue in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasContentType()
optional bytes content_type = 2;
the media type/format
hasContentType in interface RiakKvPB.RpbContentOrBuilderpublic com.google.protobuf.ByteString getContentType()
optional bytes content_type = 2;
the media type/format
getContentType in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasCharset()
optional bytes charset = 3;hasCharset in interface RiakKvPB.RpbContentOrBuilderpublic com.google.protobuf.ByteString getCharset()
optional bytes charset = 3;getCharset in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasContentEncoding()
optional bytes content_encoding = 4;hasContentEncoding in interface RiakKvPB.RpbContentOrBuilderpublic com.google.protobuf.ByteString getContentEncoding()
optional bytes content_encoding = 4;getContentEncoding in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasVtag()
optional bytes vtag = 5;hasVtag in interface RiakKvPB.RpbContentOrBuilderpublic com.google.protobuf.ByteString getVtag()
optional bytes vtag = 5;getVtag in interface RiakKvPB.RpbContentOrBuilderpublic List<RiakKvPB.RpbLink> getLinksList()
repeated .RpbLink links = 6;
links to other resources
getLinksList in interface RiakKvPB.RpbContentOrBuilderpublic List<? extends RiakKvPB.RpbLinkOrBuilder> getLinksOrBuilderList()
repeated .RpbLink links = 6;
links to other resources
getLinksOrBuilderList in interface RiakKvPB.RpbContentOrBuilderpublic int getLinksCount()
repeated .RpbLink links = 6;
links to other resources
getLinksCount in interface RiakKvPB.RpbContentOrBuilderpublic RiakKvPB.RpbLink getLinks(int index)
repeated .RpbLink links = 6;
links to other resources
getLinks in interface RiakKvPB.RpbContentOrBuilderpublic RiakKvPB.RpbLinkOrBuilder getLinksOrBuilder(int index)
repeated .RpbLink links = 6;
links to other resources
getLinksOrBuilder in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasLastMod()
optional uint32 last_mod = 7;hasLastMod in interface RiakKvPB.RpbContentOrBuilderpublic int getLastMod()
optional uint32 last_mod = 7;getLastMod in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasLastModUsecs()
optional uint32 last_mod_usecs = 8;hasLastModUsecs in interface RiakKvPB.RpbContentOrBuilderpublic int getLastModUsecs()
optional uint32 last_mod_usecs = 8;getLastModUsecs in interface RiakKvPB.RpbContentOrBuilderpublic List<RiakPB.RpbPair> getUsermetaList()
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaList in interface RiakKvPB.RpbContentOrBuilderpublic List<? extends RiakPB.RpbPairOrBuilder> getUsermetaOrBuilderList()
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaOrBuilderList in interface RiakKvPB.RpbContentOrBuilderpublic int getUsermetaCount()
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaCount in interface RiakKvPB.RpbContentOrBuilderpublic RiakPB.RpbPair getUsermeta(int index)
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermeta in interface RiakKvPB.RpbContentOrBuilderpublic RiakPB.RpbPairOrBuilder getUsermetaOrBuilder(int index)
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaOrBuilder in interface RiakKvPB.RpbContentOrBuilderpublic List<RiakPB.RpbPair> getIndexesList()
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesList in interface RiakKvPB.RpbContentOrBuilderpublic List<? extends RiakPB.RpbPairOrBuilder> getIndexesOrBuilderList()
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesOrBuilderList in interface RiakKvPB.RpbContentOrBuilderpublic int getIndexesCount()
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesCount in interface RiakKvPB.RpbContentOrBuilderpublic RiakPB.RpbPair getIndexes(int index)
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexes in interface RiakKvPB.RpbContentOrBuilderpublic RiakPB.RpbPairOrBuilder getIndexesOrBuilder(int index)
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesOrBuilder in interface RiakKvPB.RpbContentOrBuilderpublic boolean hasDeleted()
optional bool deleted = 11;hasDeleted in interface RiakKvPB.RpbContentOrBuilderpublic boolean getDeleted()
optional bool deleted = 11;getDeleted in interface RiakKvPB.RpbContentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static RiakKvPB.RpbContent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbContent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbContent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbContent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbContent parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbContent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbContent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbContent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbContent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbContent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbContent.Builder newBuilder()
public RiakKvPB.RpbContent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakKvPB.RpbContent.Builder newBuilder(RiakKvPB.RpbContent prototype)
public RiakKvPB.RpbContent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakKvPB.RpbContent.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.