public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    Description = input.ReadString();
                    break;
                }
                }
            }
        }
 public void MergeFrom(TurnAwayReason other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
 }
Пример #3
0
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Booking.TurnAwayReason> GetById(global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
Пример #4
0
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Booking.TurnAwayReason> GetByIdAsync(global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
Пример #5
0
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Booking.TurnAwayReason> GetByIdAsync(global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual global::HOLMS.Types.Booking.TurnAwayReason GetById(global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }
 public virtual global::HOLMS.Types.Booking.TurnAwayReason GetById(global::HOLMS.Types.Booking.Indicators.TurnAwayReasonIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetById(request, new CallOptions(headers, deadline, cancellationToken)));
 }