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/08/02 16:54:38 UTC
[12/52] [partial] hbase git commit: HBASE-17056 Remove checked in PB
generated files
http://git-wip-us.apache.org/repos/asf/hbase/blob/ee70b1d2/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Type.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Type.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Type.java
deleted file mode 100644
index f46f351..0000000
--- a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/Type.java
+++ /dev/null
@@ -1,1967 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/protobuf/type.proto
-
-package org.apache.hadoop.hbase.shaded.com.google.protobuf;
-
-/**
- * <pre>
- * A protocol buffer message type.
- * </pre>
- *
- * Protobuf type {@code google.protobuf.Type}
- */
-public final class Type extends
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:google.protobuf.Type)
- TypeOrBuilder {
- // Use Type.newBuilder() to construct.
- private Type(org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private Type() {
- name_ = "";
- fields_ = java.util.Collections.emptyList();
- oneofs_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
- options_ = java.util.Collections.emptyList();
- syntax_ = 0;
- }
-
- @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 Type(
- 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 10: {
- java.lang.String s = input.readStringRequireUtf8();
-
- name_ = s;
- break;
- }
- case 18: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- fields_ = new java.util.ArrayList<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field>();
- mutable_bitField0_ |= 0x00000002;
- }
- fields_.add(
- input.readMessage(org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.parser(), extensionRegistry));
- break;
- }
- case 26: {
- java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- oneofs_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
- }
- oneofs_.add(s);
- break;
- }
- case 34: {
- if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- options_ = new java.util.ArrayList<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option>();
- mutable_bitField0_ |= 0x00000008;
- }
- options_.add(
- input.readMessage(org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.parser(), extensionRegistry));
- break;
- }
- case 42: {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.Builder subBuilder = null;
- if (sourceContext_ != null) {
- subBuilder = sourceContext_.toBuilder();
- }
- sourceContext_ = input.readMessage(org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(sourceContext_);
- sourceContext_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 48: {
- int rawValue = input.readEnum();
-
- syntax_ = rawValue;
- 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 {
- if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- fields_ = java.util.Collections.unmodifiableList(fields_);
- }
- if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- oneofs_ = oneofs_.getUnmodifiableView();
- }
- if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- options_ = java.util.Collections.unmodifiableList(options_);
- }
- makeExtensionsImmutable();
- }
- }
- public static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hbase.shaded.com.google.protobuf.TypeProto.internal_static_google_protobuf_Type_descriptor;
- }
-
- protected org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.shaded.com.google.protobuf.TypeProto.internal_static_google_protobuf_Type_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.class, org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.Builder.class);
- }
-
- private int bitField0_;
- public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- 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();
- name_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
- getNameBytes() {
- java.lang.Object ref = name_;
- 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);
- name_ = b;
- return b;
- } else {
- return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int FIELDS_FIELD_NUMBER = 2;
- private java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field> fields_;
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field> getFieldsList() {
- return fields_;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder>
- getFieldsOrBuilderList() {
- return fields_;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public int getFieldsCount() {
- return fields_.size();
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Field getFields(int index) {
- return fields_.get(index);
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder getFieldsOrBuilder(
- int index) {
- return fields_.get(index);
- }
-
- public static final int ONEOFS_FIELD_NUMBER = 3;
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringList oneofs_;
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.ProtocolStringList
- getOneofsList() {
- return oneofs_;
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public int getOneofsCount() {
- return oneofs_.size();
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public java.lang.String getOneofs(int index) {
- return oneofs_.get(index);
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
- getOneofsBytes(int index) {
- return oneofs_.getByteString(index);
- }
-
- public static final int OPTIONS_FIELD_NUMBER = 4;
- private java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option> options_;
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option> getOptionsList() {
- return options_;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder>
- getOptionsOrBuilderList() {
- return options_;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public int getOptionsCount() {
- return options_.size();
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Option getOptions(int index) {
- return options_.get(index);
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
- int index) {
- return options_.get(index);
- }
-
- public static final int SOURCE_CONTEXT_FIELD_NUMBER = 5;
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext sourceContext_;
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public boolean hasSourceContext() {
- return sourceContext_ != null;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext getSourceContext() {
- return sourceContext_ == null ? org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.getDefaultInstance() : sourceContext_;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder() {
- return getSourceContext();
- }
-
- public static final int SYNTAX_FIELD_NUMBER = 6;
- private int syntax_;
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public int getSyntaxValue() {
- return syntax_;
- }
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax getSyntax() {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax result = org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax.valueOf(syntax_);
- return result == null ? org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax.UNRECOGNIZED : result;
- }
-
- 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 (!getNameBytes().isEmpty()) {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
- }
- for (int i = 0; i < fields_.size(); i++) {
- output.writeMessage(2, fields_.get(i));
- }
- for (int i = 0; i < oneofs_.size(); i++) {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, oneofs_.getRaw(i));
- }
- for (int i = 0; i < options_.size(); i++) {
- output.writeMessage(4, options_.get(i));
- }
- if (sourceContext_ != null) {
- output.writeMessage(5, getSourceContext());
- }
- if (syntax_ != org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax.SYNTAX_PROTO2.getNumber()) {
- output.writeEnum(6, syntax_);
- }
- }
-
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getNameBytes().isEmpty()) {
- size += org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
- }
- for (int i = 0; i < fields_.size(); i++) {
- size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, fields_.get(i));
- }
- {
- int dataSize = 0;
- for (int i = 0; i < oneofs_.size(); i++) {
- dataSize += computeStringSizeNoTag(oneofs_.getRaw(i));
- }
- size += dataSize;
- size += 1 * getOneofsList().size();
- }
- for (int i = 0; i < options_.size(); i++) {
- size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, options_.get(i));
- }
- if (sourceContext_ != null) {
- size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getSourceContext());
- }
- if (syntax_ != org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax.SYNTAX_PROTO2.getNumber()) {
- size += org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedOutputStream
- .computeEnumSize(6, syntax_);
- }
- 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.Type)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Type other = (org.apache.hadoop.hbase.shaded.com.google.protobuf.Type) obj;
-
- boolean result = true;
- result = result && getName()
- .equals(other.getName());
- result = result && getFieldsList()
- .equals(other.getFieldsList());
- result = result && getOneofsList()
- .equals(other.getOneofsList());
- result = result && getOptionsList()
- .equals(other.getOptionsList());
- result = result && (hasSourceContext() == other.hasSourceContext());
- if (hasSourceContext()) {
- result = result && getSourceContext()
- .equals(other.getSourceContext());
- }
- result = result && syntax_ == other.syntax_;
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + NAME_FIELD_NUMBER;
- hash = (53 * hash) + getName().hashCode();
- if (getFieldsCount() > 0) {
- hash = (37 * hash) + FIELDS_FIELD_NUMBER;
- hash = (53 * hash) + getFieldsList().hashCode();
- }
- if (getOneofsCount() > 0) {
- hash = (37 * hash) + ONEOFS_FIELD_NUMBER;
- hash = (53 * hash) + getOneofsList().hashCode();
- }
- if (getOptionsCount() > 0) {
- hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
- hash = (53 * hash) + getOptionsList().hashCode();
- }
- if (hasSourceContext()) {
- hash = (37 * hash) + SOURCE_CONTEXT_FIELD_NUMBER;
- hash = (53 * hash) + getSourceContext().hashCode();
- }
- hash = (37 * hash) + SYNTAX_FIELD_NUMBER;
- hash = (53 * hash) + syntax_;
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Type 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.Type 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.Type 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.Type 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.Type 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.Type 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.Type 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.Type 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.Type 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.Type 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.Type 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>
- * A protocol buffer message type.
- * </pre>
- *
- * Protobuf type {@code google.protobuf.Type}
- */
- 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.Type)
- org.apache.hadoop.hbase.shaded.com.google.protobuf.TypeOrBuilder {
- public static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hbase.shaded.com.google.protobuf.TypeProto.internal_static_google_protobuf_Type_descriptor;
- }
-
- protected org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.shaded.com.google.protobuf.TypeProto.internal_static_google_protobuf_Type_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.class, org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.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) {
- getFieldsFieldBuilder();
- getOptionsFieldBuilder();
- }
- }
- public Builder clear() {
- super.clear();
- name_ = "";
-
- if (fieldsBuilder_ == null) {
- fields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- fieldsBuilder_.clear();
- }
- oneofs_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- if (optionsBuilder_ == null) {
- options_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- optionsBuilder_.clear();
- }
- if (sourceContextBuilder_ == null) {
- sourceContext_ = null;
- } else {
- sourceContext_ = null;
- sourceContextBuilder_ = null;
- }
- syntax_ = 0;
-
- return this;
- }
-
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hbase.shaded.com.google.protobuf.TypeProto.internal_static_google_protobuf_Type_descriptor;
- }
-
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Type getDefaultInstanceForType() {
- return org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.getDefaultInstance();
- }
-
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Type build() {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Type result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Type buildPartial() {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Type result = new org.apache.hadoop.hbase.shaded.com.google.protobuf.Type(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- result.name_ = name_;
- if (fieldsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- fields_ = java.util.Collections.unmodifiableList(fields_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.fields_ = fields_;
- } else {
- result.fields_ = fieldsBuilder_.build();
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- oneofs_ = oneofs_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.oneofs_ = oneofs_;
- if (optionsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- options_ = java.util.Collections.unmodifiableList(options_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.options_ = options_;
- } else {
- result.options_ = optionsBuilder_.build();
- }
- if (sourceContextBuilder_ == null) {
- result.sourceContext_ = sourceContext_;
- } else {
- result.sourceContext_ = sourceContextBuilder_.build();
- }
- result.syntax_ = syntax_;
- result.bitField0_ = to_bitField0_;
- 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.Type) {
- return mergeFrom((org.apache.hadoop.hbase.shaded.com.google.protobuf.Type)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hbase.shaded.com.google.protobuf.Type other) {
- if (other == org.apache.hadoop.hbase.shaded.com.google.protobuf.Type.getDefaultInstance()) return this;
- if (!other.getName().isEmpty()) {
- name_ = other.name_;
- onChanged();
- }
- if (fieldsBuilder_ == null) {
- if (!other.fields_.isEmpty()) {
- if (fields_.isEmpty()) {
- fields_ = other.fields_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureFieldsIsMutable();
- fields_.addAll(other.fields_);
- }
- onChanged();
- }
- } else {
- if (!other.fields_.isEmpty()) {
- if (fieldsBuilder_.isEmpty()) {
- fieldsBuilder_.dispose();
- fieldsBuilder_ = null;
- fields_ = other.fields_;
- bitField0_ = (bitField0_ & ~0x00000002);
- fieldsBuilder_ =
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getFieldsFieldBuilder() : null;
- } else {
- fieldsBuilder_.addAllMessages(other.fields_);
- }
- }
- }
- if (!other.oneofs_.isEmpty()) {
- if (oneofs_.isEmpty()) {
- oneofs_ = other.oneofs_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureOneofsIsMutable();
- oneofs_.addAll(other.oneofs_);
- }
- onChanged();
- }
- if (optionsBuilder_ == null) {
- if (!other.options_.isEmpty()) {
- if (options_.isEmpty()) {
- options_ = other.options_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureOptionsIsMutable();
- options_.addAll(other.options_);
- }
- onChanged();
- }
- } else {
- if (!other.options_.isEmpty()) {
- if (optionsBuilder_.isEmpty()) {
- optionsBuilder_.dispose();
- optionsBuilder_ = null;
- options_ = other.options_;
- bitField0_ = (bitField0_ & ~0x00000008);
- optionsBuilder_ =
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getOptionsFieldBuilder() : null;
- } else {
- optionsBuilder_.addAllMessages(other.options_);
- }
- }
- }
- if (other.hasSourceContext()) {
- mergeSourceContext(other.getSourceContext());
- }
- if (other.syntax_ != 0) {
- setSyntaxValue(other.getSyntaxValue());
- }
- 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.Type 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.Type) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object name_ = "";
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- 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();
- name_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
- getNameBytes() {
- java.lang.Object ref = name_;
- 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);
- name_ = b;
- return b;
- } else {
- return (org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public Builder setName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- name_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public Builder clearName() {
-
- name_ = getDefaultInstance().getName();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- public Builder setNameBytes(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- name_ = value;
- onChanged();
- return this;
- }
-
- private java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field> fields_ =
- java.util.Collections.emptyList();
- private void ensureFieldsIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- fields_ = new java.util.ArrayList<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field>(fields_);
- bitField0_ |= 0x00000002;
- }
- }
-
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Field, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder> fieldsBuilder_;
-
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field> getFieldsList() {
- if (fieldsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(fields_);
- } else {
- return fieldsBuilder_.getMessageList();
- }
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public int getFieldsCount() {
- if (fieldsBuilder_ == null) {
- return fields_.size();
- } else {
- return fieldsBuilder_.getCount();
- }
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Field getFields(int index) {
- if (fieldsBuilder_ == null) {
- return fields_.get(index);
- } else {
- return fieldsBuilder_.getMessage(index);
- }
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder setFields(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field value) {
- if (fieldsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFieldsIsMutable();
- fields_.set(index, value);
- onChanged();
- } else {
- fieldsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder setFields(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder builderForValue) {
- if (fieldsBuilder_ == null) {
- ensureFieldsIsMutable();
- fields_.set(index, builderForValue.build());
- onChanged();
- } else {
- fieldsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder addFields(org.apache.hadoop.hbase.shaded.com.google.protobuf.Field value) {
- if (fieldsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFieldsIsMutable();
- fields_.add(value);
- onChanged();
- } else {
- fieldsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder addFields(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field value) {
- if (fieldsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFieldsIsMutable();
- fields_.add(index, value);
- onChanged();
- } else {
- fieldsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder addFields(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder builderForValue) {
- if (fieldsBuilder_ == null) {
- ensureFieldsIsMutable();
- fields_.add(builderForValue.build());
- onChanged();
- } else {
- fieldsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder addFields(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder builderForValue) {
- if (fieldsBuilder_ == null) {
- ensureFieldsIsMutable();
- fields_.add(index, builderForValue.build());
- onChanged();
- } else {
- fieldsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder addAllFields(
- java.lang.Iterable<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.Field> values) {
- if (fieldsBuilder_ == null) {
- ensureFieldsIsMutable();
- org.apache.hadoop.hbase.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, fields_);
- onChanged();
- } else {
- fieldsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder clearFields() {
- if (fieldsBuilder_ == null) {
- fields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- fieldsBuilder_.clear();
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public Builder removeFields(int index) {
- if (fieldsBuilder_ == null) {
- ensureFieldsIsMutable();
- fields_.remove(index);
- onChanged();
- } else {
- fieldsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder getFieldsBuilder(
- int index) {
- return getFieldsFieldBuilder().getBuilder(index);
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder getFieldsOrBuilder(
- int index) {
- if (fieldsBuilder_ == null) {
- return fields_.get(index); } else {
- return fieldsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder>
- getFieldsOrBuilderList() {
- if (fieldsBuilder_ != null) {
- return fieldsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(fields_);
- }
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder addFieldsBuilder() {
- return getFieldsFieldBuilder().addBuilder(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.getDefaultInstance());
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder addFieldsBuilder(
- int index) {
- return getFieldsFieldBuilder().addBuilder(
- index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.getDefaultInstance());
- }
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- public java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder>
- getFieldsBuilderList() {
- return getFieldsFieldBuilder().getBuilderList();
- }
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Field, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder>
- getFieldsFieldBuilder() {
- if (fieldsBuilder_ == null) {
- fieldsBuilder_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Field, org.apache.hadoop.hbase.shaded.com.google.protobuf.Field.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder>(
- fields_,
- ((bitField0_ & 0x00000002) == 0x00000002),
- getParentForChildren(),
- isClean());
- fields_ = null;
- }
- return fieldsBuilder_;
- }
-
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringList oneofs_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureOneofsIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- oneofs_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringArrayList(oneofs_);
- bitField0_ |= 0x00000004;
- }
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.ProtocolStringList
- getOneofsList() {
- return oneofs_.getUnmodifiableView();
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public int getOneofsCount() {
- return oneofs_.size();
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public java.lang.String getOneofs(int index) {
- return oneofs_.get(index);
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
- getOneofsBytes(int index) {
- return oneofs_.getByteString(index);
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public Builder setOneofs(
- int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOneofsIsMutable();
- oneofs_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public Builder addOneofs(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOneofsIsMutable();
- oneofs_.add(value);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public Builder addAllOneofs(
- java.lang.Iterable<java.lang.String> values) {
- ensureOneofsIsMutable();
- org.apache.hadoop.hbase.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, oneofs_);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public Builder clearOneofs() {
- oneofs_ = org.apache.hadoop.hbase.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- public Builder addOneofsBytes(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- ensureOneofsIsMutable();
- oneofs_.add(value);
- onChanged();
- return this;
- }
-
- private java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option> options_ =
- java.util.Collections.emptyList();
- private void ensureOptionsIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
- options_ = new java.util.ArrayList<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option>(options_);
- bitField0_ |= 0x00000008;
- }
- }
-
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Option, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder> optionsBuilder_;
-
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option> getOptionsList() {
- if (optionsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(options_);
- } else {
- return optionsBuilder_.getMessageList();
- }
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public int getOptionsCount() {
- if (optionsBuilder_ == null) {
- return options_.size();
- } else {
- return optionsBuilder_.getCount();
- }
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Option getOptions(int index) {
- if (optionsBuilder_ == null) {
- return options_.get(index);
- } else {
- return optionsBuilder_.getMessage(index);
- }
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder setOptions(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option value) {
- if (optionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOptionsIsMutable();
- options_.set(index, value);
- onChanged();
- } else {
- optionsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder setOptions(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder builderForValue) {
- if (optionsBuilder_ == null) {
- ensureOptionsIsMutable();
- options_.set(index, builderForValue.build());
- onChanged();
- } else {
- optionsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder addOptions(org.apache.hadoop.hbase.shaded.com.google.protobuf.Option value) {
- if (optionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOptionsIsMutable();
- options_.add(value);
- onChanged();
- } else {
- optionsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder addOptions(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option value) {
- if (optionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOptionsIsMutable();
- options_.add(index, value);
- onChanged();
- } else {
- optionsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder addOptions(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder builderForValue) {
- if (optionsBuilder_ == null) {
- ensureOptionsIsMutable();
- options_.add(builderForValue.build());
- onChanged();
- } else {
- optionsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder addOptions(
- int index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder builderForValue) {
- if (optionsBuilder_ == null) {
- ensureOptionsIsMutable();
- options_.add(index, builderForValue.build());
- onChanged();
- } else {
- optionsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder addAllOptions(
- java.lang.Iterable<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.Option> values) {
- if (optionsBuilder_ == null) {
- ensureOptionsIsMutable();
- org.apache.hadoop.hbase.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, options_);
- onChanged();
- } else {
- optionsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder clearOptions() {
- if (optionsBuilder_ == null) {
- options_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- onChanged();
- } else {
- optionsBuilder_.clear();
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public Builder removeOptions(int index) {
- if (optionsBuilder_ == null) {
- ensureOptionsIsMutable();
- options_.remove(index);
- onChanged();
- } else {
- optionsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder getOptionsBuilder(
- int index) {
- return getOptionsFieldBuilder().getBuilder(index);
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
- int index) {
- if (optionsBuilder_ == null) {
- return options_.get(index); } else {
- return optionsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder>
- getOptionsOrBuilderList() {
- if (optionsBuilder_ != null) {
- return optionsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(options_);
- }
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder addOptionsBuilder() {
- return getOptionsFieldBuilder().addBuilder(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.getDefaultInstance());
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder addOptionsBuilder(
- int index) {
- return getOptionsFieldBuilder().addBuilder(
- index, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.getDefaultInstance());
- }
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- public java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder>
- getOptionsBuilderList() {
- return getOptionsFieldBuilder().getBuilderList();
- }
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Option, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder>
- getOptionsFieldBuilder() {
- if (optionsBuilder_ == null) {
- optionsBuilder_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Option, org.apache.hadoop.hbase.shaded.com.google.protobuf.Option.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder>(
- options_,
- ((bitField0_ & 0x00000008) == 0x00000008),
- getParentForChildren(),
- isClean());
- options_ = null;
- }
- return optionsBuilder_;
- }
-
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext sourceContext_ = null;
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext, org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextOrBuilder> sourceContextBuilder_;
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public boolean hasSourceContext() {
- return sourceContextBuilder_ != null || sourceContext_ != null;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext getSourceContext() {
- if (sourceContextBuilder_ == null) {
- return sourceContext_ == null ? org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.getDefaultInstance() : sourceContext_;
- } else {
- return sourceContextBuilder_.getMessage();
- }
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public Builder setSourceContext(org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext value) {
- if (sourceContextBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- sourceContext_ = value;
- onChanged();
- } else {
- sourceContextBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public Builder setSourceContext(
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.Builder builderForValue) {
- if (sourceContextBuilder_ == null) {
- sourceContext_ = builderForValue.build();
- onChanged();
- } else {
- sourceContextBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public Builder mergeSourceContext(org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext value) {
- if (sourceContextBuilder_ == null) {
- if (sourceContext_ != null) {
- sourceContext_ =
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.newBuilder(sourceContext_).mergeFrom(value).buildPartial();
- } else {
- sourceContext_ = value;
- }
- onChanged();
- } else {
- sourceContextBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public Builder clearSourceContext() {
- if (sourceContextBuilder_ == null) {
- sourceContext_ = null;
- onChanged();
- } else {
- sourceContext_ = null;
- sourceContextBuilder_ = null;
- }
-
- return this;
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.Builder getSourceContextBuilder() {
-
- onChanged();
- return getSourceContextFieldBuilder().getBuilder();
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder() {
- if (sourceContextBuilder_ != null) {
- return sourceContextBuilder_.getMessageOrBuilder();
- } else {
- return sourceContext_ == null ?
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.getDefaultInstance() : sourceContext_;
- }
- }
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- private org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext, org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextOrBuilder>
- getSourceContextFieldBuilder() {
- if (sourceContextBuilder_ == null) {
- sourceContextBuilder_ = new org.apache.hadoop.hbase.shaded.com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext, org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext.Builder, org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextOrBuilder>(
- getSourceContext(),
- getParentForChildren(),
- isClean());
- sourceContext_ = null;
- }
- return sourceContextBuilder_;
- }
-
- private int syntax_ = 0;
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public int getSyntaxValue() {
- return syntax_;
- }
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public Builder setSyntaxValue(int value) {
- syntax_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax getSyntax() {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax result = org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax.valueOf(syntax_);
- return result == null ? org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax.UNRECOGNIZED : result;
- }
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public Builder setSyntax(org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- syntax_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- public Builder clearSyntax() {
-
- syntax_ = 0;
- onChanged();
- return this;
- }
- 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.Type)
- }
-
- // @@protoc_insertion_point(class_scope:google.protobuf.Type)
- private static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Type DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.com.google.protobuf.Type();
- }
-
- public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Type getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser<Type>
- PARSER = new org.apache.hadoop.hbase.shaded.com.google.protobuf.AbstractParser<Type>() {
- public Type 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 Type(input, extensionRegistry);
- }
- };
-
- public static org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser<Type> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser<Type> getParserForType() {
- return PARSER;
- }
-
- public org.apache.hadoop.hbase.shaded.com.google.protobuf.Type getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
-}
-
http://git-wip-us.apache.org/repos/asf/hbase/blob/ee70b1d2/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeOrBuilder.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeOrBuilder.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeOrBuilder.java
deleted file mode 100644
index fe845dd..0000000
--- a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeOrBuilder.java
+++ /dev/null
@@ -1,192 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/protobuf/type.proto
-
-package org.apache.hadoop.hbase.shaded.com.google.protobuf;
-
-public interface TypeOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.protobuf.Type)
- org.apache.hadoop.hbase.shaded.com.google.protobuf.MessageOrBuilder {
-
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- java.lang.String getName();
- /**
- * <pre>
- * The fully qualified message name.
- * </pre>
- *
- * <code>string name = 1;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
- getNameBytes();
-
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Field>
- getFieldsList();
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Field getFields(int index);
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- int getFieldsCount();
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- java.util.List<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder>
- getFieldsOrBuilderList();
- /**
- * <pre>
- * The list of fields.
- * </pre>
- *
- * <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.FieldOrBuilder getFieldsOrBuilder(
- int index);
-
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- java.util.List<java.lang.String>
- getOneofsList();
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- int getOneofsCount();
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- java.lang.String getOneofs(int index);
- /**
- * <pre>
- * The list of types appearing in `oneof` definitions in this type.
- * </pre>
- *
- * <code>repeated string oneofs = 3;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString
- getOneofsBytes(int index);
-
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- java.util.List<org.apache.hadoop.hbase.shaded.com.google.protobuf.Option>
- getOptionsList();
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Option getOptions(int index);
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- int getOptionsCount();
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- java.util.List<? extends org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder>
- getOptionsOrBuilderList();
- /**
- * <pre>
- * The protocol buffer options.
- * </pre>
- *
- * <code>repeated .google.protobuf.Option options = 4;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
- int index);
-
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- boolean hasSourceContext();
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContext getSourceContext();
- /**
- * <pre>
- * The source context.
- * </pre>
- *
- * <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder();
-
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- int getSyntaxValue();
- /**
- * <pre>
- * The source syntax.
- * </pre>
- *
- * <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- org.apache.hadoop.hbase.shaded.com.google.protobuf.Syntax getSyntax();
-}
http://git-wip-us.apache.org/repos/asf/hbase/blob/ee70b1d2/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeProto.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeProto.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeProto.java
deleted file mode 100644
index e7c3094..0000000
--- a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/com/google/protobuf/TypeProto.java
+++ /dev/null
@@ -1,141 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/protobuf/type.proto
-
-package org.apache.hadoop.hbase.shaded.com.google.protobuf;
-
-public final class TypeProto {
- private TypeProto() {}
- 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_Type_descriptor;
- static final
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_protobuf_Type_fieldAccessorTable;
- static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- internal_static_google_protobuf_Field_descriptor;
- static final
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_protobuf_Field_fieldAccessorTable;
- static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- internal_static_google_protobuf_Enum_descriptor;
- static final
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_protobuf_Enum_fieldAccessorTable;
- static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- internal_static_google_protobuf_EnumValue_descriptor;
- static final
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_protobuf_EnumValue_fieldAccessorTable;
- static final org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.Descriptor
- internal_static_google_protobuf_Option_descriptor;
- static final
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_protobuf_Option_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\032google/protobuf/type.proto\022\017google.pro" +
- "tobuf\032\031google/protobuf/any.proto\032$google" +
- "/protobuf/source_context.proto\"\327\001\n\004Type\022" +
- "\014\n\004name\030\001 \001(\t\022&\n\006fields\030\002 \003(\0132\026.google.p" +
- "rotobuf.Field\022\016\n\006oneofs\030\003 \003(\t\022(\n\007options" +
- "\030\004 \003(\0132\027.google.protobuf.Option\0226\n\016sourc" +
- "e_context\030\005 \001(\0132\036.google.protobuf.Source" +
- "Context\022\'\n\006syntax\030\006 \001(\0162\027.google.protobu" +
- "f.Syntax\"\325\005\n\005Field\022)\n\004kind\030\001 \001(\0162\033.googl" +
- "e.protobuf.Field.Kind\0227\n\013cardinality\030\002 \001",
- "(\0162\".google.protobuf.Field.Cardinality\022\016" +
- "\n\006number\030\003 \001(\005\022\014\n\004name\030\004 \001(\t\022\020\n\010type_url" +
- "\030\006 \001(\t\022\023\n\013oneof_index\030\007 \001(\005\022\016\n\006packed\030\010 " +
- "\001(\010\022(\n\007options\030\t \003(\0132\027.google.protobuf.O" +
- "ption\022\021\n\tjson_name\030\n \001(\t\022\025\n\rdefault_valu" +
- "e\030\013 \001(\t\"\310\002\n\004Kind\022\020\n\014TYPE_UNKNOWN\020\000\022\017\n\013TY" +
- "PE_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT6" +
- "4\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014" +
- "TYPE_FIXED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE" +
- "_BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n",
- "\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TY" +
- "PE_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXE" +
- "D32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020" +
- "\021\022\017\n\013TYPE_SINT64\020\022\"t\n\013Cardinality\022\027\n\023CAR" +
- "DINALITY_UNKNOWN\020\000\022\030\n\024CARDINALITY_OPTION" +
- "AL\020\001\022\030\n\024CARDINALITY_REQUIRED\020\002\022\030\n\024CARDIN" +
- "ALITY_REPEATED\020\003\"\316\001\n\004Enum\022\014\n\004name\030\001 \001(\t\022" +
- "-\n\tenumvalue\030\002 \003(\0132\032.google.protobuf.Enu" +
- "mValue\022(\n\007options\030\003 \003(\0132\027.google.protobu" +
- "f.Option\0226\n\016source_context\030\004 \001(\0132\036.googl",
- "e.protobuf.SourceContext\022\'\n\006syntax\030\005 \001(\016" +
- "2\027.google.protobuf.Syntax\"S\n\tEnumValue\022\014" +
- "\n\004name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\022(\n\007options\030" +
- "\003 \003(\0132\027.google.protobuf.Option\";\n\006Option" +
- "\022\014\n\004name\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.google.p" +
- "rotobuf.Any*.\n\006Syntax\022\021\n\rSYNTAX_PROTO2\020\000" +
- "\022\021\n\rSYNTAX_PROTO3\020\001B}\n\023com.google.protob" +
- "ufB\tTypeProtoP\001Z/google.golang.org/genpr" +
- "oto/protobuf/ptype;ptype\370\001\001\242\002\003GPB\252\002\036Goog" +
- "le.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[] {
- org.apache.hadoop.hbase.shaded.com.google.protobuf.AnyProto.getDescriptor(),
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextProto.getDescriptor(),
- }, assigner);
- internal_static_google_protobuf_Type_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_protobuf_Type_fieldAccessorTable = new
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_protobuf_Type_descriptor,
- new java.lang.String[] { "Name", "Fields", "Oneofs", "Options", "SourceContext", "Syntax", });
- internal_static_google_protobuf_Field_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_protobuf_Field_fieldAccessorTable = new
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_protobuf_Field_descriptor,
- new java.lang.String[] { "Kind", "Cardinality", "Number", "Name", "TypeUrl", "OneofIndex", "Packed", "Options", "JsonName", "DefaultValue", });
- internal_static_google_protobuf_Enum_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_protobuf_Enum_fieldAccessorTable = new
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_protobuf_Enum_descriptor,
- new java.lang.String[] { "Name", "Enumvalue", "Options", "SourceContext", "Syntax", });
- internal_static_google_protobuf_EnumValue_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_protobuf_EnumValue_fieldAccessorTable = new
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_protobuf_EnumValue_descriptor,
- new java.lang.String[] { "Name", "Number", "Options", });
- internal_static_google_protobuf_Option_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_protobuf_Option_fieldAccessorTable = new
- org.apache.hadoop.hbase.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_protobuf_Option_descriptor,
- new java.lang.String[] { "Name", "Value", });
- org.apache.hadoop.hbase.shaded.com.google.protobuf.AnyProto.getDescriptor();
- org.apache.hadoop.hbase.shaded.com.google.protobuf.SourceContextProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}