|
@@ -46,25 +46,25 @@ namespace Palm.Lily.V1 {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Marshaller<global::Palm.Lily.V1.File> __Marshaller_palm_lily_v1_File = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.File.Parser));
|
|
|
|
|
|
|
+ static readonly grpc::Marshaller<global::Palm.Lily.V1.S3File> __Marshaller_palm_lily_v1_S3File = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.S3File.Parser));
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
static readonly grpc::Marshaller<global::Palm.Lily.V1.ExcelModel> __Marshaller_palm_lily_v1_ExcelModel = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.ExcelModel.Parser));
|
|
static readonly grpc::Marshaller<global::Palm.Lily.V1.ExcelModel> __Marshaller_palm_lily_v1_ExcelModel = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.ExcelModel.Parser));
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Method<global::Palm.Lily.V1.File, global::Palm.Lily.V1.ExcelModel> __Method_Parse = new grpc::Method<global::Palm.Lily.V1.File, global::Palm.Lily.V1.ExcelModel>(
|
|
|
|
|
|
|
+ static readonly grpc::Method<global::Palm.Lily.V1.S3File, global::Palm.Lily.V1.ExcelModel> __Method_Parse = new grpc::Method<global::Palm.Lily.V1.S3File, global::Palm.Lily.V1.ExcelModel>(
|
|
|
grpc::MethodType.Unary,
|
|
grpc::MethodType.Unary,
|
|
|
__ServiceName,
|
|
__ServiceName,
|
|
|
"Parse",
|
|
"Parse",
|
|
|
- __Marshaller_palm_lily_v1_File,
|
|
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3File,
|
|
|
__Marshaller_palm_lily_v1_ExcelModel);
|
|
__Marshaller_palm_lily_v1_ExcelModel);
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Method<global::Palm.Lily.V1.ExcelModel, global::Palm.Lily.V1.File> __Method_Generate = new grpc::Method<global::Palm.Lily.V1.ExcelModel, global::Palm.Lily.V1.File>(
|
|
|
|
|
|
|
+ static readonly grpc::Method<global::Palm.Lily.V1.ExcelModel, global::Palm.Lily.V1.S3File> __Method_Generate = new grpc::Method<global::Palm.Lily.V1.ExcelModel, global::Palm.Lily.V1.S3File>(
|
|
|
grpc::MethodType.Unary,
|
|
grpc::MethodType.Unary,
|
|
|
__ServiceName,
|
|
__ServiceName,
|
|
|
"Generate",
|
|
"Generate",
|
|
|
__Marshaller_palm_lily_v1_ExcelModel,
|
|
__Marshaller_palm_lily_v1_ExcelModel,
|
|
|
- __Marshaller_palm_lily_v1_File);
|
|
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3File);
|
|
|
|
|
|
|
|
/// <summary>Service descriptor</summary>
|
|
/// <summary>Service descriptor</summary>
|
|
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
@@ -77,13 +77,13 @@ namespace Palm.Lily.V1 {
|
|
|
public abstract partial class ExcelBase
|
|
public abstract partial class ExcelBase
|
|
|
{
|
|
{
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.ExcelModel> Parse(global::Palm.Lily.V1.File request, grpc::ServerCallContext context)
|
|
|
|
|
|
|
+ public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.ExcelModel> Parse(global::Palm.Lily.V1.S3File request, grpc::ServerCallContext context)
|
|
|
{
|
|
{
|
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.File> Generate(global::Palm.Lily.V1.ExcelModel request, grpc::ServerCallContext context)
|
|
|
|
|
|
|
+ public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.S3File> Generate(global::Palm.Lily.V1.ExcelModel request, grpc::ServerCallContext context)
|
|
|
{
|
|
{
|
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
|
}
|
|
}
|
|
@@ -118,42 +118,42 @@ namespace Palm.Lily.V1 {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.ExcelModel Parse(global::Palm.Lily.V1.File request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.ExcelModel Parse(global::Palm.Lily.V1.S3File request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return Parse(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return Parse(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.ExcelModel Parse(global::Palm.Lily.V1.File request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.ExcelModel Parse(global::Palm.Lily.V1.S3File request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.BlockingUnaryCall(__Method_Parse, null, options, request);
|
|
return CallInvoker.BlockingUnaryCall(__Method_Parse, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.ExcelModel> ParseAsync(global::Palm.Lily.V1.File request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.ExcelModel> ParseAsync(global::Palm.Lily.V1.S3File request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return ParseAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return ParseAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.ExcelModel> ParseAsync(global::Palm.Lily.V1.File request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.ExcelModel> ParseAsync(global::Palm.Lily.V1.S3File request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.AsyncUnaryCall(__Method_Parse, null, options, request);
|
|
return CallInvoker.AsyncUnaryCall(__Method_Parse, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File Generate(global::Palm.Lily.V1.ExcelModel request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File Generate(global::Palm.Lily.V1.ExcelModel request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return Generate(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return Generate(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File Generate(global::Palm.Lily.V1.ExcelModel request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File Generate(global::Palm.Lily.V1.ExcelModel request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.BlockingUnaryCall(__Method_Generate, null, options, request);
|
|
return CallInvoker.BlockingUnaryCall(__Method_Generate, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> GenerateAsync(global::Palm.Lily.V1.ExcelModel request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> GenerateAsync(global::Palm.Lily.V1.ExcelModel request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return GenerateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return GenerateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> GenerateAsync(global::Palm.Lily.V1.ExcelModel request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> GenerateAsync(global::Palm.Lily.V1.ExcelModel request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.AsyncUnaryCall(__Method_Generate, null, options, request);
|
|
return CallInvoker.AsyncUnaryCall(__Method_Generate, null, options, request);
|
|
|
}
|
|
}
|
|
@@ -182,8 +182,151 @@ namespace Palm.Lily.V1 {
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
public static void BindService(grpc::ServiceBinderBase serviceBinder, ExcelBase serviceImpl)
|
|
public static void BindService(grpc::ServiceBinderBase serviceBinder, ExcelBase serviceImpl)
|
|
|
{
|
|
{
|
|
|
- serviceBinder.AddMethod(__Method_Parse, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.File, global::Palm.Lily.V1.ExcelModel>(serviceImpl.Parse));
|
|
|
|
|
- serviceBinder.AddMethod(__Method_Generate, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.ExcelModel, global::Palm.Lily.V1.File>(serviceImpl.Generate));
|
|
|
|
|
|
|
+ serviceBinder.AddMethod(__Method_Parse, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.S3File, global::Palm.Lily.V1.ExcelModel>(serviceImpl.Parse));
|
|
|
|
|
+ serviceBinder.AddMethod(__Method_Generate, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.ExcelModel, global::Palm.Lily.V1.S3File>(serviceImpl.Generate));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ public static partial class S3
|
|
|
|
|
+ {
|
|
|
|
|
+ static readonly string __ServiceName = "palm.lily.v1.S3";
|
|
|
|
|
+
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
|
|
|
|
|
+ {
|
|
|
|
|
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
|
|
|
|
|
+ if (message is global::Google.Protobuf.IBufferMessage)
|
|
|
|
|
+ {
|
|
|
|
|
+ context.SetPayloadLength(message.CalculateSize());
|
|
|
|
|
+ global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
|
|
|
|
|
+ context.Complete();
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ #endif
|
|
|
|
|
+ context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ static class __Helper_MessageCache<T>
|
|
|
|
|
+ {
|
|
|
|
|
+ public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
|
|
|
|
|
+ {
|
|
|
|
|
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
|
|
|
|
|
+ if (__Helper_MessageCache<T>.IsBufferMessage)
|
|
|
|
|
+ {
|
|
|
|
|
+ return parser.ParseFrom(context.PayloadAsReadOnlySequence());
|
|
|
|
|
+ }
|
|
|
|
|
+ #endif
|
|
|
|
|
+ return parser.ParseFrom(context.PayloadAsNewBuffer());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ static readonly grpc::Marshaller<global::Palm.Lily.V1.S3GetFileRequest> __Marshaller_palm_lily_v1_S3GetFileRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.S3GetFileRequest.Parser));
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ static readonly grpc::Marshaller<global::Palm.Lily.V1.S3GetFileResponse> __Marshaller_palm_lily_v1_S3GetFileResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.S3GetFileResponse.Parser));
|
|
|
|
|
+
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ static readonly grpc::Method<global::Palm.Lily.V1.S3GetFileRequest, global::Palm.Lily.V1.S3GetFileResponse> __Method_GetFile = new grpc::Method<global::Palm.Lily.V1.S3GetFileRequest, global::Palm.Lily.V1.S3GetFileResponse>(
|
|
|
|
|
+ grpc::MethodType.Unary,
|
|
|
|
|
+ __ServiceName,
|
|
|
|
|
+ "GetFile",
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3GetFileRequest,
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3GetFileResponse);
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>Service descriptor</summary>
|
|
|
|
|
+ public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
|
|
|
+ {
|
|
|
|
|
+ get { return global::Palm.Lily.V1.LilyReflection.Descriptor.Services[1]; }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>Base class for server-side implementations of S3</summary>
|
|
|
|
|
+ [grpc::BindServiceMethod(typeof(S3), "BindService")]
|
|
|
|
|
+ public abstract partial class S3Base
|
|
|
|
|
+ {
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.S3GetFileResponse> GetFile(global::Palm.Lily.V1.S3GetFileRequest request, grpc::ServerCallContext context)
|
|
|
|
|
+ {
|
|
|
|
|
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>Client for S3</summary>
|
|
|
|
|
+ public partial class S3Client : grpc::ClientBase<S3Client>
|
|
|
|
|
+ {
|
|
|
|
|
+ /// <summary>Creates a new client for S3</summary>
|
|
|
|
|
+ /// <param name="channel">The channel to use to make remote calls.</param>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public S3Client(grpc::ChannelBase channel) : base(channel)
|
|
|
|
|
+ {
|
|
|
|
|
+ }
|
|
|
|
|
+ /// <summary>Creates a new client for S3 that uses a custom <c>CallInvoker</c>.</summary>
|
|
|
|
|
+ /// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public S3Client(grpc::CallInvoker callInvoker) : base(callInvoker)
|
|
|
|
|
+ {
|
|
|
|
|
+ }
|
|
|
|
|
+ /// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ protected S3Client() : base()
|
|
|
|
|
+ {
|
|
|
|
|
+ }
|
|
|
|
|
+ /// <summary>Protected constructor to allow creation of configured clients.</summary>
|
|
|
|
|
+ /// <param name="configuration">The client configuration.</param>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ protected S3Client(ClientBaseConfiguration configuration) : base(configuration)
|
|
|
|
|
+ {
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3GetFileResponse GetFile(global::Palm.Lily.V1.S3GetFileRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
+ {
|
|
|
|
|
+ return GetFile(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
|
|
+ }
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3GetFileResponse GetFile(global::Palm.Lily.V1.S3GetFileRequest request, grpc::CallOptions options)
|
|
|
|
|
+ {
|
|
|
|
|
+ return CallInvoker.BlockingUnaryCall(__Method_GetFile, null, options, request);
|
|
|
|
|
+ }
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3GetFileResponse> GetFileAsync(global::Palm.Lily.V1.S3GetFileRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
+ {
|
|
|
|
|
+ return GetFileAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
|
|
+ }
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3GetFileResponse> GetFileAsync(global::Palm.Lily.V1.S3GetFileRequest request, grpc::CallOptions options)
|
|
|
|
|
+ {
|
|
|
|
|
+ return CallInvoker.AsyncUnaryCall(__Method_GetFile, null, options, request);
|
|
|
|
|
+ }
|
|
|
|
|
+ /// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ protected override S3Client NewInstance(ClientBaseConfiguration configuration)
|
|
|
|
|
+ {
|
|
|
|
|
+ return new S3Client(configuration);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>Creates service definition that can be registered with a server</summary>
|
|
|
|
|
+ /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public static grpc::ServerServiceDefinition BindService(S3Base serviceImpl)
|
|
|
|
|
+ {
|
|
|
|
|
+ return grpc::ServerServiceDefinition.CreateBuilder()
|
|
|
|
|
+ .AddMethod(__Method_GetFile, serviceImpl.GetFile).Build();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
|
|
|
|
|
+ /// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
|
|
|
|
|
+ /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
|
|
|
|
|
+ /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
|
|
+ public static void BindService(grpc::ServiceBinderBase serviceBinder, S3Base serviceImpl)
|
|
|
|
|
+ {
|
|
|
|
|
+ serviceBinder.AddMethod(__Method_GetFile, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.S3GetFileRequest, global::Palm.Lily.V1.S3GetFileResponse>(serviceImpl.GetFile));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -227,28 +370,28 @@ namespace Palm.Lily.V1 {
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
static readonly grpc::Marshaller<global::Palm.Lily.V1.TexToRequest> __Marshaller_palm_lily_v1_TexToRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.TexToRequest.Parser));
|
|
static readonly grpc::Marshaller<global::Palm.Lily.V1.TexToRequest> __Marshaller_palm_lily_v1_TexToRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.TexToRequest.Parser));
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Marshaller<global::Palm.Lily.V1.File> __Marshaller_palm_lily_v1_File = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.File.Parser));
|
|
|
|
|
|
|
+ static readonly grpc::Marshaller<global::Palm.Lily.V1.S3File> __Marshaller_palm_lily_v1_S3File = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.S3File.Parser));
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.File> __Method_ToPdf = new grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.File>(
|
|
|
|
|
|
|
+ static readonly grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.S3File> __Method_ToPdf = new grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.S3File>(
|
|
|
grpc::MethodType.Unary,
|
|
grpc::MethodType.Unary,
|
|
|
__ServiceName,
|
|
__ServiceName,
|
|
|
"ToPdf",
|
|
"ToPdf",
|
|
|
__Marshaller_palm_lily_v1_TexToRequest,
|
|
__Marshaller_palm_lily_v1_TexToRequest,
|
|
|
- __Marshaller_palm_lily_v1_File);
|
|
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3File);
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.File> __Method_ToWord = new grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.File>(
|
|
|
|
|
|
|
+ static readonly grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.S3File> __Method_ToWord = new grpc::Method<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.S3File>(
|
|
|
grpc::MethodType.Unary,
|
|
grpc::MethodType.Unary,
|
|
|
__ServiceName,
|
|
__ServiceName,
|
|
|
"ToWord",
|
|
"ToWord",
|
|
|
__Marshaller_palm_lily_v1_TexToRequest,
|
|
__Marshaller_palm_lily_v1_TexToRequest,
|
|
|
- __Marshaller_palm_lily_v1_File);
|
|
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3File);
|
|
|
|
|
|
|
|
/// <summary>Service descriptor</summary>
|
|
/// <summary>Service descriptor</summary>
|
|
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
|
{
|
|
{
|
|
|
- get { return global::Palm.Lily.V1.LilyReflection.Descriptor.Services[1]; }
|
|
|
|
|
|
|
+ get { return global::Palm.Lily.V1.LilyReflection.Descriptor.Services[2]; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Base class for server-side implementations of Tex</summary>
|
|
/// <summary>Base class for server-side implementations of Tex</summary>
|
|
@@ -256,13 +399,13 @@ namespace Palm.Lily.V1 {
|
|
|
public abstract partial class TexBase
|
|
public abstract partial class TexBase
|
|
|
{
|
|
{
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.File> ToPdf(global::Palm.Lily.V1.TexToRequest request, grpc::ServerCallContext context)
|
|
|
|
|
|
|
+ public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.S3File> ToPdf(global::Palm.Lily.V1.TexToRequest request, grpc::ServerCallContext context)
|
|
|
{
|
|
{
|
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.File> ToWord(global::Palm.Lily.V1.TexToRequest request, grpc::ServerCallContext context)
|
|
|
|
|
|
|
+ public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.S3File> ToWord(global::Palm.Lily.V1.TexToRequest request, grpc::ServerCallContext context)
|
|
|
{
|
|
{
|
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
|
}
|
|
}
|
|
@@ -297,42 +440,42 @@ namespace Palm.Lily.V1 {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File ToPdf(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File ToPdf(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return ToPdf(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return ToPdf(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File ToPdf(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File ToPdf(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.BlockingUnaryCall(__Method_ToPdf, null, options, request);
|
|
return CallInvoker.BlockingUnaryCall(__Method_ToPdf, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> ToPdfAsync(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> ToPdfAsync(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return ToPdfAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return ToPdfAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> ToPdfAsync(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> ToPdfAsync(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.AsyncUnaryCall(__Method_ToPdf, null, options, request);
|
|
return CallInvoker.AsyncUnaryCall(__Method_ToPdf, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File ToWord(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File ToWord(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return ToWord(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return ToWord(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File ToWord(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File ToWord(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.BlockingUnaryCall(__Method_ToWord, null, options, request);
|
|
return CallInvoker.BlockingUnaryCall(__Method_ToWord, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> ToWordAsync(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> ToWordAsync(global::Palm.Lily.V1.TexToRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return ToWordAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return ToWordAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> ToWordAsync(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> ToWordAsync(global::Palm.Lily.V1.TexToRequest request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.AsyncUnaryCall(__Method_ToWord, null, options, request);
|
|
return CallInvoker.AsyncUnaryCall(__Method_ToWord, null, options, request);
|
|
|
}
|
|
}
|
|
@@ -361,8 +504,8 @@ namespace Palm.Lily.V1 {
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
public static void BindService(grpc::ServiceBinderBase serviceBinder, TexBase serviceImpl)
|
|
public static void BindService(grpc::ServiceBinderBase serviceBinder, TexBase serviceImpl)
|
|
|
{
|
|
{
|
|
|
- serviceBinder.AddMethod(__Method_ToPdf, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.File>(serviceImpl.ToPdf));
|
|
|
|
|
- serviceBinder.AddMethod(__Method_ToWord, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.File>(serviceImpl.ToWord));
|
|
|
|
|
|
|
+ serviceBinder.AddMethod(__Method_ToPdf, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.S3File>(serviceImpl.ToPdf));
|
|
|
|
|
+ serviceBinder.AddMethod(__Method_ToWord, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.TexToRequest, global::Palm.Lily.V1.S3File>(serviceImpl.ToWord));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -406,20 +549,20 @@ namespace Palm.Lily.V1 {
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
static readonly grpc::Marshaller<global::Palm.Lily.V1.EpubBuildRequest> __Marshaller_palm_lily_v1_EpubBuildRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.EpubBuildRequest.Parser));
|
|
static readonly grpc::Marshaller<global::Palm.Lily.V1.EpubBuildRequest> __Marshaller_palm_lily_v1_EpubBuildRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.EpubBuildRequest.Parser));
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Marshaller<global::Palm.Lily.V1.File> __Marshaller_palm_lily_v1_File = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.File.Parser));
|
|
|
|
|
|
|
+ static readonly grpc::Marshaller<global::Palm.Lily.V1.S3File> __Marshaller_palm_lily_v1_S3File = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Palm.Lily.V1.S3File.Parser));
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- static readonly grpc::Method<global::Palm.Lily.V1.EpubBuildRequest, global::Palm.Lily.V1.File> __Method_Build = new grpc::Method<global::Palm.Lily.V1.EpubBuildRequest, global::Palm.Lily.V1.File>(
|
|
|
|
|
|
|
+ static readonly grpc::Method<global::Palm.Lily.V1.EpubBuildRequest, global::Palm.Lily.V1.S3File> __Method_Build = new grpc::Method<global::Palm.Lily.V1.EpubBuildRequest, global::Palm.Lily.V1.S3File>(
|
|
|
grpc::MethodType.Unary,
|
|
grpc::MethodType.Unary,
|
|
|
__ServiceName,
|
|
__ServiceName,
|
|
|
"Build",
|
|
"Build",
|
|
|
__Marshaller_palm_lily_v1_EpubBuildRequest,
|
|
__Marshaller_palm_lily_v1_EpubBuildRequest,
|
|
|
- __Marshaller_palm_lily_v1_File);
|
|
|
|
|
|
|
+ __Marshaller_palm_lily_v1_S3File);
|
|
|
|
|
|
|
|
/// <summary>Service descriptor</summary>
|
|
/// <summary>Service descriptor</summary>
|
|
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
|
|
|
{
|
|
{
|
|
|
- get { return global::Palm.Lily.V1.LilyReflection.Descriptor.Services[2]; }
|
|
|
|
|
|
|
+ get { return global::Palm.Lily.V1.LilyReflection.Descriptor.Services[3]; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Base class for server-side implementations of Epub</summary>
|
|
/// <summary>Base class for server-side implementations of Epub</summary>
|
|
@@ -427,7 +570,7 @@ namespace Palm.Lily.V1 {
|
|
|
public abstract partial class EpubBase
|
|
public abstract partial class EpubBase
|
|
|
{
|
|
{
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.File> Build(global::Palm.Lily.V1.EpubBuildRequest request, grpc::ServerCallContext context)
|
|
|
|
|
|
|
+ public virtual global::System.Threading.Tasks.Task<global::Palm.Lily.V1.S3File> Build(global::Palm.Lily.V1.EpubBuildRequest request, grpc::ServerCallContext context)
|
|
|
{
|
|
{
|
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
|
|
|
}
|
|
}
|
|
@@ -462,22 +605,22 @@ namespace Palm.Lily.V1 {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File Build(global::Palm.Lily.V1.EpubBuildRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File Build(global::Palm.Lily.V1.EpubBuildRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return Build(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return Build(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual global::Palm.Lily.V1.File Build(global::Palm.Lily.V1.EpubBuildRequest request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual global::Palm.Lily.V1.S3File Build(global::Palm.Lily.V1.EpubBuildRequest request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.BlockingUnaryCall(__Method_Build, null, options, request);
|
|
return CallInvoker.BlockingUnaryCall(__Method_Build, null, options, request);
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> BuildAsync(global::Palm.Lily.V1.EpubBuildRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> BuildAsync(global::Palm.Lily.V1.EpubBuildRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
|
|
|
{
|
|
{
|
|
|
return BuildAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
return BuildAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
|
|
|
}
|
|
}
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
- public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.File> BuildAsync(global::Palm.Lily.V1.EpubBuildRequest request, grpc::CallOptions options)
|
|
|
|
|
|
|
+ public virtual grpc::AsyncUnaryCall<global::Palm.Lily.V1.S3File> BuildAsync(global::Palm.Lily.V1.EpubBuildRequest request, grpc::CallOptions options)
|
|
|
{
|
|
{
|
|
|
return CallInvoker.AsyncUnaryCall(__Method_Build, null, options, request);
|
|
return CallInvoker.AsyncUnaryCall(__Method_Build, null, options, request);
|
|
|
}
|
|
}
|
|
@@ -505,7 +648,7 @@ namespace Palm.Lily.V1 {
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
|
|
|
public static void BindService(grpc::ServiceBinderBase serviceBinder, EpubBase serviceImpl)
|
|
public static void BindService(grpc::ServiceBinderBase serviceBinder, EpubBase serviceImpl)
|
|
|
{
|
|
{
|
|
|
- serviceBinder.AddMethod(__Method_Build, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.EpubBuildRequest, global::Palm.Lily.V1.File>(serviceImpl.Build));
|
|
|
|
|
|
|
+ serviceBinder.AddMethod(__Method_Build, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Palm.Lily.V1.EpubBuildRequest, global::Palm.Lily.V1.S3File>(serviceImpl.Build));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|