@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "pingTransaction", requestType = io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest.class, responseType = io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnStatus.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest, io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnStatus> getPingTransactionMethod() { io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest, io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnStatus> getPingTransactionMethod; if ((getPingTransactionMethod = ControllerServiceGrpc.getPingTransactionMethod) == null) { synchronized (ControllerServiceGrpc.class) { if ((getPingTransactionMethod = ControllerServiceGrpc.getPingTransactionMethod) == null) { ControllerServiceGrpc.getPingTransactionMethod = getPingTransactionMethod = io.grpc.MethodDescriptor.<io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest, io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnStatus>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "io.pravega.controller.stream.api.grpc.v1.ControllerService", "pingTransaction")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnStatus.getDefaultInstance())) .setSchemaDescriptor(new ControllerServiceMethodDescriptorSupplier("pingTransaction")) .build(); } } } return getPingTransactionMethod; }
public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest.getDefaultInstance()) return this; if (other.hasStreamInfo()) { mergeStreamInfo(other.getStreamInfo()); } if (other.hasTxnId()) { mergeTxnId(other.getTxnId()); } if (other.getLease() != 0L) { setLease(other.getLease()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest getDefaultInstanceForType() { return io.pravega.controller.stream.api.grpc.v1.Controller.PingTxnRequest.getDefaultInstance(); }