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