public static final class RiakDtPB.DtFetchReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchReq.Builder> implements RiakDtPB.DtFetchReqOrBuilder
DtFetchReq
The equivalent of KV's "RpbGetReq", results in a DtFetchResp. The request-time options are limited to ones that are relevant to structured data-types.
Modifier and Type | Method and Description |
---|---|
RiakDtPB.DtFetchReq |
build() |
RiakDtPB.DtFetchReq |
buildPartial() |
RiakDtPB.DtFetchReq.Builder |
clear() |
RiakDtPB.DtFetchReq.Builder |
clearBasicQuorum()
optional bool basic_quorum = 6; |
RiakDtPB.DtFetchReq.Builder |
clearBucket()
required bytes bucket = 1; |
RiakDtPB.DtFetchReq.Builder |
clearIncludeContext()
optional bool include_context = 11 [default = true]; |
RiakDtPB.DtFetchReq.Builder |
clearKey()
required bytes key = 2; |
RiakDtPB.DtFetchReq.Builder |
clearNotfoundOk()
optional bool notfound_ok = 7; |
RiakDtPB.DtFetchReq.Builder |
clearNVal()
optional uint32 n_val = 10; |
RiakDtPB.DtFetchReq.Builder |
clearPr()
optional uint32 pr = 5; |
RiakDtPB.DtFetchReq.Builder |
clearR()
optional uint32 r = 4; |
RiakDtPB.DtFetchReq.Builder |
clearSloppyQuorum()
optional bool sloppy_quorum = 9; |
RiakDtPB.DtFetchReq.Builder |
clearTimeout()
optional uint32 timeout = 8; |
RiakDtPB.DtFetchReq.Builder |
clearType()
required bytes type = 3; |
RiakDtPB.DtFetchReq.Builder |
clone() |
boolean |
getBasicQuorum()
optional bool basic_quorum = 6; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
RiakDtPB.DtFetchReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncludeContext()
optional bool include_context = 11 [default = true]; |
com.google.protobuf.ByteString |
getKey()
required bytes key = 2; |
boolean |
getNotfoundOk()
optional bool notfound_ok = 7; |
int |
getNVal()
optional uint32 n_val = 10; |
int |
getPr()
optional uint32 pr = 5; |
int |
getR()
optional uint32 r = 4; |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 9; |
int |
getTimeout()
optional uint32 timeout = 8; |
com.google.protobuf.ByteString |
getType()
required bytes type = 3; |
boolean |
hasBasicQuorum()
optional bool basic_quorum = 6; |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasIncludeContext()
optional bool include_context = 11 [default = true]; |
boolean |
hasKey()
required bytes key = 2; |
boolean |
hasNotfoundOk()
optional bool notfound_ok = 7; |
boolean |
hasNVal()
optional uint32 n_val = 10; |
boolean |
hasPr()
optional uint32 pr = 5; |
boolean |
hasR()
optional uint32 r = 4; |
boolean |
hasSloppyQuorum()
optional bool sloppy_quorum = 9; |
boolean |
hasTimeout()
optional uint32 timeout = 8; |
boolean |
hasType()
required bytes type = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakDtPB.DtFetchReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtFetchReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakDtPB.DtFetchReq.Builder |
mergeFrom(RiakDtPB.DtFetchReq other) |
RiakDtPB.DtFetchReq.Builder |
setBasicQuorum(boolean value)
optional bool basic_quorum = 6; |
RiakDtPB.DtFetchReq.Builder |
setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1; |
RiakDtPB.DtFetchReq.Builder |
setIncludeContext(boolean value)
optional bool include_context = 11 [default = true]; |
RiakDtPB.DtFetchReq.Builder |
setKey(com.google.protobuf.ByteString value)
required bytes key = 2; |
RiakDtPB.DtFetchReq.Builder |
setNotfoundOk(boolean value)
optional bool notfound_ok = 7; |
RiakDtPB.DtFetchReq.Builder |
setNVal(int value)
optional uint32 n_val = 10; |
RiakDtPB.DtFetchReq.Builder |
setPr(int value)
optional uint32 pr = 5; |
RiakDtPB.DtFetchReq.Builder |
setR(int value)
optional uint32 r = 4; |
RiakDtPB.DtFetchReq.Builder |
setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 9; |
RiakDtPB.DtFetchReq.Builder |
setTimeout(int value)
optional uint32 timeout = 8; |
RiakDtPB.DtFetchReq.Builder |
setType(com.google.protobuf.ByteString value)
required bytes type = 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.DtFetchReq.Builder>
public RiakDtPB.DtFetchReq.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.DtFetchReq.Builder>
public RiakDtPB.DtFetchReq.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.DtFetchReq.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.DtFetchReq.Builder>
public RiakDtPB.DtFetchReq getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakDtPB.DtFetchReq build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtFetchReq buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtFetchReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtFetchReq.Builder>
public RiakDtPB.DtFetchReq.Builder mergeFrom(RiakDtPB.DtFetchReq other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtFetchReq.Builder>
public RiakDtPB.DtFetchReq.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.DtFetchReq.Builder>
IOException
public boolean hasBucket()
required bytes bucket = 1;
The identifier: bucket, key and bucket-type
hasBucket
in interface RiakDtPB.DtFetchReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
The identifier: bucket, key and bucket-type
getBucket
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1;
The identifier: bucket, key and bucket-type
public RiakDtPB.DtFetchReq.Builder clearBucket()
required bytes bucket = 1;
The identifier: bucket, key and bucket-type
public boolean hasKey()
required bytes key = 2;
hasKey
in interface RiakDtPB.DtFetchReqOrBuilder
public com.google.protobuf.ByteString getKey()
required bytes key = 2;
getKey
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setKey(com.google.protobuf.ByteString value)
required bytes key = 2;
public RiakDtPB.DtFetchReq.Builder clearKey()
required bytes key = 2;
public boolean hasType()
required bytes type = 3;
hasType
in interface RiakDtPB.DtFetchReqOrBuilder
public com.google.protobuf.ByteString getType()
required bytes type = 3;
getType
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setType(com.google.protobuf.ByteString value)
required bytes type = 3;
public RiakDtPB.DtFetchReq.Builder clearType()
required bytes type = 3;
public boolean hasR()
optional uint32 r = 4;
Request options
hasR
in interface RiakDtPB.DtFetchReqOrBuilder
public int getR()
optional uint32 r = 4;
Request options
getR
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setR(int value)
optional uint32 r = 4;
Request options
public RiakDtPB.DtFetchReq.Builder clearR()
optional uint32 r = 4;
Request options
public boolean hasPr()
optional uint32 pr = 5;
hasPr
in interface RiakDtPB.DtFetchReqOrBuilder
public int getPr()
optional uint32 pr = 5;
getPr
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setPr(int value)
optional uint32 pr = 5;
public RiakDtPB.DtFetchReq.Builder clearPr()
optional uint32 pr = 5;
public boolean hasBasicQuorum()
optional bool basic_quorum = 6;
hasBasicQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getBasicQuorum()
optional bool basic_quorum = 6;
getBasicQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setBasicQuorum(boolean value)
optional bool basic_quorum = 6;
public RiakDtPB.DtFetchReq.Builder clearBasicQuorum()
optional bool basic_quorum = 6;
public boolean hasNotfoundOk()
optional bool notfound_ok = 7;
hasNotfoundOk
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getNotfoundOk()
optional bool notfound_ok = 7;
getNotfoundOk
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setNotfoundOk(boolean value)
optional bool notfound_ok = 7;
public RiakDtPB.DtFetchReq.Builder clearNotfoundOk()
optional bool notfound_ok = 7;
public boolean hasTimeout()
optional uint32 timeout = 8;
hasTimeout
in interface RiakDtPB.DtFetchReqOrBuilder
public int getTimeout()
optional uint32 timeout = 8;
getTimeout
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setTimeout(int value)
optional uint32 timeout = 8;
public RiakDtPB.DtFetchReq.Builder clearTimeout()
optional uint32 timeout = 8;
public boolean hasSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
hasSloppyQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
getSloppyQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
public RiakDtPB.DtFetchReq.Builder clearSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
public boolean hasNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
hasNVal
in interface RiakDtPB.DtFetchReqOrBuilder
public int getNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
getNVal
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setNVal(int value)
optional uint32 n_val = 10;
Experimental, may change/disappear
public RiakDtPB.DtFetchReq.Builder clearNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
public boolean hasIncludeContext()
optional bool include_context = 11 [default = true];
For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
hasIncludeContext
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getIncludeContext()
optional bool include_context = 11 [default = true];
For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
getIncludeContext
in interface RiakDtPB.DtFetchReqOrBuilder
public RiakDtPB.DtFetchReq.Builder setIncludeContext(boolean value)
optional bool include_context = 11 [default = true];
For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
public RiakDtPB.DtFetchReq.Builder clearIncludeContext()
optional bool include_context = 11 [default = true];
For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
Copyright © 2016. All rights reserved.