[protobuf] How to send data from a server to a client in embedded messages?

2021-10-28 Thread Prasanna B
Hello all, I am implementing a simple client-server grpc-c++ based application. In the Hello rpc, I am taking the request and sending the fields of another message called SeverInfo as response. The problem is I exactly don't know how to send this ServerInfo data to a client from server side. We

Re: [protobuf] Re: Google Cloud Security - Redact Keyword?

2021-10-28 Thread Josh Humphries
There is no built-in way to do this. However, you can create your own custom options and use those to annotate sensitive fields/messages whose contents should be redacted. Related: https://github.com/protocolbuffers/protobuf/issues/1160 *Josh Humphries* jh...@bluegosling.com On Thu, Oct

Re: [protobuf] Re: Google Cloud Security - Redact Keyword?

2021-10-28 Thread Austin Bennett
Does protobuf really need to be extended to accommodate this? This seems potentially/reasonably straightforwardly handled via annotations (as I currently understand your needs). Separately, i think I recall seeing something in a golang package sometimein the last ~year (which had also existed in

[protobuf] Re: Google Cloud Security - Redact Keyword?

2021-10-28 Thread 'Mike Vacirca' via Protocol Buffers
Pinging again on this item - is this the right forum to ask this type of question? On Tue, Oct 19, 2021 at 10:20 AM Mike Vacirca wrote: > Hello, > > I was curious if there was ever discussion on extending Protocol Buffers > to include coverage for redaction of a data field? > > Specifically, we