proto Questions
2
Solved
Hi im currently looking into grpc and im curious about the use usage of a repeated field vs a stream.
For example let's say i want to implement a reservation service for movie seats. The issue im ...
2
I want to map datetime in c# datetime in protobuf .
Do you have any suggestion to do this?
Islas asked 15/9, 2020 at 9:55
3
Solved
I have 2 proto compiled under different go packages but when I register them in a a server and run it, I get :
panic: proto: file "common.proto" is already registered
previously from: &q...
2
I have a POST endpoint in my Java service that expects a protobuf 3 payload. This service is used by other services which send the protobuf payload. I would like to do some debugging and send a pro...
Jocularity asked 30/7, 2020 at 20:23
10
Relatively new to GRPC and getting an error in my proto file that I cannot seem to make sense of. I would like to send a time in a message using the "google.protobuf.Timestamp". I cannot ...
Homer asked 7/5, 2019 at 22:12
3
Solved
Simply I have these directories
in proof.proto I am importing the common_message.proto to be able to use the predefined message and Everything works fine -> [compiling proto files with no probl...
Larina asked 6/7, 2021 at 19:55
11
Solved
I encountered it while executing from object_detection.utils import label_map_util in jupyter notebook. It is actually the tensorflow object detection tutorial notebook(it comes with the tensorflow...
Heartbroken asked 20/5, 2020 at 20:28
3
Solved
I have project A and project B. They may be in different programming languages.
Project A exposes an API using proto files, which project B will use to then generate the API in the programming lang...
Coffin asked 16/5, 2019 at 9:10
4
My original use-case:
I am building an application in GO with a gRPC server (using protobuf), and wrapping it inside an HTTPS server (using gin). Only the HTTPS server is being published to the cl...
Lambertson asked 21/4, 2020 at 18:3
3
I'm writing a Python app for serializing and sending protobuf3 messages. I'd like to make some sort of interactive UI that allows to choose a message and assign it on the fly. I've got a pretty big...
Terror asked 26/7, 2019 at 14:42
19
Solved
I am trying to build a sample application with Go gRPC, but I am unable to generate the code using "protoc"
I have installed the required libraries and Go packages using:
go get -u googl...
Lalalalage asked 28/8, 2019 at 22:39
2
Solved
If I have the following class, how can I save a list of it with Proto DataStore?
data class Tag(
val id: int,
val name: String
)
All guides that I saw were teaching how to save only a single obj...
1
i am getting this error when i compile my proto file:
protoc-gen-go-grpc: program not found or is not executable
Please specify a program using absolute path or make sure the program is available i...
3
I'm trying to compile a proto file with the following command:
protoc -I=. --python_out=. ./message.proto --proto_path=.
But I'm getting this error:
--proto_path passed empty directory name. (Use ...
Collage asked 24/9, 2020 at 14:1
3
Solved
In Google Chrom's javascript, objects have a property named __proto__ that points to their prototype (or parent) object.
var foo = {};
console.log(foo.__proto__ === Object.prototype); //returns t...
Izzo asked 1/12, 2016 at 21:41
5
Solved
1
I'm adding warnings (and treating them as errors) to my C++ project which uses CMake for builds. Initially I used target_compile_options. But as I've added more warnings I've found that they're bei...
Tolyl asked 29/4, 2022 at 5:29
3
Solved
I'm trying to run protoc command into a docker container.
I've tried using the gRPC image but protoc command is not found:
/bin/sh: 1: protoc: not found
So I assume I have to install manually usi...
Kelp asked 2/1, 2021 at 11:29
2
Solved
I noticed that they bring optional back in protobuf 3.15. I'm trying to use optional to check field presence. But I'm still unclear regarding the philosophy behind this.
Here is my usecase:
I'm pro...
Untenable asked 4/10, 2021 at 19:1
1
Does optional supports in proto3 while working with Go? I tried with this:
protoc person.proto --go_out=. --experimental_allow_proto3_optional
but got this error
person.proto: is a proto3 file th...
Ephrayim asked 19/10, 2021 at 12:39
1
Solved
What's the difference between using an Enum and a oneof kind in protobuf3? As far as I can tell, an Enum restricts the field to be one of a predefined set of values, but so does the oneof kind.
Klenk asked 14/9, 2021 at 22:10
1
Solved
I am new to GCP. I am trying to use Pub/Sub service with schema definition using protobuf.
Schema:
syntax = "proto3";
import "google/protobuf/any.proto";
message Endorsement {...
Savonarola asked 12/7, 2021 at 4:40
3
Solved
I have a Gradle project with modules. moduleA contains only protobuf files and produces a jar file with classes generated from the .proto files. moduleB depends on the moduleA (implementation proje...
Fugitive asked 9/12, 2020 at 15:13
1
Solved
I'm using protobuf (and protoc) for the first time with Go.
message MyProtoStruct {
string description = 1;
}
I'm a little bit confused:
should I use methods to get values (like MyProtoStruct.Ge...
Mall asked 3/7, 2021 at 11:29
3
I've seen many articles about "Protobuf vs JSON". But none of them ever mentioned the data-storing aspect. AFAIK, one can store data in JSON (or XML). But can the same thing be done in Pr...
Siesta asked 21/6, 2021 at 7:17
1 Next >
© 2022 - 2024 — McMap. All rights reserved.