public static final class ZooKeeperProtos.RegionTransition.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.RegionTransition.Builder> implements ZooKeeperProtos.RegionTransitionOrBuilder
RegionTransition
What we write under unassigned up in zookeeper as a region moves through open/close, etc., regions. Details a region in transition.
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.RegionTransition |
build() |
ZooKeeperProtos.RegionTransition |
buildPartial() |
ZooKeeperProtos.RegionTransition.Builder |
clear() |
ZooKeeperProtos.RegionTransition.Builder |
clearCreateTime()
required uint64 create_time = 3; |
ZooKeeperProtos.RegionTransition.Builder |
clearEventTypeCode()
required uint32 event_type_code = 1; |
ZooKeeperProtos.RegionTransition.Builder |
clearPayload()
optional bytes payload = 5; |
ZooKeeperProtos.RegionTransition.Builder |
clearRegionName()
required bytes region_name = 2; |
ZooKeeperProtos.RegionTransition.Builder |
clearServerName()
required .ServerName server_name = 4; |
ZooKeeperProtos.RegionTransition.Builder |
clone() |
long |
getCreateTime()
required uint64 create_time = 3; |
ZooKeeperProtos.RegionTransition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEventTypeCode()
required uint32 event_type_code = 1; |
com.google.protobuf.ByteString |
getPayload()
optional bytes payload = 5; |
com.google.protobuf.ByteString |
getRegionName()
required bytes region_name = 2; |
HBaseProtos.ServerName |
getServerName()
required .ServerName server_name = 4; |
HBaseProtos.ServerName.Builder |
getServerNameBuilder()
required .ServerName server_name = 4; |
HBaseProtos.ServerNameOrBuilder |
getServerNameOrBuilder()
required .ServerName server_name = 4; |
boolean |
hasCreateTime()
required uint64 create_time = 3; |
boolean |
hasEventTypeCode()
required uint32 event_type_code = 1; |
boolean |
hasPayload()
optional bytes payload = 5; |
boolean |
hasRegionName()
required bytes region_name = 2; |
boolean |
hasServerName()
required .ServerName server_name = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZooKeeperProtos.RegionTransition.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.RegionTransition.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZooKeeperProtos.RegionTransition.Builder |
mergeFrom(ZooKeeperProtos.RegionTransition other) |
ZooKeeperProtos.RegionTransition.Builder |
mergeServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 4; |
ZooKeeperProtos.RegionTransition.Builder |
setCreateTime(long value)
required uint64 create_time = 3; |
ZooKeeperProtos.RegionTransition.Builder |
setEventTypeCode(int value)
required uint32 event_type_code = 1; |
ZooKeeperProtos.RegionTransition.Builder |
setPayload(com.google.protobuf.ByteString value)
optional bytes payload = 5; |
ZooKeeperProtos.RegionTransition.Builder |
setRegionName(com.google.protobuf.ByteString value)
required bytes region_name = 2; |
ZooKeeperProtos.RegionTransition.Builder |
setServerName(HBaseProtos.ServerName.Builder builderForValue)
required .ServerName server_name = 4; |
ZooKeeperProtos.RegionTransition.Builder |
setServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 4; |
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<ZooKeeperProtos.RegionTransition.Builder>
public ZooKeeperProtos.RegionTransition.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<ZooKeeperProtos.RegionTransition.Builder>
public ZooKeeperProtos.RegionTransition.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<ZooKeeperProtos.RegionTransition.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<ZooKeeperProtos.RegionTransition.Builder>
public ZooKeeperProtos.RegionTransition getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.RegionTransition build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.RegionTransition buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.RegionTransition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.RegionTransition.Builder>
public ZooKeeperProtos.RegionTransition.Builder mergeFrom(ZooKeeperProtos.RegionTransition other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.RegionTransition.Builder>
public ZooKeeperProtos.RegionTransition.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<ZooKeeperProtos.RegionTransition.Builder>
IOException
public boolean hasEventTypeCode()
required uint32 event_type_code = 1;
Code for EventType gotten by doing o.a.h.h.EventHandler.EventType.getCode()
hasEventTypeCode
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public int getEventTypeCode()
required uint32 event_type_code = 1;
Code for EventType gotten by doing o.a.h.h.EventHandler.EventType.getCode()
getEventTypeCode
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public ZooKeeperProtos.RegionTransition.Builder setEventTypeCode(int value)
required uint32 event_type_code = 1;
Code for EventType gotten by doing o.a.h.h.EventHandler.EventType.getCode()
public ZooKeeperProtos.RegionTransition.Builder clearEventTypeCode()
required uint32 event_type_code = 1;
Code for EventType gotten by doing o.a.h.h.EventHandler.EventType.getCode()
public boolean hasRegionName()
required bytes region_name = 2;
Full regionname in bytes
hasRegionName
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public com.google.protobuf.ByteString getRegionName()
required bytes region_name = 2;
Full regionname in bytes
getRegionName
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public ZooKeeperProtos.RegionTransition.Builder setRegionName(com.google.protobuf.ByteString value)
required bytes region_name = 2;
Full regionname in bytes
public ZooKeeperProtos.RegionTransition.Builder clearRegionName()
required bytes region_name = 2;
Full regionname in bytes
public boolean hasCreateTime()
required uint64 create_time = 3;
hasCreateTime
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public long getCreateTime()
required uint64 create_time = 3;
getCreateTime
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public ZooKeeperProtos.RegionTransition.Builder setCreateTime(long value)
required uint64 create_time = 3;
public ZooKeeperProtos.RegionTransition.Builder clearCreateTime()
required uint64 create_time = 3;
public boolean hasServerName()
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
hasServerName
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public HBaseProtos.ServerName getServerName()
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
getServerName
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public ZooKeeperProtos.RegionTransition.Builder setServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
public ZooKeeperProtos.RegionTransition.Builder setServerName(HBaseProtos.ServerName.Builder builderForValue)
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
public ZooKeeperProtos.RegionTransition.Builder mergeServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
public ZooKeeperProtos.RegionTransition.Builder clearServerName()
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
public HBaseProtos.ServerName.Builder getServerNameBuilder()
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
public HBaseProtos.ServerNameOrBuilder getServerNameOrBuilder()
required .ServerName server_name = 4;
The region server where the transition will happen or is happening
getServerNameOrBuilder
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public boolean hasPayload()
optional bytes payload = 5;
hasPayload
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public com.google.protobuf.ByteString getPayload()
optional bytes payload = 5;
getPayload
in interface ZooKeeperProtos.RegionTransitionOrBuilder
public ZooKeeperProtos.RegionTransition.Builder setPayload(com.google.protobuf.ByteString value)
optional bytes payload = 5;
public ZooKeeperProtos.RegionTransition.Builder clearPayload()
optional bytes payload = 5;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.