public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (person_ == null) { person_ = new global::VirtualWallet.Proto.Messages.Person(); } input.ReadMessage(person_); break; } case 16: { genderType_ = (global::VirtualWallet.Proto.Messages.NaturalPerson.Types.GenderType)input.ReadEnum(); break; } } } }
public void MergeFrom(Wallet other) { if (other == null) { return; } if (other.Balance != 0UL) { Balance = other.Balance; } if (other.Type != 0) { Type = other.Type; } if (other.person_ != null) { if (person_ == null) { person_ = new global::VirtualWallet.Proto.Messages.Person(); } Person.MergeFrom(other.Person); } if (other.SubscriberCode.Length != 0) { SubscriberCode = other.SubscriberCode; } }
public void MergeFrom(NaturalPerson other) { if (other == null) { return; } if (other.person_ != null) { if (person_ == null) { person_ = new global::VirtualWallet.Proto.Messages.Person(); } Person.MergeFrom(other.Person); } if (other.GenderType != 0) { GenderType = other.GenderType; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { Balance = input.ReadUInt64(); break; } case 16: { type_ = (global::VirtualWallet.Proto.Messages.Wallet.Types.WalletType)input.ReadEnum(); break; } case 26: { if (person_ == null) { person_ = new global::VirtualWallet.Proto.Messages.Person(); } input.ReadMessage(person_); break; } case 34: { SubscriberCode = input.ReadString(); break; } } } }
public virtual global::System.Threading.Tasks.Task <global::VirtualWallet.Proto.Messages.Person> UpdatePerson(global::VirtualWallet.Proto.Messages.Person request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual grpc::AsyncUnaryCall <global::VirtualWallet.Proto.Messages.Person> UpdatePersonAsync(global::VirtualWallet.Proto.Messages.Person request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_UpdatePerson, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::VirtualWallet.Proto.Messages.Person> UpdatePersonAsync(global::VirtualWallet.Proto.Messages.Person request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(UpdatePersonAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::VirtualWallet.Proto.Messages.Person UpdatePerson(global::VirtualWallet.Proto.Messages.Person request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_UpdatePerson, null, options, request)); }