public static final class AdminProtos.WALEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder> implements AdminProtos.WALEntryOrBuilder
WALEntry
Protocol buffer version of WAL for replication
| Modifier and Type | Method and Description |
|---|---|
AdminProtos.WALEntry.Builder |
addAllKeyValueBytes(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes key_value_bytes = 2; |
AdminProtos.WALEntry.Builder |
addKeyValueBytes(com.google.protobuf.ByteString value)
repeated bytes key_value_bytes = 2; |
AdminProtos.WALEntry |
build() |
AdminProtos.WALEntry |
buildPartial() |
AdminProtos.WALEntry.Builder |
clear() |
AdminProtos.WALEntry.Builder |
clearAssociatedCellCount()
optional int32 associated_cell_count = 3; |
AdminProtos.WALEntry.Builder |
clearKey()
required .WALKey key = 1; |
AdminProtos.WALEntry.Builder |
clearKeyValueBytes()
repeated bytes key_value_bytes = 2; |
AdminProtos.WALEntry.Builder |
clone() |
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 3; |
AdminProtos.WALEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
WALProtos.WALKey |
getKey()
required .WALKey key = 1; |
WALProtos.WALKey.Builder |
getKeyBuilder()
required .WALKey key = 1; |
WALProtos.WALKeyOrBuilder |
getKeyOrBuilder()
required .WALKey key = 1; |
com.google.protobuf.ByteString |
getKeyValueBytes(int index)
repeated bytes key_value_bytes = 2; |
int |
getKeyValueBytesCount()
repeated bytes key_value_bytes = 2; |
List<com.google.protobuf.ByteString> |
getKeyValueBytesList()
repeated bytes key_value_bytes = 2; |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 3; |
boolean |
hasKey()
required .WALKey key = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AdminProtos.WALEntry.Builder |
mergeFrom(AdminProtos.WALEntry other) |
AdminProtos.WALEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdminProtos.WALEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
AdminProtos.WALEntry.Builder |
mergeKey(WALProtos.WALKey value)
required .WALKey key = 1; |
AdminProtos.WALEntry.Builder |
setAssociatedCellCount(int value)
optional int32 associated_cell_count = 3; |
AdminProtos.WALEntry.Builder |
setKey(WALProtos.WALKey.Builder builderForValue)
required .WALKey key = 1; |
AdminProtos.WALEntry.Builder |
setKey(WALProtos.WALKey value)
required .WALKey key = 1; |
AdminProtos.WALEntry.Builder |
setKeyValueBytes(int index,
com.google.protobuf.ByteString value)
repeated bytes key_value_bytes = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>public AdminProtos.WALEntry.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>public AdminProtos.WALEntry.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>public AdminProtos.WALEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AdminProtos.WALEntry build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AdminProtos.WALEntry buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdminProtos.WALEntry.Builder>public AdminProtos.WALEntry.Builder mergeFrom(AdminProtos.WALEntry other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>public AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdminProtos.WALEntry.Builder>IOExceptionpublic boolean hasKey()
required .WALKey key = 1;hasKey in interface AdminProtos.WALEntryOrBuilderpublic WALProtos.WALKey getKey()
required .WALKey key = 1;getKey in interface AdminProtos.WALEntryOrBuilderpublic AdminProtos.WALEntry.Builder setKey(WALProtos.WALKey value)
required .WALKey key = 1;public AdminProtos.WALEntry.Builder setKey(WALProtos.WALKey.Builder builderForValue)
required .WALKey key = 1;public AdminProtos.WALEntry.Builder mergeKey(WALProtos.WALKey value)
required .WALKey key = 1;public AdminProtos.WALEntry.Builder clearKey()
required .WALKey key = 1;public WALProtos.WALKey.Builder getKeyBuilder()
required .WALKey key = 1;public WALProtos.WALKeyOrBuilder getKeyOrBuilder()
required .WALKey key = 1;getKeyOrBuilder in interface AdminProtos.WALEntryOrBuilderpublic List<com.google.protobuf.ByteString> getKeyValueBytesList()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
getKeyValueBytesList in interface AdminProtos.WALEntryOrBuilderpublic int getKeyValueBytesCount()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
getKeyValueBytesCount in interface AdminProtos.WALEntryOrBuilderpublic com.google.protobuf.ByteString getKeyValueBytes(int index)
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
getKeyValueBytes in interface AdminProtos.WALEntryOrBuilderpublic AdminProtos.WALEntry.Builder setKeyValueBytes(int index, com.google.protobuf.ByteString value)
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public AdminProtos.WALEntry.Builder addKeyValueBytes(com.google.protobuf.ByteString value)
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public AdminProtos.WALEntry.Builder addAllKeyValueBytes(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public AdminProtos.WALEntry.Builder clearKeyValueBytes()
repeated bytes key_value_bytes = 2;
Following may be null if the KVs/Cells are carried along the side in a cellblock (See RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null and associated_cell_count has count of Cells associated w/ this WALEntry
public boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock.
hasAssociatedCellCount in interface AdminProtos.WALEntryOrBuilderpublic int getAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock.
getAssociatedCellCount in interface AdminProtos.WALEntryOrBuilderpublic AdminProtos.WALEntry.Builder setAssociatedCellCount(int value)
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock.
public AdminProtos.WALEntry.Builder clearAssociatedCellCount()
optional int32 associated_cell_count = 3;
If Cell data is carried alongside in a cellblock, this is count of Cells in the cellblock.
Copyright © 2014 The Apache Software Foundation. All rights reserved.