001package dev.enola.core.proto; 002 003import static io.grpc.MethodDescriptor.generateFullMethodName; 004 005/** 006 * <pre> 007 * This is the API with which Enola clients (such as a CLI or UI) connect. 008 * </pre> 009 */ 010@io.grpc.stub.annotations.GrpcGenerated 011public final class EnolaServiceGrpc { 012 013 private EnolaServiceGrpc() {} 014 015 public static final java.lang.String SERVICE_NAME = "dev.enola.core.EnolaService"; 016 017 // Static method descriptors that strictly reflect the proto. 018 private static volatile io.grpc.MethodDescriptor<dev.enola.core.proto.GetFileDescriptorSetRequest, 019 dev.enola.core.proto.GetFileDescriptorSetResponse> getGetFileDescriptorSetMethod; 020 021 @io.grpc.stub.annotations.RpcMethod( 022 fullMethodName = SERVICE_NAME + '/' + "GetFileDescriptorSet", 023 requestType = dev.enola.core.proto.GetFileDescriptorSetRequest.class, 024 responseType = dev.enola.core.proto.GetFileDescriptorSetResponse.class, 025 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 026 public static io.grpc.MethodDescriptor<dev.enola.core.proto.GetFileDescriptorSetRequest, 027 dev.enola.core.proto.GetFileDescriptorSetResponse> getGetFileDescriptorSetMethod() { 028 io.grpc.MethodDescriptor<dev.enola.core.proto.GetFileDescriptorSetRequest, dev.enola.core.proto.GetFileDescriptorSetResponse> getGetFileDescriptorSetMethod; 029 if ((getGetFileDescriptorSetMethod = EnolaServiceGrpc.getGetFileDescriptorSetMethod) == null) { 030 synchronized (EnolaServiceGrpc.class) { 031 if ((getGetFileDescriptorSetMethod = EnolaServiceGrpc.getGetFileDescriptorSetMethod) == null) { 032 EnolaServiceGrpc.getGetFileDescriptorSetMethod = getGetFileDescriptorSetMethod = 033 io.grpc.MethodDescriptor.<dev.enola.core.proto.GetFileDescriptorSetRequest, dev.enola.core.proto.GetFileDescriptorSetResponse>newBuilder() 034 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 035 .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFileDescriptorSet")) 036 .setSampledToLocalTracing(true) 037 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 038 dev.enola.core.proto.GetFileDescriptorSetRequest.getDefaultInstance())) 039 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 040 dev.enola.core.proto.GetFileDescriptorSetResponse.getDefaultInstance())) 041 .setSchemaDescriptor(new EnolaServiceMethodDescriptorSupplier("GetFileDescriptorSet")) 042 .build(); 043 } 044 } 045 } 046 return getGetFileDescriptorSetMethod; 047 } 048 049 private static volatile io.grpc.MethodDescriptor<dev.enola.core.proto.GetThingRequest, 050 dev.enola.core.proto.GetThingResponse> getGetThingMethod; 051 052 @io.grpc.stub.annotations.RpcMethod( 053 fullMethodName = SERVICE_NAME + '/' + "GetThing", 054 requestType = dev.enola.core.proto.GetThingRequest.class, 055 responseType = dev.enola.core.proto.GetThingResponse.class, 056 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 057 public static io.grpc.MethodDescriptor<dev.enola.core.proto.GetThingRequest, 058 dev.enola.core.proto.GetThingResponse> getGetThingMethod() { 059 io.grpc.MethodDescriptor<dev.enola.core.proto.GetThingRequest, dev.enola.core.proto.GetThingResponse> getGetThingMethod; 060 if ((getGetThingMethod = EnolaServiceGrpc.getGetThingMethod) == null) { 061 synchronized (EnolaServiceGrpc.class) { 062 if ((getGetThingMethod = EnolaServiceGrpc.getGetThingMethod) == null) { 063 EnolaServiceGrpc.getGetThingMethod = getGetThingMethod = 064 io.grpc.MethodDescriptor.<dev.enola.core.proto.GetThingRequest, dev.enola.core.proto.GetThingResponse>newBuilder() 065 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 066 .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetThing")) 067 .setSampledToLocalTracing(true) 068 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 069 dev.enola.core.proto.GetThingRequest.getDefaultInstance())) 070 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 071 dev.enola.core.proto.GetThingResponse.getDefaultInstance())) 072 .setSchemaDescriptor(new EnolaServiceMethodDescriptorSupplier("GetThing")) 073 .build(); 074 } 075 } 076 } 077 return getGetThingMethod; 078 } 079 080 private static volatile io.grpc.MethodDescriptor<dev.enola.core.proto.GetThingsRequest, 081 dev.enola.core.proto.GetThingsResponse> getGetThingsMethod; 082 083 @io.grpc.stub.annotations.RpcMethod( 084 fullMethodName = SERVICE_NAME + '/' + "GetThings", 085 requestType = dev.enola.core.proto.GetThingsRequest.class, 086 responseType = dev.enola.core.proto.GetThingsResponse.class, 087 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 088 public static io.grpc.MethodDescriptor<dev.enola.core.proto.GetThingsRequest, 089 dev.enola.core.proto.GetThingsResponse> getGetThingsMethod() { 090 io.grpc.MethodDescriptor<dev.enola.core.proto.GetThingsRequest, dev.enola.core.proto.GetThingsResponse> getGetThingsMethod; 091 if ((getGetThingsMethod = EnolaServiceGrpc.getGetThingsMethod) == null) { 092 synchronized (EnolaServiceGrpc.class) { 093 if ((getGetThingsMethod = EnolaServiceGrpc.getGetThingsMethod) == null) { 094 EnolaServiceGrpc.getGetThingsMethod = getGetThingsMethod = 095 io.grpc.MethodDescriptor.<dev.enola.core.proto.GetThingsRequest, dev.enola.core.proto.GetThingsResponse>newBuilder() 096 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 097 .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetThings")) 098 .setSampledToLocalTracing(true) 099 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 100 dev.enola.core.proto.GetThingsRequest.getDefaultInstance())) 101 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 102 dev.enola.core.proto.GetThingsResponse.getDefaultInstance())) 103 .setSchemaDescriptor(new EnolaServiceMethodDescriptorSupplier("GetThings")) 104 .build(); 105 } 106 } 107 } 108 return getGetThingsMethod; 109 } 110 111 /** 112 * Creates a new async stub that supports all call types for the service 113 */ 114 public static EnolaServiceStub newStub(io.grpc.Channel channel) { 115 io.grpc.stub.AbstractStub.StubFactory<EnolaServiceStub> factory = 116 new io.grpc.stub.AbstractStub.StubFactory<EnolaServiceStub>() { 117 @java.lang.Override 118 public EnolaServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 119 return new EnolaServiceStub(channel, callOptions); 120 } 121 }; 122 return EnolaServiceStub.newStub(factory, channel); 123 } 124 125 /** 126 * Creates a new blocking-style stub that supports all types of calls on the service 127 */ 128 public static EnolaServiceBlockingV2Stub newBlockingV2Stub( 129 io.grpc.Channel channel) { 130 io.grpc.stub.AbstractStub.StubFactory<EnolaServiceBlockingV2Stub> factory = 131 new io.grpc.stub.AbstractStub.StubFactory<EnolaServiceBlockingV2Stub>() { 132 @java.lang.Override 133 public EnolaServiceBlockingV2Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 134 return new EnolaServiceBlockingV2Stub(channel, callOptions); 135 } 136 }; 137 return EnolaServiceBlockingV2Stub.newStub(factory, channel); 138 } 139 140 /** 141 * Creates a new blocking-style stub that supports unary and streaming output calls on the service 142 */ 143 public static EnolaServiceBlockingStub newBlockingStub( 144 io.grpc.Channel channel) { 145 io.grpc.stub.AbstractStub.StubFactory<EnolaServiceBlockingStub> factory = 146 new io.grpc.stub.AbstractStub.StubFactory<EnolaServiceBlockingStub>() { 147 @java.lang.Override 148 public EnolaServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 149 return new EnolaServiceBlockingStub(channel, callOptions); 150 } 151 }; 152 return EnolaServiceBlockingStub.newStub(factory, channel); 153 } 154 155 /** 156 * Creates a new ListenableFuture-style stub that supports unary calls on the service 157 */ 158 public static EnolaServiceFutureStub newFutureStub( 159 io.grpc.Channel channel) { 160 io.grpc.stub.AbstractStub.StubFactory<EnolaServiceFutureStub> factory = 161 new io.grpc.stub.AbstractStub.StubFactory<EnolaServiceFutureStub>() { 162 @java.lang.Override 163 public EnolaServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 164 return new EnolaServiceFutureStub(channel, callOptions); 165 } 166 }; 167 return EnolaServiceFutureStub.newStub(factory, channel); 168 } 169 170 /** 171 * <pre> 172 * This is the API with which Enola clients (such as a CLI or UI) connect. 173 * </pre> 174 */ 175 public interface AsyncService { 176 177 /** 178 */ 179 default void getFileDescriptorSet(dev.enola.core.proto.GetFileDescriptorSetRequest request, 180 io.grpc.stub.StreamObserver<dev.enola.core.proto.GetFileDescriptorSetResponse> responseObserver) { 181 io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileDescriptorSetMethod(), responseObserver); 182 } 183 184 /** 185 */ 186 default void getThing(dev.enola.core.proto.GetThingRequest request, 187 io.grpc.stub.StreamObserver<dev.enola.core.proto.GetThingResponse> responseObserver) { 188 io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetThingMethod(), responseObserver); 189 } 190 191 /** 192 */ 193 default void getThings(dev.enola.core.proto.GetThingsRequest request, 194 io.grpc.stub.StreamObserver<dev.enola.core.proto.GetThingsResponse> responseObserver) { 195 io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetThingsMethod(), responseObserver); 196 } 197 } 198 199 /** 200 * Base class for the server implementation of the service EnolaService. 201 * <pre> 202 * This is the API with which Enola clients (such as a CLI or UI) connect. 203 * </pre> 204 */ 205 public static abstract class EnolaServiceImplBase 206 implements io.grpc.BindableService, AsyncService { 207 208 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 209 return EnolaServiceGrpc.bindService(this); 210 } 211 } 212 213 /** 214 * A stub to allow clients to do asynchronous rpc calls to service EnolaService. 215 * <pre> 216 * This is the API with which Enola clients (such as a CLI or UI) connect. 217 * </pre> 218 */ 219 public static final class EnolaServiceStub 220 extends io.grpc.stub.AbstractAsyncStub<EnolaServiceStub> { 221 private EnolaServiceStub( 222 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 223 super(channel, callOptions); 224 } 225 226 @java.lang.Override 227 protected EnolaServiceStub build( 228 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 229 return new EnolaServiceStub(channel, callOptions); 230 } 231 232 /** 233 */ 234 public void getFileDescriptorSet(dev.enola.core.proto.GetFileDescriptorSetRequest request, 235 io.grpc.stub.StreamObserver<dev.enola.core.proto.GetFileDescriptorSetResponse> responseObserver) { 236 io.grpc.stub.ClientCalls.asyncUnaryCall( 237 getChannel().newCall(getGetFileDescriptorSetMethod(), getCallOptions()), request, responseObserver); 238 } 239 240 /** 241 */ 242 public void getThing(dev.enola.core.proto.GetThingRequest request, 243 io.grpc.stub.StreamObserver<dev.enola.core.proto.GetThingResponse> responseObserver) { 244 io.grpc.stub.ClientCalls.asyncUnaryCall( 245 getChannel().newCall(getGetThingMethod(), getCallOptions()), request, responseObserver); 246 } 247 248 /** 249 */ 250 public void getThings(dev.enola.core.proto.GetThingsRequest request, 251 io.grpc.stub.StreamObserver<dev.enola.core.proto.GetThingsResponse> responseObserver) { 252 io.grpc.stub.ClientCalls.asyncUnaryCall( 253 getChannel().newCall(getGetThingsMethod(), getCallOptions()), request, responseObserver); 254 } 255 } 256 257 /** 258 * A stub to allow clients to do synchronous rpc calls to service EnolaService. 259 * <pre> 260 * This is the API with which Enola clients (such as a CLI or UI) connect. 261 * </pre> 262 */ 263 public static final class EnolaServiceBlockingV2Stub 264 extends io.grpc.stub.AbstractBlockingStub<EnolaServiceBlockingV2Stub> { 265 private EnolaServiceBlockingV2Stub( 266 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 267 super(channel, callOptions); 268 } 269 270 @java.lang.Override 271 protected EnolaServiceBlockingV2Stub build( 272 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 273 return new EnolaServiceBlockingV2Stub(channel, callOptions); 274 } 275 276 /** 277 */ 278 public dev.enola.core.proto.GetFileDescriptorSetResponse getFileDescriptorSet(dev.enola.core.proto.GetFileDescriptorSetRequest request) throws io.grpc.StatusException { 279 return io.grpc.stub.ClientCalls.blockingV2UnaryCall( 280 getChannel(), getGetFileDescriptorSetMethod(), getCallOptions(), request); 281 } 282 283 /** 284 */ 285 public dev.enola.core.proto.GetThingResponse getThing(dev.enola.core.proto.GetThingRequest request) throws io.grpc.StatusException { 286 return io.grpc.stub.ClientCalls.blockingV2UnaryCall( 287 getChannel(), getGetThingMethod(), getCallOptions(), request); 288 } 289 290 /** 291 */ 292 public dev.enola.core.proto.GetThingsResponse getThings(dev.enola.core.proto.GetThingsRequest request) throws io.grpc.StatusException { 293 return io.grpc.stub.ClientCalls.blockingV2UnaryCall( 294 getChannel(), getGetThingsMethod(), getCallOptions(), request); 295 } 296 } 297 298 /** 299 * A stub to allow clients to do limited synchronous rpc calls to service EnolaService. 300 * <pre> 301 * This is the API with which Enola clients (such as a CLI or UI) connect. 302 * </pre> 303 */ 304 public static final class EnolaServiceBlockingStub 305 extends io.grpc.stub.AbstractBlockingStub<EnolaServiceBlockingStub> { 306 private EnolaServiceBlockingStub( 307 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 308 super(channel, callOptions); 309 } 310 311 @java.lang.Override 312 protected EnolaServiceBlockingStub build( 313 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 314 return new EnolaServiceBlockingStub(channel, callOptions); 315 } 316 317 /** 318 */ 319 public dev.enola.core.proto.GetFileDescriptorSetResponse getFileDescriptorSet(dev.enola.core.proto.GetFileDescriptorSetRequest request) { 320 return io.grpc.stub.ClientCalls.blockingUnaryCall( 321 getChannel(), getGetFileDescriptorSetMethod(), getCallOptions(), request); 322 } 323 324 /** 325 */ 326 public dev.enola.core.proto.GetThingResponse getThing(dev.enola.core.proto.GetThingRequest request) { 327 return io.grpc.stub.ClientCalls.blockingUnaryCall( 328 getChannel(), getGetThingMethod(), getCallOptions(), request); 329 } 330 331 /** 332 */ 333 public dev.enola.core.proto.GetThingsResponse getThings(dev.enola.core.proto.GetThingsRequest request) { 334 return io.grpc.stub.ClientCalls.blockingUnaryCall( 335 getChannel(), getGetThingsMethod(), getCallOptions(), request); 336 } 337 } 338 339 /** 340 * A stub to allow clients to do ListenableFuture-style rpc calls to service EnolaService. 341 * <pre> 342 * This is the API with which Enola clients (such as a CLI or UI) connect. 343 * </pre> 344 */ 345 public static final class EnolaServiceFutureStub 346 extends io.grpc.stub.AbstractFutureStub<EnolaServiceFutureStub> { 347 private EnolaServiceFutureStub( 348 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 349 super(channel, callOptions); 350 } 351 352 @java.lang.Override 353 protected EnolaServiceFutureStub build( 354 io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 355 return new EnolaServiceFutureStub(channel, callOptions); 356 } 357 358 /** 359 */ 360 public com.google.common.util.concurrent.ListenableFuture<dev.enola.core.proto.GetFileDescriptorSetResponse> getFileDescriptorSet( 361 dev.enola.core.proto.GetFileDescriptorSetRequest request) { 362 return io.grpc.stub.ClientCalls.futureUnaryCall( 363 getChannel().newCall(getGetFileDescriptorSetMethod(), getCallOptions()), request); 364 } 365 366 /** 367 */ 368 public com.google.common.util.concurrent.ListenableFuture<dev.enola.core.proto.GetThingResponse> getThing( 369 dev.enola.core.proto.GetThingRequest request) { 370 return io.grpc.stub.ClientCalls.futureUnaryCall( 371 getChannel().newCall(getGetThingMethod(), getCallOptions()), request); 372 } 373 374 /** 375 */ 376 public com.google.common.util.concurrent.ListenableFuture<dev.enola.core.proto.GetThingsResponse> getThings( 377 dev.enola.core.proto.GetThingsRequest request) { 378 return io.grpc.stub.ClientCalls.futureUnaryCall( 379 getChannel().newCall(getGetThingsMethod(), getCallOptions()), request); 380 } 381 } 382 383 private static final int METHODID_GET_FILE_DESCRIPTOR_SET = 0; 384 private static final int METHODID_GET_THING = 1; 385 private static final int METHODID_GET_THINGS = 2; 386 387 private static final class MethodHandlers<Req, Resp> implements 388 io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, 389 io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, 390 io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, 391 io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> { 392 private final AsyncService serviceImpl; 393 private final int methodId; 394 395 MethodHandlers(AsyncService serviceImpl, int methodId) { 396 this.serviceImpl = serviceImpl; 397 this.methodId = methodId; 398 } 399 400 @java.lang.Override 401 @java.lang.SuppressWarnings("unchecked") 402 public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) { 403 switch (methodId) { 404 case METHODID_GET_FILE_DESCRIPTOR_SET: 405 serviceImpl.getFileDescriptorSet((dev.enola.core.proto.GetFileDescriptorSetRequest) request, 406 (io.grpc.stub.StreamObserver<dev.enola.core.proto.GetFileDescriptorSetResponse>) responseObserver); 407 break; 408 case METHODID_GET_THING: 409 serviceImpl.getThing((dev.enola.core.proto.GetThingRequest) request, 410 (io.grpc.stub.StreamObserver<dev.enola.core.proto.GetThingResponse>) responseObserver); 411 break; 412 case METHODID_GET_THINGS: 413 serviceImpl.getThings((dev.enola.core.proto.GetThingsRequest) request, 414 (io.grpc.stub.StreamObserver<dev.enola.core.proto.GetThingsResponse>) responseObserver); 415 break; 416 default: 417 throw new AssertionError(); 418 } 419 } 420 421 @java.lang.Override 422 @java.lang.SuppressWarnings("unchecked") 423 public io.grpc.stub.StreamObserver<Req> invoke( 424 io.grpc.stub.StreamObserver<Resp> responseObserver) { 425 switch (methodId) { 426 default: 427 throw new AssertionError(); 428 } 429 } 430 } 431 432 public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { 433 return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) 434 .addMethod( 435 getGetFileDescriptorSetMethod(), 436 io.grpc.stub.ServerCalls.asyncUnaryCall( 437 new MethodHandlers< 438 dev.enola.core.proto.GetFileDescriptorSetRequest, 439 dev.enola.core.proto.GetFileDescriptorSetResponse>( 440 service, METHODID_GET_FILE_DESCRIPTOR_SET))) 441 .addMethod( 442 getGetThingMethod(), 443 io.grpc.stub.ServerCalls.asyncUnaryCall( 444 new MethodHandlers< 445 dev.enola.core.proto.GetThingRequest, 446 dev.enola.core.proto.GetThingResponse>( 447 service, METHODID_GET_THING))) 448 .addMethod( 449 getGetThingsMethod(), 450 io.grpc.stub.ServerCalls.asyncUnaryCall( 451 new MethodHandlers< 452 dev.enola.core.proto.GetThingsRequest, 453 dev.enola.core.proto.GetThingsResponse>( 454 service, METHODID_GET_THINGS))) 455 .build(); 456 } 457 458 private static abstract class EnolaServiceBaseDescriptorSupplier 459 implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { 460 EnolaServiceBaseDescriptorSupplier() {} 461 462 @java.lang.Override 463 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { 464 return dev.enola.core.proto.EnolaCore.getDescriptor(); 465 } 466 467 @java.lang.Override 468 public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { 469 return getFileDescriptor().findServiceByName("EnolaService"); 470 } 471 } 472 473 private static final class EnolaServiceFileDescriptorSupplier 474 extends EnolaServiceBaseDescriptorSupplier { 475 EnolaServiceFileDescriptorSupplier() {} 476 } 477 478 private static final class EnolaServiceMethodDescriptorSupplier 479 extends EnolaServiceBaseDescriptorSupplier 480 implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { 481 private final java.lang.String methodName; 482 483 EnolaServiceMethodDescriptorSupplier(java.lang.String methodName) { 484 this.methodName = methodName; 485 } 486 487 @java.lang.Override 488 public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { 489 return getServiceDescriptor().findMethodByName(methodName); 490 } 491 } 492 493 private static volatile io.grpc.ServiceDescriptor serviceDescriptor; 494 495 public static io.grpc.ServiceDescriptor getServiceDescriptor() { 496 io.grpc.ServiceDescriptor result = serviceDescriptor; 497 if (result == null) { 498 synchronized (EnolaServiceGrpc.class) { 499 result = serviceDescriptor; 500 if (result == null) { 501 serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) 502 .setSchemaDescriptor(new EnolaServiceFileDescriptorSupplier()) 503 .addMethod(getGetFileDescriptorSetMethod()) 504 .addMethod(getGetThingMethod()) 505 .addMethod(getGetThingsMethod()) 506 .build(); 507 } 508 } 509 } 510 return result; 511 } 512}