public static final class WALProtos.RegionEventDescriptor.Builder extends com.google.protobuf.GeneratedMessage.Builder<WALProtos.RegionEventDescriptor.Builder> implements WALProtos.RegionEventDescriptorOrBuilder
RegionEventDescriptor
Special WAL entry to hold all related to a region event (open/close).
Modifier and Type | Method and Description |
---|---|
WALProtos.RegionEventDescriptor.Builder |
addAllStores(Iterable<? extends WALProtos.StoreDescriptor> values)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
addStores(int index,
WALProtos.StoreDescriptor.Builder builderForValue)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
addStores(int index,
WALProtos.StoreDescriptor value)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
addStores(WALProtos.StoreDescriptor.Builder builderForValue)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
addStores(WALProtos.StoreDescriptor value)
repeated .StoreDescriptor stores = 5; |
WALProtos.StoreDescriptor.Builder |
addStoresBuilder()
repeated .StoreDescriptor stores = 5; |
WALProtos.StoreDescriptor.Builder |
addStoresBuilder(int index)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor |
build() |
WALProtos.RegionEventDescriptor |
buildPartial() |
WALProtos.RegionEventDescriptor.Builder |
clear() |
WALProtos.RegionEventDescriptor.Builder |
clearEncodedRegionName()
required bytes encoded_region_name = 3; |
WALProtos.RegionEventDescriptor.Builder |
clearEventType()
required .RegionEventDescriptor.EventType event_type = 1; |
WALProtos.RegionEventDescriptor.Builder |
clearLogSequenceNumber()
optional uint64 log_sequence_number = 4; |
WALProtos.RegionEventDescriptor.Builder |
clearRegionName()
optional bytes region_name = 7; |
WALProtos.RegionEventDescriptor.Builder |
clearServer()
optional .ServerName server = 6; |
WALProtos.RegionEventDescriptor.Builder |
clearStores()
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
clearTableName()
required bytes table_name = 2; |
WALProtos.RegionEventDescriptor.Builder |
clone() |
WALProtos.RegionEventDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.ByteString |
getRegionName()
optional bytes region_name = 7; |
HBaseProtos.ServerName |
getServer()
optional .ServerName server = 6; |
HBaseProtos.ServerName.Builder |
getServerBuilder()
optional .ServerName server = 6; |
HBaseProtos.ServerNameOrBuilder |
getServerOrBuilder()
optional .ServerName server = 6; |
WALProtos.StoreDescriptor |
getStores(int index)
repeated .StoreDescriptor stores = 5; |
WALProtos.StoreDescriptor.Builder |
getStoresBuilder(int index)
repeated .StoreDescriptor stores = 5; |
List<WALProtos.StoreDescriptor.Builder> |
getStoresBuilderList()
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; |
boolean |
hasEncodedRegionName()
required bytes encoded_region_name = 3; |
boolean |
hasEventType()
required .RegionEventDescriptor.EventType event_type = 1; |
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() |
WALProtos.RegionEventDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WALProtos.RegionEventDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
WALProtos.RegionEventDescriptor.Builder |
mergeFrom(WALProtos.RegionEventDescriptor other) |
WALProtos.RegionEventDescriptor.Builder |
mergeServer(HBaseProtos.ServerName value)
optional .ServerName server = 6; |
WALProtos.RegionEventDescriptor.Builder |
removeStores(int index)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 3; |
WALProtos.RegionEventDescriptor.Builder |
setEventType(WALProtos.RegionEventDescriptor.EventType value)
required .RegionEventDescriptor.EventType event_type = 1; |
WALProtos.RegionEventDescriptor.Builder |
setLogSequenceNumber(long value)
optional uint64 log_sequence_number = 4; |
WALProtos.RegionEventDescriptor.Builder |
setRegionName(com.google.protobuf.ByteString value)
optional bytes region_name = 7; |
WALProtos.RegionEventDescriptor.Builder |
setServer(HBaseProtos.ServerName.Builder builderForValue)
optional .ServerName server = 6; |
WALProtos.RegionEventDescriptor.Builder |
setServer(HBaseProtos.ServerName value)
optional .ServerName server = 6; |
WALProtos.RegionEventDescriptor.Builder |
setStores(int index,
WALProtos.StoreDescriptor.Builder builderForValue)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
setStores(int index,
WALProtos.StoreDescriptor value)
repeated .StoreDescriptor stores = 5; |
WALProtos.RegionEventDescriptor.Builder |
setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
public WALProtos.RegionEventDescriptor.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
public WALProtos.RegionEventDescriptor.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
public WALProtos.RegionEventDescriptor getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WALProtos.RegionEventDescriptor build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WALProtos.RegionEventDescriptor buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WALProtos.RegionEventDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
public WALProtos.RegionEventDescriptor.Builder mergeFrom(WALProtos.RegionEventDescriptor other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
public WALProtos.RegionEventDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WALProtos.RegionEventDescriptor.Builder>
IOException
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 WALProtos.RegionEventDescriptor.Builder setEventType(WALProtos.RegionEventDescriptor.EventType value)
required .RegionEventDescriptor.EventType event_type = 1;
public WALProtos.RegionEventDescriptor.Builder clearEventType()
required .RegionEventDescriptor.EventType event_type = 1;
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 WALProtos.RegionEventDescriptor.Builder setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 2;
public WALProtos.RegionEventDescriptor.Builder clearTableName()
required bytes table_name = 2;
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 WALProtos.RegionEventDescriptor.Builder setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 3;
public WALProtos.RegionEventDescriptor.Builder clearEncodedRegionName()
required bytes encoded_region_name = 3;
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 WALProtos.RegionEventDescriptor.Builder setLogSequenceNumber(long value)
optional uint64 log_sequence_number = 4;
public WALProtos.RegionEventDescriptor.Builder clearLogSequenceNumber()
optional uint64 log_sequence_number = 4;
public List<WALProtos.StoreDescriptor> getStoresList()
repeated .StoreDescriptor stores = 5;
getStoresList
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.RegionEventDescriptor.Builder setStores(int index, WALProtos.StoreDescriptor value)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder setStores(int index, WALProtos.StoreDescriptor.Builder builderForValue)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder addStores(WALProtos.StoreDescriptor value)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder addStores(int index, WALProtos.StoreDescriptor value)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder addStores(WALProtos.StoreDescriptor.Builder builderForValue)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder addStores(int index, WALProtos.StoreDescriptor.Builder builderForValue)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder addAllStores(Iterable<? extends WALProtos.StoreDescriptor> values)
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder clearStores()
repeated .StoreDescriptor stores = 5;
public WALProtos.RegionEventDescriptor.Builder removeStores(int index)
repeated .StoreDescriptor stores = 5;
public WALProtos.StoreDescriptor.Builder getStoresBuilder(int index)
repeated .StoreDescriptor stores = 5;
public WALProtos.StoreDescriptorOrBuilder getStoresOrBuilder(int index)
repeated .StoreDescriptor stores = 5;
getStoresOrBuilder
in interface WALProtos.RegionEventDescriptorOrBuilder
public List<? extends WALProtos.StoreDescriptorOrBuilder> getStoresOrBuilderList()
repeated .StoreDescriptor stores = 5;
getStoresOrBuilderList
in interface WALProtos.RegionEventDescriptorOrBuilder
public WALProtos.StoreDescriptor.Builder addStoresBuilder()
repeated .StoreDescriptor stores = 5;
public WALProtos.StoreDescriptor.Builder addStoresBuilder(int index)
repeated .StoreDescriptor stores = 5;
public List<WALProtos.StoreDescriptor.Builder> getStoresBuilderList()
repeated .StoreDescriptor stores = 5;
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 WALProtos.RegionEventDescriptor.Builder setServer(HBaseProtos.ServerName value)
optional .ServerName server = 6;
Server who opened the region
public WALProtos.RegionEventDescriptor.Builder setServer(HBaseProtos.ServerName.Builder builderForValue)
optional .ServerName server = 6;
Server who opened the region
public WALProtos.RegionEventDescriptor.Builder mergeServer(HBaseProtos.ServerName value)
optional .ServerName server = 6;
Server who opened the region
public WALProtos.RegionEventDescriptor.Builder clearServer()
optional .ServerName server = 6;
Server who opened the region
public HBaseProtos.ServerName.Builder getServerBuilder()
optional .ServerName server = 6;
Server who opened the region
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 WALProtos.RegionEventDescriptor.Builder setRegionName(com.google.protobuf.ByteString value)
optional bytes region_name = 7;
full region name
public WALProtos.RegionEventDescriptor.Builder clearRegionName()
optional bytes region_name = 7;
full region name
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.