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, 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.DtFetchResp.Builder>
public RiakDtPB.DtFetchResp.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.DtFetchResp.Builder>
public RiakDtPB.DtFetchResp.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.DtFetchResp.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.DtFetchResp.Builder>
public RiakDtPB.DtFetchResp getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakDtPB.DtFetchResp build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtFetchResp buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtFetchResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtFetchResp.Builder>
IOException
public boolean hasContext()
optional bytes context = 1;
hasContext
in interface RiakDtPB.DtFetchRespOrBuilder
public com.google.protobuf.ByteString getContext()
optional bytes context = 1;
getContext
in interface RiakDtPB.DtFetchRespOrBuilder
public 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.DtFetchRespOrBuilder
public RiakDtPB.DtFetchResp.DataType getType()
required .DtFetchResp.DataType type = 2;
getType
in interface RiakDtPB.DtFetchRespOrBuilder
public 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.DtFetchRespOrBuilder
public RiakDtPB.DtValue getValue()
optional .DtValue value = 3;
getValue
in interface RiakDtPB.DtFetchRespOrBuilder
public 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.DtFetchRespOrBuilder
Copyright © 2016. All rights reserved.