public static final class AdminProtos.CloseRegionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdminProtos.CloseRegionRequest.Builder> implements AdminProtos.CloseRegionRequestOrBuilder
CloseRegionRequest
Closes the specified region and will use or not use ZK during the close according to the specified flag.
Modifier and Type | Method and Description |
---|---|
AdminProtos.CloseRegionRequest |
build() |
AdminProtos.CloseRegionRequest |
buildPartial() |
AdminProtos.CloseRegionRequest.Builder |
clear() |
AdminProtos.CloseRegionRequest.Builder |
clearDestinationServer()
optional .ServerName destination_server = 4; |
AdminProtos.CloseRegionRequest.Builder |
clearRegion()
required .RegionSpecifier region = 1; |
AdminProtos.CloseRegionRequest.Builder |
clearServerStartCode()
optional uint64 serverStartCode = 5; |
AdminProtos.CloseRegionRequest.Builder |
clearTransitionInZK()
optional bool transition_in_ZK = 3 [default = true]; |
AdminProtos.CloseRegionRequest.Builder |
clearVersionOfClosingNode()
optional uint32 version_of_closing_node = 2; |
AdminProtos.CloseRegionRequest.Builder |
clone() |
AdminProtos.CloseRegionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HBaseProtos.ServerName |
getDestinationServer()
optional .ServerName destination_server = 4; |
HBaseProtos.ServerName.Builder |
getDestinationServerBuilder()
optional .ServerName destination_server = 4; |
HBaseProtos.ServerNameOrBuilder |
getDestinationServerOrBuilder()
optional .ServerName destination_server = 4; |
HBaseProtos.RegionSpecifier |
getRegion()
required .RegionSpecifier region = 1; |
HBaseProtos.RegionSpecifier.Builder |
getRegionBuilder()
required .RegionSpecifier region = 1; |
HBaseProtos.RegionSpecifierOrBuilder |
getRegionOrBuilder()
required .RegionSpecifier region = 1; |
long |
getServerStartCode()
optional uint64 serverStartCode = 5; |
boolean |
getTransitionInZK()
optional bool transition_in_ZK = 3 [default = true]; |
int |
getVersionOfClosingNode()
optional uint32 version_of_closing_node = 2; |
boolean |
hasDestinationServer()
optional .ServerName destination_server = 4; |
boolean |
hasRegion()
required .RegionSpecifier region = 1; |
boolean |
hasServerStartCode()
optional uint64 serverStartCode = 5; |
boolean |
hasTransitionInZK()
optional bool transition_in_ZK = 3 [default = true]; |
boolean |
hasVersionOfClosingNode()
optional uint32 version_of_closing_node = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AdminProtos.CloseRegionRequest.Builder |
mergeDestinationServer(HBaseProtos.ServerName value)
optional .ServerName destination_server = 4; |
AdminProtos.CloseRegionRequest.Builder |
mergeFrom(AdminProtos.CloseRegionRequest other) |
AdminProtos.CloseRegionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdminProtos.CloseRegionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AdminProtos.CloseRegionRequest.Builder |
mergeRegion(HBaseProtos.RegionSpecifier value)
required .RegionSpecifier region = 1; |
AdminProtos.CloseRegionRequest.Builder |
setDestinationServer(HBaseProtos.ServerName.Builder builderForValue)
optional .ServerName destination_server = 4; |
AdminProtos.CloseRegionRequest.Builder |
setDestinationServer(HBaseProtos.ServerName value)
optional .ServerName destination_server = 4; |
AdminProtos.CloseRegionRequest.Builder |
setRegion(HBaseProtos.RegionSpecifier.Builder builderForValue)
required .RegionSpecifier region = 1; |
AdminProtos.CloseRegionRequest.Builder |
setRegion(HBaseProtos.RegionSpecifier value)
required .RegionSpecifier region = 1; |
AdminProtos.CloseRegionRequest.Builder |
setServerStartCode(long value)
optional uint64 serverStartCode = 5; |
AdminProtos.CloseRegionRequest.Builder |
setTransitionInZK(boolean value)
optional bool transition_in_ZK = 3 [default = true]; |
AdminProtos.CloseRegionRequest.Builder |
setVersionOfClosingNode(int value)
optional uint32 version_of_closing_node = 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<AdminProtos.CloseRegionRequest.Builder>
public AdminProtos.CloseRegionRequest.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<AdminProtos.CloseRegionRequest.Builder>
public AdminProtos.CloseRegionRequest.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<AdminProtos.CloseRegionRequest.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<AdminProtos.CloseRegionRequest.Builder>
public AdminProtos.CloseRegionRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AdminProtos.CloseRegionRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AdminProtos.CloseRegionRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AdminProtos.CloseRegionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AdminProtos.CloseRegionRequest.Builder>
public AdminProtos.CloseRegionRequest.Builder mergeFrom(AdminProtos.CloseRegionRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<AdminProtos.CloseRegionRequest.Builder>
public AdminProtos.CloseRegionRequest.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<AdminProtos.CloseRegionRequest.Builder>
IOException
public boolean hasRegion()
required .RegionSpecifier region = 1;
hasRegion
in interface AdminProtos.CloseRegionRequestOrBuilder
public HBaseProtos.RegionSpecifier getRegion()
required .RegionSpecifier region = 1;
getRegion
in interface AdminProtos.CloseRegionRequestOrBuilder
public AdminProtos.CloseRegionRequest.Builder setRegion(HBaseProtos.RegionSpecifier value)
required .RegionSpecifier region = 1;
public AdminProtos.CloseRegionRequest.Builder setRegion(HBaseProtos.RegionSpecifier.Builder builderForValue)
required .RegionSpecifier region = 1;
public AdminProtos.CloseRegionRequest.Builder mergeRegion(HBaseProtos.RegionSpecifier value)
required .RegionSpecifier region = 1;
public AdminProtos.CloseRegionRequest.Builder clearRegion()
required .RegionSpecifier region = 1;
public HBaseProtos.RegionSpecifier.Builder getRegionBuilder()
required .RegionSpecifier region = 1;
public HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder()
required .RegionSpecifier region = 1;
getRegionOrBuilder
in interface AdminProtos.CloseRegionRequestOrBuilder
public boolean hasVersionOfClosingNode()
optional uint32 version_of_closing_node = 2;
hasVersionOfClosingNode
in interface AdminProtos.CloseRegionRequestOrBuilder
public int getVersionOfClosingNode()
optional uint32 version_of_closing_node = 2;
getVersionOfClosingNode
in interface AdminProtos.CloseRegionRequestOrBuilder
public AdminProtos.CloseRegionRequest.Builder setVersionOfClosingNode(int value)
optional uint32 version_of_closing_node = 2;
public AdminProtos.CloseRegionRequest.Builder clearVersionOfClosingNode()
optional uint32 version_of_closing_node = 2;
public boolean hasTransitionInZK()
optional bool transition_in_ZK = 3 [default = true];
hasTransitionInZK
in interface AdminProtos.CloseRegionRequestOrBuilder
public boolean getTransitionInZK()
optional bool transition_in_ZK = 3 [default = true];
getTransitionInZK
in interface AdminProtos.CloseRegionRequestOrBuilder
public AdminProtos.CloseRegionRequest.Builder setTransitionInZK(boolean value)
optional bool transition_in_ZK = 3 [default = true];
public AdminProtos.CloseRegionRequest.Builder clearTransitionInZK()
optional bool transition_in_ZK = 3 [default = true];
public boolean hasDestinationServer()
optional .ServerName destination_server = 4;
hasDestinationServer
in interface AdminProtos.CloseRegionRequestOrBuilder
public HBaseProtos.ServerName getDestinationServer()
optional .ServerName destination_server = 4;
getDestinationServer
in interface AdminProtos.CloseRegionRequestOrBuilder
public AdminProtos.CloseRegionRequest.Builder setDestinationServer(HBaseProtos.ServerName value)
optional .ServerName destination_server = 4;
public AdminProtos.CloseRegionRequest.Builder setDestinationServer(HBaseProtos.ServerName.Builder builderForValue)
optional .ServerName destination_server = 4;
public AdminProtos.CloseRegionRequest.Builder mergeDestinationServer(HBaseProtos.ServerName value)
optional .ServerName destination_server = 4;
public AdminProtos.CloseRegionRequest.Builder clearDestinationServer()
optional .ServerName destination_server = 4;
public HBaseProtos.ServerName.Builder getDestinationServerBuilder()
optional .ServerName destination_server = 4;
public HBaseProtos.ServerNameOrBuilder getDestinationServerOrBuilder()
optional .ServerName destination_server = 4;
getDestinationServerOrBuilder
in interface AdminProtos.CloseRegionRequestOrBuilder
public boolean hasServerStartCode()
optional uint64 serverStartCode = 5;
the intended server for this RPC.
hasServerStartCode
in interface AdminProtos.CloseRegionRequestOrBuilder
public long getServerStartCode()
optional uint64 serverStartCode = 5;
the intended server for this RPC.
getServerStartCode
in interface AdminProtos.CloseRegionRequestOrBuilder
public AdminProtos.CloseRegionRequest.Builder setServerStartCode(long value)
optional uint64 serverStartCode = 5;
the intended server for this RPC.
public AdminProtos.CloseRegionRequest.Builder clearServerStartCode()
optional uint64 serverStartCode = 5;
the intended server for this RPC.
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.