org.apache.hadoop.hbase.protobuf.generated
Class WALProtos.WALKey

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, WALProtos.WALKeyOrBuilder
Enclosing class:
WALProtos

public static final class WALProtos.WALKey
extends com.google.protobuf.GeneratedMessage
implements WALProtos.WALKeyOrBuilder

Protobuf type WALKey

 Protocol buffer version of HLogKey; see HLogKey comment, not really a key but WALEdit header for some KVs
 

See Also:
Serialized Form

Nested Class Summary
static class WALProtos.WALKey.Builder
          Protobuf type WALKey
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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>
 
Field Summary
static int CLUSTER_ID_FIELD_NUMBER
           
static int CLUSTER_IDS_FIELD_NUMBER
           
static int ENCODED_REGION_NAME_FIELD_NUMBER
           
static int FOLLOWING_KV_COUNT_FIELD_NUMBER
           
static int LOG_SEQUENCE_NUMBER_FIELD_NUMBER
           
static com.google.protobuf.Parser<WALProtos.WALKey> PARSER
           
static int SCOPES_FIELD_NUMBER
           
static int TABLE_NAME_FIELD_NUMBER
           
static int WRITE_TIME_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 HBaseProtos.UUID getClusterId()
          Deprecated. 
 HBaseProtos.UUIDOrBuilder getClusterIdOrBuilder()
          Deprecated. 
 HBaseProtos.UUID getClusterIds(int index)
          repeated .UUID cluster_ids = 8;
 int getClusterIdsCount()
          repeated .UUID cluster_ids = 8;
 List<HBaseProtos.UUID> getClusterIdsList()
          repeated .UUID cluster_ids = 8;
 HBaseProtos.UUIDOrBuilder getClusterIdsOrBuilder(int index)
          repeated .UUID cluster_ids = 8;
 List<? extends HBaseProtos.UUIDOrBuilder> getClusterIdsOrBuilderList()
          repeated .UUID cluster_ids = 8;
static WALProtos.WALKey getDefaultInstance()
           
 WALProtos.WALKey getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.ByteString getEncodedRegionName()
          required bytes encoded_region_name = 1;
 int getFollowingKvCount()
          optional uint32 following_kv_count = 7;
 long getLogSequenceNumber()
          required uint64 log_sequence_number = 3;
 com.google.protobuf.Parser<WALProtos.WALKey> getParserForType()
           
 WALProtos.FamilyScope getScopes(int index)
          repeated .FamilyScope scopes = 6;
 int getScopesCount()
          repeated .FamilyScope scopes = 6;
 List<WALProtos.FamilyScope> getScopesList()
          repeated .FamilyScope scopes = 6;
 WALProtos.FamilyScopeOrBuilder getScopesOrBuilder(int index)
          repeated .FamilyScope scopes = 6;
 List<? extends WALProtos.FamilyScopeOrBuilder> getScopesOrBuilderList()
          repeated .FamilyScope scopes = 6;
 int getSerializedSize()
           
 com.google.protobuf.ByteString getTableName()
          required bytes table_name = 2;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 long getWriteTime()
          required uint64 write_time = 4;
 boolean hasClusterId()
          Deprecated. 
 boolean hasEncodedRegionName()
          required bytes encoded_region_name = 1;
 boolean hasFollowingKvCount()
          optional uint32 following_kv_count = 7;
 int hashCode()
           
 boolean hasLogSequenceNumber()
          required uint64 log_sequence_number = 3;
 boolean hasTableName()
          required bytes table_name = 2;
 boolean hasWriteTime()
          required uint64 write_time = 4;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static WALProtos.WALKey.Builder newBuilder()
           
static WALProtos.WALKey.Builder newBuilder(WALProtos.WALKey prototype)
           
 WALProtos.WALKey.Builder newBuilderForType()
           
protected  WALProtos.WALKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static WALProtos.WALKey parseDelimitedFrom(InputStream input)
           
static WALProtos.WALKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static WALProtos.WALKey parseFrom(byte[] data)
           
static WALProtos.WALKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data)
           
static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input)
           
static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static WALProtos.WALKey parseFrom(InputStream input)
           
static WALProtos.WALKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 WALProtos.WALKey.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<WALProtos.WALKey> PARSER

ENCODED_REGION_NAME_FIELD_NUMBER

public static final int ENCODED_REGION_NAME_FIELD_NUMBER
See Also:
Constant Field Values

TABLE_NAME_FIELD_NUMBER

public static final int TABLE_NAME_FIELD_NUMBER
See Also:
Constant Field Values

LOG_SEQUENCE_NUMBER_FIELD_NUMBER

public static final int LOG_SEQUENCE_NUMBER_FIELD_NUMBER
See Also:
Constant Field Values

WRITE_TIME_FIELD_NUMBER

public static final int WRITE_TIME_FIELD_NUMBER
See Also:
Constant Field Values

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
See Also:
Constant Field Values

SCOPES_FIELD_NUMBER

public static final int SCOPES_FIELD_NUMBER
See Also:
Constant Field Values

FOLLOWING_KV_COUNT_FIELD_NUMBER

public static final int FOLLOWING_KV_COUNT_FIELD_NUMBER
See Also:
Constant Field Values

CLUSTER_IDS_FIELD_NUMBER

public static final int CLUSTER_IDS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static WALProtos.WALKey getDefaultInstance()

getDefaultInstanceForType

public WALProtos.WALKey getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

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

getParserForType

public com.google.protobuf.Parser<WALProtos.WALKey> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasEncodedRegionName

public boolean hasEncodedRegionName()
required bytes encoded_region_name = 1;

Specified by:
hasEncodedRegionName in interface WALProtos.WALKeyOrBuilder

getEncodedRegionName

public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 1;

Specified by:
getEncodedRegionName in interface WALProtos.WALKeyOrBuilder

hasTableName

public boolean hasTableName()
required bytes table_name = 2;

Specified by:
hasTableName in interface WALProtos.WALKeyOrBuilder

getTableName

public com.google.protobuf.ByteString getTableName()
required bytes table_name = 2;

Specified by:
getTableName in interface WALProtos.WALKeyOrBuilder

hasLogSequenceNumber

public boolean hasLogSequenceNumber()
required uint64 log_sequence_number = 3;

Specified by:
hasLogSequenceNumber in interface WALProtos.WALKeyOrBuilder

getLogSequenceNumber

public long getLogSequenceNumber()
required uint64 log_sequence_number = 3;

Specified by:
getLogSequenceNumber in interface WALProtos.WALKeyOrBuilder

hasWriteTime

public boolean hasWriteTime()
required uint64 write_time = 4;

Specified by:
hasWriteTime in interface WALProtos.WALKeyOrBuilder

getWriteTime

public long getWriteTime()
required uint64 write_time = 4;

Specified by:
getWriteTime in interface WALProtos.WALKeyOrBuilder

hasClusterId

@Deprecated
public boolean hasClusterId()
Deprecated. 

optional .UUID cluster_id = 5 [deprecated = true];

This parameter is deprecated in favor of clusters which 
contains the list of clusters that have consumed the change.
It is retained so that the log created by earlier releases (0.94) 
can be read by the newer releases.
 

Specified by:
hasClusterId in interface WALProtos.WALKeyOrBuilder

getClusterId

@Deprecated
public HBaseProtos.UUID getClusterId()
Deprecated. 

optional .UUID cluster_id = 5 [deprecated = true];

This parameter is deprecated in favor of clusters which 
contains the list of clusters that have consumed the change.
It is retained so that the log created by earlier releases (0.94) 
can be read by the newer releases.
 

Specified by:
getClusterId in interface WALProtos.WALKeyOrBuilder

getClusterIdOrBuilder

@Deprecated
public HBaseProtos.UUIDOrBuilder getClusterIdOrBuilder()
Deprecated. 

optional .UUID cluster_id = 5 [deprecated = true];

This parameter is deprecated in favor of clusters which 
contains the list of clusters that have consumed the change.
It is retained so that the log created by earlier releases (0.94) 
can be read by the newer releases.
 

Specified by:
getClusterIdOrBuilder in interface WALProtos.WALKeyOrBuilder

getScopesList

public List<WALProtos.FamilyScope> getScopesList()
repeated .FamilyScope scopes = 6;

Specified by:
getScopesList in interface WALProtos.WALKeyOrBuilder

getScopesOrBuilderList

public List<? extends WALProtos.FamilyScopeOrBuilder> getScopesOrBuilderList()
repeated .FamilyScope scopes = 6;

Specified by:
getScopesOrBuilderList in interface WALProtos.WALKeyOrBuilder

getScopesCount

public int getScopesCount()
repeated .FamilyScope scopes = 6;

Specified by:
getScopesCount in interface WALProtos.WALKeyOrBuilder

getScopes

public WALProtos.FamilyScope getScopes(int index)
repeated .FamilyScope scopes = 6;

Specified by:
getScopes in interface WALProtos.WALKeyOrBuilder

getScopesOrBuilder

public WALProtos.FamilyScopeOrBuilder getScopesOrBuilder(int index)
repeated .FamilyScope scopes = 6;

Specified by:
getScopesOrBuilder in interface WALProtos.WALKeyOrBuilder

hasFollowingKvCount

public boolean hasFollowingKvCount()
optional uint32 following_kv_count = 7;

Specified by:
hasFollowingKvCount in interface WALProtos.WALKeyOrBuilder

getFollowingKvCount

public int getFollowingKvCount()
optional uint32 following_kv_count = 7;

Specified by:
getFollowingKvCount in interface WALProtos.WALKeyOrBuilder

getClusterIdsList

public List<HBaseProtos.UUID> getClusterIdsList()
repeated .UUID cluster_ids = 8;

This field contains the list of clusters that have
consumed the change
 

Specified by:
getClusterIdsList in interface WALProtos.WALKeyOrBuilder

getClusterIdsOrBuilderList

public List<? extends HBaseProtos.UUIDOrBuilder> getClusterIdsOrBuilderList()
repeated .UUID cluster_ids = 8;

This field contains the list of clusters that have
consumed the change
 

Specified by:
getClusterIdsOrBuilderList in interface WALProtos.WALKeyOrBuilder

getClusterIdsCount

public int getClusterIdsCount()
repeated .UUID cluster_ids = 8;

This field contains the list of clusters that have
consumed the change
 

Specified by:
getClusterIdsCount in interface WALProtos.WALKeyOrBuilder

getClusterIds

public HBaseProtos.UUID getClusterIds(int index)
repeated .UUID cluster_ids = 8;

This field contains the list of clusters that have
consumed the change
 

Specified by:
getClusterIds in interface WALProtos.WALKeyOrBuilder

getClusterIdsOrBuilder

public HBaseProtos.UUIDOrBuilder getClusterIdsOrBuilder(int index)
repeated .UUID cluster_ids = 8;

This field contains the list of clusters that have
consumed the change
 

Specified by:
getClusterIdsOrBuilder in interface WALProtos.WALKeyOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

equals

public boolean equals(Object obj)
Specified by:
equals in interface com.google.protobuf.Message
Overrides:
equals in class com.google.protobuf.AbstractMessage

hashCode

public int hashCode()
Specified by:
hashCode in interface com.google.protobuf.Message
Overrides:
hashCode in class com.google.protobuf.AbstractMessage

parseFrom

public static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static WALProtos.WALKey parseFrom(byte[] data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static WALProtos.WALKey parseFrom(byte[] data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static WALProtos.WALKey parseFrom(InputStream input)
                                  throws IOException
Throws:
IOException

parseFrom

public static WALProtos.WALKey parseFrom(InputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
Throws:
IOException

parseDelimitedFrom

public static WALProtos.WALKey parseDelimitedFrom(InputStream input)
                                           throws IOException
Throws:
IOException

parseDelimitedFrom

public static WALProtos.WALKey parseDelimitedFrom(InputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
Throws:
IOException

parseFrom

public static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input)
                                  throws IOException
Throws:
IOException

parseFrom

public static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
Throws:
IOException

newBuilder

public static WALProtos.WALKey.Builder newBuilder()

newBuilderForType

public WALProtos.WALKey.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static WALProtos.WALKey.Builder newBuilder(WALProtos.WALKey prototype)

toBuilder

public WALProtos.WALKey.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected WALProtos.WALKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.