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 2017/07/07 05:08:00 UTC
[08/51] [partial] hbase git commit: Revert "HBASE-17056 Remove
checked in PB generated files Selective add of dependency on" Build is
unstable and has interesting issues around CLASSPATH. Revert for now.
http://git-wip-us.apache.org/repos/asf/hbase/blob/b2b5cd6d/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Value.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Value.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Value.java
new file mode 100644
index 0000000..593043b
--- /dev/null
+++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Value.java
@@ -0,0 +1,1410 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/protobuf/struct.proto
+
+package org.apache.hadoop.hbase.shaded.com.google.protobuf;
+
+/**
+ * <pre>
+ * `Value` represents a dynamically typed value which can be either
+ * null, a number, a string, a boolean, a recursive struct value, or a
+ * list of values. A producer of value is expected to set one of that
+ * variants, absence of any variant indicates an error.
+ * The JSON representation for `Value` is JSON value.
+ * </pre>
+ *
+ * Protobuf type {@code google.protobuf.Value}
+ */
+public final class Value extends
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.protobuf.Value)
+ ValueOrBuilder {
+ // Use Value.newBuilder() to construct.
+ private Value(org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
+ super(builder);
+ }
+ private Value() {
+ }
+
+ @java.lang.Override
+ public final org.apache.hadoop.hbase.shaded.com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ }
+ private Value(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream input,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ int mutable_bitField0_ = 0;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!input.skipField(tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ int rawValue = input.readEnum();
+ kindCase_ = 1;
+ kind_ = rawValue;
+ break;
+ }
+ case 17: {
+ kindCase_ = 2;
+ kind_ = input.readDouble();
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+ kindCase_ = 3;
+ kind_ = s;
+ break;
+ }
+ case 32: {
+ kindCase_ = 4;
+ kind_ = input.readBool();
+ break;
+ }
+ case 42: {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.Builder subBuilder = null;
+ if (kindCase_ == 5) {
+ subBuilder = ((org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_).toBuilder();
+ }
+ kind_ =
+ input.readMessage(org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom((org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_);
+ kind_ = subBuilder.buildPartial();
+ }
+ kindCase_ = 5;
+ break;
+ }
+ case 50: {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.Builder subBuilder = null;
+ if (kindCase_ == 6) {
+ subBuilder = ((org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_).toBuilder();
+ }
+ kind_ =
+ input.readMessage(org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom((org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_);
+ kind_ = subBuilder.buildPartial();
+ }
+ kindCase_ = 6;
+ break;
+ }
+ }
+ }
+ } catch (org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ makeExtensionsImmutable();
+ }
+ }
+ public static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.StructProto.internal_static_google_protobuf_Value_descriptor;
+ }
+
+ protected org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.StructProto.internal_static_google_protobuf_Value_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.class, org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.Builder.class);
+ }
+
+ private int kindCase_ = 0;
+ private java.lang.Object kind_;
+ public enum KindCase
+ implements org.apache.hadoop.hbase.shaded.com.google.protobuf.Internal.EnumLite {
+ NULL_VALUE(1),
+ NUMBER_VALUE(2),
+ STRING_VALUE(3),
+ BOOL_VALUE(4),
+ STRUCT_VALUE(5),
+ LIST_VALUE(6),
+ KIND_NOT_SET(0);
+ private final int value;
+ private KindCase(int value) {
+ this.value = value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static KindCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static KindCase forNumber(int value) {
+ switch (value) {
+ case 1: return NULL_VALUE;
+ case 2: return NUMBER_VALUE;
+ case 3: return STRING_VALUE;
+ case 4: return BOOL_VALUE;
+ case 5: return STRUCT_VALUE;
+ case 6: return LIST_VALUE;
+ case 0: return KIND_NOT_SET;
+ default: return null;
+ }
+ }
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public KindCase
+ getKindCase() {
+ return KindCase.forNumber(
+ kindCase_);
+ }
+
+ public static final int NULL_VALUE_FIELD_NUMBER = 1;
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public int getNullValueValue() {
+ if (kindCase_ == 1) {
+ return (java.lang.Integer) kind_;
+ }
+ return 0;
+ }
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue getNullValue() {
+ if (kindCase_ == 1) {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue result = org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue.valueOf(
+ (java.lang.Integer) kind_);
+ return result == null ? org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue.UNRECOGNIZED : result;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue.NULL_VALUE;
+ }
+
+ public static final int NUMBER_VALUE_FIELD_NUMBER = 2;
+ /**
+ * <pre>
+ * Represents a double value.
+ * </pre>
+ *
+ * <code>double number_value = 2;</code>
+ */
+ public double getNumberValue() {
+ if (kindCase_ == 2) {
+ return (java.lang.Double) kind_;
+ }
+ return 0D;
+ }
+
+ public static final int STRING_VALUE_FIELD_NUMBER = 3;
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public java.lang.String getStringValue() {
+ java.lang.Object ref = "";
+ if (kindCase_ == 3) {
+ ref = kind_;
+ }
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString bs =
+ (org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (kindCase_ == 3) {
+ kind_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
+ getStringValueBytes() {
+ java.lang.Object ref = "";
+ if (kindCase_ == 3) {
+ ref = kind_;
+ }
+ if (ref instanceof java.lang.String) {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString b =
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ if (kindCase_ == 3) {
+ kind_ = b;
+ }
+ return b;
+ } else {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int BOOL_VALUE_FIELD_NUMBER = 4;
+ /**
+ * <pre>
+ * Represents a boolean value.
+ * </pre>
+ *
+ * <code>bool bool_value = 4;</code>
+ */
+ public boolean getBoolValue() {
+ if (kindCase_ == 4) {
+ return (java.lang.Boolean) kind_;
+ }
+ return false;
+ }
+
+ public static final int STRUCT_VALUE_FIELD_NUMBER = 5;
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct getStructValue() {
+ if (kindCase_ == 5) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance();
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.StructOrBuilder getStructValueOrBuilder() {
+ if (kindCase_ == 5) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance();
+ }
+
+ public static final int LIST_VALUE_FIELD_NUMBER = 6;
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue getListValue() {
+ if (kindCase_ == 6) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance();
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValueOrBuilder getListValueOrBuilder() {
+ if (kindCase_ == 6) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance();
+ }
+
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (kindCase_ == 1) {
+ output.writeEnum(1, ((java.lang.Integer) kind_));
+ }
+ if (kindCase_ == 2) {
+ output.writeDouble(
+ 2, (double)((java.lang.Double) kind_));
+ }
+ if (kindCase_ == 3) {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_);
+ }
+ if (kindCase_ == 4) {
+ output.writeBool(
+ 4, (boolean)((java.lang.Boolean) kind_));
+ }
+ if (kindCase_ == 5) {
+ output.writeMessage(5, (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_);
+ }
+ if (kindCase_ == 6) {
+ output.writeMessage(6, (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_);
+ }
+ }
+
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (kindCase_ == 1) {
+ size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
+ .computeEnumSize(1, ((java.lang.Integer) kind_));
+ }
+ if (kindCase_ == 2) {
+ size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(
+ 2, (double)((java.lang.Double) kind_));
+ }
+ if (kindCase_ == 3) {
+ size += org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_);
+ }
+ if (kindCase_ == 4) {
+ size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
+ .computeBoolSize(
+ 4, (boolean)((java.lang.Boolean) kind_));
+ }
+ if (kindCase_ == 5) {
+ size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_);
+ }
+ if (kindCase_ == 6) {
+ size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_);
+ }
+ memoizedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.hadoop.hbase.shaded.com.google.protobuf.Value)) {
+ return super.equals(obj);
+ }
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Value other = (org.apache.hadoop.hbase.shaded.com.google.protobuf.Value) obj;
+
+ boolean result = true;
+ result = result && getKindCase().equals(
+ other.getKindCase());
+ if (!result) return false;
+ switch (kindCase_) {
+ case 1:
+ result = result && getNullValueValue()
+ == other.getNullValueValue();
+ break;
+ case 2:
+ result = result && (
+ java.lang.Double.doubleToLongBits(getNumberValue())
+ == java.lang.Double.doubleToLongBits(
+ other.getNumberValue()));
+ break;
+ case 3:
+ result = result && getStringValue()
+ .equals(other.getStringValue());
+ break;
+ case 4:
+ result = result && (getBoolValue()
+ == other.getBoolValue());
+ break;
+ case 5:
+ result = result && getStructValue()
+ .equals(other.getStructValue());
+ break;
+ case 6:
+ result = result && getListValue()
+ .equals(other.getListValue());
+ break;
+ case 0:
+ default:
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (kindCase_) {
+ case 1:
+ hash = (37 * hash) + NULL_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getNullValueValue();
+ break;
+ case 2:
+ hash = (37 * hash) + NUMBER_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + org.apache.hadoop.hbase.shaded.com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getNumberValue()));
+ break;
+ case 3:
+ hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getStringValue().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + org.apache.hadoop.hbase.shaded.com.google.protobuf.Internal.hashBoolean(
+ getBoolValue());
+ break;
+ case 5:
+ hash = (37 * hash) + STRUCT_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getStructValue().hashCode();
+ break;
+ case 6:
+ hash = (37 * hash) + LIST_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getListValue().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString data)
+ throws org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString data,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(byte[] data)
+ throws org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(
+ byte[] data,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(
+ java.io.InputStream input,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseDelimitedFrom(
+ java.io.InputStream input,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parseFrom(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream input,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(org.apache.hadoop.hbase.shaded.com.google.protobuf.Value prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * <pre>
+ * `Value` represents a dynamically typed value which can be either
+ * null, a number, a string, a boolean, a recursive struct value, or a
+ * list of values. A producer of value is expected to set one of that
+ * variants, absence of any variant indicates an error.
+ * The JSON representation for `Value` is JSON value.
+ * </pre>
+ *
+ * Protobuf type {@code google.protobuf.Value}
+ */
+ public static final class Builder extends
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:google.protobuf.Value)
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ValueOrBuilder {
+ public static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.StructProto.internal_static_google_protobuf_Value_descriptor;
+ }
+
+ protected org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.StructProto.internal_static_google_protobuf_Value_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.class, org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.Builder.class);
+ }
+
+ // Construct using org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ public Builder clear() {
+ super.clear();
+ kindCase_ = 0;
+ kind_ = null;
+ return this;
+ }
+
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.StructProto.internal_static_google_protobuf_Value_descriptor;
+ }
+
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Value getDefaultInstanceForType() {
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.getDefaultInstance();
+ }
+
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Value build() {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Value result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Value buildPartial() {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Value result = new org.apache.hadoop.hbase.shaded.com.google.protobuf.Value(this);
+ if (kindCase_ == 1) {
+ result.kind_ = kind_;
+ }
+ if (kindCase_ == 2) {
+ result.kind_ = kind_;
+ }
+ if (kindCase_ == 3) {
+ result.kind_ = kind_;
+ }
+ if (kindCase_ == 4) {
+ result.kind_ = kind_;
+ }
+ if (kindCase_ == 5) {
+ if (structValueBuilder_ == null) {
+ result.kind_ = kind_;
+ } else {
+ result.kind_ = structValueBuilder_.build();
+ }
+ }
+ if (kindCase_ == 6) {
+ if (listValueBuilder_ == null) {
+ result.kind_ = kind_;
+ } else {
+ result.kind_ = listValueBuilder_.build();
+ }
+ }
+ result.kindCase_ = kindCase_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ public Builder setField(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
+ Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ public Builder clearField(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ public Builder clearOneof(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ public Builder setRepeatedField(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ public Builder addRepeatedField(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
+ Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ public Builder mergeFrom(org.apache.hadoop.hbase.shaded.com.google.protobuf.Message other) {
+ if (other instanceof org.apache.hadoop.hbase.shaded.com.google.protobuf.Value) {
+ return mergeFrom((org.apache.hadoop.hbase.shaded.com.google.protobuf.Value)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.hadoop.hbase.shaded.com.google.protobuf.Value other) {
+ if (other == org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.getDefaultInstance()) return this;
+ switch (other.getKindCase()) {
+ case NULL_VALUE: {
+ setNullValueValue(other.getNullValueValue());
+ break;
+ }
+ case NUMBER_VALUE: {
+ setNumberValue(other.getNumberValue());
+ break;
+ }
+ case STRING_VALUE: {
+ kindCase_ = 3;
+ kind_ = other.kind_;
+ onChanged();
+ break;
+ }
+ case BOOL_VALUE: {
+ setBoolValue(other.getBoolValue());
+ break;
+ }
+ case STRUCT_VALUE: {
+ mergeStructValue(other.getStructValue());
+ break;
+ }
+ case LIST_VALUE: {
+ mergeListValue(other.getListValue());
+ break;
+ }
+ case KIND_NOT_SET: {
+ break;
+ }
+ }
+ onChanged();
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ public Builder mergeFrom(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream input,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Value parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.apache.hadoop.hbase.shaded.com.google.protobuf.Value) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int kindCase_ = 0;
+ private java.lang.Object kind_;
+ public KindCase
+ getKindCase() {
+ return KindCase.forNumber(
+ kindCase_);
+ }
+
+ public Builder clearKind() {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ return this;
+ }
+
+
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public int getNullValueValue() {
+ if (kindCase_ == 1) {
+ return ((java.lang.Integer) kind_).intValue();
+ }
+ return 0;
+ }
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public Builder setNullValueValue(int value) {
+ kindCase_ = 1;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue getNullValue() {
+ if (kindCase_ == 1) {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue result = org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue.valueOf(
+ (java.lang.Integer) kind_);
+ return result == null ? org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue.UNRECOGNIZED : result;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue.NULL_VALUE;
+ }
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public Builder setNullValue(org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kindCase_ = 1;
+ kind_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ public Builder clearNullValue() {
+ if (kindCase_ == 1) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ * <pre>
+ * Represents a double value.
+ * </pre>
+ *
+ * <code>double number_value = 2;</code>
+ */
+ public double getNumberValue() {
+ if (kindCase_ == 2) {
+ return (java.lang.Double) kind_;
+ }
+ return 0D;
+ }
+ /**
+ * <pre>
+ * Represents a double value.
+ * </pre>
+ *
+ * <code>double number_value = 2;</code>
+ */
+ public Builder setNumberValue(double value) {
+ kindCase_ = 2;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a double value.
+ * </pre>
+ *
+ * <code>double number_value = 2;</code>
+ */
+ public Builder clearNumberValue() {
+ if (kindCase_ == 2) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public java.lang.String getStringValue() {
+ java.lang.Object ref = "";
+ if (kindCase_ == 3) {
+ ref = kind_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString bs =
+ (org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (kindCase_ == 3) {
+ kind_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
+ getStringValueBytes() {
+ java.lang.Object ref = "";
+ if (kindCase_ == 3) {
+ ref = kind_;
+ }
+ if (ref instanceof String) {
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString b =
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ if (kindCase_ == 3) {
+ kind_ = b;
+ }
+ return b;
+ } else {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public Builder setStringValue(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kindCase_ = 3;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public Builder clearStringValue() {
+ if (kindCase_ == 3) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ public Builder setStringValueBytes(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ kindCase_ = 3;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * <pre>
+ * Represents a boolean value.
+ * </pre>
+ *
+ * <code>bool bool_value = 4;</code>
+ */
+ public boolean getBoolValue() {
+ if (kindCase_ == 4) {
+ return (java.lang.Boolean) kind_;
+ }
+ return false;
+ }
+ /**
+ * <pre>
+ * Represents a boolean value.
+ * </pre>
+ *
+ * <code>bool bool_value = 4;</code>
+ */
+ public Builder setBoolValue(boolean value) {
+ kindCase_ = 4;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a boolean value.
+ * </pre>
+ *
+ * <code>bool bool_value = 4;</code>
+ */
+ public Builder clearBoolValue() {
+ if (kindCase_ == 4) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ private org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct, org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.StructOrBuilder> structValueBuilder_;
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct getStructValue() {
+ if (structValueBuilder_ == null) {
+ if (kindCase_ == 5) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance();
+ } else {
+ if (kindCase_ == 5) {
+ return structValueBuilder_.getMessage();
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance();
+ }
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public Builder setStructValue(org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct value) {
+ if (structValueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kind_ = value;
+ onChanged();
+ } else {
+ structValueBuilder_.setMessage(value);
+ }
+ kindCase_ = 5;
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public Builder setStructValue(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.Builder builderForValue) {
+ if (structValueBuilder_ == null) {
+ kind_ = builderForValue.build();
+ onChanged();
+ } else {
+ structValueBuilder_.setMessage(builderForValue.build());
+ }
+ kindCase_ = 5;
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public Builder mergeStructValue(org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct value) {
+ if (structValueBuilder_ == null) {
+ if (kindCase_ == 5 &&
+ kind_ != org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance()) {
+ kind_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.newBuilder((org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_)
+ .mergeFrom(value).buildPartial();
+ } else {
+ kind_ = value;
+ }
+ onChanged();
+ } else {
+ if (kindCase_ == 5) {
+ structValueBuilder_.mergeFrom(value);
+ }
+ structValueBuilder_.setMessage(value);
+ }
+ kindCase_ = 5;
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public Builder clearStructValue() {
+ if (structValueBuilder_ == null) {
+ if (kindCase_ == 5) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ } else {
+ if (kindCase_ == 5) {
+ kindCase_ = 0;
+ kind_ = null;
+ }
+ structValueBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.Builder getStructValueBuilder() {
+ return getStructValueFieldBuilder().getBuilder();
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.StructOrBuilder getStructValueOrBuilder() {
+ if ((kindCase_ == 5) && (structValueBuilder_ != null)) {
+ return structValueBuilder_.getMessageOrBuilder();
+ } else {
+ if (kindCase_ == 5) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance();
+ }
+ }
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ private org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct, org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.StructOrBuilder>
+ getStructValueFieldBuilder() {
+ if (structValueBuilder_ == null) {
+ if (!(kindCase_ == 5)) {
+ kind_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.getDefaultInstance();
+ }
+ structValueBuilder_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct, org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.StructOrBuilder>(
+ (org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct) kind_,
+ getParentForChildren(),
+ isClean());
+ kind_ = null;
+ }
+ kindCase_ = 5;
+ onChanged();;
+ return structValueBuilder_;
+ }
+
+ private org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue, org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValueOrBuilder> listValueBuilder_;
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue getListValue() {
+ if (listValueBuilder_ == null) {
+ if (kindCase_ == 6) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance();
+ } else {
+ if (kindCase_ == 6) {
+ return listValueBuilder_.getMessage();
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance();
+ }
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public Builder setListValue(org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue value) {
+ if (listValueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ kind_ = value;
+ onChanged();
+ } else {
+ listValueBuilder_.setMessage(value);
+ }
+ kindCase_ = 6;
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public Builder setListValue(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.Builder builderForValue) {
+ if (listValueBuilder_ == null) {
+ kind_ = builderForValue.build();
+ onChanged();
+ } else {
+ listValueBuilder_.setMessage(builderForValue.build());
+ }
+ kindCase_ = 6;
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public Builder mergeListValue(org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue value) {
+ if (listValueBuilder_ == null) {
+ if (kindCase_ == 6 &&
+ kind_ != org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance()) {
+ kind_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.newBuilder((org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_)
+ .mergeFrom(value).buildPartial();
+ } else {
+ kind_ = value;
+ }
+ onChanged();
+ } else {
+ if (kindCase_ == 6) {
+ listValueBuilder_.mergeFrom(value);
+ }
+ listValueBuilder_.setMessage(value);
+ }
+ kindCase_ = 6;
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public Builder clearListValue() {
+ if (listValueBuilder_ == null) {
+ if (kindCase_ == 6) {
+ kindCase_ = 0;
+ kind_ = null;
+ onChanged();
+ }
+ } else {
+ if (kindCase_ == 6) {
+ kindCase_ = 0;
+ kind_ = null;
+ }
+ listValueBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.Builder getListValueBuilder() {
+ return getListValueFieldBuilder().getBuilder();
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValueOrBuilder getListValueOrBuilder() {
+ if ((kindCase_ == 6) && (listValueBuilder_ != null)) {
+ return listValueBuilder_.getMessageOrBuilder();
+ } else {
+ if (kindCase_ == 6) {
+ return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_;
+ }
+ return org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance();
+ }
+ }
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ private org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue, org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValueOrBuilder>
+ getListValueFieldBuilder() {
+ if (listValueBuilder_ == null) {
+ if (!(kindCase_ == 6)) {
+ kind_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.getDefaultInstance();
+ }
+ listValueBuilder_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue, org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValueOrBuilder>(
+ (org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue) kind_,
+ getParentForChildren(),
+ isClean());
+ kind_ = null;
+ }
+ kindCase_ = 6;
+ onChanged();;
+ return listValueBuilder_;
+ }
+ public final Builder setUnknownFields(
+ final org.apache.hadoop.hbase.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
+ return this;
+ }
+
+ public final Builder mergeUnknownFields(
+ final org.apache.hadoop.hbase.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
+ return this;
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:google.protobuf.Value)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.protobuf.Value)
+ private static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Value DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.com.google.protobuf.Value();
+ }
+
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Value getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser<Value>
+ PARSER = new org.apache.hadoop.hbase.shaded.com.google.protobuf.AbstractParser<Value>() {
+ public Value parsePartialFrom(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream input,
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException {
+ return new Value(input, extensionRegistry);
+ }
+ };
+
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser<Value> parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser<Value> getParserForType() {
+ return PARSER;
+ }
+
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Value getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/hbase/blob/b2b5cd6d/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/ValueOrBuilder.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/ValueOrBuilder.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/ValueOrBuilder.java
new file mode 100644
index 0000000..32d390f
--- /dev/null
+++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/ValueOrBuilder.java
@@ -0,0 +1,98 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/protobuf/struct.proto
+
+package org.apache.hadoop.hbase.shaded.com.google.protobuf;
+
+public interface ValueOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.protobuf.Value)
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ int getNullValueValue();
+ /**
+ * <pre>
+ * Represents a null value.
+ * </pre>
+ *
+ * <code>.google.protobuf.NullValue null_value = 1;</code>
+ */
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.NullValue getNullValue();
+
+ /**
+ * <pre>
+ * Represents a double value.
+ * </pre>
+ *
+ * <code>double number_value = 2;</code>
+ */
+ double getNumberValue();
+
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ java.lang.String getStringValue();
+ /**
+ * <pre>
+ * Represents a string value.
+ * </pre>
+ *
+ * <code>string string_value = 3;</code>
+ */
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
+ getStringValueBytes();
+
+ /**
+ * <pre>
+ * Represents a boolean value.
+ * </pre>
+ *
+ * <code>bool bool_value = 4;</code>
+ */
+ boolean getBoolValue();
+
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Struct getStructValue();
+ /**
+ * <pre>
+ * Represents a structured value.
+ * </pre>
+ *
+ * <code>.google.protobuf.Struct struct_value = 5;</code>
+ */
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.StructOrBuilder getStructValueOrBuilder();
+
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValue getListValue();
+ /**
+ * <pre>
+ * Represents a repeated `Value`.
+ * </pre>
+ *
+ * <code>.google.protobuf.ListValue list_value = 6;</code>
+ */
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ListValueOrBuilder getListValueOrBuilder();
+
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.Value.KindCase getKindCase();
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/b2b5cd6d/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WireFormat.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WireFormat.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WireFormat.java
new file mode 100644
index 0000000..84d62f1
--- /dev/null
+++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WireFormat.java
@@ -0,0 +1,260 @@
+// Protocol Buffers - Google's data interchange format
+// Copyright 2008 Google Inc. All rights reserved.
+// https://developers.google.com/protocol-buffers/
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.apache.hadoop.hbase.shaded.com.google.protobuf;
+
+import java.io.IOException;
+
+/**
+ * This class is used internally by the Protocol Buffer library and generated
+ * message implementations. It is public only because those generated messages
+ * do not reside in the {@code protobuf} package. Others should not use this
+ * class directly.
+ *
+ * This class contains constants and helper functions useful for dealing with
+ * the Protocol Buffer wire format.
+ *
+ * @author kenton@google.com Kenton Varda
+ */
+public final class WireFormat {
+ // Do not allow instantiation.
+ private WireFormat() {}
+
+ static final int FIXED_32_SIZE = 4;
+ static final int FIXED_64_SIZE = 8;
+ static final int MAX_VARINT_SIZE = 10;
+
+ public static final int WIRETYPE_VARINT = 0;
+ public static final int WIRETYPE_FIXED64 = 1;
+ public static final int WIRETYPE_LENGTH_DELIMITED = 2;
+ public static final int WIRETYPE_START_GROUP = 3;
+ public static final int WIRETYPE_END_GROUP = 4;
+ public static final int WIRETYPE_FIXED32 = 5;
+
+ static final int TAG_TYPE_BITS = 3;
+ static final int TAG_TYPE_MASK = (1 << TAG_TYPE_BITS) - 1;
+
+ /** Given a tag value, determines the wire type (the lower 3 bits). */
+ public static int getTagWireType(final int tag) {
+ return tag & TAG_TYPE_MASK;
+ }
+
+ /** Given a tag value, determines the field number (the upper 29 bits). */
+ public static int getTagFieldNumber(final int tag) {
+ return tag >>> TAG_TYPE_BITS;
+ }
+
+ /** Makes a tag value given a field number and wire type. */
+ static int makeTag(final int fieldNumber, final int wireType) {
+ return (fieldNumber << TAG_TYPE_BITS) | wireType;
+ }
+
+ /**
+ * Lite equivalent to {@link Descriptors.FieldDescriptor.JavaType}. This is
+ * only here to support the lite runtime and should not be used by users.
+ */
+ public enum JavaType {
+ INT(0),
+ LONG(0L),
+ FLOAT(0F),
+ DOUBLE(0D),
+ BOOLEAN(false),
+ STRING(""),
+ BYTE_STRING(ByteString.EMPTY),
+ ENUM(null),
+ MESSAGE(null);
+
+ JavaType(final Object defaultDefault) {
+ this.defaultDefault = defaultDefault;
+ }
+
+ /**
+ * The default default value for fields of this type, if it's a primitive
+ * type.
+ */
+ Object getDefaultDefault() {
+ return defaultDefault;
+ }
+
+ private final Object defaultDefault;
+ }
+
+ /**
+ * Lite equivalent to {@link Descriptors.FieldDescriptor.Type}. This is
+ * only here to support the lite runtime and should not be used by users.
+ */
+ public enum FieldType {
+ DOUBLE (JavaType.DOUBLE , WIRETYPE_FIXED64 ),
+ FLOAT (JavaType.FLOAT , WIRETYPE_FIXED32 ),
+ INT64 (JavaType.LONG , WIRETYPE_VARINT ),
+ UINT64 (JavaType.LONG , WIRETYPE_VARINT ),
+ INT32 (JavaType.INT , WIRETYPE_VARINT ),
+ FIXED64 (JavaType.LONG , WIRETYPE_FIXED64 ),
+ FIXED32 (JavaType.INT , WIRETYPE_FIXED32 ),
+ BOOL (JavaType.BOOLEAN , WIRETYPE_VARINT ),
+ STRING (JavaType.STRING , WIRETYPE_LENGTH_DELIMITED) {
+ @Override
+ public boolean isPackable() {
+ return false; }
+ },
+ GROUP (JavaType.MESSAGE , WIRETYPE_START_GROUP ) {
+ @Override
+ public boolean isPackable() {
+ return false; }
+ },
+ MESSAGE (JavaType.MESSAGE , WIRETYPE_LENGTH_DELIMITED) {
+ @Override
+ public boolean isPackable() {
+ return false; }
+ },
+ BYTES (JavaType.BYTE_STRING, WIRETYPE_LENGTH_DELIMITED) {
+ @Override
+ public boolean isPackable() {
+ return false; }
+ },
+ UINT32 (JavaType.INT , WIRETYPE_VARINT ),
+ ENUM (JavaType.ENUM , WIRETYPE_VARINT ),
+ SFIXED32(JavaType.INT , WIRETYPE_FIXED32 ),
+ SFIXED64(JavaType.LONG , WIRETYPE_FIXED64 ),
+ SINT32 (JavaType.INT , WIRETYPE_VARINT ),
+ SINT64 (JavaType.LONG , WIRETYPE_VARINT );
+
+ FieldType(final JavaType javaType, final int wireType) {
+ this.javaType = javaType;
+ this.wireType = wireType;
+ }
+
+ private final JavaType javaType;
+ private final int wireType;
+
+ public JavaType getJavaType() { return javaType; }
+ public int getWireType() { return wireType; }
+
+ public boolean isPackable() { return true; }
+ }
+
+ // Field numbers for fields in MessageSet wire format.
+ static final int MESSAGE_SET_ITEM = 1;
+ static final int MESSAGE_SET_TYPE_ID = 2;
+ static final int MESSAGE_SET_MESSAGE = 3;
+
+ // Tag numbers.
+ static final int MESSAGE_SET_ITEM_TAG =
+ makeTag(MESSAGE_SET_ITEM, WIRETYPE_START_GROUP);
+ static final int MESSAGE_SET_ITEM_END_TAG =
+ makeTag(MESSAGE_SET_ITEM, WIRETYPE_END_GROUP);
+ static final int MESSAGE_SET_TYPE_ID_TAG =
+ makeTag(MESSAGE_SET_TYPE_ID, WIRETYPE_VARINT);
+ static final int MESSAGE_SET_MESSAGE_TAG =
+ makeTag(MESSAGE_SET_MESSAGE, WIRETYPE_LENGTH_DELIMITED);
+
+ /**
+ * Validation level for handling incoming string field data which potentially
+ * contain non-UTF8 bytes.
+ */
+ enum Utf8Validation {
+ /** Eagerly parses to String; silently accepts invalid UTF8 bytes. */
+ LOOSE {
+ @Override
+ Object readString(CodedInputStream input) throws IOException {
+ return input.readString();
+ }
+ },
+ /** Eagerly parses to String; throws an IOException on invalid bytes. */
+ STRICT {
+ @Override
+ Object readString(CodedInputStream input) throws IOException {
+ return input.readStringRequireUtf8();
+ }
+ },
+ /** Keep data as ByteString; validation/conversion to String is lazy. */
+ LAZY {
+ @Override
+ Object readString(CodedInputStream input) throws IOException {
+ return input.readBytes();
+ }
+ };
+
+ /** Read a string field from the input with the proper UTF8 validation. */
+ abstract Object readString(CodedInputStream input) throws IOException;
+ }
+
+ /**
+ * Read a field of any primitive type for immutable messages from a
+ * CodedInputStream. Enums, groups, and embedded messages are not handled by
+ * this method.
+ *
+ * @param input The stream from which to read.
+ * @param type Declared type of the field.
+ * @param utf8Validation Different string UTF8 validation level for handling
+ * string fields.
+ * @return An object representing the field's value, of the exact
+ * type which would be returned by
+ * {@link Message#getField(Descriptors.FieldDescriptor)} for
+ * this field.
+ */
+ static Object readPrimitiveField(
+ CodedInputStream input,
+ FieldType type,
+ Utf8Validation utf8Validation) throws IOException {
+ switch (type) {
+ case DOUBLE : return input.readDouble ();
+ case FLOAT : return input.readFloat ();
+ case INT64 : return input.readInt64 ();
+ case UINT64 : return input.readUInt64 ();
+ case INT32 : return input.readInt32 ();
+ case FIXED64 : return input.readFixed64 ();
+ case FIXED32 : return input.readFixed32 ();
+ case BOOL : return input.readBool ();
+ case BYTES : return input.readBytes ();
+ case UINT32 : return input.readUInt32 ();
+ case SFIXED32: return input.readSFixed32();
+ case SFIXED64: return input.readSFixed64();
+ case SINT32 : return input.readSInt32 ();
+ case SINT64 : return input.readSInt64 ();
+
+ case STRING : return utf8Validation.readString(input);
+ case GROUP:
+ throw new IllegalArgumentException(
+ "readPrimitiveField() cannot handle nested groups.");
+ case MESSAGE:
+ throw new IllegalArgumentException(
+ "readPrimitiveField() cannot handle embedded messages.");
+ case ENUM:
+ // We don't handle enums because we don't know what to do if the
+ // value is not recognized.
+ throw new IllegalArgumentException(
+ "readPrimitiveField() cannot handle enums.");
+ }
+
+ throw new RuntimeException(
+ "There is no way to get here, but the compiler thinks otherwise.");
+ }
+}
http://git-wip-us.apache.org/repos/asf/hbase/blob/b2b5cd6d/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WrappersProto.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WrappersProto.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WrappersProto.java
new file mode 100644
index 0000000..d3e9452
--- /dev/null
+++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/WrappersProto.java
@@ -0,0 +1,153 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/protobuf/wrappers.proto
+
+package org.apache.hadoop.hbase.shaded.com.google.protobuf;
+
+public final class WrappersProto {
+ private WrappersProto() {}
+ public static void registerAllExtensions(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_DoubleValue_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_DoubleValue_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_FloatValue_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_FloatValue_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_Int64Value_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_Int64Value_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_UInt64Value_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_UInt64Value_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_Int32Value_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_Int32Value_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_UInt32Value_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_UInt32Value_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_BoolValue_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_BoolValue_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_StringValue_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_StringValue_fieldAccessorTable;
+ static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_protobuf_BytesValue_descriptor;
+ static final
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_protobuf_BytesValue_fieldAccessorTable;
+
+ public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\036google/protobuf/wrappers.proto\022\017google" +
+ ".protobuf\"\034\n\013DoubleValue\022\r\n\005value\030\001 \001(\001\"" +
+ "\033\n\nFloatValue\022\r\n\005value\030\001 \001(\002\"\033\n\nInt64Val" +
+ "ue\022\r\n\005value\030\001 \001(\003\"\034\n\013UInt64Value\022\r\n\005valu" +
+ "e\030\001 \001(\004\"\033\n\nInt32Value\022\r\n\005value\030\001 \001(\005\"\034\n\013" +
+ "UInt32Value\022\r\n\005value\030\001 \001(\r\"\032\n\tBoolValue\022" +
+ "\r\n\005value\030\001 \001(\010\"\034\n\013StringValue\022\r\n\005value\030\001" +
+ " \001(\t\"\033\n\nBytesValue\022\r\n\005value\030\001 \001(\014B|\n\023com" +
+ ".google.protobufB\rWrappersProtoP\001Z*githu" +
+ "b.com/golang/protobuf/ptypes/wrappers\370\001\001",
+ "\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypesb" +
+ "\006proto3"
+ };
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
+ new org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
+ public org.apache.hadoop.hbase.shaded.com.google.protobuf.ExtensionRegistry assignDescriptors(
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ return null;
+ }
+ };
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.FileDescriptor[] {
+ }, assigner);
+ internal_static_google_protobuf_DoubleValue_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_protobuf_DoubleValue_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_DoubleValue_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_FloatValue_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_google_protobuf_FloatValue_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_FloatValue_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_Int64Value_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_google_protobuf_Int64Value_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_Int64Value_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_UInt64Value_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_google_protobuf_UInt64Value_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_UInt64Value_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_Int32Value_descriptor =
+ getDescriptor().getMessageTypes().get(4);
+ internal_static_google_protobuf_Int32Value_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_Int32Value_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_UInt32Value_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_google_protobuf_UInt32Value_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_UInt32Value_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_BoolValue_descriptor =
+ getDescriptor().getMessageTypes().get(6);
+ internal_static_google_protobuf_BoolValue_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_BoolValue_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_StringValue_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_google_protobuf_StringValue_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_StringValue_descriptor,
+ new java.lang.String[] { "Value", });
+ internal_static_google_protobuf_BytesValue_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_protobuf_BytesValue_fieldAccessorTable = new
+ org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_protobuf_BytesValue_descriptor,
+ new java.lang.String[] { "Value", });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}