org.apache.hadoop.hbase.protobuf.generated
Class AdminProtos.CloseRegionRequest

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CloseRegionRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AdminProtos.CloseRegionRequestOrBuilder
Enclosing class:
AdminProtos

public static final class AdminProtos.CloseRegionRequest
extends com.google.protobuf.GeneratedMessage
implements AdminProtos.CloseRegionRequestOrBuilder

Protobuf type CloseRegionRequest


 Closes the specified region and will use or not use ZK during the close
 according to the specified flag.
 

See Also:
Serialized Form

Nested Class Summary
static class AdminProtos.CloseRegionRequest.Builder
          Protobuf type CloseRegionRequest
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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>
 
Field Summary
static int DESTINATION_SERVER_FIELD_NUMBER
           
static com.google.protobuf.Parser<AdminProtos.CloseRegionRequest> PARSER
           
static int REGION_FIELD_NUMBER
           
static int SERVERSTARTCODE_FIELD_NUMBER
           
static int TRANSITION_IN_ZK_FIELD_NUMBER
           
static int VERSION_OF_CLOSING_NODE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
static AdminProtos.CloseRegionRequest getDefaultInstance()
           
 AdminProtos.CloseRegionRequest getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 HBaseProtos.ServerName getDestinationServer()
          optional .ServerName destination_server = 4;
 HBaseProtos.ServerNameOrBuilder getDestinationServerOrBuilder()
          optional .ServerName destination_server = 4;
 com.google.protobuf.Parser<AdminProtos.CloseRegionRequest> getParserForType()
           
 HBaseProtos.RegionSpecifier getRegion()
          required .RegionSpecifier region = 1;
 HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder()
          required .RegionSpecifier region = 1;
 int getSerializedSize()
           
 long getServerStartCode()
          optional uint64 serverStartCode = 5;
 boolean getTransitionInZK()
          optional bool transition_in_ZK = 3 [default = true];
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 int getVersionOfClosingNode()
          optional uint32 version_of_closing_node = 2;
 boolean hasDestinationServer()
          optional .ServerName destination_server = 4;
 int hashCode()
           
 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()
           
static AdminProtos.CloseRegionRequest.Builder newBuilder()
           
static AdminProtos.CloseRegionRequest.Builder newBuilder(AdminProtos.CloseRegionRequest prototype)
           
 AdminProtos.CloseRegionRequest.Builder newBuilderForType()
           
protected  AdminProtos.CloseRegionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static AdminProtos.CloseRegionRequest parseDelimitedFrom(InputStream input)
           
static AdminProtos.CloseRegionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static AdminProtos.CloseRegionRequest parseFrom(byte[] data)
           
static AdminProtos.CloseRegionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.ByteString data)
           
static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.CodedInputStream input)
           
static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static AdminProtos.CloseRegionRequest parseFrom(InputStream input)
           
static AdminProtos.CloseRegionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 AdminProtos.CloseRegionRequest.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<AdminProtos.CloseRegionRequest> PARSER

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
See Also:
Constant Field Values

VERSION_OF_CLOSING_NODE_FIELD_NUMBER

public static final int VERSION_OF_CLOSING_NODE_FIELD_NUMBER
See Also:
Constant Field Values

TRANSITION_IN_ZK_FIELD_NUMBER

public static final int TRANSITION_IN_ZK_FIELD_NUMBER
See Also:
Constant Field Values

DESTINATION_SERVER_FIELD_NUMBER

public static final int DESTINATION_SERVER_FIELD_NUMBER
See Also:
Constant Field Values

SERVERSTARTCODE_FIELD_NUMBER

public static final int SERVERSTARTCODE_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static AdminProtos.CloseRegionRequest getDefaultInstance()

getDefaultInstanceForType

public AdminProtos.CloseRegionRequest getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

getParserForType

public com.google.protobuf.Parser<AdminProtos.CloseRegionRequest> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasRegion

public boolean hasRegion()
required .RegionSpecifier region = 1;

Specified by:
hasRegion in interface AdminProtos.CloseRegionRequestOrBuilder

getRegion

public HBaseProtos.RegionSpecifier getRegion()
required .RegionSpecifier region = 1;

Specified by:
getRegion in interface AdminProtos.CloseRegionRequestOrBuilder

getRegionOrBuilder

public HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder()
required .RegionSpecifier region = 1;

Specified by:
getRegionOrBuilder in interface AdminProtos.CloseRegionRequestOrBuilder

hasVersionOfClosingNode

public boolean hasVersionOfClosingNode()
optional uint32 version_of_closing_node = 2;

Specified by:
hasVersionOfClosingNode in interface AdminProtos.CloseRegionRequestOrBuilder

getVersionOfClosingNode

public int getVersionOfClosingNode()
optional uint32 version_of_closing_node = 2;

Specified by:
getVersionOfClosingNode in interface AdminProtos.CloseRegionRequestOrBuilder

hasTransitionInZK

public boolean hasTransitionInZK()
optional bool transition_in_ZK = 3 [default = true];

Specified by:
hasTransitionInZK in interface AdminProtos.CloseRegionRequestOrBuilder

getTransitionInZK

public boolean getTransitionInZK()
optional bool transition_in_ZK = 3 [default = true];

Specified by:
getTransitionInZK in interface AdminProtos.CloseRegionRequestOrBuilder

hasDestinationServer

public boolean hasDestinationServer()
optional .ServerName destination_server = 4;

Specified by:
hasDestinationServer in interface AdminProtos.CloseRegionRequestOrBuilder

getDestinationServer

public HBaseProtos.ServerName getDestinationServer()
optional .ServerName destination_server = 4;

Specified by:
getDestinationServer in interface AdminProtos.CloseRegionRequestOrBuilder

getDestinationServerOrBuilder

public HBaseProtos.ServerNameOrBuilder getDestinationServerOrBuilder()
optional .ServerName destination_server = 4;

Specified by:
getDestinationServerOrBuilder in interface AdminProtos.CloseRegionRequestOrBuilder

hasServerStartCode

public boolean hasServerStartCode()
optional uint64 serverStartCode = 5;
 the intended server for this RPC.
 

Specified by:
hasServerStartCode in interface AdminProtos.CloseRegionRequestOrBuilder

getServerStartCode

public long getServerStartCode()
optional uint64 serverStartCode = 5;
 the intended server for this RPC.
 

Specified by:
getServerStartCode in interface AdminProtos.CloseRegionRequestOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

equals

public boolean equals(Object obj)
Specified by:
equals in interface com.google.protobuf.Message
Overrides:
equals in class com.google.protobuf.AbstractMessage

hashCode

public int hashCode()
Specified by:
hashCode in interface com.google.protobuf.Message
Overrides:
hashCode in class com.google.protobuf.AbstractMessage

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(InputStream input)
                                                throws IOException
Throws:
IOException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
Throws:
IOException

parseDelimitedFrom

public static AdminProtos.CloseRegionRequest parseDelimitedFrom(InputStream input)
                                                         throws IOException
Throws:
IOException

parseDelimitedFrom

public static AdminProtos.CloseRegionRequest parseDelimitedFrom(InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws IOException
Throws:
IOException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.CodedInputStream input)
                                                throws IOException
Throws:
IOException

parseFrom

public static AdminProtos.CloseRegionRequest parseFrom(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
Throws:
IOException

newBuilder

public static AdminProtos.CloseRegionRequest.Builder newBuilder()

newBuilderForType

public AdminProtos.CloseRegionRequest.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static AdminProtos.CloseRegionRequest.Builder newBuilder(AdminProtos.CloseRegionRequest prototype)

toBuilder

public AdminProtos.CloseRegionRequest.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected AdminProtos.CloseRegionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.