• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: grpc/lb/v1/load_balancer.proto
3 
4 package io.grpc.lb.v1;
5 
6 public final class LoadBalancerProto {
LoadBalancerProto()7   private LoadBalancerProto() {}
registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry)8   public static void registerAllExtensions(
9       com.google.protobuf.ExtensionRegistryLite registry) {
10   }
11 
registerAllExtensions( com.google.protobuf.ExtensionRegistry registry)12   public static void registerAllExtensions(
13       com.google.protobuf.ExtensionRegistry registry) {
14     registerAllExtensions(
15         (com.google.protobuf.ExtensionRegistryLite) registry);
16   }
17   static final com.google.protobuf.Descriptors.Descriptor
18     internal_static_grpc_lb_v1_LoadBalanceRequest_descriptor;
19   static final
20     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
21       internal_static_grpc_lb_v1_LoadBalanceRequest_fieldAccessorTable;
22   static final com.google.protobuf.Descriptors.Descriptor
23     internal_static_grpc_lb_v1_InitialLoadBalanceRequest_descriptor;
24   static final
25     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
26       internal_static_grpc_lb_v1_InitialLoadBalanceRequest_fieldAccessorTable;
27   static final com.google.protobuf.Descriptors.Descriptor
28     internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor;
29   static final
30     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
31       internal_static_grpc_lb_v1_ClientStatsPerToken_fieldAccessorTable;
32   static final com.google.protobuf.Descriptors.Descriptor
33     internal_static_grpc_lb_v1_ClientStats_descriptor;
34   static final
35     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
36       internal_static_grpc_lb_v1_ClientStats_fieldAccessorTable;
37   static final com.google.protobuf.Descriptors.Descriptor
38     internal_static_grpc_lb_v1_LoadBalanceResponse_descriptor;
39   static final
40     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_grpc_lb_v1_LoadBalanceResponse_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43     internal_static_grpc_lb_v1_InitialLoadBalanceResponse_descriptor;
44   static final
45     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
46       internal_static_grpc_lb_v1_InitialLoadBalanceResponse_fieldAccessorTable;
47   static final com.google.protobuf.Descriptors.Descriptor
48     internal_static_grpc_lb_v1_ServerList_descriptor;
49   static final
50     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
51       internal_static_grpc_lb_v1_ServerList_fieldAccessorTable;
52   static final com.google.protobuf.Descriptors.Descriptor
53     internal_static_grpc_lb_v1_Server_descriptor;
54   static final
55     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
56       internal_static_grpc_lb_v1_Server_fieldAccessorTable;
57 
58   public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor()59       getDescriptor() {
60     return descriptor;
61   }
62   private static  com.google.protobuf.Descriptors.FileDescriptor
63       descriptor;
64   static {
65     java.lang.String[] descriptorData = {
66       "\n\036grpc/lb/v1/load_balancer.proto\022\ngrpc.l" +
67       "b.v1\032\036google/protobuf/duration.proto\032\037go" +
68       "ogle/protobuf/timestamp.proto\"\244\001\n\022LoadBa" +
69       "lanceRequest\022@\n\017initial_request\030\001 \001(\0132%." +
70       "grpc.lb.v1.InitialLoadBalanceRequestH\000\022/" +
71       "\n\014client_stats\030\002 \001(\0132\027.grpc.lb.v1.Client" +
72       "StatsH\000B\033\n\031load_balance_request_type\")\n\031" +
73       "InitialLoadBalanceRequest\022\014\n\004name\030\001 \001(\t\"" +
74       "D\n\023ClientStatsPerToken\022\032\n\022load_balance_t" +
75       "oken\030\001 \001(\t\022\021\n\tnum_calls\030\002 \001(\003\"\244\002\n\013Client" +
76       "Stats\022-\n\ttimestamp\030\001 \001(\0132\032.google.protob" +
77       "uf.Timestamp\022\031\n\021num_calls_started\030\002 \001(\003\022" +
78       "\032\n\022num_calls_finished\030\003 \001(\003\0225\n-num_calls" +
79       "_finished_with_client_failed_to_send\030\006 \001" +
80       "(\003\022)\n!num_calls_finished_known_received\030" +
81       "\007 \001(\003\022A\n\030calls_finished_with_drop\030\010 \003(\0132" +
82       "\037.grpc.lb.v1.ClientStatsPerTokenJ\004\010\004\020\005J\004" +
83       "\010\005\020\006\"\246\001\n\023LoadBalanceResponse\022B\n\020initial_" +
84       "response\030\001 \001(\0132&.grpc.lb.v1.InitialLoadB" +
85       "alanceResponseH\000\022-\n\013server_list\030\002 \001(\0132\026." +
86       "grpc.lb.v1.ServerListH\000B\034\n\032load_balance_" +
87       "response_type\"}\n\032InitialLoadBalanceRespo" +
88       "nse\022\036\n\026load_balancer_delegate\030\001 \001(\t\022?\n\034c" +
89       "lient_stats_report_interval\030\002 \001(\0132\031.goog" +
90       "le.protobuf.Duration\"7\n\nServerList\022#\n\007se" +
91       "rvers\030\001 \003(\0132\022.grpc.lb.v1.ServerJ\004\010\003\020\004\"Z\n" +
92       "\006Server\022\022\n\nip_address\030\001 \001(\014\022\014\n\004port\030\002 \001(" +
93       "\005\022\032\n\022load_balance_token\030\003 \001(\t\022\014\n\004drop\030\004 " +
94       "\001(\010J\004\010\005\020\0062b\n\014LoadBalancer\022R\n\013BalanceLoad" +
95       "\022\036.grpc.lb.v1.LoadBalanceRequest\032\037.grpc." +
96       "lb.v1.LoadBalanceResponse(\0010\001BW\n\rio.grpc" +
97       ".lb.v1B\021LoadBalancerProtoP\001Z1google.gola" +
98       "ng.org/grpc/balancer/grpclb/grpc_lb_v1b\006" +
99       "proto3"
100     };
101     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
102         new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
103           public com.google.protobuf.ExtensionRegistry assignDescriptors(
104               com.google.protobuf.Descriptors.FileDescriptor root) {
105             descriptor = root;
106             return null;
107           }
108         };
109     com.google.protobuf.Descriptors.FileDescriptor
internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }, assigner)110       .internalBuildGeneratedFileFrom(descriptorData,
111         new com.google.protobuf.Descriptors.FileDescriptor[] {
112           com.google.protobuf.DurationProto.getDescriptor(),
113           com.google.protobuf.TimestampProto.getDescriptor(),
114         }, assigner);
115     internal_static_grpc_lb_v1_LoadBalanceRequest_descriptor =
116       getDescriptor().getMessageTypes().get(0);
117     internal_static_grpc_lb_v1_LoadBalanceRequest_fieldAccessorTable = new
118       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
119         internal_static_grpc_lb_v1_LoadBalanceRequest_descriptor,
120         new java.lang.String[] { "InitialRequest", "ClientStats", "LoadBalanceRequestType", });
121     internal_static_grpc_lb_v1_InitialLoadBalanceRequest_descriptor =
122       getDescriptor().getMessageTypes().get(1);
123     internal_static_grpc_lb_v1_InitialLoadBalanceRequest_fieldAccessorTable = new
124       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
125         internal_static_grpc_lb_v1_InitialLoadBalanceRequest_descriptor,
126         new java.lang.String[] { "Name", });
127     internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor =
128       getDescriptor().getMessageTypes().get(2);
129     internal_static_grpc_lb_v1_ClientStatsPerToken_fieldAccessorTable = new
130       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
131         internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor,
132         new java.lang.String[] { "LoadBalanceToken", "NumCalls", });
133     internal_static_grpc_lb_v1_ClientStats_descriptor =
134       getDescriptor().getMessageTypes().get(3);
135     internal_static_grpc_lb_v1_ClientStats_fieldAccessorTable = new
136       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
137         internal_static_grpc_lb_v1_ClientStats_descriptor,
138         new java.lang.String[] { "Timestamp", "NumCallsStarted", "NumCallsFinished", "NumCallsFinishedWithClientFailedToSend", "NumCallsFinishedKnownReceived", "CallsFinishedWithDrop", });
139     internal_static_grpc_lb_v1_LoadBalanceResponse_descriptor =
140       getDescriptor().getMessageTypes().get(4);
141     internal_static_grpc_lb_v1_LoadBalanceResponse_fieldAccessorTable = new
142       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
143         internal_static_grpc_lb_v1_LoadBalanceResponse_descriptor,
144         new java.lang.String[] { "InitialResponse", "ServerList", "LoadBalanceResponseType", });
145     internal_static_grpc_lb_v1_InitialLoadBalanceResponse_descriptor =
146       getDescriptor().getMessageTypes().get(5);
147     internal_static_grpc_lb_v1_InitialLoadBalanceResponse_fieldAccessorTable = new
148       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
149         internal_static_grpc_lb_v1_InitialLoadBalanceResponse_descriptor,
150         new java.lang.String[] { "LoadBalancerDelegate", "ClientStatsReportInterval", });
151     internal_static_grpc_lb_v1_ServerList_descriptor =
152       getDescriptor().getMessageTypes().get(6);
153     internal_static_grpc_lb_v1_ServerList_fieldAccessorTable = new
154       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
155         internal_static_grpc_lb_v1_ServerList_descriptor,
156         new java.lang.String[] { "Servers", });
157     internal_static_grpc_lb_v1_Server_descriptor =
158       getDescriptor().getMessageTypes().get(7);
159     internal_static_grpc_lb_v1_Server_fieldAccessorTable = new
160       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
161         internal_static_grpc_lb_v1_Server_descriptor,
162         new java.lang.String[] { "IpAddress", "Port", "LoadBalanceToken", "Drop", });
com.google.protobuf.DurationProto.getDescriptor()163     com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor()164     com.google.protobuf.TimestampProto.getDescriptor();
165   }
166 
167   // @@protoc_insertion_point(outer_class_scope)
168 }
169