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