public static final class WALProtos.RegionEventDescriptor extends com.google.protobuf.GeneratedMessage implements WALProtos.RegionEventDescriptorOrBuilder
RegionEventDescriptor
Special WAL entry to hold all related to a region event (open/close).
| Modifier and Type | Class and Description |
|---|---|
static class |
WALProtos.RegionEventDescriptor.Builder
Protobuf type
RegionEventDescriptor |
static class |
WALProtos.RegionEventDescriptor.EventType
Protobuf enum
RegionEventDescriptor.EventType |
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 |
ENCODED_REGION_NAME_FIELD_NUMBER |
static int |
EVENT_TYPE_FIELD_NUMBER |
static int |
LOG_SEQUENCE_NUMBER_FIELD_NUMBER |
static com.google.protobuf.Parser<WALProtos.RegionEventDescriptor> |
PARSER |
static int |
REGION_NAME_FIELD_NUMBER |
static int |
SERVER_FIELD_NUMBER |
static int |
STORES_FIELD_NUMBER |
static int |
TABLE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static WALProtos.RegionEventDescriptor |
getDefaultInstance() |
WALProtos.RegionEventDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getEncodedRegionName()
required bytes encoded_region_name = 3; |
WALProtos.RegionEventDescriptor.EventType |
getEventType()
required .RegionEventDescriptor.EventType event_type = 1; |
long |
getLogSequenceNumber()
optional uint64 log_sequence_number = 4; |
com.google.protobuf.Parser<WALProtos.RegionEventDescriptor> |
getParserForType() |
com.google.protobuf.ByteString |
getRegionName()
optional bytes region_name = 7; |
int |
getSerializedSize() |
HBaseProtos.ServerName |
getServer()
optional .ServerName server = 6; |
HBaseProtos.ServerNameOrBuilder |
getServerOrBuilder()
optional .ServerName server = 6; |
WALProtos.StoreDescriptor |
getStores(int index)
repeated .StoreDescriptor stores = 5; |
int |
getStoresCount()
repeated .StoreDescriptor stores = 5; |
List<WALProtos.StoreDescriptor> |
getStoresList()
repeated .StoreDescriptor stores = 5; |
WALProtos.StoreDescriptorOrBuilder |
getStoresOrBuilder(int index)
repeated .StoreDescriptor stores = 5; |
List<? extends WALProtos.StoreDescriptorOrBuilder> |
getStoresOrBuilderList()
repeated .StoreDescriptor stores = 5; |
com.google.protobuf.ByteString |
getTableName()
required bytes table_name = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEncodedRegionName()
required bytes encoded_region_name = 3; |
boolean |
hasEventType()
required .RegionEventDescriptor.EventType event_type = 1; |
int |
hashCode() |
boolean |
hasLogSequenceNumber()
optional uint64 log_sequence_number = 4; |
boolean |
hasRegionName()
optional bytes region_name = 7; |
boolean |
hasServer()
optional .ServerName server = 6; |
boolean |
hasTableName()
required bytes table_name = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WALProtos.RegionEventDescriptor.Builder |
newBuilder() |
static WALProtos.RegionEventDescriptor.Builder |
newBuilder(WALProtos.RegionEventDescriptor prototype) |
WALProtos.RegionEventDescriptor.Builder |
newBuilderForType() |
protected WALProtos.RegionEventDescriptor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static WALProtos.RegionEventDescriptor |
parseDelimitedFrom(InputStream input) |
static WALProtos.RegionEventDescriptor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.RegionEventDescriptor |
parseFrom(byte[] data) |
static WALProtos.RegionEventDescriptor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.RegionEventDescriptor |
parseFrom(com.google.protobuf.ByteString data) |
static WALProtos.RegionEventDescriptor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.RegionEventDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WALProtos.RegionEventDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WALProtos.RegionEventDescriptor |
parseFrom(InputStream input) |
static WALProtos.RegionEventDescriptor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WALProtos.RegionEventDescriptor.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.RegionEventDescriptor> PARSER
public static final int EVENT_TYPE_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
public static final int ENCODED_REGION_NAME_FIELD_NUMBER
public static final int LOG_SEQUENCE_NUMBER_FIELD_NUMBER
public static final int STORES_FIELD_NUMBER
public static final int SERVER_FIELD_NUMBER
public static final int REGION_NAME_FIELD_NUMBER
public static WALProtos.RegionEventDescriptor getDefaultInstance()
public WALProtos.RegionEventDescriptor 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.RegionEventDescriptor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasEventType()
required .RegionEventDescriptor.EventType event_type = 1;hasEventType in interface WALProtos.RegionEventDescriptorOrBuilderpublic WALProtos.RegionEventDescriptor.EventType getEventType()
required .RegionEventDescriptor.EventType event_type = 1;getEventType in interface WALProtos.RegionEventDescriptorOrBuilderpublic boolean hasTableName()
required bytes table_name = 2;hasTableName in interface WALProtos.RegionEventDescriptorOrBuilderpublic com.google.protobuf.ByteString getTableName()
required bytes table_name = 2;getTableName in interface WALProtos.RegionEventDescriptorOrBuilderpublic boolean hasEncodedRegionName()
required bytes encoded_region_name = 3;hasEncodedRegionName in interface WALProtos.RegionEventDescriptorOrBuilderpublic com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 3;getEncodedRegionName in interface WALProtos.RegionEventDescriptorOrBuilderpublic boolean hasLogSequenceNumber()
optional uint64 log_sequence_number = 4;hasLogSequenceNumber in interface WALProtos.RegionEventDescriptorOrBuilderpublic long getLogSequenceNumber()
optional uint64 log_sequence_number = 4;getLogSequenceNumber in interface WALProtos.RegionEventDescriptorOrBuilderpublic List<WALProtos.StoreDescriptor> getStoresList()
repeated .StoreDescriptor stores = 5;getStoresList in interface WALProtos.RegionEventDescriptorOrBuilderpublic List<? extends WALProtos.StoreDescriptorOrBuilder> getStoresOrBuilderList()
repeated .StoreDescriptor stores = 5;getStoresOrBuilderList in interface WALProtos.RegionEventDescriptorOrBuilderpublic int getStoresCount()
repeated .StoreDescriptor stores = 5;getStoresCount in interface WALProtos.RegionEventDescriptorOrBuilderpublic WALProtos.StoreDescriptor getStores(int index)
repeated .StoreDescriptor stores = 5;getStores in interface WALProtos.RegionEventDescriptorOrBuilderpublic WALProtos.StoreDescriptorOrBuilder getStoresOrBuilder(int index)
repeated .StoreDescriptor stores = 5;getStoresOrBuilder in interface WALProtos.RegionEventDescriptorOrBuilderpublic boolean hasServer()
optional .ServerName server = 6;
Server who opened the region
hasServer in interface WALProtos.RegionEventDescriptorOrBuilderpublic HBaseProtos.ServerName getServer()
optional .ServerName server = 6;
Server who opened the region
getServer in interface WALProtos.RegionEventDescriptorOrBuilderpublic HBaseProtos.ServerNameOrBuilder getServerOrBuilder()
optional .ServerName server = 6;
Server who opened the region
getServerOrBuilder in interface WALProtos.RegionEventDescriptorOrBuilderpublic boolean hasRegionName()
optional bytes region_name = 7;
full region name
hasRegionName in interface WALProtos.RegionEventDescriptorOrBuilderpublic com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
full region name
getRegionName in interface WALProtos.RegionEventDescriptorOrBuilderpublic 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.RegionEventDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.RegionEventDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WALProtos.RegionEventDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WALProtos.RegionEventDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WALProtos.RegionEventDescriptor.Builder newBuilder()
public WALProtos.RegionEventDescriptor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WALProtos.RegionEventDescriptor.Builder newBuilder(WALProtos.RegionEventDescriptor prototype)
public WALProtos.RegionEventDescriptor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WALProtos.RegionEventDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.