cobotar-protocol 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cobotar_protocol-0.3.3/.bumpversion.toml +27 -0
- cobotar_protocol-0.3.3/.github/workflows/buf-ci.yaml +50 -0
- cobotar_protocol-0.3.3/.github/workflows/publish-pypi.yaml +54 -0
- cobotar_protocol-0.3.3/.gitignore +1 -0
- cobotar_protocol-0.3.3/.pre-commit-config.yaml +16 -0
- cobotar_protocol-0.3.3/CHANGELOG.md +0 -0
- cobotar_protocol-0.3.3/Makefile +47 -0
- cobotar_protocol-0.3.3/PKG-INFO +29 -0
- cobotar_protocol-0.3.3/README.md +13 -0
- cobotar_protocol-0.3.3/buf.gen.yaml +16 -0
- cobotar_protocol-0.3.3/buf.yaml +10 -0
- cobotar_protocol-0.3.3/go.mod +3 -0
- cobotar_protocol-0.3.3/messages/common/v1/color.pb.go +152 -0
- cobotar_protocol-0.3.3/messages/common/v1/property.pb.go +393 -0
- cobotar_protocol-0.3.3/messages/geometry/v1/anchor.pb.go +134 -0
- cobotar_protocol-0.3.3/messages/geometry/v1/point.pb.go +142 -0
- cobotar_protocol-0.3.3/messages/geometry/v1/pose.pb.go +138 -0
- cobotar_protocol-0.3.3/messages/geometry/v1/quad.pb.go +150 -0
- cobotar_protocol-0.3.3/messages/geometry/v1/vector3.pb.go +141 -0
- cobotar_protocol-0.3.3/messages/geometry/v1/wrench.pb.go +136 -0
- cobotar_protocol-0.3.3/messages/robot/v1/end_effector.pb.go +141 -0
- cobotar_protocol-0.3.3/messages/robot/v1/jointstate.pb.go +151 -0
- cobotar_protocol-0.3.3/messages/robot/v1/tcp.pb.go +146 -0
- cobotar_protocol-0.3.3/messages/service/v1/status.pb.go +228 -0
- cobotar_protocol-0.3.3/messages/tracker/v1/tracker.pb.go +225 -0
- cobotar_protocol-0.3.3/proto/common/v1/color.proto +11 -0
- cobotar_protocol-0.3.3/proto/common/v1/property.proto +42 -0
- cobotar_protocol-0.3.3/proto/geometry/v1/anchor.proto +12 -0
- cobotar_protocol-0.3.3/proto/geometry/v1/point.proto +10 -0
- cobotar_protocol-0.3.3/proto/geometry/v1/pose.proto +12 -0
- cobotar_protocol-0.3.3/proto/geometry/v1/quad.proto +11 -0
- cobotar_protocol-0.3.3/proto/geometry/v1/vector3.proto +10 -0
- cobotar_protocol-0.3.3/proto/geometry/v1/wrench.proto +11 -0
- cobotar_protocol-0.3.3/proto/robot/v1/end_effector.proto +10 -0
- cobotar_protocol-0.3.3/proto/robot/v1/jointstate.proto +11 -0
- cobotar_protocol-0.3.3/proto/robot/v1/tcp.proto +13 -0
- cobotar_protocol-0.3.3/proto/service/v1/status.proto +19 -0
- cobotar_protocol-0.3.3/proto/tracker/v1/tracker.proto +19 -0
- cobotar_protocol-0.3.3/pyproject.toml +34 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/__init__.py +0 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/common/v1/color_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/common/v1/property_pb2.py +41 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/geometry/v1/anchor_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/geometry/v1/point_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/geometry/v1/pose_pb2.py +39 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/geometry/v1/quad_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/geometry/v1/vector3_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/geometry/v1/wrench_pb2.py +38 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/robot/v1/end_effector_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/robot/v1/jointstate_pb2.py +37 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/robot/v1/tcp_pb2.py +39 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/service/v1/status_pb2.py +39 -0
- cobotar_protocol-0.3.3/src/cobotar_protocol/tracker/v1/tracker_pb2.py +39 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[tool.bumpversion]
|
|
2
|
+
current_version = "0.3.3"
|
|
3
|
+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
4
|
+
serialize = ["{major}.{minor}.{patch}"]
|
|
5
|
+
search = "{current_version}"
|
|
6
|
+
replace = "{new_version}"
|
|
7
|
+
regex = false
|
|
8
|
+
ignore_missing_version = false
|
|
9
|
+
ignore_missing_files = false
|
|
10
|
+
tag = true
|
|
11
|
+
sign_tags = false
|
|
12
|
+
tag_name = "v{new_version}"
|
|
13
|
+
tag_message = "Bump version: {current_version} → {new_version}"
|
|
14
|
+
allow_dirty = false
|
|
15
|
+
commit = true
|
|
16
|
+
message = "Bump version: {current_version} → {new_version}"
|
|
17
|
+
moveable_tags = []
|
|
18
|
+
commit_args = ""
|
|
19
|
+
setup_hooks = []
|
|
20
|
+
pre_commit_hooks = []
|
|
21
|
+
post_commit_hooks = []
|
|
22
|
+
|
|
23
|
+
[[tool.bumpversion.files]]
|
|
24
|
+
filename = "pyproject.toml"
|
|
25
|
+
|
|
26
|
+
[[tool.bumpversion.files]]
|
|
27
|
+
filename = "README.md"
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Buf CI
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, synchronize, reopened, labeled, unlabeled]
|
|
6
|
+
delete:
|
|
7
|
+
permissions:
|
|
8
|
+
contents: write
|
|
9
|
+
pull-requests: write
|
|
10
|
+
jobs:
|
|
11
|
+
buf:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
with:
|
|
16
|
+
fetch-depth: 0
|
|
17
|
+
|
|
18
|
+
- uses: bufbuild/buf-action@v1
|
|
19
|
+
with:
|
|
20
|
+
setup_only: true
|
|
21
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
+
|
|
23
|
+
- name: Run linter
|
|
24
|
+
run: buf lint
|
|
25
|
+
|
|
26
|
+
- name: Checking breaking changes
|
|
27
|
+
run: buf breaking --against "https://github.com/cobotar/protocol.git#branch=main"
|
|
28
|
+
|
|
29
|
+
- name: Generate proto messages
|
|
30
|
+
run: buf generate
|
|
31
|
+
|
|
32
|
+
- name: Get next version
|
|
33
|
+
id: get_next_version
|
|
34
|
+
uses: thenativeweb/get-next-version@main
|
|
35
|
+
with:
|
|
36
|
+
prefix: 'v'
|
|
37
|
+
|
|
38
|
+
- name: Show the next version
|
|
39
|
+
run: |
|
|
40
|
+
echo ${{ steps.get_next_version.outputs.version }}
|
|
41
|
+
echo ${{ steps.get_next_version.outputs.hasNextVersion }}
|
|
42
|
+
|
|
43
|
+
- name: Commit changes
|
|
44
|
+
uses: EndBug/add-and-commit@v9
|
|
45
|
+
with:
|
|
46
|
+
author_name: autobot
|
|
47
|
+
author_email: lunding@me.com
|
|
48
|
+
message: 'Generate new proto messages'
|
|
49
|
+
add: '*.go'
|
|
50
|
+
tag: '${{ steps.get_next_version.outputs.version }}'
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Upload Python Package to PyPI when a tag is created
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: [ 'v*.*.*' ]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
name: Build distribution 📦
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
with:
|
|
15
|
+
persist-credentials: false
|
|
16
|
+
- name: Set up Python
|
|
17
|
+
uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.x"
|
|
20
|
+
- name: Install pypa/build
|
|
21
|
+
run: >-
|
|
22
|
+
python3 -m
|
|
23
|
+
pip install
|
|
24
|
+
build
|
|
25
|
+
--user
|
|
26
|
+
- name: Build a binary wheel and a source tarball
|
|
27
|
+
run: python3 -m build
|
|
28
|
+
- name: Store the distribution packages
|
|
29
|
+
uses: actions/upload-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: python-package-distributions
|
|
32
|
+
path: dist/
|
|
33
|
+
|
|
34
|
+
publish-to-pypi:
|
|
35
|
+
name: >-
|
|
36
|
+
Publish Python 🐍 distribution 📦 to PyPI
|
|
37
|
+
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
|
38
|
+
needs:
|
|
39
|
+
- build
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
environment:
|
|
42
|
+
name: pypi
|
|
43
|
+
url: https://pypi.org/p/cobotar-protocol
|
|
44
|
+
permissions:
|
|
45
|
+
id-token: write # IMPORTANT: mandatory for trusted publishing
|
|
46
|
+
|
|
47
|
+
steps:
|
|
48
|
+
- name: Download all the dists
|
|
49
|
+
uses: actions/download-artifact@v4
|
|
50
|
+
with:
|
|
51
|
+
name: python-package-distributions
|
|
52
|
+
path: dist/
|
|
53
|
+
- name: Publish distribution 📦 to PyPI
|
|
54
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.idea
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v5.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: check-added-large-files
|
|
9
|
+
- repo: https://github.com/bufbuild/buf
|
|
10
|
+
rev: v1.54.0
|
|
11
|
+
hooks:
|
|
12
|
+
- id: buf-lint
|
|
13
|
+
- id: buf-format
|
|
14
|
+
- id: buf-breaking
|
|
15
|
+
args: ["--against", ".git#branch=main"]
|
|
16
|
+
- id: buf-generate
|
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
#==================================================================================== #
|
|
2
|
+
# HELPERS
|
|
3
|
+
#==================================================================================== #
|
|
4
|
+
|
|
5
|
+
## help: print this help message
|
|
6
|
+
.PHONY: help
|
|
7
|
+
help:
|
|
8
|
+
@echo 'Usage:'
|
|
9
|
+
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
|
|
10
|
+
|
|
11
|
+
.PHONY: confirm
|
|
12
|
+
confirm:
|
|
13
|
+
@echo -n 'Are you sure? [y/N] ' && read ans && [ $${ans:-N} = y ]
|
|
14
|
+
|
|
15
|
+
#==================================================================================== #
|
|
16
|
+
# BUF Commands
|
|
17
|
+
#==================================================================================== #
|
|
18
|
+
|
|
19
|
+
## lint: run the buf lint command
|
|
20
|
+
.PHONY: lint
|
|
21
|
+
lint:
|
|
22
|
+
buf lint
|
|
23
|
+
|
|
24
|
+
## breaking: run the buf breaking command
|
|
25
|
+
.PHONY: breaking
|
|
26
|
+
breaking:
|
|
27
|
+
buf breaking --against ".git#branch=main"
|
|
28
|
+
|
|
29
|
+
## generate: run the buf generate command
|
|
30
|
+
.PHONY: generate
|
|
31
|
+
generate:
|
|
32
|
+
buf generate
|
|
33
|
+
|
|
34
|
+
## verify: run lint, breaking, and generate command
|
|
35
|
+
.PHONY: verify
|
|
36
|
+
verify: lint breaking generate
|
|
37
|
+
@echo 'Remember to check if new files were created!'
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## publish bump=$1: run checks, bump version, and publish
|
|
41
|
+
.PHONY: publish
|
|
42
|
+
publish: verify
|
|
43
|
+
@echo 'Verification complete'
|
|
44
|
+
bump-my-version bump ${bump}
|
|
45
|
+
git push
|
|
46
|
+
git push --tags
|
|
47
|
+
@echo 'New version is published'
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cobotar-protocol
|
|
3
|
+
Version: 0.3.3
|
|
4
|
+
Summary: Protocol and more for the cobotar project
|
|
5
|
+
Project-URL: Homepage, https://cobotar.org
|
|
6
|
+
Project-URL: Documentation, https://cobotar.org/protocol
|
|
7
|
+
Project-URL: Repository, https://github.com/cobotar/protocol.git
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/cobotar/protocol/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/cobotar/protocol/blob/master/CHANGELOG.md
|
|
10
|
+
Author-email: Rasmus Lunding <rsl@cs.au.dk>
|
|
11
|
+
Maintainer-email: Rasmus Lunding <rsl@cs.au.dk>
|
|
12
|
+
Keywords: ar,cobot,protocol
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# protocol
|
|
18
|
+
A collection of protobuf messages
|
|
19
|
+
|
|
20
|
+
Current version: 0.3.3
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## Tagging
|
|
24
|
+
In accordance with [get-next-version](https://github.com/marketplace/actions/get-next-version);
|
|
25
|
+
you should prefix your commit messages with one of the following keywords:
|
|
26
|
+
* `chore` – used for maintenance, does not result in a new version
|
|
27
|
+
* `fix` – used for bug fixes, results in a new patch version (e.g. from `1.2.3` to `1.2.4`)
|
|
28
|
+
* `feat` – used for introducing new features, results in a new minor version (e.g. from `1.2.3` to `1.3.0`)
|
|
29
|
+
* `feat!` – used for breaking changes, results in a new major version (e.g. from `1.2.3` to `2.0.0`)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# protocol
|
|
2
|
+
A collection of protobuf messages
|
|
3
|
+
|
|
4
|
+
Current version: 0.3.3
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## Tagging
|
|
8
|
+
In accordance with [get-next-version](https://github.com/marketplace/actions/get-next-version);
|
|
9
|
+
you should prefix your commit messages with one of the following keywords:
|
|
10
|
+
* `chore` – used for maintenance, does not result in a new version
|
|
11
|
+
* `fix` – used for bug fixes, results in a new patch version (e.g. from `1.2.3` to `1.2.4`)
|
|
12
|
+
* `feat` – used for introducing new features, results in a new minor version (e.g. from `1.2.3` to `1.3.0`)
|
|
13
|
+
* `feat!` – used for breaking changes, results in a new major version (e.g. from `1.2.3` to `2.0.0`)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
version: v2
|
|
2
|
+
managed:
|
|
3
|
+
enabled: true
|
|
4
|
+
override:
|
|
5
|
+
- file_option: go_package_prefix
|
|
6
|
+
value: github.com/cobotar/protocol/gen
|
|
7
|
+
plugins:
|
|
8
|
+
- remote: buf.build/protocolbuffers/go
|
|
9
|
+
out: messages
|
|
10
|
+
opt: paths=source_relative
|
|
11
|
+
- remote: buf.build/protocolbuffers/python
|
|
12
|
+
out: src/cobotar_protocol
|
|
13
|
+
# - remote: buf.build/protocolbuffers/csharp
|
|
14
|
+
# out: unity
|
|
15
|
+
inputs:
|
|
16
|
+
- directory: proto
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-go v1.36.6
|
|
4
|
+
// protoc (unknown)
|
|
5
|
+
// source: common/v1/color.proto
|
|
6
|
+
|
|
7
|
+
package commonv1
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
11
|
+
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
12
|
+
reflect "reflect"
|
|
13
|
+
sync "sync"
|
|
14
|
+
unsafe "unsafe"
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
const (
|
|
18
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
19
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
20
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
21
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
type Color struct {
|
|
25
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
26
|
+
Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"`
|
|
27
|
+
Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"`
|
|
28
|
+
Blue float32 `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"`
|
|
29
|
+
Alpha float32 `protobuf:"fixed32,4,opt,name=alpha,proto3" json:"alpha,omitempty"`
|
|
30
|
+
unknownFields protoimpl.UnknownFields
|
|
31
|
+
sizeCache protoimpl.SizeCache
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
func (x *Color) Reset() {
|
|
35
|
+
*x = Color{}
|
|
36
|
+
mi := &file_common_v1_color_proto_msgTypes[0]
|
|
37
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
38
|
+
ms.StoreMessageInfo(mi)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
func (x *Color) String() string {
|
|
42
|
+
return protoimpl.X.MessageStringOf(x)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
func (*Color) ProtoMessage() {}
|
|
46
|
+
|
|
47
|
+
func (x *Color) ProtoReflect() protoreflect.Message {
|
|
48
|
+
mi := &file_common_v1_color_proto_msgTypes[0]
|
|
49
|
+
if x != nil {
|
|
50
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
51
|
+
if ms.LoadMessageInfo() == nil {
|
|
52
|
+
ms.StoreMessageInfo(mi)
|
|
53
|
+
}
|
|
54
|
+
return ms
|
|
55
|
+
}
|
|
56
|
+
return mi.MessageOf(x)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Deprecated: Use Color.ProtoReflect.Descriptor instead.
|
|
60
|
+
func (*Color) Descriptor() ([]byte, []int) {
|
|
61
|
+
return file_common_v1_color_proto_rawDescGZIP(), []int{0}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
func (x *Color) GetRed() float32 {
|
|
65
|
+
if x != nil {
|
|
66
|
+
return x.Red
|
|
67
|
+
}
|
|
68
|
+
return 0
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
func (x *Color) GetGreen() float32 {
|
|
72
|
+
if x != nil {
|
|
73
|
+
return x.Green
|
|
74
|
+
}
|
|
75
|
+
return 0
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
func (x *Color) GetBlue() float32 {
|
|
79
|
+
if x != nil {
|
|
80
|
+
return x.Blue
|
|
81
|
+
}
|
|
82
|
+
return 0
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
func (x *Color) GetAlpha() float32 {
|
|
86
|
+
if x != nil {
|
|
87
|
+
return x.Alpha
|
|
88
|
+
}
|
|
89
|
+
return 0
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
var File_common_v1_color_proto protoreflect.FileDescriptor
|
|
93
|
+
|
|
94
|
+
const file_common_v1_color_proto_rawDesc = "" +
|
|
95
|
+
"\n" +
|
|
96
|
+
"\x15common/v1/color.proto\x12\tcommon.v1\"Y\n" +
|
|
97
|
+
"\x05Color\x12\x10\n" +
|
|
98
|
+
"\x03red\x18\x01 \x01(\x02R\x03red\x12\x14\n" +
|
|
99
|
+
"\x05green\x18\x02 \x01(\x02R\x05green\x12\x12\n" +
|
|
100
|
+
"\x04blue\x18\x03 \x01(\x02R\x04blue\x12\x14\n" +
|
|
101
|
+
"\x05alpha\x18\x04 \x01(\x02R\x05alphaB\x94\x01\n" +
|
|
102
|
+
"\rcom.common.v1B\n" +
|
|
103
|
+
"ColorProtoP\x01Z2github.com/cobotar/protocol/gen/common/v1;commonv1\xa2\x02\x03CXX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15Common\\V1\\GPBMetadata\xea\x02\n" +
|
|
104
|
+
"Common::V1b\x06proto3"
|
|
105
|
+
|
|
106
|
+
var (
|
|
107
|
+
file_common_v1_color_proto_rawDescOnce sync.Once
|
|
108
|
+
file_common_v1_color_proto_rawDescData []byte
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
func file_common_v1_color_proto_rawDescGZIP() []byte {
|
|
112
|
+
file_common_v1_color_proto_rawDescOnce.Do(func() {
|
|
113
|
+
file_common_v1_color_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_v1_color_proto_rawDesc), len(file_common_v1_color_proto_rawDesc)))
|
|
114
|
+
})
|
|
115
|
+
return file_common_v1_color_proto_rawDescData
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
var file_common_v1_color_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
119
|
+
var file_common_v1_color_proto_goTypes = []any{
|
|
120
|
+
(*Color)(nil), // 0: common.v1.Color
|
|
121
|
+
}
|
|
122
|
+
var file_common_v1_color_proto_depIdxs = []int32{
|
|
123
|
+
0, // [0:0] is the sub-list for method output_type
|
|
124
|
+
0, // [0:0] is the sub-list for method input_type
|
|
125
|
+
0, // [0:0] is the sub-list for extension type_name
|
|
126
|
+
0, // [0:0] is the sub-list for extension extendee
|
|
127
|
+
0, // [0:0] is the sub-list for field type_name
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
func init() { file_common_v1_color_proto_init() }
|
|
131
|
+
func file_common_v1_color_proto_init() {
|
|
132
|
+
if File_common_v1_color_proto != nil {
|
|
133
|
+
return
|
|
134
|
+
}
|
|
135
|
+
type x struct{}
|
|
136
|
+
out := protoimpl.TypeBuilder{
|
|
137
|
+
File: protoimpl.DescBuilder{
|
|
138
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
139
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_v1_color_proto_rawDesc), len(file_common_v1_color_proto_rawDesc)),
|
|
140
|
+
NumEnums: 0,
|
|
141
|
+
NumMessages: 1,
|
|
142
|
+
NumExtensions: 0,
|
|
143
|
+
NumServices: 0,
|
|
144
|
+
},
|
|
145
|
+
GoTypes: file_common_v1_color_proto_goTypes,
|
|
146
|
+
DependencyIndexes: file_common_v1_color_proto_depIdxs,
|
|
147
|
+
MessageInfos: file_common_v1_color_proto_msgTypes,
|
|
148
|
+
}.Build()
|
|
149
|
+
File_common_v1_color_proto = out.File
|
|
150
|
+
file_common_v1_color_proto_goTypes = nil
|
|
151
|
+
file_common_v1_color_proto_depIdxs = nil
|
|
152
|
+
}
|