Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
0 replies
62 views

i want to know if https://github.com/google/gnostic/tree/main/cmd/protoc-gen-openapi plugin understands and processes annotations as in https://github.com/google/gnostic/blob/main/openapiv3/...
shrekish's user avatar
1 vote
1 answer
83 views

I am using Typescript, Google Protobuf and library "ts-proto": "^2.7.7", to generate ts types and use their encode/decode methods. I have a message like message DummyDraft { ...
Kristi Jorgji's user avatar
0 votes
0 answers
56 views

I have a protobuf message with a repeated field: message TestRepeatedMask { repeated Inner inner_message = 1; message Inner { optional string first = 1; optional string second = 2; } } ...
Ran Lottem's user avatar
2 votes
2 answers
117 views

I have been using .proto files without any issue with C# and Java. I have more than hundred proto files spread across a folder hierarchy. I can compile in Visual Studio and in JetBrains IntelliJ Idea. ...
saka's user avatar
  • 43
0 votes
0 answers
50 views

I was trying to serve vector tiles on the fly using an rpc function in superbase but somehow when the responce arrives in the front end using a custom protocol. the vector tiles are not displayed. ...
Nuwe Ariho's user avatar
4 votes
3 answers
439 views

We use protocol buffers both for gRPC server-to-server communication and for publishing messages to Pub/Sub. Pub/Sub is fairly sensitive to schema changes, not allowing any schema changes that would ...
Mike Williamson's user avatar
0 votes
1 answer
43 views

The methods AI showed me are not working. However, one method mentioned by AI seems to be usable, but it is private: private CodedOutputStream(byte[] buffer, int offset, int length) So, how can I ...
21k's user avatar
  • 439
1 vote
0 answers
51 views

I have a project set up like this with protos/ as a top level directory and the project that actually builds it under services/common-py. ├── protos │   ├── common.proto │   ├── doodad.proto └── ...
Paul C's user avatar
  • 8,429
0 votes
0 answers
112 views

I'm developing a new module for a Cosmos SDK v0.53 application and I'm completely stuck on a persistent buf error. I have resorted to vendoring all my Protobuf dependencies into a third_party ...
Blacki's user avatar
  • 9
2 votes
1 answer
151 views

I have a project set up like this: protos/ # protobuf files here pom.xml # parent pom services/common # this module generates the protobuf classes services/mod-1 # imports ...
Paul C's user avatar
  • 8,429
1 vote
1 answer
80 views

I configured the .csproj file as follows: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>...
  iluxa1810's user avatar
0 votes
1 answer
113 views

In C++ Protobuf, is it possible for two messages with the same contents to produce different serialized byte strings when using the SerializeToString method? If so, under what circumstances can the ...
Anthony Lee's user avatar
0 votes
1 answer
2k views

On my mac machine, I installed the protobuf compiler of the latest version (5.29.3) [1] and the python protobuf runtime library pip install protobuf (6.31.1) [2]. The problem is that I got the ...
Hugues Hou's user avatar
0 votes
1 answer
126 views

I have a desire to create a reusable NPM package for consumption in Angular 18+ (using old build system) based upon a set of .proto files. The desired usage would be a simple installation of the npm ...
James van Rossum's user avatar
0 votes
1 answer
97 views

gRPC: 1.59.1; Protocol Buffers: 3.21.12; I have a .proto file with proto2 syntax. One of the messages looks like this: message Log { repeated Info info = 1; // can be very heavy ... ...
Oleksii Hladyshko's user avatar
0 votes
0 answers
152 views

Language / runtime: Python 3.12.3 Operating system: Linux (Ubuntu 24.04) Protoc / protobuf versions: protoc (libprotoc) 31.0 protobuf 6.30.1 grpcio-tools 1.73.1 Description: My ...
David Manukyan's user avatar
1 vote
1 answer
132 views

I have a C# project that uses protobufs, but I need to backport it (under duress) to .NET 5.0. When I do so, the compiler says /myproj/path/Protos/obj/Debug/net5.0/Protos.GlobalUsings.g.cs(2,1): error ...
Grant Birchmeier's user avatar
0 votes
1 answer
150 views

I am trying to use protobufs and gRPC on a legacy system that runs Ubuntu 14.04 and C++11, and that can't be updated. I have tried building gRPC v1.46.7 (the newest version that does not require C++14 ...
mdcraver's user avatar
1 vote
1 answer
150 views

I need a string field in a Protobuf message to use a custom allocator for its internal char* buffer, instead of the default global allocator. I am aware that google::protobuf::Arena will allocate the ...
Njrslv-yndx-cloud's user avatar
0 votes
0 answers
127 views

💻 Environment: Java Version: Corretto 17.0.8 Google Cloud KMS library: google-cloud-kms:2.38.0 Build Tool: Maven IDE: IntelliJ IDEA Community Edition 📦 Dependencies (pom.xml): <dependencies> &...
keemsisi's user avatar
  • 451
0 votes
1 answer
152 views

I have a websocket to a site which returns a protobuf byte stream. Im trying to find the most efficient way to decode the protobuf bytes. If I have the .proto schema definitions, what's the most ...
Grace Harper's user avatar
0 votes
0 answers
168 views

I am updating a spring boot project to version 3.4.5 with java 21. For this packages have changed from javax.* to jakarta.* I am generating Grpc endpoints with protofiles with this maven plugin: ...
Andwari's user avatar
  • 181
0 votes
0 answers
33 views

I have generated java protobuf class. This class has protobuf extensions also. Is it safe to modify different unrelated fields and extensions of the same protobuf builder in parallel? message ...
Capacytron's user avatar
  • 3,818
0 votes
0 answers
84 views

I am trying to write some code which converts the contents of a pandas.DataFrame to a protobuf object which can be serialized and written to a file. Here is my protobuf definition. syntax = "...
user2138149's user avatar
  • 18.7k
1 vote
0 answers
53 views

For any field x of type string, protoc seems to generate two java accessors: getX() that returns a String getXBytes() that returns a ByteString While the getXBytes() method may be useful, I am ...
Remy's user avatar
  • 11
0 votes
1 answer
47 views

When I try to hit the save button for the file grpc-client.csproj on my Code Editor. It shows the error: There were problems loading project grpc-client.csproj.See log for details. The content of my ...
bibashmanjusubedi's user avatar
0 votes
0 answers
58 views

Why do we assign numeric tags to message fields in proto files even for string type? That is, here's an example from official documentation: // The greeting service definition. service Greeter { // ...
Чебупеля's user avatar
0 votes
1 answer
82 views

I am using terraform to deploy a python cloud function, similar to the official example, things are working as expected but now I want to use protobuf, which requires extra compile step, I know cloud ...
watashiSHUN's user avatar
  • 10.7k
0 votes
0 answers
51 views

The lore I have this data class UserSettingsModel, that I have moved to, because of a need to store some appSettings: Map<String, AppSettingsModel>. This is for an app that reads off user-...
Mike Warren's user avatar
  • 3,910
0 votes
0 answers
39 views

I am trying to understand how tensorflow stores variables.index files to parse it and manipulate. I see that pb file could be parsed with protobuf parser, .data file could be loaded as checkpoint and ...
HackSaw's user avatar
  • 221
2 votes
0 answers
96 views

This post is related to this one: Segmentation fault during Serialization by using protobuf in C++17 But I have narrowed it down to the specific problem and decided to make separated post. My goal is ...
Daniil Yefimov's user avatar
5 votes
1 answer
180 views

My goal is to serialize information by using protobuf in C++. proto file: syntax = "proto3"; package PhoneBookSerialize; message Date { int32 year = 1; int32 month = 2; int32 day = 3;...
Daniil Yefimov's user avatar
0 votes
1 answer
345 views

I need to build protocol buffers (PB) as an external dependency for a project I plan on using it with. I've successfully built and used PB in the past for other projects, but those projects used an ...
tjd's user avatar
  • 53
1 vote
1 answer
164 views

For some of our Protobuf DTOs, we use datetime.DateTime to represent the idea of a date and time with time zone. Internally, however, we work exclusively with time.Time objects because these have ...
Woody1193's user avatar
  • 8,202
-1 votes
1 answer
295 views

I'm trying to build a C++ project with a later version of the protobuf libraries than my OS package manager provides. To do this, I have chosen to use vcpkg to configure the project dependencies. (In ...
user2138149's user avatar
  • 18.7k
0 votes
2 answers
1k views

The version of protoc available via apt with Ubuntu 24.10 appears to be somewhat outdated. $ protoc --version libprotoc 3.21.12 In particular, this does not appear to support the latest edition ...
user2138149's user avatar
  • 18.7k
-1 votes
1 answer
269 views

I am trying to compile the following .proto file: edition = "2023"; package example_proto; import "google/protobuf/cpp_features.proto"; message BidAsk { required double bid =...
user2138149's user avatar
  • 18.7k
0 votes
2 answers
333 views

Since updating to Xcode latest (16.3) I get a crash in protobuf lite when trying to call the copy constructor of a message that has a repeated field. The crash occurs when the code is trying to call ...
lordlefrog's user avatar
1 vote
1 answer
611 views

I am trying to configure Protobuf LSP support with nvim (I am using Lazyvim package manager). I've read here that bufls is deprecated and that we should be using buf_ls. Using this snippet, I've ...
vasigorc's user avatar
  • 1,002
0 votes
0 answers
33 views

We've discovered that a single proto message e.g: syntax = "proto3"; package foo.a; message ResultA { optional string name = 1; optional int32 value = 2; } Will translate to around ...
imrichardcole's user avatar
1 vote
0 answers
109 views

I have a simple project that is using protobuf to generate some bindings and then include them in a static library using Visual Studio/MSVC. The CMakeLists.txt section looks like this: ...
imrichardcole's user avatar
0 votes
0 answers
29 views

So I got this error when trying to run protoc with protoc-gen-ts_proto protoc --plugin=protoc-gen-ts_proto=.\node_modules\.bin\protoc-gen-ts_proto.cmd --proto_path=.\src\@core\prototypes --...
Valkyrine's user avatar
2 votes
1 answer
343 views

I have a public proto files which cant be altered here is this for Refrence syntax = "proto2"; package openrtb; enum ContentCategory { IAB1 = 1; IAB1_1 = 2; IAB1_2 = 3; IAB11 = 191;...
anish's user avatar
  • 7,498
0 votes
0 answers
126 views

I am new to Kafka & trying to make a decent project for my resume. So in a multi-service (microservices running on docker) model in which I'm developing multiple Spring Boot applications, two of ...
Aadarsh Pandey's user avatar
1 vote
0 answers
59 views

I am currently using an C++ RPC framework (similar to gRPC) to implement the function, which itself depends on protobuf (v3.21.0) and is compiled using bazel(); at the same time, I need to use the ...
Achan Zhong's user avatar
2 votes
1 answer
106 views

I really struggle extracting protobuf payload (Parrot TimedMetadata) from a recording of RTP packets. I'm using golang. I followed the parrot's dev guide without success. This is my main.go: package ...
user29960667's user avatar
1 vote
2 answers
160 views

func (w *Worker) makeUnaryRequest(ctx *context.Context, reqMD *metadata.MD, input *dynamic.Message) error { ... } I need to modify the contents of input. var data Response payload_dataByte, _ := json....
LST's user avatar
  • 177
0 votes
0 answers
330 views

From an administrator CMD prompt, I installed Protobuf on my Windows machine the following way: git clone -b v28.3 --recurse-submodules https://github.com/protocolbuffers/protobuf.git cd protobuf ...
andynewman's user avatar
2 votes
0 answers
91 views

I use tonic to build a server. The grpc requests/replies have many short-string members. I find prost converts the protobuf's string into Rust's String. I want to use SmartString to replace String for ...
wub's user avatar
  • 525
1 vote
1 answer
182 views

I have updated the com.google.protobuf:protoc version from 4.27.5 to 4.28.0 in my android project. The protobuf block has a defination like this protobuf { //dependency versions are defined under ...
Satyam Gondhale's user avatar

1
2 3 4 5
169