Mathan P
Mathan P

Reputation: 21

How to compile the protofile

need a help, I don't have idea about how to compile for proto useing scalapb

syntax = "proto2";

package com.test;


import "ImageElement.proto";
import "Color.proto";

message BadgeBackground {
    optional string id = 1;

    oneof bg_oneof {
        ImageElement image = 2;
        com.test.Color bgColor = 3;
    }
}

how to compile the proto file in scalapb

Upvotes: 1

Views: 40

Answers (0)

Related Questions