public static final class AdminProtos.WALEntry.Builder extends <any> 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(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; | 
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public AdminProtos.WALEntry.Builder clear()
public AdminProtos.WALEntry.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public AdminProtos.WALEntry getDefaultInstanceForType()
public AdminProtos.WALEntry build()
public AdminProtos.WALEntry buildPartial()
public AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
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.