public static final class WALProtos.WALKey.Builder extends com.google.protobuf.GeneratedMessage.Builder<WALProtos.WALKey.Builder> 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 | Method and Description |
|---|---|
WALProtos.WALKey.Builder |
addAllClusterIds(Iterable<? extends HBaseProtos.UUID> values)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
addAllScopes(Iterable<? extends WALProtos.FamilyScope> values)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
addClusterIds(HBaseProtos.UUID.Builder builderForValue)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
addClusterIds(HBaseProtos.UUID value)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
addClusterIds(int index,
HBaseProtos.UUID.Builder builderForValue)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
addClusterIds(int index,
HBaseProtos.UUID value)
repeated .UUID cluster_ids = 8; |
HBaseProtos.UUID.Builder |
addClusterIdsBuilder()
repeated .UUID cluster_ids = 8; |
HBaseProtos.UUID.Builder |
addClusterIdsBuilder(int index)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
addScopes(int index,
WALProtos.FamilyScope.Builder builderForValue)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
addScopes(int index,
WALProtos.FamilyScope value)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
addScopes(WALProtos.FamilyScope.Builder builderForValue)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
addScopes(WALProtos.FamilyScope value)
repeated .FamilyScope scopes = 6; |
WALProtos.FamilyScope.Builder |
addScopesBuilder()
repeated .FamilyScope scopes = 6; |
WALProtos.FamilyScope.Builder |
addScopesBuilder(int index)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey |
build() |
WALProtos.WALKey |
buildPartial() |
WALProtos.WALKey.Builder |
clear() |
WALProtos.WALKey.Builder |
clearClusterId()
Deprecated.
|
WALProtos.WALKey.Builder |
clearClusterIds()
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
clearEncodedRegionName()
required bytes encoded_region_name = 1; |
WALProtos.WALKey.Builder |
clearFollowingKvCount()
optional uint32 following_kv_count = 7; |
WALProtos.WALKey.Builder |
clearLogSequenceNumber()
required uint64 log_sequence_number = 3; |
WALProtos.WALKey.Builder |
clearNonce()
optional uint64 nonce = 10; |
WALProtos.WALKey.Builder |
clearNonceGroup()
optional uint64 nonceGroup = 9; |
WALProtos.WALKey.Builder |
clearScopes()
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
clearTableName()
required bytes table_name = 2; |
WALProtos.WALKey.Builder |
clearWriteTime()
required uint64 write_time = 4; |
WALProtos.WALKey.Builder |
clone() |
HBaseProtos.UUID |
getClusterId()
Deprecated.
|
HBaseProtos.UUID.Builder |
getClusterIdBuilder()
Deprecated.
|
HBaseProtos.UUIDOrBuilder |
getClusterIdOrBuilder()
Deprecated.
|
HBaseProtos.UUID |
getClusterIds(int index)
repeated .UUID cluster_ids = 8; |
HBaseProtos.UUID.Builder |
getClusterIdsBuilder(int index)
repeated .UUID cluster_ids = 8; |
List<HBaseProtos.UUID.Builder> |
getClusterIdsBuilderList()
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; |
WALProtos.WALKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
WALProtos.FamilyScope |
getScopes(int index)
repeated .FamilyScope scopes = 6; |
WALProtos.FamilyScope.Builder |
getScopesBuilder(int index)
repeated .FamilyScope scopes = 6; |
List<WALProtos.FamilyScope.Builder> |
getScopesBuilderList()
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; |
com.google.protobuf.ByteString |
getTableName()
required bytes table_name = 2; |
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; |
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() |
WALProtos.WALKey.Builder |
mergeClusterId(HBaseProtos.UUID value)
Deprecated.
|
WALProtos.WALKey.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WALProtos.WALKey.Builder |
mergeFrom(com.google.protobuf.Message other) |
WALProtos.WALKey.Builder |
mergeFrom(WALProtos.WALKey other) |
WALProtos.WALKey.Builder |
removeClusterIds(int index)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
removeScopes(int index)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
setClusterId(HBaseProtos.UUID.Builder builderForValue)
Deprecated.
|
WALProtos.WALKey.Builder |
setClusterId(HBaseProtos.UUID value)
Deprecated.
|
WALProtos.WALKey.Builder |
setClusterIds(int index,
HBaseProtos.UUID.Builder builderForValue)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
setClusterIds(int index,
HBaseProtos.UUID value)
repeated .UUID cluster_ids = 8; |
WALProtos.WALKey.Builder |
setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 1; |
WALProtos.WALKey.Builder |
setFollowingKvCount(int value)
optional uint32 following_kv_count = 7; |
WALProtos.WALKey.Builder |
setLogSequenceNumber(long value)
required uint64 log_sequence_number = 3; |
WALProtos.WALKey.Builder |
setNonce(long value)
optional uint64 nonce = 10; |
WALProtos.WALKey.Builder |
setNonceGroup(long value)
optional uint64 nonceGroup = 9; |
WALProtos.WALKey.Builder |
setScopes(int index,
WALProtos.FamilyScope.Builder builderForValue)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
setScopes(int index,
WALProtos.FamilyScope value)
repeated .FamilyScope scopes = 6; |
WALProtos.WALKey.Builder |
setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 2; |
WALProtos.WALKey.Builder |
setWriteTime(long value)
required uint64 write_time = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.WALKey.Builder>public WALProtos.WALKey.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.WALKey.Builder>public WALProtos.WALKey.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.WALKey.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.WALKey.Builder>public WALProtos.WALKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WALProtos.WALKey build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WALProtos.WALKey buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WALProtos.WALKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WALProtos.WALKey.Builder>public WALProtos.WALKey.Builder mergeFrom(WALProtos.WALKey other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.WALKey.Builder>public WALProtos.WALKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WALProtos.WALKey.Builder>IOExceptionpublic 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 WALProtos.WALKey.Builder setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 1;public WALProtos.WALKey.Builder clearEncodedRegionName()
required bytes encoded_region_name = 1;public 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 WALProtos.WALKey.Builder setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 2;public WALProtos.WALKey.Builder clearTableName()
required bytes table_name = 2;public 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 WALProtos.WALKey.Builder setLogSequenceNumber(long value)
required uint64 log_sequence_number = 3;public WALProtos.WALKey.Builder clearLogSequenceNumber()
required uint64 log_sequence_number = 3;public boolean hasWriteTime()
required uint64 write_time = 4;hasWriteTime in interface WALProtos.WALKeyOrBuilderpublic long getWriteTime()
required uint64 write_time = 4;getWriteTime in interface WALProtos.WALKeyOrBuilderpublic WALProtos.WALKey.Builder setWriteTime(long value)
required uint64 write_time = 4;public WALProtos.WALKey.Builder clearWriteTime()
required uint64 write_time = 4;@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 WALProtos.WALKey.Builder setClusterId(HBaseProtos.UUID value)
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.
@Deprecated public WALProtos.WALKey.Builder setClusterId(HBaseProtos.UUID.Builder builderForValue)
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.
@Deprecated public WALProtos.WALKey.Builder mergeClusterId(HBaseProtos.UUID value)
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.
@Deprecated public WALProtos.WALKey.Builder clearClusterId()
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.
@Deprecated public HBaseProtos.UUID.Builder getClusterIdBuilder()
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.
@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 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.WALKey.Builder setScopes(int index, WALProtos.FamilyScope value)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder setScopes(int index, WALProtos.FamilyScope.Builder builderForValue)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder addScopes(WALProtos.FamilyScope value)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder addScopes(int index, WALProtos.FamilyScope value)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder addScopes(WALProtos.FamilyScope.Builder builderForValue)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder addScopes(int index, WALProtos.FamilyScope.Builder builderForValue)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder addAllScopes(Iterable<? extends WALProtos.FamilyScope> values)
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder clearScopes()
repeated .FamilyScope scopes = 6;public WALProtos.WALKey.Builder removeScopes(int index)
repeated .FamilyScope scopes = 6;public WALProtos.FamilyScope.Builder getScopesBuilder(int index)
repeated .FamilyScope scopes = 6;public WALProtos.FamilyScopeOrBuilder getScopesOrBuilder(int index)
repeated .FamilyScope scopes = 6;getScopesOrBuilder in interface WALProtos.WALKeyOrBuilderpublic List<? extends WALProtos.FamilyScopeOrBuilder> getScopesOrBuilderList()
repeated .FamilyScope scopes = 6;getScopesOrBuilderList in interface WALProtos.WALKeyOrBuilderpublic WALProtos.FamilyScope.Builder addScopesBuilder()
repeated .FamilyScope scopes = 6;public WALProtos.FamilyScope.Builder addScopesBuilder(int index)
repeated .FamilyScope scopes = 6;public List<WALProtos.FamilyScope.Builder> getScopesBuilderList()
repeated .FamilyScope scopes = 6;public 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 WALProtos.WALKey.Builder setFollowingKvCount(int value)
optional uint32 following_kv_count = 7;public WALProtos.WALKey.Builder clearFollowingKvCount()
optional uint32 following_kv_count = 7;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.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 WALProtos.WALKey.Builder setClusterIds(int index, HBaseProtos.UUID value)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder setClusterIds(int index, HBaseProtos.UUID.Builder builderForValue)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder addClusterIds(HBaseProtos.UUID value)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder addClusterIds(int index, HBaseProtos.UUID value)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder addClusterIds(HBaseProtos.UUID.Builder builderForValue)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder addClusterIds(int index, HBaseProtos.UUID.Builder builderForValue)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder addAllClusterIds(Iterable<? extends HBaseProtos.UUID> values)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder clearClusterIds()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public WALProtos.WALKey.Builder removeClusterIds(int index)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public HBaseProtos.UUID.Builder getClusterIdsBuilder(int index)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
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.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 HBaseProtos.UUID.Builder addClusterIdsBuilder()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public HBaseProtos.UUID.Builder addClusterIdsBuilder(int index)
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public List<HBaseProtos.UUID.Builder> getClusterIdsBuilderList()
repeated .UUID cluster_ids = 8;
This field contains the list of clusters that have consumed the change
public boolean hasNonceGroup()
optional uint64 nonceGroup = 9;hasNonceGroup in interface WALProtos.WALKeyOrBuilderpublic long getNonceGroup()
optional uint64 nonceGroup = 9;getNonceGroup in interface WALProtos.WALKeyOrBuilderpublic WALProtos.WALKey.Builder setNonceGroup(long value)
optional uint64 nonceGroup = 9;public WALProtos.WALKey.Builder clearNonceGroup()
optional uint64 nonceGroup = 9;public boolean hasNonce()
optional uint64 nonce = 10;hasNonce in interface WALProtos.WALKeyOrBuilderpublic long getNonce()
optional uint64 nonce = 10;getNonce in interface WALProtos.WALKeyOrBuilderpublic WALProtos.WALKey.Builder setNonce(long value)
optional uint64 nonce = 10;public WALProtos.WALKey.Builder clearNonce()
optional uint64 nonce = 10;Copyright © 2014 The Apache Software Foundation. All rights reserved.