public static final class WALProtos.WALKey extends com.google.protobuf.GeneratedMessage implements WALProtos.WALKeyOrBuilder
WALKey
Protocol buffer version of HLogKey; see HLogKey comment, not really a key but WALEdit header for some KVs
| Modifier and Type | Class and Description |
|---|---|
static class |
WALProtos.WALKey.Builder
Protobuf type
WALKey |
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>| Modifier and Type | Field and Description |
|---|---|
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 int |
NONCE_FIELD_NUMBER |
static int |
NONCEGROUP_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 |
| Modifier and Type | Method and Description |
|---|---|
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; |
long |
getNonce()
optional uint64 nonce = 10; |
long |
getNonceGroup()
optional uint64 nonceGroup = 9; |
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 |
hasNonce()
optional uint64 nonce = 10; |
boolean |
hasNonceGroup()
optional uint64 nonceGroup = 9; |
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) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<WALProtos.WALKey> PARSER
public static final int ENCODED_REGION_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
public static final int LOG_SEQUENCE_NUMBER_FIELD_NUMBER
public static final int WRITE_TIME_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
public static final int SCOPES_FIELD_NUMBER
public static final int FOLLOWING_KV_COUNT_FIELD_NUMBER
public static final int CLUSTER_IDS_FIELD_NUMBER
public static final int NONCEGROUP_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static WALProtos.WALKey getDefaultInstance()
public WALProtos.WALKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<WALProtos.WALKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasEncodedRegionName()
required bytes encoded_region_name = 1;hasEncodedRegionName in interface WALProtos.WALKeyOrBuilderpublic com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 1;getEncodedRegionName in interface WALProtos.WALKeyOrBuilderpublic boolean hasTableName()
required bytes table_name = 2;hasTableName in interface WALProtos.WALKeyOrBuilderpublic com.google.protobuf.ByteString getTableName()
required bytes table_name = 2;getTableName in interface WALProtos.WALKeyOrBuilderpublic boolean hasLogSequenceNumber()
required uint64 log_sequence_number = 3;hasLogSequenceNumber in interface WALProtos.WALKeyOrBuilderpublic long getLogSequenceNumber()
required uint64 log_sequence_number = 3;getLogSequenceNumber in interface WALProtos.WALKeyOrBuilderpublic boolean hasWriteTime()
required uint64 write_time = 4;hasWriteTime in interface WALProtos.WALKeyOrBuilderpublic long getWriteTime()
required uint64 write_time = 4;getWriteTime in interface WALProtos.WALKeyOrBuilder@Deprecated public boolean hasClusterId()
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.
hasClusterId in interface WALProtos.WALKeyOrBuilder@Deprecated public HBaseProtos.UUID getClusterId()
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.
getClusterId in interface WALProtos.WALKeyOrBuilder@Deprecated public HBaseProtos.UUIDOrBuilder getClusterIdOrBuilder()
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.
getClusterIdOrBuilder in interface WALProtos.WALKeyOrBuilderpublic List<WALProtos.FamilyScope> getScopesList()
repeated .FamilyScope scopes = 6;getScopesList in interface WALProtos.WALKeyOrBuilderpublic List<? extends WALProtos.FamilyScopeOrBuilder> getScopesOrBuilderList()
repeated .FamilyScope scopes = 6;getScopesOrBuilderList in interface WALProtos.WALKeyOrBuilderpublic int getScopesCount()
repeated .FamilyScope scopes = 6;getScopesCount in interface WALProtos.WALKeyOrBuilderpublic WALProtos.FamilyScope getScopes(int index)
repeated .FamilyScope scopes = 6;getScopes in interface WALProtos.WALKeyOrBuilderpublic WALProtos.FamilyScopeOrBuilder getScopesOrBuilder(int index)
repeated .FamilyScope scopes = 6;getScopesOrBuilder in interface WALProtos.WALKeyOrBuilderpublic boolean hasFollowingKvCount()
optional uint32 following_kv_count = 7;hasFollowingKvCount in interface WALProtos.WALKeyOrBuilderpublic int getFollowingKvCount()
optional uint32 following_kv_count = 7;getFollowingKvCount in interface WALProtos.WALKeyOrBuilderpublic List<HBaseProtos.UUID> getClusterIdsList()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
getClusterIdsList in interface WALProtos.WALKeyOrBuilderpublic List<? extends HBaseProtos.UUIDOrBuilder> getClusterIdsOrBuilderList()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
getClusterIdsOrBuilderList in interface WALProtos.WALKeyOrBuilderpublic int getClusterIdsCount()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
getClusterIdsCount in interface WALProtos.WALKeyOrBuilderpublic HBaseProtos.UUID getClusterIds(int index)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
getClusterIds in interface WALProtos.WALKeyOrBuilderpublic HBaseProtos.UUIDOrBuilder getClusterIdsOrBuilder(int index)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
getClusterIdsOrBuilder in interface WALProtos.WALKeyOrBuilderpublic boolean hasNonceGroup()
optional uint64 nonceGroup = 9;hasNonceGroup in interface WALProtos.WALKeyOrBuilderpublic long getNonceGroup()
optional uint64 nonceGroup = 9;getNonceGroup in interface WALProtos.WALKeyOrBuilderpublic boolean hasNonce()
optional uint64 nonce = 10;hasNonce in interface WALProtos.WALKeyOrBuilderpublic long getNonce()
optional uint64 nonce = 10;getNonce in interface WALProtos.WALKeyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.WALKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.WALKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.WALKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.WALKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.WALKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.WALKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.WALKey.Builder newBuilder()
public WALProtos.WALKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WALProtos.WALKey.Builder newBuilder(WALProtos.WALKey prototype)
public WALProtos.WALKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WALProtos.WALKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.