Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
package context;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.38.1)",
comments = "Source: context.proto")
public final class ContextServiceGrpc {
private ContextServiceGrpc() {}
public static final String SERVICE_NAME = "context.ContextService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList> getListContextIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListContextIds",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ContextIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList> getListContextIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextIdList> getListContextIdsMethod;
if ((getListContextIdsMethod = ContextServiceGrpc.getListContextIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListContextIdsMethod = ContextServiceGrpc.getListContextIdsMethod) == null) {
ContextServiceGrpc.getListContextIdsMethod = getListContextIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContextIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListContextIds"))
.build();
}
}
}
return getListContextIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList> getListContextsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListContexts",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ContextList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList> getListContextsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextList> getListContextsMethod;
if ((getListContextsMethod = ContextServiceGrpc.getListContextsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListContextsMethod = ContextServiceGrpc.getListContextsMethod) == null) {
ContextServiceGrpc.getListContextsMethod = getListContextsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContexts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListContexts"))
.build();
}
}
}
return getListContextsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context> getGetContextMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetContext",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.Context.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context> getGetContextMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.Context> getGetContextMethod;
if ((getGetContextMethod = ContextServiceGrpc.getGetContextMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetContextMethod = ContextServiceGrpc.getGetContextMethod) == null) {
ContextServiceGrpc.getGetContextMethod = getGetContextMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.Context>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContext"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Context.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetContext"))
.build();
}
}
}
return getGetContextMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId> getSetContextMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetContext",
requestType = context.ContextOuterClass.Context.class,
responseType = context.ContextOuterClass.ContextId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId> getSetContextMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Context, context.ContextOuterClass.ContextId> getSetContextMethod;
if ((getSetContextMethod = ContextServiceGrpc.getSetContextMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetContextMethod = ContextServiceGrpc.getSetContextMethod) == null) {
ContextServiceGrpc.getSetContextMethod = getSetContextMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Context, context.ContextOuterClass.ContextId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetContext"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Context.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetContext"))
.build();
}
}
}
return getSetContextMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty> getRemoveContextMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveContext",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty> getRemoveContextMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.Empty> getRemoveContextMethod;
if ((getRemoveContextMethod = ContextServiceGrpc.getRemoveContextMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveContextMethod = ContextServiceGrpc.getRemoveContextMethod) == null) {
ContextServiceGrpc.getRemoveContextMethod = getRemoveContextMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveContext"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveContext"))
.build();
}
}
}
return getRemoveContextMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent> getGetContextEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetContextEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ContextEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent> getGetContextEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextEvent> getGetContextEventsMethod;
if ((getGetContextEventsMethod = ContextServiceGrpc.getGetContextEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetContextEventsMethod = ContextServiceGrpc.getGetContextEventsMethod) == null) {
ContextServiceGrpc.getGetContextEventsMethod = getGetContextEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContextEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetContextEvents"))
.build();
}
}
}
return getGetContextEventsMethod;
Loading
Loading full blame...