Firestore Golang问题与原型类型
我试图理解为什么 datato()方法在传递protobuf中的struct后没有返回所有字段,但是如果我运行几乎相同的方法 data()我正在获取所有 type Employee…
如何从Protobuf生成常数的打字稿枚举?
我有此ProtoBuf代码 enum Language { en = 0; jp = 1; ar = 2; } 生成打字稿时,值为 lanuage.en = 0 , language.jp = 1 ... 我想要的是 language。 …
无法使原始路径亲戚:java_out = c:\ proto \:没有这样的文件或目录
I'm learning gRPC and this is my first app. I'm using windows 10, java Graalvm 11. my proto file syntax = "proto3"; package example; option…
ProtoC输出什么Java版本? - 原始生成的Java输出不会编译
我正在尝试使用Google定义为.proto文件的GTF https:// https://developers.google.com/static/transit/ gtfs-realtime/gtfs-realtime.proto 我下载此…
如何将JSON主体请求传递给Golang的地图字符串数据结构中的API?
我是Golang和GRPC的新手,需要指导和澄清。我有以下定义作为参数来调用外部API的发布请求。 params := map[string]string{ "movie": movie, "seat": s…
Nestjs无法通过GRPC响应中的空列表显示该字段
这是我来自服务器的GRPC响应(使用BlrroMRPC): { "te": [ { "flags": [], "height": 0, } ] } “标志”是一个空列表。 但是,如果我在Nestjs项目中…
使用电线时的GRPC URL结肠
我正在尝试致电GRPC语法URL: https://photoslibrary.googleapis.com/v1/mediaitems:search 通过使用电线框架。 第一个问题是将/v1 放在路径中,如下…
proto3.任何人都无法掩盖JSON
发送 我的proto service GraphService { rpc insertGraphData (InsertRequest) returns (google.protobuf.StringValue) {} } message InsertRequest {…
Google/Protobuf/Timestamp返回空对象
我有一个原始文件,应该返回create_at and Updated_at作为时间戳,然后将其保存在DB中,但是一旦我发送了一个请求,我都会收到一个空的对象,即使是两…
将值分配给重复字段Protobufs打字条
我在service.proto中有一个Protobuf消息 message DataUpdate { uint32 source = 1; uint32 destination = 2; } message DataUpdateRequest { string f…
如何将共享原始文件导入本地文件?
我有项目 protobuf.shared ,其中包含共享的原始文件。这个项目包装到Nuget软件包中。 项目结构: - .nuspec - proto - shared.proto - base.proto - …