grpclb: move load balancer proto to package-matching directory

This commit is contained in:
Carl Mastrangelo 2018-04-30 16:14:32 -07:00 committed by GitHub
parent 48f103c1ed
commit 2b6edfc79d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 51 additions and 51 deletions

View File

@ -21,7 +21,7 @@ java_library(
proto_library(
name = "load_balancer_proto",
srcs = ["src/main/proto/load_balancer.proto"],
srcs = ["src/main/proto/grpc/lb/v1/load_balancer.proto"],
deps = [
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:duration_proto",

View File

@ -19,7 +19,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: load_balancer.proto")
comments = "Source: grpc/lb/v1/load_balancer.proto")
public final class LoadBalancerGrpc {
private LoadBalancerGrpc() {}

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;
@ -63,38 +63,38 @@ public final class LoadBalancerProto {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023load_balancer.proto\022\ngrpc.lb.v1\032\036googl" +
"e/protobuf/duration.proto\032\037google/protob" +
"uf/timestamp.proto\"\244\001\n\022LoadBalanceReques" +
"t\022@\n\017initial_request\030\001 \001(\0132%.grpc.lb.v1." +
"InitialLoadBalanceRequestH\000\022/\n\014client_st" +
"ats\030\002 \001(\0132\027.grpc.lb.v1.ClientStatsH\000B\033\n\031" +
"load_balance_request_type\")\n\031InitialLoad" +
"BalanceRequest\022\014\n\004name\030\001 \001(\t\"D\n\023ClientSt" +
"atsPerToken\022\032\n\022load_balance_token\030\001 \001(\t\022" +
"\021\n\tnum_calls\030\002 \001(\003\"\244\002\n\013ClientStats\022-\n\tti" +
"mestamp\030\001 \001(\0132\032.google.protobuf.Timestam" +
"p\022\031\n\021num_calls_started\030\002 \001(\003\022\032\n\022num_call" +
"s_finished\030\003 \001(\003\0225\n-num_calls_finished_w" +
"ith_client_failed_to_send\030\006 \001(\003\022)\n!num_c" +
"alls_finished_known_received\030\007 \001(\003\022A\n\030ca" +
"lls_finished_with_drop\030\010 \003(\0132\037.grpc.lb.v" +
"1.ClientStatsPerTokenJ\004\010\004\020\005J\004\010\005\020\006\"\246\001\n\023Lo" +
"adBalanceResponse\022B\n\020initial_response\030\001 " +
"\001(\0132&.grpc.lb.v1.InitialLoadBalanceRespo" +
"nseH\000\022-\n\013server_list\030\002 \001(\0132\026.grpc.lb.v1." +
"ServerListH\000B\034\n\032load_balance_response_ty" +
"pe\"}\n\032InitialLoadBalanceResponse\022\036\n\026load" +
"_balancer_delegate\030\001 \001(\t\022?\n\034client_stats" +
"_report_interval\030\002 \001(\0132\031.google.protobuf" +
".Duration\"7\n\nServerList\022#\n\007servers\030\001 \003(\013" +
"2\022.grpc.lb.v1.ServerJ\004\010\003\020\004\"Z\n\006Server\022\022\n\n" +
"ip_address\030\001 \001(\014\022\014\n\004port\030\002 \001(\005\022\032\n\022load_b" +
"alance_token\030\003 \001(\t\022\014\n\004drop\030\004 \001(\010J\004\010\005\020\0062b" +
"\n\014LoadBalancer\022R\n\013BalanceLoad\022\036.grpc.lb." +
"v1.LoadBalanceRequest\032\037.grpc.lb.v1.LoadB" +
"alanceResponse(\0010\001B%\n\016io.grpc.grpclbB\021Lo" +
"adBalancerProtoP\001b\006proto3"
"\n\036grpc/lb/v1/load_balancer.proto\022\ngrpc.l" +
"b.v1\032\036google/protobuf/duration.proto\032\037go" +
"ogle/protobuf/timestamp.proto\"\244\001\n\022LoadBa" +
"lanceRequest\022@\n\017initial_request\030\001 \001(\0132%." +
"grpc.lb.v1.InitialLoadBalanceRequestH\000\022/" +
"\n\014client_stats\030\002 \001(\0132\027.grpc.lb.v1.Client" +
"StatsH\000B\033\n\031load_balance_request_type\")\n\031" +
"InitialLoadBalanceRequest\022\014\n\004name\030\001 \001(\t\"" +
"D\n\023ClientStatsPerToken\022\032\n\022load_balance_t" +
"oken\030\001 \001(\t\022\021\n\tnum_calls\030\002 \001(\003\"\244\002\n\013Client" +
"Stats\022-\n\ttimestamp\030\001 \001(\0132\032.google.protob" +
"uf.Timestamp\022\031\n\021num_calls_started\030\002 \001(\003\022" +
"\032\n\022num_calls_finished\030\003 \001(\003\0225\n-num_calls" +
"_finished_with_client_failed_to_send\030\006 \001" +
"(\003\022)\n!num_calls_finished_known_received\030" +
"\007 \001(\003\022A\n\030calls_finished_with_drop\030\010 \003(\0132" +
"\037.grpc.lb.v1.ClientStatsPerTokenJ\004\010\004\020\005J\004" +
"\010\005\020\006\"\246\001\n\023LoadBalanceResponse\022B\n\020initial_" +
"response\030\001 \001(\0132&.grpc.lb.v1.InitialLoadB" +
"alanceResponseH\000\022-\n\013server_list\030\002 \001(\0132\026." +
"grpc.lb.v1.ServerListH\000B\034\n\032load_balance_" +
"response_type\"}\n\032InitialLoadBalanceRespo" +
"nse\022\036\n\026load_balancer_delegate\030\001 \001(\t\022?\n\034c" +
"lient_stats_report_interval\030\002 \001(\0132\031.goog" +
"le.protobuf.Duration\"7\n\nServerList\022#\n\007se" +
"rvers\030\001 \003(\0132\022.grpc.lb.v1.ServerJ\004\010\003\020\004\"Z\n" +
"\006Server\022\022\n\nip_address\030\001 \001(\014\022\014\n\004port\030\002 \001(" +
"\005\022\032\n\022load_balance_token\030\003 \001(\t\022\014\n\004drop\030\004 " +
"\001(\010J\004\010\005\020\0062b\n\014LoadBalancer\022R\n\013BalanceLoad" +
"\022\036.grpc.lb.v1.LoadBalanceRequest\032\037.grpc." +
"lb.v1.LoadBalanceResponse(\0010\001B%\n\016io.grpc" +
".grpclbB\021LoadBalancerProtoP\001b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;

View File

@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: load_balancer.proto
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.grpclb;