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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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<AdminProtos.WALEntry.Builder>
public AdminProtos.WALEntry.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<AdminProtos.WALEntry.Builder>
public AdminProtos.WALEntry.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<AdminProtos.WALEntry.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<AdminProtos.WALEntry.Builder>
public AdminProtos.WALEntry getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AdminProtos.WALEntry build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AdminProtos.WALEntry buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AdminProtos.WALEntry.Builder>
IOException
public boolean hasKey()
required .WALKey key = 1;
hasKey
in interface AdminProtos.WALEntryOrBuilder
public WALProtos.WALKey getKey()
required .WALKey key = 1;
getKey
in interface AdminProtos.WALEntryOrBuilder
public 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.WALEntryOrBuilder
public 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.WALEntryOrBuilder
public 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.WALEntryOrBuilder
public 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.WALEntryOrBuilder
public 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.WALEntryOrBuilder
public 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.WALEntryOrBuilder
public 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 © 2007-2016 The Apache Software Foundation. All Rights Reserved.