[protobuf] Re: Trying to construct generated PHP class causes InvalidArgumentException with a message about the class not being found in Descriptor Pool

2022-05-03 Thread Jakob Merrild
Thanks. I did attempt various different auto-loading options, but it is entirely possible that I didn't do it correctly. In the end I ended up not using the *php_namespace* and *php_metadata_namespace* options and it worked. On Monday, 2 May 2022 at 20:37:56 UTC+2 deanna...@google.com wrote: >

[protobuf] Re: Unknown field 'content' in struct literal of type tycoon_services.Msg

2022-05-03 Thread Jesse Thompson
Yikes, I feel pretty dumb. The tutorial I was watching had log.PrintF typed (I know the capital F looked really weird). Although in regards to the unknown fields on my created sms blast I am a little confused. I am sending an sms blast with content string and a from (User phone number) from

[protobuf] Unknown field 'content' in struct literal of type tycoon_services.Msg

2022-05-03 Thread Jesse Thompson
sms_server.go ``` package main import ( "context" "log" "math/rand" "github.com/google/uuid" "net" pb "tycoon.systems/tycoon-services/sms" "google.golang.org/grpc" ) const ( port = ":6000" ) type SmsManagementServer struct {

[protobuf] Re: Unknown field 'content' in struct literal of type tycoon_services.Msg

2022-05-03 Thread Jesse Thompson
https://stackoverflow.com/questions/37780520/unknown-field-in-struct-literal Issue was lowercase fields On Tuesday, May 3, 2022 at 11:19:28 AM UTC-4 Jesse Thompson wrote: > Yikes, I feel pretty dumb. The tutorial I was watching had log.PrintF > typed (I know the capital F looked really weird).