public com.example.grpc.GoodbyeRequest getDefaultInstanceForType() { return com.example.grpc.GoodbyeRequest.getDefaultInstance(); }
public com.example.grpc.GoodbyeRequest getDefaultInstanceForType() { return com.example.grpc.GoodbyeRequest.getDefaultInstance(); }
/** * <code>string reason = 2;</code> */ public Builder clearReason() { reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /**
/** * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>string reason = 2;</code> */ public Builder clearReason() { reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /**
public Builder mergeFrom(com.example.grpc.GoodbyeRequest other) { if (other == com.example.grpc.GoodbyeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getReason().isEmpty()) { reason_ = other.reason_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.example.grpc.GoodbyeRequest other) { if (other == com.example.grpc.GoodbyeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getReason().isEmpty()) { reason_ = other.reason_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor<com.example.grpc.GoodbyeRequest, com.example.grpc.GoodbyeResponse> getGoodbyeMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.GoodbyeRequest, com.example.grpc.GoodbyeResponse> getGoodbyeMethod; if ((getGoodbyeMethod = GoodbyeServiceGrpc.getGoodbyeMethod) == null) { synchronized (GoodbyeServiceGrpc.class) { if ((getGoodbyeMethod = GoodbyeServiceGrpc.getGoodbyeMethod) == null) { GoodbyeServiceGrpc.getGoodbyeMethod = getGoodbyeMethod = io.grpc.MethodDescriptor.<com.example.grpc.GoodbyeRequest, com.example.grpc.GoodbyeResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GoodbyeService", "goodbye")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.GoodbyeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.GoodbyeResponse.getDefaultInstance())) .setSchemaDescriptor(new GoodbyeServiceMethodDescriptorSupplier("goodbye")) .build(); } } } return getGoodbyeMethod; }
private static io.grpc.MethodDescriptor<com.example.grpc.GoodbyeRequest, com.example.grpc.GoodbyeResponse> getGoodbyeMethodHelper() { io.grpc.MethodDescriptor<com.example.grpc.GoodbyeRequest, com.example.grpc.GoodbyeResponse> getGoodbyeMethod; if ((getGoodbyeMethod = GoodbyeServiceGrpc.getGoodbyeMethod) == null) { synchronized (GoodbyeServiceGrpc.class) { if ((getGoodbyeMethod = GoodbyeServiceGrpc.getGoodbyeMethod) == null) { GoodbyeServiceGrpc.getGoodbyeMethod = getGoodbyeMethod = io.grpc.MethodDescriptor.<com.example.grpc.GoodbyeRequest, com.example.grpc.GoodbyeResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "com.example.grpc.GoodbyeService", "goodbye")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.GoodbyeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.example.grpc.GoodbyeResponse.getDefaultInstance())) .setSchemaDescriptor(new GoodbyeServiceMethodDescriptorSupplier("goodbye")) .build(); } } } return getGoodbyeMethod; }