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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<RiakKvPB.RpbCoverageReq> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbCoverageReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbCoverageReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbCoverageReq parseFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbCoverageReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbCoverageReq parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbCoverageReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakKvPB.RpbCoverageReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbCoverageReq.Builder newBuilder()
public RiakKvPB.RpbCoverageReq.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakKvPB.RpbCoverageReq.Builder newBuilder(RiakKvPB.RpbCoverageReq prototype)
public RiakKvPB.RpbCoverageReq.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakKvPB.RpbCoverageReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.