[44/51] [partial] hbase git commit: HBASE-17056 Remove checked in PB generated files Selective add of dependency on hbase-thirdparty jars. Update to READMEs on how protobuf is done (and update to refg

2017-07-05 Thread stack
http://git-wip-us.apache.org/repos/asf/hbase/blob/1049025e/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
--
diff --git 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
 
b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
deleted file mode 100644
index 508790c..000
--- 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
+++ /dev/null
@@ -1,2375 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: Aggregate.proto
-
-package org.apache.hadoop.hbase.protobuf.generated;
-
-public final class AggregateProtos {
-  private AggregateProtos() {}
-  public static void registerAllExtensions(
-  com.google.protobuf.ExtensionRegistry registry) {
-  }
-  public interface AggregateRequestOrBuilder
-  extends com.google.protobuf.MessageOrBuilder {
-
-// required string interpreter_class_name = 1;
-/**
- * required string interpreter_class_name = 1;
- *
- * 
- ** The request passed to the AggregateService consists of three parts
- *  (1) the (canonical) classname of the ColumnInterpreter implementation
- *  (2) the Scan query
- *  (3) any bytes required to construct the ColumnInterpreter object
- *  properly
- * 
- */
-boolean hasInterpreterClassName();
-/**
- * required string interpreter_class_name = 1;
- *
- * 
- ** The request passed to the AggregateService consists of three parts
- *  (1) the (canonical) classname of the ColumnInterpreter implementation
- *  (2) the Scan query
- *  (3) any bytes required to construct the ColumnInterpreter object
- *  properly
- * 
- */
-java.lang.String getInterpreterClassName();
-/**
- * required string interpreter_class_name = 1;
- *
- * 
- ** The request passed to the AggregateService consists of three parts
- *  (1) the (canonical) classname of the ColumnInterpreter implementation
- *  (2) the Scan query
- *  (3) any bytes required to construct the ColumnInterpreter object
- *  properly
- * 
- */
-com.google.protobuf.ByteString
-getInterpreterClassNameBytes();
-
-// required .hbase.pb.Scan scan = 2;
-/**
- * required .hbase.pb.Scan scan = 2;
- */
-boolean hasScan();
-/**
- * required .hbase.pb.Scan scan = 2;
- */
-org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan getScan();
-/**
- * required .hbase.pb.Scan scan = 2;
- */
-org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder 
getScanOrBuilder();
-
-// optional bytes interpreter_specific_bytes = 3;
-/**
- * optional bytes interpreter_specific_bytes = 3;
- */
-boolean hasInterpreterSpecificBytes();
-/**
- * optional bytes interpreter_specific_bytes = 3;
- */
-com.google.protobuf.ByteString getInterpreterSpecificBytes();
-  }
-  /**
-   * Protobuf type {@code hbase.pb.AggregateRequest}
-   */
-  public static final class AggregateRequest extends
-  com.google.protobuf.GeneratedMessage
-  implements AggregateRequestOrBuilder {
-// Use AggregateRequest.newBuilder() to construct.
-private AggregateRequest(com.google.protobuf.GeneratedMessage.Builder 
builder) {
-  super(builder);
-  this.unknownFields = builder.getUnknownFields();
-}
-private AggregateRequest(boolean noInit) { this.unknownFields = 
com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-private static final AggregateRequest defaultInstance;
-public static AggregateRequest getDefaultInstance() {
-  return defaultInstance;
-}
-
-public AggregateRequest getDefaultInstanceForType() {
-  return defaultInstance;
-}
-
-private final com.google.protobuf.UnknownFieldSet unknownFields;
-@java.lang.Override
-public final com.google.protobuf.UnknownFieldSet
-getUnknownFields() {
-  return this.unknownFields;
-}
-private AggregateRequest(
-com.google.protobuf.CodedInputStream input,
-com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-throws com.google.protobuf.InvalidProtocolBufferException {
-  initFields();
-  int mutable_bitField0_ = 0;
-  com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-  com.google.protobuf.UnknownFieldSet.newBuilder();
-  try {
-boolean done = false;
-while (!done) {
-  int tag = input.readTag();
-  switch (tag) {
-case 0:
-  done = true;
-  break;
-default: {
-  if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
-done = true;
-  }
-  break;
-  

[44/51] [partial] hbase git commit: HBASE-17056 Remove checked in PB generated files Selective add of dependency on hbase-thirdparty jars. Update to READMEs on how protobuf is done (and update to refg

2017-07-05 Thread stack
http://git-wip-us.apache.org/repos/asf/hbase/blob/df93c13f/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
--
diff --git 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
 
b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
deleted file mode 100644
index 508790c..000
--- 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AggregateProtos.java
+++ /dev/null
@@ -1,2375 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: Aggregate.proto
-
-package org.apache.hadoop.hbase.protobuf.generated;
-
-public final class AggregateProtos {
-  private AggregateProtos() {}
-  public static void registerAllExtensions(
-  com.google.protobuf.ExtensionRegistry registry) {
-  }
-  public interface AggregateRequestOrBuilder
-  extends com.google.protobuf.MessageOrBuilder {
-
-// required string interpreter_class_name = 1;
-/**
- * required string interpreter_class_name = 1;
- *
- * 
- ** The request passed to the AggregateService consists of three parts
- *  (1) the (canonical) classname of the ColumnInterpreter implementation
- *  (2) the Scan query
- *  (3) any bytes required to construct the ColumnInterpreter object
- *  properly
- * 
- */
-boolean hasInterpreterClassName();
-/**
- * required string interpreter_class_name = 1;
- *
- * 
- ** The request passed to the AggregateService consists of three parts
- *  (1) the (canonical) classname of the ColumnInterpreter implementation
- *  (2) the Scan query
- *  (3) any bytes required to construct the ColumnInterpreter object
- *  properly
- * 
- */
-java.lang.String getInterpreterClassName();
-/**
- * required string interpreter_class_name = 1;
- *
- * 
- ** The request passed to the AggregateService consists of three parts
- *  (1) the (canonical) classname of the ColumnInterpreter implementation
- *  (2) the Scan query
- *  (3) any bytes required to construct the ColumnInterpreter object
- *  properly
- * 
- */
-com.google.protobuf.ByteString
-getInterpreterClassNameBytes();
-
-// required .hbase.pb.Scan scan = 2;
-/**
- * required .hbase.pb.Scan scan = 2;
- */
-boolean hasScan();
-/**
- * required .hbase.pb.Scan scan = 2;
- */
-org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan getScan();
-/**
- * required .hbase.pb.Scan scan = 2;
- */
-org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder 
getScanOrBuilder();
-
-// optional bytes interpreter_specific_bytes = 3;
-/**
- * optional bytes interpreter_specific_bytes = 3;
- */
-boolean hasInterpreterSpecificBytes();
-/**
- * optional bytes interpreter_specific_bytes = 3;
- */
-com.google.protobuf.ByteString getInterpreterSpecificBytes();
-  }
-  /**
-   * Protobuf type {@code hbase.pb.AggregateRequest}
-   */
-  public static final class AggregateRequest extends
-  com.google.protobuf.GeneratedMessage
-  implements AggregateRequestOrBuilder {
-// Use AggregateRequest.newBuilder() to construct.
-private AggregateRequest(com.google.protobuf.GeneratedMessage.Builder 
builder) {
-  super(builder);
-  this.unknownFields = builder.getUnknownFields();
-}
-private AggregateRequest(boolean noInit) { this.unknownFields = 
com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-private static final AggregateRequest defaultInstance;
-public static AggregateRequest getDefaultInstance() {
-  return defaultInstance;
-}
-
-public AggregateRequest getDefaultInstanceForType() {
-  return defaultInstance;
-}
-
-private final com.google.protobuf.UnknownFieldSet unknownFields;
-@java.lang.Override
-public final com.google.protobuf.UnknownFieldSet
-getUnknownFields() {
-  return this.unknownFields;
-}
-private AggregateRequest(
-com.google.protobuf.CodedInputStream input,
-com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-throws com.google.protobuf.InvalidProtocolBufferException {
-  initFields();
-  int mutable_bitField0_ = 0;
-  com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-  com.google.protobuf.UnknownFieldSet.newBuilder();
-  try {
-boolean done = false;
-while (!done) {
-  int tag = input.readTag();
-  switch (tag) {
-case 0:
-  done = true;
-  break;
-default: {
-  if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
-done = true;
-  }
-  break;
-