Category "protocol-buffers"

How to serialize protobuf message with schema id [closed]

Looking for a library or algorithm that implements serialization of a message in protobuf format with schema version which retrieved from conf

Is there a way to set the first enum value to 1 in protobuf?

The first enum value needs to be 0 in protobuf, but this does some trouble in a dropdown component of Primeng. Is there a way to set the first enum value to 1 ?

How can I add compiler warnings in CMake that exclude Protobuf files?

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

Is there any DSL (Domain Specific Language) in order to hold contracts?

I'm very used to protobuf, and the .proto files, I think it is such an amazing way of holding contracts between applications. gRPC takes this to another level,

Send heavy data through protobuf. Custom field

I'm developing the API for the application using protobuf and grpc. I need to send the data with the arbitrary size. Sometimes it is small, sometimes huge. For

How to install Google Protobuf in MacBook Pro in Apple M1 chip?

I want to know how to install protoBuf in MacBook Pro in Apple M1 chip. Anyone known the solution?

Getting exception when trying to add entry to PROTOSTREAM based cache in Wildfly

I want to use an Infinispan cache with a PROTOSTREAM marshaller in my app running on Wildfly 26.0.1. I found the following post on StackOverflow, where both @My

Correctly log protobuf messages as unescaped JSON with zap logger

I have a Go project where I'm using Zap structured logging to log the contents of structs. That's how I initialise the logger: zapLog, err := zap.NewProductionC

package to encapsulate float64 in protobuf

I was working in a microservice to create subscriptions in Stripe. One of the fields is listed as a float64 where I set it up as a float in the .proto file. Thi

Go import scope lookup for protobuf types

I'm building a transpiler and need to understand the protobuf/go scope lookup system. I've been trying to google the docs and finding no luck. Q: Is there a sha

grpc with mustEmbedUnimplemented*** method

Recently, grpc-go introduced the mustEmbedUnimplemented*** method. It is used for forward compatibility. In simple terms, I am unable to understand how it is he

Create protobuf with json values

is it possible to merge or set protobuf message values with matching json values??? example json: {id: 1, channel: 2, userIsLogged:true} and a proto definition

NestJS gRPC Unimplemented Streaming Server Method

I'm trying to build microservice with NestJS and gRPC. It has two services, the first one is the gRPC service, and the second one is the REST service that call

Updated firebase dependency and got duplicated protobuf classes error

I'm getting this error after updating one of my firebase SDKs FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:check

Recursive data structure unmarshalling gives error "cannot parse invalid wire-format data" in Go Lang Protobuf

OS and protobuf version go1.18.1 linux/amd64, github.com/golang/protobuf v1.5.2 Introduction I am trying to use recursive proto definitions. .proto file message

Configuring protobuf C++ to dynamically link against MSVC runtime library

I would like to configure protobuf to link MSVC runtime library dynamically. While this is supported by protobuf and seems trivial to do, I have not been able t

Protobuf Message With Arbitrary Type (.NET)

I want to send/receive values with arbitrary types. At first, I thought the Any type would allow types such as string int32 etc. but it seems that the type must

Duplicate handling strategy error with gradle while using protobuf for java

I am using the below configuration build.gradle plugins { id "com.google.protobuf" version "0.8.17" id "java" } group "de.prerna.aws.tests" version "1.

Decode protobuf without proto files

I would like to decode protobuf data and running into some decoding challenges. 1> Example of the protobuf data: 0a06282c0241057a10011805220d080510bea3f49306

Comparison of protobuf and arrow

Both are language-neutral and platform-neutral data exchange libraries. I wonder what are the difference of them and which library is good for which situations.