public com.example.grpc.HelloResponse getDefaultInstanceForType() { return com.example.grpc.HelloResponse.getDefaultInstance(); }
public com.example.grpc.HelloResponse getDefaultInstanceForType() { return com.example.grpc.HelloResponse.getDefaultInstance(); }
public com.example.grpc.HelloResponse getDefaultInstanceForType() { return com.example.grpc.HelloResponse.getDefaultInstance(); }
/** * <code>string greeting = 1;</code> */ public Builder clearGreeting() { greeting_ = getDefaultInstance().getGreeting(); onChanged(); return this; } /**
/** * <code>string greeting = 1;</code> */ public Builder clearGreeting() { greeting_ = getDefaultInstance().getGreeting(); onChanged(); return this; } /**
/** * <code>string greeting = 1;</code> */ public Builder clearGreeting() { greeting_ = getDefaultInstance().getGreeting(); onChanged(); return this; } /**
public Builder mergeFrom(com.example.grpc.HelloResponse other) { if (other == com.example.grpc.HelloResponse.getDefaultInstance()) return this; if (!other.getGreeting().isEmpty()) { greeting_ = other.greeting_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.example.grpc.HelloResponse other) { if (other == com.example.grpc.HelloResponse.getDefaultInstance()) return this; if (!other.getGreeting().isEmpty()) { greeting_ = other.greeting_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.example.grpc.HelloResponse other) { if (other == com.example.grpc.HelloResponse.getDefaultInstance()) return this; if (!other.getGreeting().isEmpty()) { greeting_ = other.greeting_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getSecondGreetingMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getSecondGreetingMethod; if ((getSecondGreetingMethod = GreetingServiceGrpc.getSecondGreetingMethod) == null) { synchronized (GreetingServiceGrpc.class) { if ((getSecondGreetingMethod = GreetingServiceGrpc.getSecondGreetingMethod) == null) { GreetingServiceGrpc.getSecondGreetingMethod = getSecondGreetingMethod = io.grpc.MethodDescriptor.<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GreetingService", "secondGreeting")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloResponse.getDefaultInstance())) .setSchemaDescriptor(new GreetingServiceMethodDescriptorSupplier("secondGreeting")) .build(); } } } return getSecondGreetingMethod; }
private static io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getGreetingMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getGreetingMethod; if ((getGreetingMethod = GreetingServiceGrpc.getGreetingMethod) == null) { synchronized (GreetingServiceGrpc.class) { if ((getGreetingMethod = GreetingServiceGrpc.getGreetingMethod) == null) { GreetingServiceGrpc.getGreetingMethod = getGreetingMethod = io.grpc.MethodDescriptor.<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GreetingService", "greeting")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloResponse.getDefaultInstance())) .setSchemaDescriptor(new GreetingServiceMethodDescriptorSupplier("greeting")) .build(); } } } return getGreetingMethod; }
private static io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getSecondGreetingMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getSecondGreetingMethod; if ((getSecondGreetingMethod = GreetingServiceGrpc.getSecondGreetingMethod) == null) { synchronized (GreetingServiceGrpc.class) { if ((getSecondGreetingMethod = GreetingServiceGrpc.getSecondGreetingMethod) == null) { GreetingServiceGrpc.getSecondGreetingMethod = getSecondGreetingMethod = io.grpc.MethodDescriptor.<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GreetingService", "secondGreeting")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloResponse.getDefaultInstance())) .setSchemaDescriptor(new GreetingServiceMethodDescriptorSupplier("secondGreeting")) .build(); } } } return getSecondGreetingMethod; }
private static io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getGreetingMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getGreetingMethod; if ((getGreetingMethod = GreetingServiceGrpc.getGreetingMethod) == null) { synchronized (GreetingServiceGrpc.class) { if ((getGreetingMethod = GreetingServiceGrpc.getGreetingMethod) == null) { GreetingServiceGrpc.getGreetingMethod = getGreetingMethod = io.grpc.MethodDescriptor.<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GreetingService", "greeting")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloResponse.getDefaultInstance())) .setSchemaDescriptor(new GreetingServiceMethodDescriptorSupplier("greeting")) .build(); } } } return getGreetingMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
private static io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getGreetingMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse> getGreetingMethod; if ((getGreetingMethod = GreetingServiceGrpc.getGreetingMethod) == null) { synchronized (GreetingServiceGrpc.class) { if ((getGreetingMethod = GreetingServiceGrpc.getGreetingMethod) == null) { GreetingServiceGrpc.getGreetingMethod = getGreetingMethod = io.grpc.MethodDescriptor.<com.example.grpc.HelloRequest, com.example.grpc.HelloResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GreetingService", "greeting")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.HelloResponse.getDefaultInstance())) .setSchemaDescriptor(new GreetingServiceMethodDescriptorSupplier("greeting")) .build(); } } } return getGreetingMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")