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, 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.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.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.RegionEventDescriptor> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasEventType()
required .RegionEventDescriptor.EventType event_type = 1;
hasEventType
in interface WALProtos.RegionEventDescriptorOrBuilder
public WALProtos.RegionEventDescriptor.EventType getEventType()
required .RegionEventDescriptor.EventType event_type = 1;
getEventType
in interface WALProtos.RegionEventDescriptorOrBuilder
public boolean hasTableName()
required bytes table_name = 2;
hasTableName
in interface WALProtos.RegionEventDescriptorOrBuilder
public com.google.protobuf.ByteString getTableName()
required bytes table_name = 2;
getTableName
in interface WALProtos.RegionEventDescriptorOrBuilder
public boolean hasEncodedRegionName()
required bytes encoded_region_name = 3;
hasEncodedRegionName
in interface WALProtos.RegionEventDescriptorOrBuilder
public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 3;
getEncodedRegionName
in interface WALProtos.RegionEventDescriptorOrBuilder
public boolean hasLogSequenceNumber()
optional uint64 log_sequence_number = 4;
hasLogSequenceNumber
in interface WALProtos.RegionEventDescriptorOrBuilder
public long getLogSequenceNumber()
optional uint64 log_sequence_number = 4;
getLogSequenceNumber
in interface WALProtos.RegionEventDescriptorOrBuilder
public List<WALProtos.StoreDescriptor> getStoresList()
repeated .StoreDescriptor stores = 5;
getStoresList
in interface WALProtos.RegionEventDescriptorOrBuilder
public List<? extends WALProtos.StoreDescriptorOrBuilder> getStoresOrBuilderList()
repeated .StoreDescriptor stores = 5;
getStoresOrBuilderList
in interface WALProtos.RegionEventDescriptorOrBuilder
public int getStoresCount()
repeated .StoreDescriptor stores = 5;
getStoresCount
in interface WALProtos.RegionEventDescriptorOrBuilder
public WALProtos.StoreDescriptor getStores(int index)
repeated .StoreDescriptor stores = 5;
getStores
in interface WALProtos.RegionEventDescriptorOrBuilder
public WALProtos.StoreDescriptorOrBuilder getStoresOrBuilder(int index)
repeated .StoreDescriptor stores = 5;
getStoresOrBuilder
in interface WALProtos.RegionEventDescriptorOrBuilder
public boolean hasServer()
optional .ServerName server = 6;
Server who opened the region
hasServer
in interface WALProtos.RegionEventDescriptorOrBuilder
public HBaseProtos.ServerName getServer()
optional .ServerName server = 6;
Server who opened the region
getServer
in interface WALProtos.RegionEventDescriptorOrBuilder
public HBaseProtos.ServerNameOrBuilder getServerOrBuilder()
optional .ServerName server = 6;
Server who opened the region
getServerOrBuilder
in interface WALProtos.RegionEventDescriptorOrBuilder
public boolean hasRegionName()
optional bytes region_name = 7;
full region name
hasRegionName
in interface WALProtos.RegionEventDescriptorOrBuilder
public com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
full region name
getRegionName
in interface WALProtos.RegionEventDescriptorOrBuilder
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.RegionEventDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.RegionEventDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.RegionEventDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.RegionEventDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WALProtos.RegionEventDescriptor parseFrom(InputStream input) throws IOException
IOException
public static WALProtos.RegionEventDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.RegionEventDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WALProtos.RegionEventDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.RegionEventDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static WALProtos.RegionEventDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WALProtos.RegionEventDescriptor.Builder newBuilder()
public WALProtos.RegionEventDescriptor.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static WALProtos.RegionEventDescriptor.Builder newBuilder(WALProtos.RegionEventDescriptor prototype)
public WALProtos.RegionEventDescriptor.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected WALProtos.RegionEventDescriptor.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.