Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hbase-endpoint/src/main/protobuf/Aggregate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
4 changes: 2 additions & 2 deletions hbase-endpoint/src/main/protobuf/BulkDelete.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.coprocessor.example.generated";
Expand Down Expand Up @@ -48,4 +48,4 @@ message BulkDeleteResponse {
service BulkDeleteService {
rpc delete(BulkDeleteRequest)
returns (BulkDeleteResponse);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// Coprocessor test
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
option java_outer_classname = "ColumnAggregationWithNullResponseProtos";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// Coprocessor test
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
option java_outer_classname = "ColumnAggregationProtos";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// Coprocessor test
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
option java_outer_classname = "ColumnAggregationWithErrorsProtos";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.test.pb;

// Coprocessor test
Expand Down
2 changes: 1 addition & 1 deletion hbase-endpoint/src/main/protobuf/Export.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
option java_outer_classname = "IncrementCounterProcessorTestProtos";
Expand Down Expand Up @@ -52,4 +53,4 @@ message TimeoutProcessorRequest {
}

message TimeoutProcessorResponse {
}
}
3 changes: 2 additions & 1 deletion hbase-examples/src/main/protobuf/Examples.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.coprocessor.example.generated";
Expand All @@ -35,4 +36,4 @@ service RowCountService {
returns (CountResponse);
rpc getKeyValueCount(CountRequest)
returns (CountResponse);
}
}
2 changes: 1 addition & 1 deletion hbase-examples/src/main/protobuf/RefreshHFiles.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
2 changes: 1 addition & 1 deletion hbase-protocol-shaded/src/main/protobuf/RSGroup.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
Expand Down
2 changes: 1 addition & 1 deletion hbase-protocol-shaded/src/main/protobuf/RSGroupAdmin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/AccessControl.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are used for Admin service.
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Authentication.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Cell.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// Cell and KeyValue protos
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are used for Client service.
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/ClusterId.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are shared throughout HBase
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/ClusterStatus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are used for ClustStatus
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Comparator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are used for filters
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Encryption.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers used for encryption
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/ErrorHandling.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are used for error handling
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/FS.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are written into the filesystem
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are used for filters
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/HBase.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers that are shared throughout HBase
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/HFile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

package hbase.pb;

Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/LoadBalancer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// This file contains protocol buffers to represent the state of the load balancer.
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/MapReduce.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

//This file includes protocol buffers used in MapReduce only.
package hbase.pb;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/MultiRowMutation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

import "Client.proto";
Expand Down
2 changes: 2 additions & 0 deletions hbase-protocol/src/main/protobuf/PingProtocol.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// Coprocessor test
option java_package = "org.apache.hadoop.hbase.coprocessor.protobuf.generated";
option java_outer_classname = "PingProtos";
Expand Down
2 changes: 1 addition & 1 deletion hbase-protocol/src/main/protobuf/Quota.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/RPC.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

import "Tracing.proto";
Expand Down
2 changes: 1 addition & 1 deletion hbase-protocol/src/main/protobuf/RSGroup.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
2 changes: 1 addition & 1 deletion hbase-protocol/src/main/protobuf/RSGroupAdmin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
2 changes: 2 additions & 0 deletions hbase-protocol/src/main/protobuf/RowProcessor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

/**
* Defines a protocol to perform multi row transactions.
* See BaseRowProcessorEndpoint for the implementation.
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Snapshot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
2 changes: 2 additions & 0 deletions hbase-protocol/src/main/protobuf/TestProcedure.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
option java_outer_classname = "TestProcedureProtos";
option java_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/Tracing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
3 changes: 2 additions & 1 deletion hbase-protocol/src/main/protobuf/VisibilityLabels.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down Expand Up @@ -80,4 +81,4 @@ service VisibilityLabelsService {
returns (GetAuthsResponse);
rpc listLabels(ListLabelsRequest)
returns (ListLabelsResponse);
}
}
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/WAL.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";
package hbase.pb;

option java_package = "org.apache.hadoop.hbase.protobuf.generated";
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/ZooKeeper.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

// ZNode data in hbase are serialized protobufs with a four byte
// 'magic' 'PBUF' prefix.
Expand Down
1 change: 1 addition & 0 deletions hbase-protocol/src/main/protobuf/test.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
option java_outer_classname = "TestProtos";
Expand Down
2 changes: 2 additions & 0 deletions hbase-protocol/src/main/protobuf/test_rpc_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto2";

option java_package = "org.apache.hadoop.hbase.ipc.protobuf.generated";
option java_outer_classname = "TestRpcServiceProtos";
option java_generic_services = true;
Expand Down
Loading