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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<RiakKvPB.RpbContent> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasValue()
required bytes value = 1;
hasValue
in interface RiakKvPB.RpbContentOrBuilder
public com.google.protobuf.ByteString getValue()
required bytes value = 1;
getValue
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasContentType()
optional bytes content_type = 2;
the media type/format
hasContentType
in interface RiakKvPB.RpbContentOrBuilder
public com.google.protobuf.ByteString getContentType()
optional bytes content_type = 2;
the media type/format
getContentType
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasCharset()
optional bytes charset = 3;
hasCharset
in interface RiakKvPB.RpbContentOrBuilder
public com.google.protobuf.ByteString getCharset()
optional bytes charset = 3;
getCharset
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasContentEncoding()
optional bytes content_encoding = 4;
hasContentEncoding
in interface RiakKvPB.RpbContentOrBuilder
public com.google.protobuf.ByteString getContentEncoding()
optional bytes content_encoding = 4;
getContentEncoding
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasVtag()
optional bytes vtag = 5;
hasVtag
in interface RiakKvPB.RpbContentOrBuilder
public com.google.protobuf.ByteString getVtag()
optional bytes vtag = 5;
getVtag
in interface RiakKvPB.RpbContentOrBuilder
public List<RiakKvPB.RpbLink> getLinksList()
repeated .RpbLink links = 6;
links to other resources
getLinksList
in interface RiakKvPB.RpbContentOrBuilder
public List<? extends RiakKvPB.RpbLinkOrBuilder> getLinksOrBuilderList()
repeated .RpbLink links = 6;
links to other resources
getLinksOrBuilderList
in interface RiakKvPB.RpbContentOrBuilder
public int getLinksCount()
repeated .RpbLink links = 6;
links to other resources
getLinksCount
in interface RiakKvPB.RpbContentOrBuilder
public RiakKvPB.RpbLink getLinks(int index)
repeated .RpbLink links = 6;
links to other resources
getLinks
in interface RiakKvPB.RpbContentOrBuilder
public RiakKvPB.RpbLinkOrBuilder getLinksOrBuilder(int index)
repeated .RpbLink links = 6;
links to other resources
getLinksOrBuilder
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasLastMod()
optional uint32 last_mod = 7;
hasLastMod
in interface RiakKvPB.RpbContentOrBuilder
public int getLastMod()
optional uint32 last_mod = 7;
getLastMod
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasLastModUsecs()
optional uint32 last_mod_usecs = 8;
hasLastModUsecs
in interface RiakKvPB.RpbContentOrBuilder
public int getLastModUsecs()
optional uint32 last_mod_usecs = 8;
getLastModUsecs
in interface RiakKvPB.RpbContentOrBuilder
public List<RiakPB.RpbPair> getUsermetaList()
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaList
in interface RiakKvPB.RpbContentOrBuilder
public List<? extends RiakPB.RpbPairOrBuilder> getUsermetaOrBuilderList()
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaOrBuilderList
in interface RiakKvPB.RpbContentOrBuilder
public int getUsermetaCount()
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaCount
in interface RiakKvPB.RpbContentOrBuilder
public RiakPB.RpbPair getUsermeta(int index)
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermeta
in interface RiakKvPB.RpbContentOrBuilder
public RiakPB.RpbPairOrBuilder getUsermetaOrBuilder(int index)
repeated .RpbPair usermeta = 9;
user metadata stored with the object
getUsermetaOrBuilder
in interface RiakKvPB.RpbContentOrBuilder
public List<RiakPB.RpbPair> getIndexesList()
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesList
in interface RiakKvPB.RpbContentOrBuilder
public List<? extends RiakPB.RpbPairOrBuilder> getIndexesOrBuilderList()
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesOrBuilderList
in interface RiakKvPB.RpbContentOrBuilder
public int getIndexesCount()
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesCount
in interface RiakKvPB.RpbContentOrBuilder
public RiakPB.RpbPair getIndexes(int index)
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexes
in interface RiakKvPB.RpbContentOrBuilder
public RiakPB.RpbPairOrBuilder getIndexesOrBuilder(int index)
repeated .RpbPair indexes = 10;
user metadata stored with the object
getIndexesOrBuilder
in interface RiakKvPB.RpbContentOrBuilder
public boolean hasDeleted()
optional bool deleted = 11;
hasDeleted
in interface RiakKvPB.RpbContentOrBuilder
public boolean getDeleted()
optional bool deleted = 11;
getDeleted
in interface RiakKvPB.RpbContentOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static RiakKvPB.RpbContent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbContent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbContent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbContent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbContent parseFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbContent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbContent parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbContent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbContent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakKvPB.RpbContent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbContent.Builder newBuilder()
public RiakKvPB.RpbContent.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakKvPB.RpbContent.Builder newBuilder(RiakKvPB.RpbContent prototype)
public RiakKvPB.RpbContent.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakKvPB.RpbContent.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.