public static final class RiakDtPB.DtUpdateResp extends com.google.protobuf.GeneratedMessage implements RiakDtPB.DtUpdateRespOrBuilder
DtUpdateResp
The equivalent of KV's "RpbPutResp", contains the assigned key if it was assigned by the server, and the resulting value and context if return_body was set.
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakDtPB.DtUpdateResp.Builder
Protobuf type
DtUpdateResp |
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 |
CONTEXT_FIELD_NUMBER |
static int |
COUNTER_VALUE_FIELD_NUMBER |
static int |
GSET_VALUE_FIELD_NUMBER |
static int |
HLL_VALUE_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
MAP_VALUE_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.DtUpdateResp> |
PARSER |
static int |
SET_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getContext()
optional bytes context = 2; |
long |
getCounterValue()
optional sint64 counter_value = 3; |
static RiakDtPB.DtUpdateResp |
getDefaultInstance() |
RiakDtPB.DtUpdateResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getGsetValue(int index)
repeated bytes gset_value = 7; |
int |
getGsetValueCount()
repeated bytes gset_value = 7; |
List<com.google.protobuf.ByteString> |
getGsetValueList()
repeated bytes gset_value = 7; |
long |
getHllValue()
optional uint64 hll_value = 6; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 1; |
RiakDtPB.MapEntry |
getMapValue(int index)
repeated .MapEntry map_value = 5; |
int |
getMapValueCount()
repeated .MapEntry map_value = 5; |
List<RiakDtPB.MapEntry> |
getMapValueList()
repeated .MapEntry map_value = 5; |
RiakDtPB.MapEntryOrBuilder |
getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 5; |
List<? extends RiakDtPB.MapEntryOrBuilder> |
getMapValueOrBuilderList()
repeated .MapEntry map_value = 5; |
com.google.protobuf.Parser<RiakDtPB.DtUpdateResp> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSetValue(int index)
repeated bytes set_value = 4; |
int |
getSetValueCount()
repeated bytes set_value = 4; |
List<com.google.protobuf.ByteString> |
getSetValueList()
repeated bytes set_value = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContext()
optional bytes context = 2; |
boolean |
hasCounterValue()
optional sint64 counter_value = 3; |
boolean |
hasHllValue()
optional uint64 hll_value = 6; |
boolean |
hasKey()
optional bytes key = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakDtPB.DtUpdateResp.Builder |
newBuilder() |
static RiakDtPB.DtUpdateResp.Builder |
newBuilder(RiakDtPB.DtUpdateResp prototype) |
RiakDtPB.DtUpdateResp.Builder |
newBuilderForType() |
protected RiakDtPB.DtUpdateResp.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.DtUpdateResp |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.DtUpdateResp |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(byte[] data) |
static RiakDtPB.DtUpdateResp |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(InputStream input) |
static RiakDtPB.DtUpdateResp |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtUpdateResp.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<RiakDtPB.DtUpdateResp> PARSER
public static final int KEY_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
public static final int COUNTER_VALUE_FIELD_NUMBER
public static final int SET_VALUE_FIELD_NUMBER
public static final int MAP_VALUE_FIELD_NUMBER
public static final int HLL_VALUE_FIELD_NUMBER
public static final int GSET_VALUE_FIELD_NUMBER
public static RiakDtPB.DtUpdateResp getDefaultInstance()
public RiakDtPB.DtUpdateResp 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<RiakDtPB.DtUpdateResp> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasKey()
optional bytes key = 1;
The key, if assigned by the server
hasKey in interface RiakDtPB.DtUpdateRespOrBuilderpublic com.google.protobuf.ByteString getKey()
optional bytes key = 1;
The key, if assigned by the server
getKey in interface RiakDtPB.DtUpdateRespOrBuilderpublic boolean hasContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
hasContext in interface RiakDtPB.DtUpdateRespOrBuilderpublic com.google.protobuf.ByteString getContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
getContext in interface RiakDtPB.DtUpdateRespOrBuilderpublic boolean hasCounterValue()
optional sint64 counter_value = 3;hasCounterValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic long getCounterValue()
optional sint64 counter_value = 3;getCounterValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic List<com.google.protobuf.ByteString> getSetValueList()
repeated bytes set_value = 4;getSetValueList in interface RiakDtPB.DtUpdateRespOrBuilderpublic int getSetValueCount()
repeated bytes set_value = 4;getSetValueCount in interface RiakDtPB.DtUpdateRespOrBuilderpublic com.google.protobuf.ByteString getSetValue(int index)
repeated bytes set_value = 4;getSetValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic List<RiakDtPB.MapEntry> getMapValueList()
repeated .MapEntry map_value = 5;getMapValueList in interface RiakDtPB.DtUpdateRespOrBuilderpublic List<? extends RiakDtPB.MapEntryOrBuilder> getMapValueOrBuilderList()
repeated .MapEntry map_value = 5;getMapValueOrBuilderList in interface RiakDtPB.DtUpdateRespOrBuilderpublic int getMapValueCount()
repeated .MapEntry map_value = 5;getMapValueCount in interface RiakDtPB.DtUpdateRespOrBuilderpublic RiakDtPB.MapEntry getMapValue(int index)
repeated .MapEntry map_value = 5;getMapValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic RiakDtPB.MapEntryOrBuilder getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 5;getMapValueOrBuilder in interface RiakDtPB.DtUpdateRespOrBuilderpublic boolean hasHllValue()
optional uint64 hll_value = 6;hasHllValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic long getHllValue()
optional uint64 hll_value = 6;getHllValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic List<com.google.protobuf.ByteString> getGsetValueList()
repeated bytes gset_value = 7;getGsetValueList in interface RiakDtPB.DtUpdateRespOrBuilderpublic int getGsetValueCount()
repeated bytes gset_value = 7;getGsetValueCount in interface RiakDtPB.DtUpdateRespOrBuilderpublic com.google.protobuf.ByteString getGsetValue(int index)
repeated bytes gset_value = 7;getGsetValue in interface RiakDtPB.DtUpdateRespOrBuilderpublic 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 RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateResp parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateResp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateResp.Builder newBuilder()
public RiakDtPB.DtUpdateResp.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakDtPB.DtUpdateResp.Builder newBuilder(RiakDtPB.DtUpdateResp prototype)
public RiakDtPB.DtUpdateResp.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakDtPB.DtUpdateResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.