public static final class RiakDtPB.DtFetchResp.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchResp.Builder> implements RiakDtPB.DtFetchRespOrBuilder
DtFetchResp
The response to a "Fetch" request. If the `include_context` option is specified, an opaque "context" value will be returned along with the user-friendly data. When sending an "Update" request, the client should send this context as well, similar to how one would send a vclock for KV updates. The `type` field indicates which value type to expect. When the `value` field is missing from the message, the client should interpret it as a "not found".
| Modifier and Type | Method and Description |
|---|---|
RiakDtPB.DtFetchResp |
build() |
RiakDtPB.DtFetchResp |
buildPartial() |
RiakDtPB.DtFetchResp.Builder |
clear() |
RiakDtPB.DtFetchResp.Builder |
clearContext()
optional bytes context = 1; |
RiakDtPB.DtFetchResp.Builder |
clearType()
required .DtFetchResp.DataType type = 2; |
RiakDtPB.DtFetchResp.Builder |
clearValue()
optional .DtValue value = 3; |
RiakDtPB.DtFetchResp.Builder |
clone() |
com.google.protobuf.ByteString |
getContext()
optional bytes context = 1; |
RiakDtPB.DtFetchResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RiakDtPB.DtFetchResp.DataType |
getType()
required .DtFetchResp.DataType type = 2; |
RiakDtPB.DtValue |
getValue()
optional .DtValue value = 3; |
RiakDtPB.DtValue.Builder |
getValueBuilder()
optional .DtValue value = 3; |
RiakDtPB.DtValueOrBuilder |
getValueOrBuilder()
optional .DtValue value = 3; |
boolean |
hasContext()
optional bytes context = 1; |
boolean |
hasType()
required .DtFetchResp.DataType type = 2; |
boolean |
hasValue()
optional .DtValue value = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakDtPB.DtFetchResp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtFetchResp.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakDtPB.DtFetchResp.Builder |
mergeFrom(RiakDtPB.DtFetchResp other) |
RiakDtPB.DtFetchResp.Builder |
mergeValue(RiakDtPB.DtValue value)
optional .DtValue value = 3; |
RiakDtPB.DtFetchResp.Builder |
setContext(com.google.protobuf.ByteString value)
optional bytes context = 1; |
RiakDtPB.DtFetchResp.Builder |
setType(RiakDtPB.DtFetchResp.DataType value)
required .DtFetchResp.DataType type = 2; |
RiakDtPB.DtFetchResp.Builder |
setValue(RiakDtPB.DtValue.Builder builderForValue)
optional .DtValue value = 3; |
RiakDtPB.DtFetchResp.Builder |
setValue(RiakDtPB.DtValue value)
optional .DtValue value = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchResp.Builder>public RiakDtPB.DtFetchResp.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchResp.Builder>public RiakDtPB.DtFetchResp.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchResp.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchResp.Builder>public RiakDtPB.DtFetchResp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RiakDtPB.DtFetchResp build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RiakDtPB.DtFetchResp buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RiakDtPB.DtFetchResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtFetchResp.Builder>public RiakDtPB.DtFetchResp.Builder mergeFrom(RiakDtPB.DtFetchResp other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchResp.Builder>public RiakDtPB.DtFetchResp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtFetchResp.Builder>IOExceptionpublic boolean hasContext()
optional bytes context = 1;hasContext in interface RiakDtPB.DtFetchRespOrBuilderpublic com.google.protobuf.ByteString getContext()
optional bytes context = 1;getContext in interface RiakDtPB.DtFetchRespOrBuilderpublic RiakDtPB.DtFetchResp.Builder setContext(com.google.protobuf.ByteString value)
optional bytes context = 1;public RiakDtPB.DtFetchResp.Builder clearContext()
optional bytes context = 1;public boolean hasType()
required .DtFetchResp.DataType type = 2;hasType in interface RiakDtPB.DtFetchRespOrBuilderpublic RiakDtPB.DtFetchResp.DataType getType()
required .DtFetchResp.DataType type = 2;getType in interface RiakDtPB.DtFetchRespOrBuilderpublic RiakDtPB.DtFetchResp.Builder setType(RiakDtPB.DtFetchResp.DataType value)
required .DtFetchResp.DataType type = 2;public RiakDtPB.DtFetchResp.Builder clearType()
required .DtFetchResp.DataType type = 2;public boolean hasValue()
optional .DtValue value = 3;hasValue in interface RiakDtPB.DtFetchRespOrBuilderpublic RiakDtPB.DtValue getValue()
optional .DtValue value = 3;getValue in interface RiakDtPB.DtFetchRespOrBuilderpublic RiakDtPB.DtFetchResp.Builder setValue(RiakDtPB.DtValue value)
optional .DtValue value = 3;public RiakDtPB.DtFetchResp.Builder setValue(RiakDtPB.DtValue.Builder builderForValue)
optional .DtValue value = 3;public RiakDtPB.DtFetchResp.Builder mergeValue(RiakDtPB.DtValue value)
optional .DtValue value = 3;public RiakDtPB.DtFetchResp.Builder clearValue()
optional .DtValue value = 3;public RiakDtPB.DtValue.Builder getValueBuilder()
optional .DtValue value = 3;public RiakDtPB.DtValueOrBuilder getValueOrBuilder()
optional .DtValue value = 3;getValueOrBuilder in interface RiakDtPB.DtFetchRespOrBuilderCopyright © 2016. All rights reserved.