public static final class RiakKvPB.RpbCoverageReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbCoverageReq.Builder> implements RiakKvPB.RpbCoverageReqOrBuilder
RpbCoverageReq
Request a segmented coverage plan for the specified bucket
Modifier and Type | Method and Description |
---|---|
RiakKvPB.RpbCoverageReq.Builder |
addAllUnavailableCover(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes unavailable_cover = 5; |
RiakKvPB.RpbCoverageReq.Builder |
addUnavailableCover(com.google.protobuf.ByteString value)
repeated bytes unavailable_cover = 5; |
RiakKvPB.RpbCoverageReq |
build() |
RiakKvPB.RpbCoverageReq |
buildPartial() |
RiakKvPB.RpbCoverageReq.Builder |
clear() |
RiakKvPB.RpbCoverageReq.Builder |
clearBucket()
required bytes bucket = 2; |
RiakKvPB.RpbCoverageReq.Builder |
clearMinPartitions()
optional uint32 min_partitions = 3; |
RiakKvPB.RpbCoverageReq.Builder |
clearReplaceCover()
optional bytes replace_cover = 4; |
RiakKvPB.RpbCoverageReq.Builder |
clearType()
optional bytes type = 1; |
RiakKvPB.RpbCoverageReq.Builder |
clearUnavailableCover()
repeated bytes unavailable_cover = 5; |
RiakKvPB.RpbCoverageReq.Builder |
clone() |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 2; |
RiakKvPB.RpbCoverageReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMinPartitions()
optional uint32 min_partitions = 3; |
com.google.protobuf.ByteString |
getReplaceCover()
optional bytes replace_cover = 4; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 1; |
com.google.protobuf.ByteString |
getUnavailableCover(int index)
repeated bytes unavailable_cover = 5; |
int |
getUnavailableCoverCount()
repeated bytes unavailable_cover = 5; |
List<com.google.protobuf.ByteString> |
getUnavailableCoverList()
repeated bytes unavailable_cover = 5; |
boolean |
hasBucket()
required bytes bucket = 2; |
boolean |
hasMinPartitions()
optional uint32 min_partitions = 3; |
boolean |
hasReplaceCover()
optional bytes replace_cover = 4; |
boolean |
hasType()
optional bytes type = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakKvPB.RpbCoverageReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbCoverageReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakKvPB.RpbCoverageReq.Builder |
mergeFrom(RiakKvPB.RpbCoverageReq other) |
RiakKvPB.RpbCoverageReq.Builder |
setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 2; |
RiakKvPB.RpbCoverageReq.Builder |
setMinPartitions(int value)
optional uint32 min_partitions = 3; |
RiakKvPB.RpbCoverageReq.Builder |
setReplaceCover(com.google.protobuf.ByteString value)
optional bytes replace_cover = 4; |
RiakKvPB.RpbCoverageReq.Builder |
setType(com.google.protobuf.ByteString value)
optional bytes type = 1; |
RiakKvPB.RpbCoverageReq.Builder |
setUnavailableCover(int index,
com.google.protobuf.ByteString value)
repeated bytes unavailable_cover = 5; |
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<RiakKvPB.RpbCoverageReq.Builder>
public RiakKvPB.RpbCoverageReq.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<RiakKvPB.RpbCoverageReq.Builder>
public RiakKvPB.RpbCoverageReq.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<RiakKvPB.RpbCoverageReq.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<RiakKvPB.RpbCoverageReq.Builder>
public RiakKvPB.RpbCoverageReq getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakKvPB.RpbCoverageReq build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbCoverageReq buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbCoverageReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbCoverageReq.Builder>
public RiakKvPB.RpbCoverageReq.Builder mergeFrom(RiakKvPB.RpbCoverageReq other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbCoverageReq.Builder>
public RiakKvPB.RpbCoverageReq.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<RiakKvPB.RpbCoverageReq.Builder>
IOException
public boolean hasType()
optional bytes type = 1;
Bucket type, if not set we assume the 'default' type
hasType
in interface RiakKvPB.RpbCoverageReqOrBuilder
public com.google.protobuf.ByteString getType()
optional bytes type = 1;
Bucket type, if not set we assume the 'default' type
getType
in interface RiakKvPB.RpbCoverageReqOrBuilder
public RiakKvPB.RpbCoverageReq.Builder setType(com.google.protobuf.ByteString value)
optional bytes type = 1;
Bucket type, if not set we assume the 'default' type
public RiakKvPB.RpbCoverageReq.Builder clearType()
optional bytes type = 1;
Bucket type, if not set we assume the 'default' type
public boolean hasBucket()
required bytes bucket = 2;
hasBucket
in interface RiakKvPB.RpbCoverageReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 2;
getBucket
in interface RiakKvPB.RpbCoverageReqOrBuilder
public RiakKvPB.RpbCoverageReq.Builder setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 2;
public RiakKvPB.RpbCoverageReq.Builder clearBucket()
required bytes bucket = 2;
public boolean hasMinPartitions()
optional uint32 min_partitions = 3;
If undefined, we build a normal coverage plan. If <ring_size, we build a coverage plan with exactly ring_size entries, anything larger will have a power of 2 entries covering keyspaces smaller than a partition
hasMinPartitions
in interface RiakKvPB.RpbCoverageReqOrBuilder
public int getMinPartitions()
optional uint32 min_partitions = 3;
If undefined, we build a normal coverage plan. If <ring_size, we build a coverage plan with exactly ring_size entries, anything larger will have a power of 2 entries covering keyspaces smaller than a partition
getMinPartitions
in interface RiakKvPB.RpbCoverageReqOrBuilder
public RiakKvPB.RpbCoverageReq.Builder setMinPartitions(int value)
optional uint32 min_partitions = 3;
If undefined, we build a normal coverage plan. If <ring_size, we build a coverage plan with exactly ring_size entries, anything larger will have a power of 2 entries covering keyspaces smaller than a partition
public RiakKvPB.RpbCoverageReq.Builder clearMinPartitions()
optional uint32 min_partitions = 3;
If undefined, we build a normal coverage plan. If <ring_size, we build a coverage plan with exactly ring_size entries, anything larger will have a power of 2 entries covering keyspaces smaller than a partition
public boolean hasReplaceCover()
optional bytes replace_cover = 4;
For failure recovery
hasReplaceCover
in interface RiakKvPB.RpbCoverageReqOrBuilder
public com.google.protobuf.ByteString getReplaceCover()
optional bytes replace_cover = 4;
For failure recovery
getReplaceCover
in interface RiakKvPB.RpbCoverageReqOrBuilder
public RiakKvPB.RpbCoverageReq.Builder setReplaceCover(com.google.protobuf.ByteString value)
optional bytes replace_cover = 4;
For failure recovery
public RiakKvPB.RpbCoverageReq.Builder clearReplaceCover()
optional bytes replace_cover = 4;
For failure recovery
public List<com.google.protobuf.ByteString> getUnavailableCoverList()
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
getUnavailableCoverList
in interface RiakKvPB.RpbCoverageReqOrBuilder
public int getUnavailableCoverCount()
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
getUnavailableCoverCount
in interface RiakKvPB.RpbCoverageReqOrBuilder
public com.google.protobuf.ByteString getUnavailableCover(int index)
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
getUnavailableCover
in interface RiakKvPB.RpbCoverageReqOrBuilder
public RiakKvPB.RpbCoverageReq.Builder setUnavailableCover(int index, com.google.protobuf.ByteString value)
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
public RiakKvPB.RpbCoverageReq.Builder addUnavailableCover(com.google.protobuf.ByteString value)
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
public RiakKvPB.RpbCoverageReq.Builder addAllUnavailableCover(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
public RiakKvPB.RpbCoverageReq.Builder clearUnavailableCover()
repeated bytes unavailable_cover = 5;
Other coverage contexts that have failed to assist Riak in deciding what nodes to avoid
Copyright © 2016. All rights reserved.