-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #879 from redpanda-data/backend/common_proto_types
Backend: Add Common protobuf types
- Loading branch information
Showing
29 changed files
with
1,922 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v1 | ||
deps: | ||
- remote: buf.build | ||
owner: googleapis | ||
repository: googleapis | ||
commit: 28151c0d0a1641bf938a7672c500e01d | ||
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
version: v1 | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
breaking: | ||
use: | ||
- FILE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright 2022 Redpanda Data, Inc. | ||
// | ||
// Use of this software is governed by the Business Source License | ||
// included in the file https://github.com/redpanda-data/redpanda/blob/dev/licenses/bsl.md | ||
// | ||
// As of the Change Date specified in that file, in accordance with | ||
// the Business Source License, use of this software will be governed | ||
// by the Apache License, Version 2.0 | ||
|
||
syntax = "proto3"; | ||
|
||
package common; | ||
|
||
import "google/type/decimal.proto"; | ||
import "google/type/color.proto"; | ||
import "google/type/dayofweek.proto"; | ||
import "google/type/fraction.proto"; | ||
import "google/type/latlng.proto"; | ||
import "google/type/money.proto"; | ||
import "google/type/month.proto"; | ||
import "google/type/phone_number.proto"; | ||
|
||
option go_package = "github.com/redpanda-data/console/backend/pkg/kafka/testdata/proto/gen/common"; | ||
|
||
message CommonMessage { | ||
string id = 1; | ||
google.type.Decimal dec_val = 2; | ||
google.type.Color color = 3; | ||
google.type.DayOfWeek dow = 4; | ||
google.type.Fraction fraction = 5; | ||
google.type.LatLng latlng = 6; | ||
google.type.Money price = 7; | ||
google.type.Month month = 8; | ||
google.type.PhoneNumber phone_number = 9; | ||
} |
Oops, something went wrong.