public void MergeFrom(SessionSvcStartSessionRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CandidateUsername.Length != 0)
     {
         CandidateUsername = other.CandidateUsername;
     }
     if (other.CandidatePassword.Length != 0)
     {
         CandidatePassword = other.CandidatePassword;
     }
     if (other.clientInstanceId_ != null)
     {
         if (clientInstanceId_ == null)
         {
             clientInstanceId_ = new global::HOLMS.Types.IAM.ClientInstanceIndicator();
         }
         ClientInstanceId.MergeFrom(other.ClientInstanceId);
     }
     if (other.OauthClientId.Length != 0)
     {
         OauthClientId = other.OauthClientId;
     }
     if (other.clientInstance_ != null)
     {
         if (clientInstance_ == null)
         {
             clientInstance_ = new global::HOLMS.Types.IAM.ClientInstance();
         }
         ClientInstance.MergeFrom(other.ClientInstance);
     }
 }
        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.Money.Cards.CardTerminalIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (merchantId_ == null)
                    {
                        merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(merchantId_);
                    break;
                }

                case 26: {
                    if (stationId_ == null)
                    {
                        stationId_ = new global::HOLMS.Types.IAM.ClientInstance();
                    }
                    input.ReadMessage(stationId_);
                    break;
                }

                case 34: {
                    Name = input.ReadString();
                    break;
                }

                case 42: {
                    IpAddress = input.ReadString();
                    break;
                }

                case 48: {
                    Port = input.ReadInt32();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    CandidateUsername = input.ReadString();
                    break;
                }

                case 18: {
                    CandidatePassword = input.ReadString();
                    break;
                }

                case 26: {
                    if (clientInstanceId_ == null)
                    {
                        clientInstanceId_ = new global::HOLMS.Types.IAM.ClientInstanceIndicator();
                    }
                    input.ReadMessage(clientInstanceId_);
                    break;
                }

                case 34: {
                    OauthClientId = input.ReadString();
                    break;
                }

                case 42: {
                    if (clientInstance_ == null)
                    {
                        clientInstance_ = new global::HOLMS.Types.IAM.ClientInstance();
                    }
                    input.ReadMessage(clientInstance_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(CardTerminal other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.CardTerminalIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.stationId_ != null)
     {
         if (stationId_ == null)
         {
             stationId_ = new global::HOLMS.Types.IAM.ClientInstance();
         }
         StationId.MergeFrom(other.StationId);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.IpAddress.Length != 0)
     {
         IpAddress = other.IpAddress;
     }
     if (other.Port != 0)
     {
         Port = other.Port;
     }
 }
예제 #5
0
 public virtual global::HOLMS.Types.IAM.ClientInstance Update(global::HOLMS.Types.IAM.ClientInstance request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Update(request, new CallOptions(headers, deadline, cancellationToken)));
 }
예제 #6
0
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.IAM.ClientInstance> Update(global::HOLMS.Types.IAM.ClientInstance request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
예제 #7
0
 public virtual AsyncUnaryCall <global::HOLMS.Types.IAM.ClientInstance> UpdateAsync(global::HOLMS.Types.IAM.ClientInstance request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Update, null, options, request));
 }
예제 #8
0
 public virtual global::HOLMS.Types.IAM.ClientInstance Update(global::HOLMS.Types.IAM.ClientInstance request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Update, null, options, request));
 }
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.IAM.ClientInstance> UpdateAsync(global::HOLMS.Types.IAM.ClientInstance request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(UpdateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }