org.apache.hadoop.hbase.protobuf.generated
Class AdminProtos.WALEntry.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AdminProtos.WALEntryOrBuilder
Enclosing class:
AdminProtos.WALEntry

public static final class AdminProtos.WALEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>
implements AdminProtos.WALEntryOrBuilder

Protobuf type WALEntry

 Protocol buffer version of WAL for replication
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>

clear

public AdminProtos.WALEntry.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>

clone

public AdminProtos.WALEntry.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>

getDefaultInstanceForType

public AdminProtos.WALEntry getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public AdminProtos.WALEntry build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public AdminProtos.WALEntry buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdminProtos.WALEntry.Builder>

mergeFrom

public AdminProtos.WALEntry.Builder mergeFrom(AdminProtos.WALEntry other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.WALEntry.Builder>

mergeFrom

public AdminProtos.WALEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdminProtos.WALEntry.Builder>
Throws:
IOException

hasKey

public boolean hasKey()
required .WALKey key = 1;

Specified by:
hasKey in interface AdminProtos.WALEntryOrBuilder

getKey

public WALProtos.WALKey getKey()
required .WALKey key = 1;

Specified by:
getKey in interface AdminProtos.WALEntryOrBuilder

setKey

public AdminProtos.WALEntry.Builder setKey(WALProtos.WALKey value)
required .WALKey key = 1;


setKey

public AdminProtos.WALEntry.Builder setKey(WALProtos.WALKey.Builder builderForValue)
required .WALKey key = 1;


mergeKey

public AdminProtos.WALEntry.Builder mergeKey(WALProtos.WALKey value)
required .WALKey key = 1;


clearKey

public AdminProtos.WALEntry.Builder clearKey()
required .WALKey key = 1;


getKeyBuilder

public WALProtos.WALKey.Builder getKeyBuilder()
required .WALKey key = 1;


getKeyOrBuilder

public WALProtos.WALKeyOrBuilder getKeyOrBuilder()
required .WALKey key = 1;

Specified by:
getKeyOrBuilder in interface AdminProtos.WALEntryOrBuilder

getKeyValueBytesList

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
 

Specified by:
getKeyValueBytesList in interface AdminProtos.WALEntryOrBuilder

getKeyValueBytesCount

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
 

Specified by:
getKeyValueBytesCount in interface AdminProtos.WALEntryOrBuilder

getKeyValueBytes

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
 

Specified by:
getKeyValueBytes in interface AdminProtos.WALEntryOrBuilder

setKeyValueBytes

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
 


addKeyValueBytes

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
 


addAllKeyValueBytes

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
 


clearKeyValueBytes

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
 


hasAssociatedCellCount

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.
 

Specified by:
hasAssociatedCellCount in interface AdminProtos.WALEntryOrBuilder

getAssociatedCellCount

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.
 

Specified by:
getAssociatedCellCount in interface AdminProtos.WALEntryOrBuilder

setAssociatedCellCount

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.
 


clearAssociatedCellCount

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 © 2015 The Apache Software Foundation. All Rights Reserved.