Skip to content

Commit 55b364a

Browse files
committed
Atualiza classes Java geradas a partir dos arquivos Protobuf
1 parent e4565e9 commit 55b364a

File tree

4 files changed

+1585
-1567
lines changed

4 files changed

+1585
-1567
lines changed

src/main/java/com/soustify/example/Example.java

Lines changed: 44 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/soustify/example/ExampleServiceGrpc.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -233,28 +233,28 @@ com.soustify.example.Example.ExampleResponse> getFindOneMethod() {
233233
}
234234

235235
private static volatile io.grpc.MethodDescriptor<com.soustify.example.Example.ExampleBody,
236-
com.soustify.output.Output.ValidateDataResponse> getValidateMethod;
236+
com.soustify.validator.Validator.Response> getValidateMethod;
237237

238238
@io.grpc.stub.annotations.RpcMethod(
239239
fullMethodName = SERVICE_NAME + '/' + "Validate",
240240
requestType = com.soustify.example.Example.ExampleBody.class,
241-
responseType = com.soustify.output.Output.ValidateDataResponse.class,
241+
responseType = com.soustify.validator.Validator.Response.class,
242242
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
243243
public static io.grpc.MethodDescriptor<com.soustify.example.Example.ExampleBody,
244-
com.soustify.output.Output.ValidateDataResponse> getValidateMethod() {
245-
io.grpc.MethodDescriptor<com.soustify.example.Example.ExampleBody, com.soustify.output.Output.ValidateDataResponse> getValidateMethod;
244+
com.soustify.validator.Validator.Response> getValidateMethod() {
245+
io.grpc.MethodDescriptor<com.soustify.example.Example.ExampleBody, com.soustify.validator.Validator.Response> getValidateMethod;
246246
if ((getValidateMethod = ExampleServiceGrpc.getValidateMethod) == null) {
247247
synchronized (ExampleServiceGrpc.class) {
248248
if ((getValidateMethod = ExampleServiceGrpc.getValidateMethod) == null) {
249249
ExampleServiceGrpc.getValidateMethod = getValidateMethod =
250-
io.grpc.MethodDescriptor.<com.soustify.example.Example.ExampleBody, com.soustify.output.Output.ValidateDataResponse>newBuilder()
250+
io.grpc.MethodDescriptor.<com.soustify.example.Example.ExampleBody, com.soustify.validator.Validator.Response>newBuilder()
251251
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
252252
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Validate"))
253253
.setSampledToLocalTracing(true)
254254
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
255255
com.soustify.example.Example.ExampleBody.getDefaultInstance()))
256256
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
257-
com.soustify.output.Output.ValidateDataResponse.getDefaultInstance()))
257+
com.soustify.validator.Validator.Response.getDefaultInstance()))
258258
.setSchemaDescriptor(new ExampleServiceMethodDescriptorSupplier("Validate"))
259259
.build();
260260
}
@@ -394,7 +394,7 @@ default void findOne(com.soustify.input.Input.UUIDRequest request,
394394
/**
395395
*/
396396
default io.grpc.stub.StreamObserver<com.soustify.example.Example.ExampleBody> validate(
397-
io.grpc.stub.StreamObserver<com.soustify.output.Output.ValidateDataResponse> responseObserver) {
397+
io.grpc.stub.StreamObserver<com.soustify.validator.Validator.Response> responseObserver) {
398398
return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getValidateMethod(), responseObserver);
399399
}
400400

@@ -492,7 +492,7 @@ public void findOne(com.soustify.input.Input.UUIDRequest request,
492492
/**
493493
*/
494494
public io.grpc.stub.StreamObserver<com.soustify.example.Example.ExampleBody> validate(
495-
io.grpc.stub.StreamObserver<com.soustify.output.Output.ValidateDataResponse> responseObserver) {
495+
io.grpc.stub.StreamObserver<com.soustify.validator.Validator.Response> responseObserver) {
496496
return io.grpc.stub.ClientCalls.asyncClientStreamingCall(
497497
getChannel().newCall(getValidateMethod(), getCallOptions()), responseObserver);
498498
}
@@ -641,7 +641,7 @@ public io.grpc.stub.StreamObserver<Req> invoke(
641641
(io.grpc.stub.StreamObserver<com.soustify.output.Output.StatusDataResponse>) responseObserver);
642642
case METHODID_VALIDATE:
643643
return (io.grpc.stub.StreamObserver<Req>) serviceImpl.validate(
644-
(io.grpc.stub.StreamObserver<com.soustify.output.Output.ValidateDataResponse>) responseObserver);
644+
(io.grpc.stub.StreamObserver<com.soustify.validator.Validator.Response>) responseObserver);
645645
case METHODID_DELETE:
646646
return (io.grpc.stub.StreamObserver<Req>) serviceImpl.delete(
647647
(io.grpc.stub.StreamObserver<com.soustify.output.Output.PersistenceDataResponse>) responseObserver);
@@ -707,7 +707,7 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
707707
io.grpc.stub.ServerCalls.asyncClientStreamingCall(
708708
new MethodHandlers<
709709
com.soustify.example.Example.ExampleBody,
710-
com.soustify.output.Output.ValidateDataResponse>(
710+
com.soustify.validator.Validator.Response>(
711711
service, METHODID_VALIDATE)))
712712
.addMethod(
713713
getDeleteMethod(),

0 commit comments

Comments
 (0)