You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2016/09/29 19:37:25 UTC
[11/51] [partial] hbase git commit: HBASE-16264 Figure how to deal
with endpoints and shaded pb Shade our protobufs. Do it in a manner that
makes it so we can still have in our API references to com.google.protobuf
(and in REST). The c.g.p in API is for
http://git-wip-us.apache.org/repos/asf/hbase/blob/17d4b70d/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/MasterProcedureProtos.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/MasterProcedureProtos.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/MasterProcedureProtos.java
new file mode 100644
index 0000000..a758109
--- /dev/null
+++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/MasterProcedureProtos.java
@@ -0,0 +1,22424 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: MasterProcedure.proto
+
+package org.apache.hadoop.hbase.shaded.protobuf.generated;
+
+public final class MasterProcedureProtos {
+ private MasterProcedureProtos() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ }
+ /**
+ * Protobuf enum {@code hbase.pb.CreateTableState}
+ */
+ public enum CreateTableState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>CREATE_TABLE_PRE_OPERATION = 1;</code>
+ */
+ CREATE_TABLE_PRE_OPERATION(0, 1),
+ /**
+ * <code>CREATE_TABLE_WRITE_FS_LAYOUT = 2;</code>
+ */
+ CREATE_TABLE_WRITE_FS_LAYOUT(1, 2),
+ /**
+ * <code>CREATE_TABLE_ADD_TO_META = 3;</code>
+ */
+ CREATE_TABLE_ADD_TO_META(2, 3),
+ /**
+ * <code>CREATE_TABLE_ASSIGN_REGIONS = 4;</code>
+ */
+ CREATE_TABLE_ASSIGN_REGIONS(3, 4),
+ /**
+ * <code>CREATE_TABLE_UPDATE_DESC_CACHE = 5;</code>
+ */
+ CREATE_TABLE_UPDATE_DESC_CACHE(4, 5),
+ /**
+ * <code>CREATE_TABLE_POST_OPERATION = 6;</code>
+ */
+ CREATE_TABLE_POST_OPERATION(5, 6),
+ ;
+
+ /**
+ * <code>CREATE_TABLE_PRE_OPERATION = 1;</code>
+ */
+ public static final int CREATE_TABLE_PRE_OPERATION_VALUE = 1;
+ /**
+ * <code>CREATE_TABLE_WRITE_FS_LAYOUT = 2;</code>
+ */
+ public static final int CREATE_TABLE_WRITE_FS_LAYOUT_VALUE = 2;
+ /**
+ * <code>CREATE_TABLE_ADD_TO_META = 3;</code>
+ */
+ public static final int CREATE_TABLE_ADD_TO_META_VALUE = 3;
+ /**
+ * <code>CREATE_TABLE_ASSIGN_REGIONS = 4;</code>
+ */
+ public static final int CREATE_TABLE_ASSIGN_REGIONS_VALUE = 4;
+ /**
+ * <code>CREATE_TABLE_UPDATE_DESC_CACHE = 5;</code>
+ */
+ public static final int CREATE_TABLE_UPDATE_DESC_CACHE_VALUE = 5;
+ /**
+ * <code>CREATE_TABLE_POST_OPERATION = 6;</code>
+ */
+ public static final int CREATE_TABLE_POST_OPERATION_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static CreateTableState valueOf(int value) {
+ switch (value) {
+ case 1: return CREATE_TABLE_PRE_OPERATION;
+ case 2: return CREATE_TABLE_WRITE_FS_LAYOUT;
+ case 3: return CREATE_TABLE_ADD_TO_META;
+ case 4: return CREATE_TABLE_ASSIGN_REGIONS;
+ case 5: return CREATE_TABLE_UPDATE_DESC_CACHE;
+ case 6: return CREATE_TABLE_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<CreateTableState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<CreateTableState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<CreateTableState>() {
+ public CreateTableState findValueByNumber(int number) {
+ return CreateTableState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final CreateTableState[] VALUES = values();
+
+ public static CreateTableState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private CreateTableState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.CreateTableState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.ModifyTableState}
+ */
+ public enum ModifyTableState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>MODIFY_TABLE_PREPARE = 1;</code>
+ */
+ MODIFY_TABLE_PREPARE(0, 1),
+ /**
+ * <code>MODIFY_TABLE_PRE_OPERATION = 2;</code>
+ */
+ MODIFY_TABLE_PRE_OPERATION(1, 2),
+ /**
+ * <code>MODIFY_TABLE_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ MODIFY_TABLE_UPDATE_TABLE_DESCRIPTOR(2, 3),
+ /**
+ * <code>MODIFY_TABLE_REMOVE_REPLICA_COLUMN = 4;</code>
+ */
+ MODIFY_TABLE_REMOVE_REPLICA_COLUMN(3, 4),
+ /**
+ * <code>MODIFY_TABLE_DELETE_FS_LAYOUT = 5;</code>
+ */
+ MODIFY_TABLE_DELETE_FS_LAYOUT(4, 5),
+ /**
+ * <code>MODIFY_TABLE_POST_OPERATION = 6;</code>
+ */
+ MODIFY_TABLE_POST_OPERATION(5, 6),
+ /**
+ * <code>MODIFY_TABLE_REOPEN_ALL_REGIONS = 7;</code>
+ */
+ MODIFY_TABLE_REOPEN_ALL_REGIONS(6, 7),
+ ;
+
+ /**
+ * <code>MODIFY_TABLE_PREPARE = 1;</code>
+ */
+ public static final int MODIFY_TABLE_PREPARE_VALUE = 1;
+ /**
+ * <code>MODIFY_TABLE_PRE_OPERATION = 2;</code>
+ */
+ public static final int MODIFY_TABLE_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>MODIFY_TABLE_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ public static final int MODIFY_TABLE_UPDATE_TABLE_DESCRIPTOR_VALUE = 3;
+ /**
+ * <code>MODIFY_TABLE_REMOVE_REPLICA_COLUMN = 4;</code>
+ */
+ public static final int MODIFY_TABLE_REMOVE_REPLICA_COLUMN_VALUE = 4;
+ /**
+ * <code>MODIFY_TABLE_DELETE_FS_LAYOUT = 5;</code>
+ */
+ public static final int MODIFY_TABLE_DELETE_FS_LAYOUT_VALUE = 5;
+ /**
+ * <code>MODIFY_TABLE_POST_OPERATION = 6;</code>
+ */
+ public static final int MODIFY_TABLE_POST_OPERATION_VALUE = 6;
+ /**
+ * <code>MODIFY_TABLE_REOPEN_ALL_REGIONS = 7;</code>
+ */
+ public static final int MODIFY_TABLE_REOPEN_ALL_REGIONS_VALUE = 7;
+
+
+ public final int getNumber() { return value; }
+
+ public static ModifyTableState valueOf(int value) {
+ switch (value) {
+ case 1: return MODIFY_TABLE_PREPARE;
+ case 2: return MODIFY_TABLE_PRE_OPERATION;
+ case 3: return MODIFY_TABLE_UPDATE_TABLE_DESCRIPTOR;
+ case 4: return MODIFY_TABLE_REMOVE_REPLICA_COLUMN;
+ case 5: return MODIFY_TABLE_DELETE_FS_LAYOUT;
+ case 6: return MODIFY_TABLE_POST_OPERATION;
+ case 7: return MODIFY_TABLE_REOPEN_ALL_REGIONS;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<ModifyTableState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<ModifyTableState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<ModifyTableState>() {
+ public ModifyTableState findValueByNumber(int number) {
+ return ModifyTableState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(1);
+ }
+
+ private static final ModifyTableState[] VALUES = values();
+
+ public static ModifyTableState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private ModifyTableState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.ModifyTableState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.TruncateTableState}
+ */
+ public enum TruncateTableState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>TRUNCATE_TABLE_PRE_OPERATION = 1;</code>
+ */
+ TRUNCATE_TABLE_PRE_OPERATION(0, 1),
+ /**
+ * <code>TRUNCATE_TABLE_REMOVE_FROM_META = 2;</code>
+ */
+ TRUNCATE_TABLE_REMOVE_FROM_META(1, 2),
+ /**
+ * <code>TRUNCATE_TABLE_CLEAR_FS_LAYOUT = 3;</code>
+ */
+ TRUNCATE_TABLE_CLEAR_FS_LAYOUT(2, 3),
+ /**
+ * <code>TRUNCATE_TABLE_CREATE_FS_LAYOUT = 4;</code>
+ */
+ TRUNCATE_TABLE_CREATE_FS_LAYOUT(3, 4),
+ /**
+ * <code>TRUNCATE_TABLE_ADD_TO_META = 5;</code>
+ */
+ TRUNCATE_TABLE_ADD_TO_META(4, 5),
+ /**
+ * <code>TRUNCATE_TABLE_ASSIGN_REGIONS = 6;</code>
+ */
+ TRUNCATE_TABLE_ASSIGN_REGIONS(5, 6),
+ /**
+ * <code>TRUNCATE_TABLE_POST_OPERATION = 7;</code>
+ */
+ TRUNCATE_TABLE_POST_OPERATION(6, 7),
+ ;
+
+ /**
+ * <code>TRUNCATE_TABLE_PRE_OPERATION = 1;</code>
+ */
+ public static final int TRUNCATE_TABLE_PRE_OPERATION_VALUE = 1;
+ /**
+ * <code>TRUNCATE_TABLE_REMOVE_FROM_META = 2;</code>
+ */
+ public static final int TRUNCATE_TABLE_REMOVE_FROM_META_VALUE = 2;
+ /**
+ * <code>TRUNCATE_TABLE_CLEAR_FS_LAYOUT = 3;</code>
+ */
+ public static final int TRUNCATE_TABLE_CLEAR_FS_LAYOUT_VALUE = 3;
+ /**
+ * <code>TRUNCATE_TABLE_CREATE_FS_LAYOUT = 4;</code>
+ */
+ public static final int TRUNCATE_TABLE_CREATE_FS_LAYOUT_VALUE = 4;
+ /**
+ * <code>TRUNCATE_TABLE_ADD_TO_META = 5;</code>
+ */
+ public static final int TRUNCATE_TABLE_ADD_TO_META_VALUE = 5;
+ /**
+ * <code>TRUNCATE_TABLE_ASSIGN_REGIONS = 6;</code>
+ */
+ public static final int TRUNCATE_TABLE_ASSIGN_REGIONS_VALUE = 6;
+ /**
+ * <code>TRUNCATE_TABLE_POST_OPERATION = 7;</code>
+ */
+ public static final int TRUNCATE_TABLE_POST_OPERATION_VALUE = 7;
+
+
+ public final int getNumber() { return value; }
+
+ public static TruncateTableState valueOf(int value) {
+ switch (value) {
+ case 1: return TRUNCATE_TABLE_PRE_OPERATION;
+ case 2: return TRUNCATE_TABLE_REMOVE_FROM_META;
+ case 3: return TRUNCATE_TABLE_CLEAR_FS_LAYOUT;
+ case 4: return TRUNCATE_TABLE_CREATE_FS_LAYOUT;
+ case 5: return TRUNCATE_TABLE_ADD_TO_META;
+ case 6: return TRUNCATE_TABLE_ASSIGN_REGIONS;
+ case 7: return TRUNCATE_TABLE_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<TruncateTableState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<TruncateTableState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<TruncateTableState>() {
+ public TruncateTableState findValueByNumber(int number) {
+ return TruncateTableState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(2);
+ }
+
+ private static final TruncateTableState[] VALUES = values();
+
+ public static TruncateTableState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private TruncateTableState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.TruncateTableState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.DeleteTableState}
+ */
+ public enum DeleteTableState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>DELETE_TABLE_PRE_OPERATION = 1;</code>
+ */
+ DELETE_TABLE_PRE_OPERATION(0, 1),
+ /**
+ * <code>DELETE_TABLE_REMOVE_FROM_META = 2;</code>
+ */
+ DELETE_TABLE_REMOVE_FROM_META(1, 2),
+ /**
+ * <code>DELETE_TABLE_CLEAR_FS_LAYOUT = 3;</code>
+ */
+ DELETE_TABLE_CLEAR_FS_LAYOUT(2, 3),
+ /**
+ * <code>DELETE_TABLE_UPDATE_DESC_CACHE = 4;</code>
+ */
+ DELETE_TABLE_UPDATE_DESC_CACHE(3, 4),
+ /**
+ * <code>DELETE_TABLE_UNASSIGN_REGIONS = 5;</code>
+ */
+ DELETE_TABLE_UNASSIGN_REGIONS(4, 5),
+ /**
+ * <code>DELETE_TABLE_POST_OPERATION = 6;</code>
+ */
+ DELETE_TABLE_POST_OPERATION(5, 6),
+ ;
+
+ /**
+ * <code>DELETE_TABLE_PRE_OPERATION = 1;</code>
+ */
+ public static final int DELETE_TABLE_PRE_OPERATION_VALUE = 1;
+ /**
+ * <code>DELETE_TABLE_REMOVE_FROM_META = 2;</code>
+ */
+ public static final int DELETE_TABLE_REMOVE_FROM_META_VALUE = 2;
+ /**
+ * <code>DELETE_TABLE_CLEAR_FS_LAYOUT = 3;</code>
+ */
+ public static final int DELETE_TABLE_CLEAR_FS_LAYOUT_VALUE = 3;
+ /**
+ * <code>DELETE_TABLE_UPDATE_DESC_CACHE = 4;</code>
+ */
+ public static final int DELETE_TABLE_UPDATE_DESC_CACHE_VALUE = 4;
+ /**
+ * <code>DELETE_TABLE_UNASSIGN_REGIONS = 5;</code>
+ */
+ public static final int DELETE_TABLE_UNASSIGN_REGIONS_VALUE = 5;
+ /**
+ * <code>DELETE_TABLE_POST_OPERATION = 6;</code>
+ */
+ public static final int DELETE_TABLE_POST_OPERATION_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static DeleteTableState valueOf(int value) {
+ switch (value) {
+ case 1: return DELETE_TABLE_PRE_OPERATION;
+ case 2: return DELETE_TABLE_REMOVE_FROM_META;
+ case 3: return DELETE_TABLE_CLEAR_FS_LAYOUT;
+ case 4: return DELETE_TABLE_UPDATE_DESC_CACHE;
+ case 5: return DELETE_TABLE_UNASSIGN_REGIONS;
+ case 6: return DELETE_TABLE_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<DeleteTableState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<DeleteTableState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<DeleteTableState>() {
+ public DeleteTableState findValueByNumber(int number) {
+ return DeleteTableState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(3);
+ }
+
+ private static final DeleteTableState[] VALUES = values();
+
+ public static DeleteTableState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private DeleteTableState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.DeleteTableState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.CreateNamespaceState}
+ */
+ public enum CreateNamespaceState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>CREATE_NAMESPACE_PREPARE = 1;</code>
+ */
+ CREATE_NAMESPACE_PREPARE(0, 1),
+ /**
+ * <code>CREATE_NAMESPACE_CREATE_DIRECTORY = 2;</code>
+ */
+ CREATE_NAMESPACE_CREATE_DIRECTORY(1, 2),
+ /**
+ * <code>CREATE_NAMESPACE_INSERT_INTO_NS_TABLE = 3;</code>
+ */
+ CREATE_NAMESPACE_INSERT_INTO_NS_TABLE(2, 3),
+ /**
+ * <code>CREATE_NAMESPACE_UPDATE_ZK = 4;</code>
+ */
+ CREATE_NAMESPACE_UPDATE_ZK(3, 4),
+ /**
+ * <code>CREATE_NAMESPACE_SET_NAMESPACE_QUOTA = 5;</code>
+ */
+ CREATE_NAMESPACE_SET_NAMESPACE_QUOTA(4, 5),
+ ;
+
+ /**
+ * <code>CREATE_NAMESPACE_PREPARE = 1;</code>
+ */
+ public static final int CREATE_NAMESPACE_PREPARE_VALUE = 1;
+ /**
+ * <code>CREATE_NAMESPACE_CREATE_DIRECTORY = 2;</code>
+ */
+ public static final int CREATE_NAMESPACE_CREATE_DIRECTORY_VALUE = 2;
+ /**
+ * <code>CREATE_NAMESPACE_INSERT_INTO_NS_TABLE = 3;</code>
+ */
+ public static final int CREATE_NAMESPACE_INSERT_INTO_NS_TABLE_VALUE = 3;
+ /**
+ * <code>CREATE_NAMESPACE_UPDATE_ZK = 4;</code>
+ */
+ public static final int CREATE_NAMESPACE_UPDATE_ZK_VALUE = 4;
+ /**
+ * <code>CREATE_NAMESPACE_SET_NAMESPACE_QUOTA = 5;</code>
+ */
+ public static final int CREATE_NAMESPACE_SET_NAMESPACE_QUOTA_VALUE = 5;
+
+
+ public final int getNumber() { return value; }
+
+ public static CreateNamespaceState valueOf(int value) {
+ switch (value) {
+ case 1: return CREATE_NAMESPACE_PREPARE;
+ case 2: return CREATE_NAMESPACE_CREATE_DIRECTORY;
+ case 3: return CREATE_NAMESPACE_INSERT_INTO_NS_TABLE;
+ case 4: return CREATE_NAMESPACE_UPDATE_ZK;
+ case 5: return CREATE_NAMESPACE_SET_NAMESPACE_QUOTA;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<CreateNamespaceState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<CreateNamespaceState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<CreateNamespaceState>() {
+ public CreateNamespaceState findValueByNumber(int number) {
+ return CreateNamespaceState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(4);
+ }
+
+ private static final CreateNamespaceState[] VALUES = values();
+
+ public static CreateNamespaceState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private CreateNamespaceState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.CreateNamespaceState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.ModifyNamespaceState}
+ */
+ public enum ModifyNamespaceState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>MODIFY_NAMESPACE_PREPARE = 1;</code>
+ */
+ MODIFY_NAMESPACE_PREPARE(0, 1),
+ /**
+ * <code>MODIFY_NAMESPACE_UPDATE_NS_TABLE = 2;</code>
+ */
+ MODIFY_NAMESPACE_UPDATE_NS_TABLE(1, 2),
+ /**
+ * <code>MODIFY_NAMESPACE_UPDATE_ZK = 3;</code>
+ */
+ MODIFY_NAMESPACE_UPDATE_ZK(2, 3),
+ ;
+
+ /**
+ * <code>MODIFY_NAMESPACE_PREPARE = 1;</code>
+ */
+ public static final int MODIFY_NAMESPACE_PREPARE_VALUE = 1;
+ /**
+ * <code>MODIFY_NAMESPACE_UPDATE_NS_TABLE = 2;</code>
+ */
+ public static final int MODIFY_NAMESPACE_UPDATE_NS_TABLE_VALUE = 2;
+ /**
+ * <code>MODIFY_NAMESPACE_UPDATE_ZK = 3;</code>
+ */
+ public static final int MODIFY_NAMESPACE_UPDATE_ZK_VALUE = 3;
+
+
+ public final int getNumber() { return value; }
+
+ public static ModifyNamespaceState valueOf(int value) {
+ switch (value) {
+ case 1: return MODIFY_NAMESPACE_PREPARE;
+ case 2: return MODIFY_NAMESPACE_UPDATE_NS_TABLE;
+ case 3: return MODIFY_NAMESPACE_UPDATE_ZK;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<ModifyNamespaceState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<ModifyNamespaceState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<ModifyNamespaceState>() {
+ public ModifyNamespaceState findValueByNumber(int number) {
+ return ModifyNamespaceState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(5);
+ }
+
+ private static final ModifyNamespaceState[] VALUES = values();
+
+ public static ModifyNamespaceState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private ModifyNamespaceState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.ModifyNamespaceState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.DeleteNamespaceState}
+ */
+ public enum DeleteNamespaceState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>DELETE_NAMESPACE_PREPARE = 1;</code>
+ */
+ DELETE_NAMESPACE_PREPARE(0, 1),
+ /**
+ * <code>DELETE_NAMESPACE_DELETE_FROM_NS_TABLE = 2;</code>
+ */
+ DELETE_NAMESPACE_DELETE_FROM_NS_TABLE(1, 2),
+ /**
+ * <code>DELETE_NAMESPACE_REMOVE_FROM_ZK = 3;</code>
+ */
+ DELETE_NAMESPACE_REMOVE_FROM_ZK(2, 3),
+ /**
+ * <code>DELETE_NAMESPACE_DELETE_DIRECTORIES = 4;</code>
+ */
+ DELETE_NAMESPACE_DELETE_DIRECTORIES(3, 4),
+ /**
+ * <code>DELETE_NAMESPACE_REMOVE_NAMESPACE_QUOTA = 5;</code>
+ */
+ DELETE_NAMESPACE_REMOVE_NAMESPACE_QUOTA(4, 5),
+ ;
+
+ /**
+ * <code>DELETE_NAMESPACE_PREPARE = 1;</code>
+ */
+ public static final int DELETE_NAMESPACE_PREPARE_VALUE = 1;
+ /**
+ * <code>DELETE_NAMESPACE_DELETE_FROM_NS_TABLE = 2;</code>
+ */
+ public static final int DELETE_NAMESPACE_DELETE_FROM_NS_TABLE_VALUE = 2;
+ /**
+ * <code>DELETE_NAMESPACE_REMOVE_FROM_ZK = 3;</code>
+ */
+ public static final int DELETE_NAMESPACE_REMOVE_FROM_ZK_VALUE = 3;
+ /**
+ * <code>DELETE_NAMESPACE_DELETE_DIRECTORIES = 4;</code>
+ */
+ public static final int DELETE_NAMESPACE_DELETE_DIRECTORIES_VALUE = 4;
+ /**
+ * <code>DELETE_NAMESPACE_REMOVE_NAMESPACE_QUOTA = 5;</code>
+ */
+ public static final int DELETE_NAMESPACE_REMOVE_NAMESPACE_QUOTA_VALUE = 5;
+
+
+ public final int getNumber() { return value; }
+
+ public static DeleteNamespaceState valueOf(int value) {
+ switch (value) {
+ case 1: return DELETE_NAMESPACE_PREPARE;
+ case 2: return DELETE_NAMESPACE_DELETE_FROM_NS_TABLE;
+ case 3: return DELETE_NAMESPACE_REMOVE_FROM_ZK;
+ case 4: return DELETE_NAMESPACE_DELETE_DIRECTORIES;
+ case 5: return DELETE_NAMESPACE_REMOVE_NAMESPACE_QUOTA;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<DeleteNamespaceState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<DeleteNamespaceState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<DeleteNamespaceState>() {
+ public DeleteNamespaceState findValueByNumber(int number) {
+ return DeleteNamespaceState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(6);
+ }
+
+ private static final DeleteNamespaceState[] VALUES = values();
+
+ public static DeleteNamespaceState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private DeleteNamespaceState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.DeleteNamespaceState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.AddColumnFamilyState}
+ */
+ public enum AddColumnFamilyState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>ADD_COLUMN_FAMILY_PREPARE = 1;</code>
+ */
+ ADD_COLUMN_FAMILY_PREPARE(0, 1),
+ /**
+ * <code>ADD_COLUMN_FAMILY_PRE_OPERATION = 2;</code>
+ */
+ ADD_COLUMN_FAMILY_PRE_OPERATION(1, 2),
+ /**
+ * <code>ADD_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ ADD_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR(2, 3),
+ /**
+ * <code>ADD_COLUMN_FAMILY_POST_OPERATION = 4;</code>
+ */
+ ADD_COLUMN_FAMILY_POST_OPERATION(3, 4),
+ /**
+ * <code>ADD_COLUMN_FAMILY_REOPEN_ALL_REGIONS = 5;</code>
+ */
+ ADD_COLUMN_FAMILY_REOPEN_ALL_REGIONS(4, 5),
+ ;
+
+ /**
+ * <code>ADD_COLUMN_FAMILY_PREPARE = 1;</code>
+ */
+ public static final int ADD_COLUMN_FAMILY_PREPARE_VALUE = 1;
+ /**
+ * <code>ADD_COLUMN_FAMILY_PRE_OPERATION = 2;</code>
+ */
+ public static final int ADD_COLUMN_FAMILY_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>ADD_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ public static final int ADD_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR_VALUE = 3;
+ /**
+ * <code>ADD_COLUMN_FAMILY_POST_OPERATION = 4;</code>
+ */
+ public static final int ADD_COLUMN_FAMILY_POST_OPERATION_VALUE = 4;
+ /**
+ * <code>ADD_COLUMN_FAMILY_REOPEN_ALL_REGIONS = 5;</code>
+ */
+ public static final int ADD_COLUMN_FAMILY_REOPEN_ALL_REGIONS_VALUE = 5;
+
+
+ public final int getNumber() { return value; }
+
+ public static AddColumnFamilyState valueOf(int value) {
+ switch (value) {
+ case 1: return ADD_COLUMN_FAMILY_PREPARE;
+ case 2: return ADD_COLUMN_FAMILY_PRE_OPERATION;
+ case 3: return ADD_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR;
+ case 4: return ADD_COLUMN_FAMILY_POST_OPERATION;
+ case 5: return ADD_COLUMN_FAMILY_REOPEN_ALL_REGIONS;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<AddColumnFamilyState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<AddColumnFamilyState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<AddColumnFamilyState>() {
+ public AddColumnFamilyState findValueByNumber(int number) {
+ return AddColumnFamilyState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(7);
+ }
+
+ private static final AddColumnFamilyState[] VALUES = values();
+
+ public static AddColumnFamilyState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private AddColumnFamilyState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.AddColumnFamilyState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.ModifyColumnFamilyState}
+ */
+ public enum ModifyColumnFamilyState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_PREPARE = 1;</code>
+ */
+ MODIFY_COLUMN_FAMILY_PREPARE(0, 1),
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_PRE_OPERATION = 2;</code>
+ */
+ MODIFY_COLUMN_FAMILY_PRE_OPERATION(1, 2),
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ MODIFY_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR(2, 3),
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_POST_OPERATION = 4;</code>
+ */
+ MODIFY_COLUMN_FAMILY_POST_OPERATION(3, 4),
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_REOPEN_ALL_REGIONS = 5;</code>
+ */
+ MODIFY_COLUMN_FAMILY_REOPEN_ALL_REGIONS(4, 5),
+ ;
+
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_PREPARE = 1;</code>
+ */
+ public static final int MODIFY_COLUMN_FAMILY_PREPARE_VALUE = 1;
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_PRE_OPERATION = 2;</code>
+ */
+ public static final int MODIFY_COLUMN_FAMILY_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ public static final int MODIFY_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR_VALUE = 3;
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_POST_OPERATION = 4;</code>
+ */
+ public static final int MODIFY_COLUMN_FAMILY_POST_OPERATION_VALUE = 4;
+ /**
+ * <code>MODIFY_COLUMN_FAMILY_REOPEN_ALL_REGIONS = 5;</code>
+ */
+ public static final int MODIFY_COLUMN_FAMILY_REOPEN_ALL_REGIONS_VALUE = 5;
+
+
+ public final int getNumber() { return value; }
+
+ public static ModifyColumnFamilyState valueOf(int value) {
+ switch (value) {
+ case 1: return MODIFY_COLUMN_FAMILY_PREPARE;
+ case 2: return MODIFY_COLUMN_FAMILY_PRE_OPERATION;
+ case 3: return MODIFY_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR;
+ case 4: return MODIFY_COLUMN_FAMILY_POST_OPERATION;
+ case 5: return MODIFY_COLUMN_FAMILY_REOPEN_ALL_REGIONS;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<ModifyColumnFamilyState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<ModifyColumnFamilyState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<ModifyColumnFamilyState>() {
+ public ModifyColumnFamilyState findValueByNumber(int number) {
+ return ModifyColumnFamilyState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(8);
+ }
+
+ private static final ModifyColumnFamilyState[] VALUES = values();
+
+ public static ModifyColumnFamilyState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private ModifyColumnFamilyState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.ModifyColumnFamilyState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.DeleteColumnFamilyState}
+ */
+ public enum DeleteColumnFamilyState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>DELETE_COLUMN_FAMILY_PREPARE = 1;</code>
+ */
+ DELETE_COLUMN_FAMILY_PREPARE(0, 1),
+ /**
+ * <code>DELETE_COLUMN_FAMILY_PRE_OPERATION = 2;</code>
+ */
+ DELETE_COLUMN_FAMILY_PRE_OPERATION(1, 2),
+ /**
+ * <code>DELETE_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ DELETE_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR(2, 3),
+ /**
+ * <code>DELETE_COLUMN_FAMILY_DELETE_FS_LAYOUT = 4;</code>
+ */
+ DELETE_COLUMN_FAMILY_DELETE_FS_LAYOUT(3, 4),
+ /**
+ * <code>DELETE_COLUMN_FAMILY_POST_OPERATION = 5;</code>
+ */
+ DELETE_COLUMN_FAMILY_POST_OPERATION(4, 5),
+ /**
+ * <code>DELETE_COLUMN_FAMILY_REOPEN_ALL_REGIONS = 6;</code>
+ */
+ DELETE_COLUMN_FAMILY_REOPEN_ALL_REGIONS(5, 6),
+ ;
+
+ /**
+ * <code>DELETE_COLUMN_FAMILY_PREPARE = 1;</code>
+ */
+ public static final int DELETE_COLUMN_FAMILY_PREPARE_VALUE = 1;
+ /**
+ * <code>DELETE_COLUMN_FAMILY_PRE_OPERATION = 2;</code>
+ */
+ public static final int DELETE_COLUMN_FAMILY_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>DELETE_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR = 3;</code>
+ */
+ public static final int DELETE_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR_VALUE = 3;
+ /**
+ * <code>DELETE_COLUMN_FAMILY_DELETE_FS_LAYOUT = 4;</code>
+ */
+ public static final int DELETE_COLUMN_FAMILY_DELETE_FS_LAYOUT_VALUE = 4;
+ /**
+ * <code>DELETE_COLUMN_FAMILY_POST_OPERATION = 5;</code>
+ */
+ public static final int DELETE_COLUMN_FAMILY_POST_OPERATION_VALUE = 5;
+ /**
+ * <code>DELETE_COLUMN_FAMILY_REOPEN_ALL_REGIONS = 6;</code>
+ */
+ public static final int DELETE_COLUMN_FAMILY_REOPEN_ALL_REGIONS_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static DeleteColumnFamilyState valueOf(int value) {
+ switch (value) {
+ case 1: return DELETE_COLUMN_FAMILY_PREPARE;
+ case 2: return DELETE_COLUMN_FAMILY_PRE_OPERATION;
+ case 3: return DELETE_COLUMN_FAMILY_UPDATE_TABLE_DESCRIPTOR;
+ case 4: return DELETE_COLUMN_FAMILY_DELETE_FS_LAYOUT;
+ case 5: return DELETE_COLUMN_FAMILY_POST_OPERATION;
+ case 6: return DELETE_COLUMN_FAMILY_REOPEN_ALL_REGIONS;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<DeleteColumnFamilyState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<DeleteColumnFamilyState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<DeleteColumnFamilyState>() {
+ public DeleteColumnFamilyState findValueByNumber(int number) {
+ return DeleteColumnFamilyState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(9);
+ }
+
+ private static final DeleteColumnFamilyState[] VALUES = values();
+
+ public static DeleteColumnFamilyState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private DeleteColumnFamilyState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.DeleteColumnFamilyState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.EnableTableState}
+ */
+ public enum EnableTableState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>ENABLE_TABLE_PREPARE = 1;</code>
+ */
+ ENABLE_TABLE_PREPARE(0, 1),
+ /**
+ * <code>ENABLE_TABLE_PRE_OPERATION = 2;</code>
+ */
+ ENABLE_TABLE_PRE_OPERATION(1, 2),
+ /**
+ * <code>ENABLE_TABLE_SET_ENABLING_TABLE_STATE = 3;</code>
+ */
+ ENABLE_TABLE_SET_ENABLING_TABLE_STATE(2, 3),
+ /**
+ * <code>ENABLE_TABLE_MARK_REGIONS_ONLINE = 4;</code>
+ */
+ ENABLE_TABLE_MARK_REGIONS_ONLINE(3, 4),
+ /**
+ * <code>ENABLE_TABLE_SET_ENABLED_TABLE_STATE = 5;</code>
+ */
+ ENABLE_TABLE_SET_ENABLED_TABLE_STATE(4, 5),
+ /**
+ * <code>ENABLE_TABLE_POST_OPERATION = 6;</code>
+ */
+ ENABLE_TABLE_POST_OPERATION(5, 6),
+ ;
+
+ /**
+ * <code>ENABLE_TABLE_PREPARE = 1;</code>
+ */
+ public static final int ENABLE_TABLE_PREPARE_VALUE = 1;
+ /**
+ * <code>ENABLE_TABLE_PRE_OPERATION = 2;</code>
+ */
+ public static final int ENABLE_TABLE_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>ENABLE_TABLE_SET_ENABLING_TABLE_STATE = 3;</code>
+ */
+ public static final int ENABLE_TABLE_SET_ENABLING_TABLE_STATE_VALUE = 3;
+ /**
+ * <code>ENABLE_TABLE_MARK_REGIONS_ONLINE = 4;</code>
+ */
+ public static final int ENABLE_TABLE_MARK_REGIONS_ONLINE_VALUE = 4;
+ /**
+ * <code>ENABLE_TABLE_SET_ENABLED_TABLE_STATE = 5;</code>
+ */
+ public static final int ENABLE_TABLE_SET_ENABLED_TABLE_STATE_VALUE = 5;
+ /**
+ * <code>ENABLE_TABLE_POST_OPERATION = 6;</code>
+ */
+ public static final int ENABLE_TABLE_POST_OPERATION_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static EnableTableState valueOf(int value) {
+ switch (value) {
+ case 1: return ENABLE_TABLE_PREPARE;
+ case 2: return ENABLE_TABLE_PRE_OPERATION;
+ case 3: return ENABLE_TABLE_SET_ENABLING_TABLE_STATE;
+ case 4: return ENABLE_TABLE_MARK_REGIONS_ONLINE;
+ case 5: return ENABLE_TABLE_SET_ENABLED_TABLE_STATE;
+ case 6: return ENABLE_TABLE_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<EnableTableState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<EnableTableState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<EnableTableState>() {
+ public EnableTableState findValueByNumber(int number) {
+ return EnableTableState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(10);
+ }
+
+ private static final EnableTableState[] VALUES = values();
+
+ public static EnableTableState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private EnableTableState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.EnableTableState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.DisableTableState}
+ */
+ public enum DisableTableState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>DISABLE_TABLE_PREPARE = 1;</code>
+ */
+ DISABLE_TABLE_PREPARE(0, 1),
+ /**
+ * <code>DISABLE_TABLE_PRE_OPERATION = 2;</code>
+ */
+ DISABLE_TABLE_PRE_OPERATION(1, 2),
+ /**
+ * <code>DISABLE_TABLE_SET_DISABLING_TABLE_STATE = 3;</code>
+ */
+ DISABLE_TABLE_SET_DISABLING_TABLE_STATE(2, 3),
+ /**
+ * <code>DISABLE_TABLE_MARK_REGIONS_OFFLINE = 4;</code>
+ */
+ DISABLE_TABLE_MARK_REGIONS_OFFLINE(3, 4),
+ /**
+ * <code>DISABLE_TABLE_SET_DISABLED_TABLE_STATE = 5;</code>
+ */
+ DISABLE_TABLE_SET_DISABLED_TABLE_STATE(4, 5),
+ /**
+ * <code>DISABLE_TABLE_POST_OPERATION = 6;</code>
+ */
+ DISABLE_TABLE_POST_OPERATION(5, 6),
+ ;
+
+ /**
+ * <code>DISABLE_TABLE_PREPARE = 1;</code>
+ */
+ public static final int DISABLE_TABLE_PREPARE_VALUE = 1;
+ /**
+ * <code>DISABLE_TABLE_PRE_OPERATION = 2;</code>
+ */
+ public static final int DISABLE_TABLE_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>DISABLE_TABLE_SET_DISABLING_TABLE_STATE = 3;</code>
+ */
+ public static final int DISABLE_TABLE_SET_DISABLING_TABLE_STATE_VALUE = 3;
+ /**
+ * <code>DISABLE_TABLE_MARK_REGIONS_OFFLINE = 4;</code>
+ */
+ public static final int DISABLE_TABLE_MARK_REGIONS_OFFLINE_VALUE = 4;
+ /**
+ * <code>DISABLE_TABLE_SET_DISABLED_TABLE_STATE = 5;</code>
+ */
+ public static final int DISABLE_TABLE_SET_DISABLED_TABLE_STATE_VALUE = 5;
+ /**
+ * <code>DISABLE_TABLE_POST_OPERATION = 6;</code>
+ */
+ public static final int DISABLE_TABLE_POST_OPERATION_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static DisableTableState valueOf(int value) {
+ switch (value) {
+ case 1: return DISABLE_TABLE_PREPARE;
+ case 2: return DISABLE_TABLE_PRE_OPERATION;
+ case 3: return DISABLE_TABLE_SET_DISABLING_TABLE_STATE;
+ case 4: return DISABLE_TABLE_MARK_REGIONS_OFFLINE;
+ case 5: return DISABLE_TABLE_SET_DISABLED_TABLE_STATE;
+ case 6: return DISABLE_TABLE_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<DisableTableState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<DisableTableState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<DisableTableState>() {
+ public DisableTableState findValueByNumber(int number) {
+ return DisableTableState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(11);
+ }
+
+ private static final DisableTableState[] VALUES = values();
+
+ public static DisableTableState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private DisableTableState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.DisableTableState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.CloneSnapshotState}
+ */
+ public enum CloneSnapshotState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>CLONE_SNAPSHOT_PRE_OPERATION = 1;</code>
+ */
+ CLONE_SNAPSHOT_PRE_OPERATION(0, 1),
+ /**
+ * <code>CLONE_SNAPSHOT_WRITE_FS_LAYOUT = 2;</code>
+ */
+ CLONE_SNAPSHOT_WRITE_FS_LAYOUT(1, 2),
+ /**
+ * <code>CLONE_SNAPSHOT_ADD_TO_META = 3;</code>
+ */
+ CLONE_SNAPSHOT_ADD_TO_META(2, 3),
+ /**
+ * <code>CLONE_SNAPSHOT_ASSIGN_REGIONS = 4;</code>
+ */
+ CLONE_SNAPSHOT_ASSIGN_REGIONS(3, 4),
+ /**
+ * <code>CLONE_SNAPSHOT_UPDATE_DESC_CACHE = 5;</code>
+ */
+ CLONE_SNAPSHOT_UPDATE_DESC_CACHE(4, 5),
+ /**
+ * <code>CLONE_SNAPSHOT_POST_OPERATION = 6;</code>
+ */
+ CLONE_SNAPSHOT_POST_OPERATION(5, 6),
+ ;
+
+ /**
+ * <code>CLONE_SNAPSHOT_PRE_OPERATION = 1;</code>
+ */
+ public static final int CLONE_SNAPSHOT_PRE_OPERATION_VALUE = 1;
+ /**
+ * <code>CLONE_SNAPSHOT_WRITE_FS_LAYOUT = 2;</code>
+ */
+ public static final int CLONE_SNAPSHOT_WRITE_FS_LAYOUT_VALUE = 2;
+ /**
+ * <code>CLONE_SNAPSHOT_ADD_TO_META = 3;</code>
+ */
+ public static final int CLONE_SNAPSHOT_ADD_TO_META_VALUE = 3;
+ /**
+ * <code>CLONE_SNAPSHOT_ASSIGN_REGIONS = 4;</code>
+ */
+ public static final int CLONE_SNAPSHOT_ASSIGN_REGIONS_VALUE = 4;
+ /**
+ * <code>CLONE_SNAPSHOT_UPDATE_DESC_CACHE = 5;</code>
+ */
+ public static final int CLONE_SNAPSHOT_UPDATE_DESC_CACHE_VALUE = 5;
+ /**
+ * <code>CLONE_SNAPSHOT_POST_OPERATION = 6;</code>
+ */
+ public static final int CLONE_SNAPSHOT_POST_OPERATION_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static CloneSnapshotState valueOf(int value) {
+ switch (value) {
+ case 1: return CLONE_SNAPSHOT_PRE_OPERATION;
+ case 2: return CLONE_SNAPSHOT_WRITE_FS_LAYOUT;
+ case 3: return CLONE_SNAPSHOT_ADD_TO_META;
+ case 4: return CLONE_SNAPSHOT_ASSIGN_REGIONS;
+ case 5: return CLONE_SNAPSHOT_UPDATE_DESC_CACHE;
+ case 6: return CLONE_SNAPSHOT_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<CloneSnapshotState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<CloneSnapshotState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<CloneSnapshotState>() {
+ public CloneSnapshotState findValueByNumber(int number) {
+ return CloneSnapshotState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(12);
+ }
+
+ private static final CloneSnapshotState[] VALUES = values();
+
+ public static CloneSnapshotState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private CloneSnapshotState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.CloneSnapshotState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.RestoreSnapshotState}
+ */
+ public enum RestoreSnapshotState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>RESTORE_SNAPSHOT_PRE_OPERATION = 1;</code>
+ */
+ RESTORE_SNAPSHOT_PRE_OPERATION(0, 1),
+ /**
+ * <code>RESTORE_SNAPSHOT_UPDATE_TABLE_DESCRIPTOR = 2;</code>
+ */
+ RESTORE_SNAPSHOT_UPDATE_TABLE_DESCRIPTOR(1, 2),
+ /**
+ * <code>RESTORE_SNAPSHOT_WRITE_FS_LAYOUT = 3;</code>
+ */
+ RESTORE_SNAPSHOT_WRITE_FS_LAYOUT(2, 3),
+ /**
+ * <code>RESTORE_SNAPSHOT_UPDATE_META = 4;</code>
+ */
+ RESTORE_SNAPSHOT_UPDATE_META(3, 4),
+ ;
+
+ /**
+ * <code>RESTORE_SNAPSHOT_PRE_OPERATION = 1;</code>
+ */
+ public static final int RESTORE_SNAPSHOT_PRE_OPERATION_VALUE = 1;
+ /**
+ * <code>RESTORE_SNAPSHOT_UPDATE_TABLE_DESCRIPTOR = 2;</code>
+ */
+ public static final int RESTORE_SNAPSHOT_UPDATE_TABLE_DESCRIPTOR_VALUE = 2;
+ /**
+ * <code>RESTORE_SNAPSHOT_WRITE_FS_LAYOUT = 3;</code>
+ */
+ public static final int RESTORE_SNAPSHOT_WRITE_FS_LAYOUT_VALUE = 3;
+ /**
+ * <code>RESTORE_SNAPSHOT_UPDATE_META = 4;</code>
+ */
+ public static final int RESTORE_SNAPSHOT_UPDATE_META_VALUE = 4;
+
+
+ public final int getNumber() { return value; }
+
+ public static RestoreSnapshotState valueOf(int value) {
+ switch (value) {
+ case 1: return RESTORE_SNAPSHOT_PRE_OPERATION;
+ case 2: return RESTORE_SNAPSHOT_UPDATE_TABLE_DESCRIPTOR;
+ case 3: return RESTORE_SNAPSHOT_WRITE_FS_LAYOUT;
+ case 4: return RESTORE_SNAPSHOT_UPDATE_META;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<RestoreSnapshotState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<RestoreSnapshotState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<RestoreSnapshotState>() {
+ public RestoreSnapshotState findValueByNumber(int number) {
+ return RestoreSnapshotState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(13);
+ }
+
+ private static final RestoreSnapshotState[] VALUES = values();
+
+ public static RestoreSnapshotState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private RestoreSnapshotState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.RestoreSnapshotState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.DispatchMergingRegionsState}
+ */
+ public enum DispatchMergingRegionsState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_PREPARE = 1;</code>
+ */
+ DISPATCH_MERGING_REGIONS_PREPARE(0, 1),
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_PRE_OPERATION = 2;</code>
+ */
+ DISPATCH_MERGING_REGIONS_PRE_OPERATION(1, 2),
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_MOVE_REGION_TO_SAME_RS = 3;</code>
+ */
+ DISPATCH_MERGING_REGIONS_MOVE_REGION_TO_SAME_RS(2, 3),
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_DO_MERGE_IN_RS = 4;</code>
+ */
+ DISPATCH_MERGING_REGIONS_DO_MERGE_IN_RS(3, 4),
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_POST_OPERATION = 5;</code>
+ */
+ DISPATCH_MERGING_REGIONS_POST_OPERATION(4, 5),
+ ;
+
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_PREPARE = 1;</code>
+ */
+ public static final int DISPATCH_MERGING_REGIONS_PREPARE_VALUE = 1;
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_PRE_OPERATION = 2;</code>
+ */
+ public static final int DISPATCH_MERGING_REGIONS_PRE_OPERATION_VALUE = 2;
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_MOVE_REGION_TO_SAME_RS = 3;</code>
+ */
+ public static final int DISPATCH_MERGING_REGIONS_MOVE_REGION_TO_SAME_RS_VALUE = 3;
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_DO_MERGE_IN_RS = 4;</code>
+ */
+ public static final int DISPATCH_MERGING_REGIONS_DO_MERGE_IN_RS_VALUE = 4;
+ /**
+ * <code>DISPATCH_MERGING_REGIONS_POST_OPERATION = 5;</code>
+ */
+ public static final int DISPATCH_MERGING_REGIONS_POST_OPERATION_VALUE = 5;
+
+
+ public final int getNumber() { return value; }
+
+ public static DispatchMergingRegionsState valueOf(int value) {
+ switch (value) {
+ case 1: return DISPATCH_MERGING_REGIONS_PREPARE;
+ case 2: return DISPATCH_MERGING_REGIONS_PRE_OPERATION;
+ case 3: return DISPATCH_MERGING_REGIONS_MOVE_REGION_TO_SAME_RS;
+ case 4: return DISPATCH_MERGING_REGIONS_DO_MERGE_IN_RS;
+ case 5: return DISPATCH_MERGING_REGIONS_POST_OPERATION;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<DispatchMergingRegionsState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<DispatchMergingRegionsState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<DispatchMergingRegionsState>() {
+ public DispatchMergingRegionsState findValueByNumber(int number) {
+ return DispatchMergingRegionsState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(14);
+ }
+
+ private static final DispatchMergingRegionsState[] VALUES = values();
+
+ public static DispatchMergingRegionsState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private DispatchMergingRegionsState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.DispatchMergingRegionsState)
+ }
+
+ /**
+ * Protobuf enum {@code hbase.pb.ServerCrashState}
+ */
+ public enum ServerCrashState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * <code>SERVER_CRASH_START = 1;</code>
+ */
+ SERVER_CRASH_START(0, 1),
+ /**
+ * <code>SERVER_CRASH_PROCESS_META = 2;</code>
+ */
+ SERVER_CRASH_PROCESS_META(1, 2),
+ /**
+ * <code>SERVER_CRASH_GET_REGIONS = 3;</code>
+ */
+ SERVER_CRASH_GET_REGIONS(2, 3),
+ /**
+ * <code>SERVER_CRASH_NO_SPLIT_LOGS = 4;</code>
+ */
+ SERVER_CRASH_NO_SPLIT_LOGS(3, 4),
+ /**
+ * <code>SERVER_CRASH_SPLIT_LOGS = 5;</code>
+ */
+ SERVER_CRASH_SPLIT_LOGS(4, 5),
+ /**
+ * <code>SERVER_CRASH_PREPARE_LOG_REPLAY = 6;</code>
+ */
+ SERVER_CRASH_PREPARE_LOG_REPLAY(5, 6),
+ /**
+ * <code>SERVER_CRASH_ASSIGN = 8;</code>
+ *
+ * <pre>
+ * Removed SERVER_CRASH_CALC_REGIONS_TO_ASSIGN = 7;
+ * </pre>
+ */
+ SERVER_CRASH_ASSIGN(6, 8),
+ /**
+ * <code>SERVER_CRASH_WAIT_ON_ASSIGN = 9;</code>
+ */
+ SERVER_CRASH_WAIT_ON_ASSIGN(7, 9),
+ /**
+ * <code>SERVER_CRASH_FINISH = 100;</code>
+ */
+ SERVER_CRASH_FINISH(8, 100),
+ ;
+
+ /**
+ * <code>SERVER_CRASH_START = 1;</code>
+ */
+ public static final int SERVER_CRASH_START_VALUE = 1;
+ /**
+ * <code>SERVER_CRASH_PROCESS_META = 2;</code>
+ */
+ public static final int SERVER_CRASH_PROCESS_META_VALUE = 2;
+ /**
+ * <code>SERVER_CRASH_GET_REGIONS = 3;</code>
+ */
+ public static final int SERVER_CRASH_GET_REGIONS_VALUE = 3;
+ /**
+ * <code>SERVER_CRASH_NO_SPLIT_LOGS = 4;</code>
+ */
+ public static final int SERVER_CRASH_NO_SPLIT_LOGS_VALUE = 4;
+ /**
+ * <code>SERVER_CRASH_SPLIT_LOGS = 5;</code>
+ */
+ public static final int SERVER_CRASH_SPLIT_LOGS_VALUE = 5;
+ /**
+ * <code>SERVER_CRASH_PREPARE_LOG_REPLAY = 6;</code>
+ */
+ public static final int SERVER_CRASH_PREPARE_LOG_REPLAY_VALUE = 6;
+ /**
+ * <code>SERVER_CRASH_ASSIGN = 8;</code>
+ *
+ * <pre>
+ * Removed SERVER_CRASH_CALC_REGIONS_TO_ASSIGN = 7;
+ * </pre>
+ */
+ public static final int SERVER_CRASH_ASSIGN_VALUE = 8;
+ /**
+ * <code>SERVER_CRASH_WAIT_ON_ASSIGN = 9;</code>
+ */
+ public static final int SERVER_CRASH_WAIT_ON_ASSIGN_VALUE = 9;
+ /**
+ * <code>SERVER_CRASH_FINISH = 100;</code>
+ */
+ public static final int SERVER_CRASH_FINISH_VALUE = 100;
+
+
+ public final int getNumber() { return value; }
+
+ public static ServerCrashState valueOf(int value) {
+ switch (value) {
+ case 1: return SERVER_CRASH_START;
+ case 2: return SERVER_CRASH_PROCESS_META;
+ case 3: return SERVER_CRASH_GET_REGIONS;
+ case 4: return SERVER_CRASH_NO_SPLIT_LOGS;
+ case 5: return SERVER_CRASH_SPLIT_LOGS;
+ case 6: return SERVER_CRASH_PREPARE_LOG_REPLAY;
+ case 8: return SERVER_CRASH_ASSIGN;
+ case 9: return SERVER_CRASH_WAIT_ON_ASSIGN;
+ case 100: return SERVER_CRASH_FINISH;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap<ServerCrashState>
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap<ServerCrashState>
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap<ServerCrashState>() {
+ public ServerCrashState findValueByNumber(int number) {
+ return ServerCrashState.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.getDescriptor().getEnumTypes().get(15);
+ }
+
+ private static final ServerCrashState[] VALUES = values();
+
+ public static ServerCrashState valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private ServerCrashState(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:hbase.pb.ServerCrashState)
+ }
+
+ public interface CreateTableStateDataOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required .hbase.pb.UserInformation user_info = 1;
+ /**
+ * <code>required .hbase.pb.UserInformation user_info = 1;</code>
+ */
+ boolean hasUserInfo();
+ /**
+ * <code>required .hbase.pb.UserInformation user_info = 1;</code>
+ */
+ org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation getUserInfo();
+ /**
+ * <code>required .hbase.pb.UserInformation user_info = 1;</code>
+ */
+ org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder();
+
+ // required .hbase.pb.TableSchema table_schema = 2;
+ /**
+ * <code>required .hbase.pb.TableSchema table_schema = 2;</code>
+ */
+ boolean hasTableSchema();
+ /**
+ * <code>required .hbase.pb.TableSchema table_schema = 2;</code>
+ */
+ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema getTableSchema();
+ /**
+ * <code>required .hbase.pb.TableSchema table_schema = 2;</code>
+ */
+ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchemaOrBuilder getTableSchemaOrBuilder();
+
+ // repeated .hbase.pb.RegionInfo region_info = 3;
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ java.util.List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo>
+ getRegionInfoList();
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo getRegionInfo(int index);
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ int getRegionInfoCount();
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ java.util.List<? extends org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>
+ getRegionInfoOrBuilderList();
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code hbase.pb.CreateTableStateData}
+ */
+ public static final class CreateTableStateData extends
+ com.google.protobuf.GeneratedMessage
+ implements CreateTableStateDataOrBuilder {
+ // Use CreateTableStateData.newBuilder() to construct.
+ private CreateTableStateData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private CreateTableStateData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final CreateTableStateData defaultInstance;
+ public static CreateTableStateData getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public CreateTableStateData getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private CreateTableStateData(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = userInfo_.toBuilder();
+ }
+ userInfo_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(userInfo_);
+ userInfo_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = tableSchema_.toBuilder();
+ }
+ tableSchema_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(tableSchema_);
+ tableSchema_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 26: {
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ regionInfo_ = new java.util.ArrayList<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo>();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ regionInfo_.add(input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo.PARSER, extensionRegistry));
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ regionInfo_ = java.util.Collections.unmodifiableList(regionInfo_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.internal_static_hbase_pb_CreateTableStateData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.internal_static_hbase_pb_CreateTableStateData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.class, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser<CreateTableStateData> PARSER =
+ new com.google.protobuf.AbstractParser<CreateTableStateData>() {
+ public CreateTableStateData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new CreateTableStateData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<CreateTableStateData> getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // required .hbase.pb.UserInformation user_info = 1;
+ public static final int USER_INFO_FIELD_NUMBER = 1;
+ private org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation userInfo_;
+ /**
+ * <code>required .hbase.pb.UserInformation user_info = 1;</code>
+ */
+ public boolean hasUserInfo() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * <code>required .hbase.pb.UserInformation user_info = 1;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation getUserInfo() {
+ return userInfo_;
+ }
+ /**
+ * <code>required .hbase.pb.UserInformation user_info = 1;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder() {
+ return userInfo_;
+ }
+
+ // required .hbase.pb.TableSchema table_schema = 2;
+ public static final int TABLE_SCHEMA_FIELD_NUMBER = 2;
+ private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema tableSchema_;
+ /**
+ * <code>required .hbase.pb.TableSchema table_schema = 2;</code>
+ */
+ public boolean hasTableSchema() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>required .hbase.pb.TableSchema table_schema = 2;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema getTableSchema() {
+ return tableSchema_;
+ }
+ /**
+ * <code>required .hbase.pb.TableSchema table_schema = 2;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchemaOrBuilder getTableSchemaOrBuilder() {
+ return tableSchema_;
+ }
+
+ // repeated .hbase.pb.RegionInfo region_info = 3;
+ public static final int REGION_INFO_FIELD_NUMBER = 3;
+ private java.util.List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo> regionInfo_;
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ public java.util.List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo> getRegionInfoList() {
+ return regionInfo_;
+ }
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ public java.util.List<? extends org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>
+ getRegionInfoOrBuilderList() {
+ return regionInfo_;
+ }
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ public int getRegionInfoCount() {
+ return regionInfo_.size();
+ }
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo getRegionInfo(int index) {
+ return regionInfo_.get(index);
+ }
+ /**
+ * <code>repeated .hbase.pb.RegionInfo region_info = 3;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder(
+ int index) {
+ return regionInfo_.get(index);
+ }
+
+ private void initFields() {
+ userInfo_ = org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation.getDefaultInstance();
+ tableSchema_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema.getDefaultInstance();
+ regionInfo_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasUserInfo()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasTableSchema()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getUserInfo().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getTableSchema().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ for (int i = 0; i < getRegionInfoCount(); i++) {
+ if (!getRegionInfo(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeMessage(1, userInfo_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(2, tableSchema_);
+ }
+ for (int i = 0; i < regionInfo_.size(); i++) {
+ output.writeMessage(3, regionInfo_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, userInfo_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, tableSchema_);
+ }
+ for (int i = 0; i < regionInfo_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, regionInfo_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData)) {
+ return super.equals(obj);
+ }
+ org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData other = (org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData) obj;
+
+ boolean result = true;
+ result = result && (hasUserInfo() == other.hasUserInfo());
+ if (hasUserInfo()) {
+ result = result && getUserInfo()
+ .equals(other.getUserInfo());
+ }
+ result = result && (hasTableSchema() == other.hasTableSchema());
+ if (hasTableSchema()) {
+ result = result && getTableSchema()
+ .equals(other.getTableSchema());
+ }
+ result = result && getRegionInfoList()
+ .equals(other.getRegionInfoList());
+ result = result &&
+ getUnknownFields().equals(other.getUnknownFields());
+ return result;
+ }
+
+ private int memoizedHashCode = 0;
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptorForType().hashCode();
+ if (hasUserInfo()) {
+ hash = (37 * hash) + USER_INFO_FIELD_NUMBER;
+ hash = (53 * hash) + getUserInfo().hashCode();
+ }
+ if (hasTableSchema()) {
+ hash = (37 * hash) + TABLE_SCHEMA_FIELD_NUMBER;
+ hash = (53 * hash) + getTableSchema().hashCode();
+ }
+ if (getRegionInfoCount() > 0) {
+ hash = (37 * hash) + REGION_INFO_FIELD_NUMBER;
+ hash = (53 * hash) + getRegionInfoList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code hbase.pb.CreateTableStateData}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateDataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.internal_static_hbase_pb_CreateTableStateData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.internal_static_hbase_pb_CreateTableStateData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.class, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.Builder.class);
+ }
+
+ // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getUserInfoFieldBuilder();
+ getTableSchemaFieldBuilder();
+ getRegionInfoFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (userInfoBuilder_ == null) {
+ userInfo_ = org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation.getDefaultInstance();
+ } else {
+ userInfoBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ if (tableSchemaBuilder_ == null) {
+ tableSchema_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema.getDefaultInstance();
+ } else {
+ tableSchemaBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ if (regionInfoBuilder_ == null) {
+ regionInfo_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ regionInfoBuilder_.clear();
+ }
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.internal_static_hbase_pb_CreateTableStateData_descriptor;
+ }
+
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData getDefaultInstanceForType() {
+ return org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.getDefaultInstance();
+ }
+
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData build() {
+ org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData buildPartial() {
+ org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData result = new org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (userInfoBuilder_ == null) {
+ result.userInfo_ = userInfo_;
+ } else {
+ result.userInfo_ = userInfoBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ if (tableSchemaBuilder_ == null) {
+ result.tableSchema_ = tableSchema_;
+ } else {
+ result.tableSchema_ = tableSchemaBuilder_.build();
+ }
+ if (regionInfoBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ regionInfo_ = java.util.Collections.unmodifiableList(regionInfo_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.regionInfo_ = regionInfo_;
+ } else {
+ result.regionInfo_ = regionInfoBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData) {
+ return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData other) {
+ if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateTableStateData.getDefaultInstance()) return this;
+ if (other.hasUserInfo()) {
+ mergeUserInfo(other.getUserInfo());
+ }
+ if (
<TRUNCATED>