public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (rusuario_ == null) { rusuario_ = new global::ServidorUsuarios.RegistroUsuario(); } input.ReadMessage(rusuario_); break; } case 18: { Message = input.ReadString(); break; } case 24: { Error = input.ReadInt32(); break; } } } }
public void MergeFrom(AutResponse other) { if (other == null) { return; } if (other.rusuario_ != null) { if (rusuario_ == null) { rusuario_ = new global::ServidorUsuarios.RegistroUsuario(); } Rusuario.MergeFrom(other.Rusuario); } if (other.Message.Length != 0) { Message = other.Message; } if (other.Error != 0) { Error = other.Error; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public virtual global::ServidorUsuarios.UsuarioResponse Salvar(global::ServidorUsuarios.RegistroUsuario request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_Salvar, null, options, request)); }
public virtual global::ServidorUsuarios.UsuarioResponse Salvar(global::ServidorUsuarios.RegistroUsuario request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(Salvar(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::System.Threading.Tasks.Task <global::ServidorUsuarios.UsuarioResponse> Excluir(global::ServidorUsuarios.RegistroUsuario request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual grpc::AsyncUnaryCall <global::ServidorUsuarios.UsuarioResponse> ExcluirAsync(global::ServidorUsuarios.RegistroUsuario request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_Excluir, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::ServidorAutenticacao.AutResponse> AutenticarAsync(global::ServidorUsuarios.RegistroUsuario request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_Autenticar, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::ServidorAutenticacao.AutResponse> AutenticarAsync(global::ServidorUsuarios.RegistroUsuario request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(AutenticarAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }