These are gone in proto3. The has* stuff is available with proto2.
On Thu, Jul 11, 2019 at 4:54 PM Janac Meena wrote:
>
> Hello,
>
> I see in the documentation that there is a way to check for the existence of
> a field in a message, i.e.
>
> message Foo {
> string name = 1;
> }
>
> In my Java
Hello,
I see in the documentation that there is a way to check for the existence
of a field in a message, i.e.
message Foo {
string name = 1;
}
In my Java code, I was hoping to do
// Assuming object "foo" has been initialized
if (foo.hasName()) {
// do stuff
}
But I am unable to find
Hi all.
Problem solved. I have used Reflection->GetMutableMessage(_modified_msg,
field_descriptor, index) to get a not const message which then I've passed
it to the recursive function
ParseProtobufMessage(_proto_msg.get(), _modified_msg, _proto_msg->
GetTypeName());
Thanks!
On Wednesday,
That definition is simply adding metadata to the field definitions; they
won't directly impact protobuf if you're using the default tools, but if
you're using custom tools, or a layer on top of protobuf that knows how to
inspect metadata, it can do additional things with the information. The
can anyone help me understanding this block of code and haw file have this
value in the same line, example in FIX protocol tage = value so deliver
companyID tage=value is 128 = IBM for example.
i need help please .
string deliver_to_comp_id = 3 [(fix.tag)=128, (fix.type)=