Beispiel #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    result_ = (global::HOLMS.Types.Booking.RPC.OTAChannelProviderSvcCRUDResult)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (provider_ == null)
                    {
                        provider_ = new global::HOLMS.Types.Booking.Channels.OTAChannelProvider();
                    }
                    input.ReadMessage(provider_);
                    break;
                }
                }
            }
        }
Beispiel #2
0
 public void MergeFrom(OTAChannelProviderSvcResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.provider_ != null)
     {
         if (provider_ == null)
         {
             provider_ = new global::HOLMS.Types.Booking.Channels.OTAChannelProvider();
         }
         Provider.MergeFrom(other.Provider);
     }
 }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Primitive.ServerActionConfirmation> Delete(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Booking.RPC.OTAChannelProviderSvcResponse> Update(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Primitive.ServerActionConfirmation> DeleteAsync(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Delete, null, options, request));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Primitive.ServerActionConfirmation> DeleteAsync(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(DeleteAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Booking.RPC.OTAChannelProviderSvcResponse> UpdateAsync(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Update, null, options, request));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Booking.RPC.OTAChannelProviderSvcResponse> UpdateAsync(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(UpdateAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual global::HOLMS.Types.Booking.RPC.OTAChannelProviderSvcResponse Create(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Create, null, options, request));
 }
 public virtual global::HOLMS.Types.Primitive.ServerActionConfirmation Delete(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Delete, null, options, request));
 }
 public virtual global::HOLMS.Types.Booking.RPC.OTAChannelProviderSvcResponse Create(global::HOLMS.Types.Booking.Channels.OTAChannelProvider request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Create(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }