@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; }
public io.pravega.controller.stream.api.grpc.v1.Controller.TxnState getDefaultInstanceForType() { return io.pravega.controller.stream.api.grpc.v1.Controller.TxnState.getDefaultInstance(); }
public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.TxnState other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.TxnState.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }