public static final class RiakDtPB.DtUpdateResp.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateResp.Builder> 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 | Method and Description |
---|---|
RiakDtPB.DtUpdateResp.Builder |
addAllGsetValue(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes gset_value = 7; |
RiakDtPB.DtUpdateResp.Builder |
addAllMapValue(Iterable<? extends RiakDtPB.MapEntry> values)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
addAllSetValue(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes set_value = 4; |
RiakDtPB.DtUpdateResp.Builder |
addGsetValue(com.google.protobuf.ByteString value)
repeated bytes gset_value = 7; |
RiakDtPB.DtUpdateResp.Builder |
addMapValue(int index,
RiakDtPB.MapEntry.Builder builderForValue)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
addMapValue(int index,
RiakDtPB.MapEntry value)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
addMapValue(RiakDtPB.MapEntry.Builder builderForValue)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
addMapValue(RiakDtPB.MapEntry value)
repeated .MapEntry map_value = 5; |
RiakDtPB.MapEntry.Builder |
addMapValueBuilder()
repeated .MapEntry map_value = 5; |
RiakDtPB.MapEntry.Builder |
addMapValueBuilder(int index)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
addSetValue(com.google.protobuf.ByteString value)
repeated bytes set_value = 4; |
RiakDtPB.DtUpdateResp |
build() |
RiakDtPB.DtUpdateResp |
buildPartial() |
RiakDtPB.DtUpdateResp.Builder |
clear() |
RiakDtPB.DtUpdateResp.Builder |
clearContext()
optional bytes context = 2; |
RiakDtPB.DtUpdateResp.Builder |
clearCounterValue()
optional sint64 counter_value = 3; |
RiakDtPB.DtUpdateResp.Builder |
clearGsetValue()
repeated bytes gset_value = 7; |
RiakDtPB.DtUpdateResp.Builder |
clearHllValue()
optional uint64 hll_value = 6; |
RiakDtPB.DtUpdateResp.Builder |
clearKey()
optional bytes key = 1; |
RiakDtPB.DtUpdateResp.Builder |
clearMapValue()
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
clearSetValue()
repeated bytes set_value = 4; |
RiakDtPB.DtUpdateResp.Builder |
clone() |
com.google.protobuf.ByteString |
getContext()
optional bytes context = 2; |
long |
getCounterValue()
optional sint64 counter_value = 3; |
RiakDtPB.DtUpdateResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
RiakDtPB.MapEntry.Builder |
getMapValueBuilder(int index)
repeated .MapEntry map_value = 5; |
List<RiakDtPB.MapEntry.Builder> |
getMapValueBuilderList()
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.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; |
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() |
RiakDtPB.DtUpdateResp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtUpdateResp.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakDtPB.DtUpdateResp.Builder |
mergeFrom(RiakDtPB.DtUpdateResp other) |
RiakDtPB.DtUpdateResp.Builder |
removeMapValue(int index)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
setContext(com.google.protobuf.ByteString value)
optional bytes context = 2; |
RiakDtPB.DtUpdateResp.Builder |
setCounterValue(long value)
optional sint64 counter_value = 3; |
RiakDtPB.DtUpdateResp.Builder |
setGsetValue(int index,
com.google.protobuf.ByteString value)
repeated bytes gset_value = 7; |
RiakDtPB.DtUpdateResp.Builder |
setHllValue(long value)
optional uint64 hll_value = 6; |
RiakDtPB.DtUpdateResp.Builder |
setKey(com.google.protobuf.ByteString value)
optional bytes key = 1; |
RiakDtPB.DtUpdateResp.Builder |
setMapValue(int index,
RiakDtPB.MapEntry.Builder builderForValue)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
setMapValue(int index,
RiakDtPB.MapEntry value)
repeated .MapEntry map_value = 5; |
RiakDtPB.DtUpdateResp.Builder |
setSetValue(int index,
com.google.protobuf.ByteString value)
repeated bytes set_value = 4; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
public RiakDtPB.DtUpdateResp.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
public RiakDtPB.DtUpdateResp.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
public RiakDtPB.DtUpdateResp getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakDtPB.DtUpdateResp build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtUpdateResp buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtUpdateResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
public RiakDtPB.DtUpdateResp.Builder mergeFrom(RiakDtPB.DtUpdateResp other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
public RiakDtPB.DtUpdateResp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtUpdateResp.Builder>
IOException
public boolean hasKey()
optional bytes key = 1;
The key, if assigned by the server
hasKey
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getKey()
optional bytes key = 1;
The key, if assigned by the server
getKey
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setKey(com.google.protobuf.ByteString value)
optional bytes key = 1;
The key, if assigned by the server
public RiakDtPB.DtUpdateResp.Builder clearKey()
optional bytes key = 1;
The key, if assigned by the server
public boolean hasContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
hasContext
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
getContext
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setContext(com.google.protobuf.ByteString value)
optional bytes context = 2;
The opaque update context and value, if return_body was set.
public RiakDtPB.DtUpdateResp.Builder clearContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
public boolean hasCounterValue()
optional sint64 counter_value = 3;
hasCounterValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public long getCounterValue()
optional sint64 counter_value = 3;
getCounterValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setCounterValue(long value)
optional sint64 counter_value = 3;
public RiakDtPB.DtUpdateResp.Builder clearCounterValue()
optional sint64 counter_value = 3;
public List<com.google.protobuf.ByteString> getSetValueList()
repeated bytes set_value = 4;
getSetValueList
in interface RiakDtPB.DtUpdateRespOrBuilder
public int getSetValueCount()
repeated bytes set_value = 4;
getSetValueCount
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getSetValue(int index)
repeated bytes set_value = 4;
getSetValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setSetValue(int index, com.google.protobuf.ByteString value)
repeated bytes set_value = 4;
public RiakDtPB.DtUpdateResp.Builder addSetValue(com.google.protobuf.ByteString value)
repeated bytes set_value = 4;
public RiakDtPB.DtUpdateResp.Builder addAllSetValue(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes set_value = 4;
public RiakDtPB.DtUpdateResp.Builder clearSetValue()
repeated bytes set_value = 4;
public List<RiakDtPB.MapEntry> getMapValueList()
repeated .MapEntry map_value = 5;
getMapValueList
in interface RiakDtPB.DtUpdateRespOrBuilder
public int getMapValueCount()
repeated .MapEntry map_value = 5;
getMapValueCount
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.MapEntry getMapValue(int index)
repeated .MapEntry map_value = 5;
getMapValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setMapValue(int index, RiakDtPB.MapEntry value)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder setMapValue(int index, RiakDtPB.MapEntry.Builder builderForValue)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder addMapValue(RiakDtPB.MapEntry value)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder addMapValue(int index, RiakDtPB.MapEntry value)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder addMapValue(RiakDtPB.MapEntry.Builder builderForValue)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder addMapValue(int index, RiakDtPB.MapEntry.Builder builderForValue)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder addAllMapValue(Iterable<? extends RiakDtPB.MapEntry> values)
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder clearMapValue()
repeated .MapEntry map_value = 5;
public RiakDtPB.DtUpdateResp.Builder removeMapValue(int index)
repeated .MapEntry map_value = 5;
public RiakDtPB.MapEntry.Builder getMapValueBuilder(int index)
repeated .MapEntry map_value = 5;
public RiakDtPB.MapEntryOrBuilder getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 5;
getMapValueOrBuilder
in interface RiakDtPB.DtUpdateRespOrBuilder
public List<? extends RiakDtPB.MapEntryOrBuilder> getMapValueOrBuilderList()
repeated .MapEntry map_value = 5;
getMapValueOrBuilderList
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.MapEntry.Builder addMapValueBuilder()
repeated .MapEntry map_value = 5;
public RiakDtPB.MapEntry.Builder addMapValueBuilder(int index)
repeated .MapEntry map_value = 5;
public List<RiakDtPB.MapEntry.Builder> getMapValueBuilderList()
repeated .MapEntry map_value = 5;
public boolean hasHllValue()
optional uint64 hll_value = 6;
hasHllValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public long getHllValue()
optional uint64 hll_value = 6;
getHllValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setHllValue(long value)
optional uint64 hll_value = 6;
public RiakDtPB.DtUpdateResp.Builder clearHllValue()
optional uint64 hll_value = 6;
public List<com.google.protobuf.ByteString> getGsetValueList()
repeated bytes gset_value = 7;
getGsetValueList
in interface RiakDtPB.DtUpdateRespOrBuilder
public int getGsetValueCount()
repeated bytes gset_value = 7;
getGsetValueCount
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getGsetValue(int index)
repeated bytes gset_value = 7;
getGsetValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.DtUpdateResp.Builder setGsetValue(int index, com.google.protobuf.ByteString value)
repeated bytes gset_value = 7;
public RiakDtPB.DtUpdateResp.Builder addGsetValue(com.google.protobuf.ByteString value)
repeated bytes gset_value = 7;
public RiakDtPB.DtUpdateResp.Builder addAllGsetValue(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes gset_value = 7;
public RiakDtPB.DtUpdateResp.Builder clearGsetValue()
repeated bytes gset_value = 7;
Copyright © 2016. All rights reserved.