public static final class RiakKvPB.RpbCoverageReq extends com.google.protobuf.GeneratedMessage implements RiakKvPB.RpbCoverageReqOrBuilder
RpbCoverageReq
Request a segmented coverage plan for the specified bucket
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakKvPB.RpbCoverageReq.Builder
Protobuf type
RpbCoverageReq |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BUCKET_FIELD_NUMBER |
static int |
MIN_PARTITIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbCoverageReq> |
PARSER |
static int |
REPLACE_COVER_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UNAVAILABLE_COVER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 2; |
static RiakKvPB.RpbCoverageReq |
getDefaultInstance() |
RiakKvPB.RpbCoverageReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMinPartitions()
optional uint32 min_partitions = 3; |
com.google.protobuf.Parser<RiakKvPB.RpbCoverageReq> |
getParserForType() |
com.google.protobuf.ByteString |
getReplaceCover()
optional bytes replace_cover = 4; |
int |
getSerializedSize() |
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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static RiakKvPB.RpbCoverageReq.Builder |
newBuilder() |
static RiakKvPB.RpbCoverageReq.Builder |
newBuilder(RiakKvPB.RpbCoverageReq prototype) |
RiakKvPB.RpbCoverageReq.Builder |
newBuilderForType() |
protected RiakKvPB.RpbCoverageReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbCoverageReq |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbCoverageReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbCoverageReq |
parseFrom(byte[] data) |
static RiakKvPB.RpbCoverageReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbCoverageReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbCoverageReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbCoverageReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbCoverageReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbCoverageReq |
parseFrom(InputStream input) |
static RiakKvPB.RpbCoverageReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbCoverageReq.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RiakKvPB.RpbCoverageReq> PARSER
public static final int TYPE_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
public static final int MIN_PARTITIONS_FIELD_NUMBER
public static final int REPLACE_COVER_FIELD_NUMBER
public static final int UNAVAILABLE_COVER_FIELD_NUMBER
public static RiakKvPB.RpbCoverageReq getDefaultInstance()
public RiakKvPB.RpbCoverageReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RiakKvPB.RpbCoverageReq> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasType()
optional bytes type = 1;
Bucket type, if not set we assume the 'default' type
hasType in interface RiakKvPB.RpbCoverageReqOrBuilderpublic com.google.protobuf.ByteString getType()
optional bytes type = 1;
Bucket type, if not set we assume the 'default' type
getType in interface RiakKvPB.RpbCoverageReqOrBuilderpublic boolean hasBucket()
required bytes bucket = 2;hasBucket in interface RiakKvPB.RpbCoverageReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 2;getBucket in interface RiakKvPB.RpbCoverageReqOrBuilderpublic 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.RpbCoverageReqOrBuilderpublic 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.RpbCoverageReqOrBuilderpublic boolean hasReplaceCover()
optional bytes replace_cover = 4;
For failure recovery
hasReplaceCover in interface RiakKvPB.RpbCoverageReqOrBuilderpublic com.google.protobuf.ByteString getReplaceCover()
optional bytes replace_cover = 4;
For failure recovery
getReplaceCover in interface RiakKvPB.RpbCoverageReqOrBuilderpublic 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.RpbCoverageReqOrBuilderpublic 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.RpbCoverageReqOrBuilderpublic 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.RpbCoverageReqOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbCoverageReq parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbCoverageReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbCoverageReq.Builder newBuilder()
public RiakKvPB.RpbCoverageReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakKvPB.RpbCoverageReq.Builder newBuilder(RiakKvPB.RpbCoverageReq prototype)
public RiakKvPB.RpbCoverageReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakKvPB.RpbCoverageReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.