public static final class WALProtos.WALKey extends com.google.protobuf.GeneratedMessage implements WALProtos.WALKeyOrBuilder
WALKey
Protocol buffer version of WALKey; see WALKey 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 int |
ORIG_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 |
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; |
long |
getOrigSequenceNumber()
optional uint64 orig_sequence_number = 11; |
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 |
hasOrigSequenceNumber()
optional uint64 orig_sequence_number = 11; |
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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 final int ORIG_SEQUENCE_NUMBER_FIELD_NUMBER
public static WALProtos.WALKey getDefaultInstance()
public WALProtos.WALKey getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<WALProtos.WALKey> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasEncodedRegionName()
required bytes encoded_region_name = 1;
hasEncodedRegionName
in interface WALProtos.WALKeyOrBuilder
public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 1;
getEncodedRegionName
in interface WALProtos.WALKeyOrBuilder
public boolean hasTableName()
required bytes table_name = 2;
hasTableName
in interface WALProtos.WALKeyOrBuilder
public com.google.protobuf.ByteString getTableName()
required bytes table_name = 2;
getTableName
in interface WALProtos.WALKeyOrBuilder
public boolean hasLogSequenceNumber()
required uint64 log_sequence_number = 3;
hasLogSequenceNumber
in interface WALProtos.WALKeyOrBuilder
public long getLogSequenceNumber()
required uint64 log_sequence_number = 3;
getLogSequenceNumber
in interface WALProtos.WALKeyOrBuilder
public boolean hasWriteTime()
required uint64 write_time = 4;
hasWriteTime
in interface WALProtos.WALKeyOrBuilder
public 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.WALKeyOrBuilder
public List<WALProtos.FamilyScope> getScopesList()
repeated .FamilyScope scopes = 6;
getScopesList
in interface WALProtos.WALKeyOrBuilder
public List<? extends WALProtos.FamilyScopeOrBuilder> getScopesOrBuilderList()
repeated .FamilyScope scopes = 6;
getScopesOrBuilderList
in interface WALProtos.WALKeyOrBuilder
public int getScopesCount()
repeated .FamilyScope scopes = 6;
getScopesCount
in interface WALProtos.WALKeyOrBuilder
public WALProtos.FamilyScope getScopes(int index)
repeated .FamilyScope scopes = 6;
getScopes
in interface WALProtos.WALKeyOrBuilder
public WALProtos.FamilyScopeOrBuilder getScopesOrBuilder(int index)
repeated .FamilyScope scopes = 6;
getScopesOrBuilder
in interface WALProtos.WALKeyOrBuilder
public boolean hasFollowingKvCount()
optional uint32 following_kv_count = 7;
hasFollowingKvCount
in interface WALProtos.WALKeyOrBuilder
public int getFollowingKvCount()
optional uint32 following_kv_count = 7;
getFollowingKvCount
in interface WALProtos.WALKeyOrBuilder
public 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.WALKeyOrBuilder
public 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.WALKeyOrBuilder
public int getClusterIdsCount()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
getClusterIdsCount
in interface WALProtos.WALKeyOrBuilder
public 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.WALKeyOrBuilder
public 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.WALKeyOrBuilder
public boolean hasNonceGroup()
optional uint64 nonceGroup = 9;
hasNonceGroup
in interface WALProtos.WALKeyOrBuilder
public long getNonceGroup()
optional uint64 nonceGroup = 9;
getNonceGroup
in interface WALProtos.WALKeyOrBuilder
public boolean hasNonce()
optional uint64 nonce = 10;
hasNonce
in interface WALProtos.WALKeyOrBuilder
public long getNonce()
optional uint64 nonce = 10;
getNonce
in interface WALProtos.WALKeyOrBuilder
public boolean hasOrigSequenceNumber()
optional uint64 orig_sequence_number = 11;
hasOrigSequenceNumber
in interface WALProtos.WALKeyOrBuilder
public long getOrigSequenceNumber()
optional uint64 orig_sequence_number = 11;
getOrigSequenceNumber
in interface WALProtos.WALKeyOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.WALKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.WALKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.WALKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.WALKey parseFrom(InputStream input) throws IOException
IOException
public static WALProtos.WALKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.WALKey parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WALProtos.WALKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static WALProtos.WALKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.WALKey.Builder newBuilder()
public WALProtos.WALKey.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static WALProtos.WALKey.Builder newBuilder(WALProtos.WALKey prototype)
public WALProtos.WALKey.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected WALProtos.WALKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.