Hi,

I am trying to use the FieldDescriptor class in my PHP project, and try to 
determine which fields of the protobuf message are optional. I'm using the 
hasOptionalKeyword function on the Google\Protobuf\FieldDescriptor class
 but i'm running into the following error:

 Attempted to call an undefined method named "hasOptionalKeyword" of class 
"Google\Protobuf\Internal\FieldDescriptor".

It seems the hasOptionalKeyword function calls the internal descriptor with 
the same hasOptionalKeyword function, but that function is not implemented 
in the internal class. 

I'm using package google/protobuf version 3.23

Anything I am missing?

Regards,

Job

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/257a581a-44ba-4093-a524-e4d052f4ffacn%40googlegroups.com.

Reply via email to