From 07b32e881ed5be8f01d1ba189d06c49152615de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=91=D0=BE=D1=80=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Wed, 7 Aug 2024 09:20:36 +0200 Subject: [PATCH] istore: updated --- .gitignore | 1 + Makefile.am | 92 ++- Makefile.in | 79 +- cmd/certmanagerctl/issuercli.go | 2 +- cmd/certmanagerctl/main.go | 2 +- cmd/certmanagerctl/servicecli.go | 2 +- configure | 6 +- configure.ac | 6 +- initrc/certmanagerd.in | 22 + internal/config/path.go | 9 +- internal/grpc/handler/certman.go | 22 +- internal/grpc/handler/handler.go | 6 +- internal/grpc/handler/status.go | 4 +- internal/logic/issuer.go | 2 +- internal/logic/service.go | 2 +- internal/logic/status.go | 6 +- internal/test/Makefile.in | 4 +- internal/test/logic_issuer_create_test.go | 2 +- internal/test/logic_issuer_import_test.go | 2 +- internal/wrpc/handler/status.go | 4 +- pkg/client/certman.go | 2 +- pkg/client/control.go | 2 +- .../cmctl/cmctl.pb.go | 777 +++++++++--------- .../cmctl/cmctl_grpc.pb.go | 6 +- .../{certmanagercontrol.proto => cmctl.proto} | 5 +- 25 files changed, 620 insertions(+), 447 deletions(-) create mode 100644 initrc/certmanagerd.in rename api/certmanagercontrol/certmanagercontrol.pb.go => pkg/cmctl/cmctl.pb.go (64%) rename api/certmanagercontrol/certmanagercontrol_grpc.pb.go => pkg/cmctl/cmctl_grpc.pb.go (99%) rename proto/{certmanagercontrol.proto => cmctl.proto} (98%) diff --git a/.gitignore b/.gitignore index c164c4a..c3d732d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ Makefile autom4te.cache/ *.service tmp.* +tmp/* *.tar.* cmd/certmanagerctl/certmanagerctl cmd/certmanagerd/certmanagerd diff --git a/Makefile.am b/Makefile.am index 7050152..4413678 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,25 +23,98 @@ certmanagerctl$(EXEEXT): $(certmanagerctl_SOURCES) $(EXTRA_certmanagerd_SOURCES) env CGO_ENABLED=1 $(GO) build $(GOFLAGS) -o certmanagerctl$(EXEEXT) $(certmanagerctl_SOURCES) -EXTRA_certmanagerd_SOURCES = - -EXTRA_DIST = $(EXTRA_certmanagerd_SOURCES) - -GENDIR=api/certmanagercontrol +EXTRA_certmanagerd_SOURCES = \ + internal/config/config.go \ + internal/database/database.go \ + internal/database/issuer.go \ + internal/database/service.go \ + internal/descriptor/descriptor.go \ + internal/grpc/handler/certman.go \ + internal/grpc/handler/handler.go \ + internal/grpc/handler/status.go \ + internal/grpc/service/service.go \ + internal/logic/auth.go \ + internal/logic/issuer.go \ + internal/logic/logic.go \ + internal/logic/service.go \ + internal/logic/status.go \ + internal/server/server.go \ + internal/wrpc/handler/basauth.go \ + internal/wrpc/handler/handler.go \ + internal/wrpc/handler/status.go \ + internal/wrpc/service/service.go \ + pkg/aux509/x509cert.go \ + pkg/auxgin/corsmw.go \ + pkg/auxgin/logmw.go \ + pkg/auxgin/reqlog.go \ + pkg/auxgin/reslog.go \ + pkg/auxgrpc/error.go \ + pkg/auxhttp/genres.go \ + pkg/auxhttp/getbearer.go \ + pkg/auxhttp/parseauth.go \ + pkg/auxid/genid.go \ + pkg/client/auth.go \ + pkg/client/certman.go \ + pkg/client/control.go \ + pkg/cm509/x509.go \ + pkg/common/common.go \ + pkg/logger/logger.go \ + pkg/cmctl/cmctl_grpc.pb.go \ + pkg/cmctl/cmctl.pb.go + + +EXTRA_DIST = $(EXTRA_certmanagerd_SOURCES) \ + internal/test/auxfunction_test.go \ + internal/test/database_test.go \ + internal/test/logic_issuer_create_test.go \ + internal/test/logic_issuer_import_test.go \ + pkg/aux509/x509cert_test.go \ + pkg/cm509/x509_test.go \ + internal/test/testchain_a00.crt \ + internal/test/testchain_a01.crt \ + internal/test/testchain_a02.crt \ + internal/test/testchain_a03.crt \ + pkg/cm509/testchain_a00.crt \ + pkg/cm509/testchain_a01.crt \ + pkg/cm509/testchain_a02.crt \ + pkg/cm509/testchain_a03.crt \ + internal/test/testchain_a00.key \ + etc/certmanager/certmanagerd.yaml \ + proto/cmctl.proto \ + go.mod \ + go.sum \ + README.md + + +GENDIR=pkg/cmctl grpc: mkdir -p $(GENDIR) - protoc --proto_path=proto --go_out=$(GENDIR) --go-grpc_out=$(GENDIR) proto/certmanagercontrol.proto + protoc --proto_path=proto --go_out=$(GENDIR) --go-grpc_out=$(GENDIR) proto/cmctl.proto SYSTEMD_LIBDIR = /lib/systemd/system +FREEBSD_LOCALBASE = /usr/local +FREEBSD_RCDIR = $(FREEBSD_LOCALBASE)/etc/rc.d +LINUX_SYSTEMDDIR = /lib/systemd/system + + install-data-local: test -z $(DESTDIR)$(SRV_CONFDIR) || $(MKDIR_P) $(DESTDIR)$(SRV_CONFDIR) test -z $(DESTDIR)$(SRV_LOGDIR) || $(MKDIR_P) $(DESTDIR)$(SRV_LOGDIR) test -z $(DESTDIR)$(SRV_RUNDIR) || $(MKDIR_P) $(DESTDIR)$(SRV_RUNDIR) test -z $(DESTDIR)$(SRV_DATADIR) || $(MKDIR_P) $(DESTDIR)$(SRV_DATADIR) test -z $(DESTDIR)$(SYSTEMD_LIBDIR) || $(MKDIR_P) $(DESTDIR)$(SYSTEMD_LIBDIR) - $(INSTALL_DATA) initrc/certmanagerd.service $(DESTDIR)$(SYSTEMD_LIBDIR) - +if FREEBSD_OS + test -z $(DESTDIR)$(FREEBSD_RCDIR) || $(MKDIR_P) $(DESTDIR)$(FREEBSD_RCDIR) + $(INSTALL_DATA) initrc/certmanagerd $(DESTDIR)$(FREEBSD_RCDIR) + chmod a+x $(DESTDIR)$(FREEBSD_RCDIR)/certmanagerd +endif +if LINUX_OS +if SYSTEMD + test -z $(DESTDIR)$(LINUX_SYSTEMDDIR) || $(MKDIR_P) $(DESTDIR)$(LINUX_SYSTEMDDIR) + $(INSTALL_DATA) initrc/certmanagerd.service $(DESTDIR)$(LINUX_SYSTEMDDIR) +endif +endif goformat: gformat gformat: @@ -62,5 +135,6 @@ clean-local: rm -rf autom4te.cache rm -f cmd/certmanagerd/certmanagerd rm -f cmd/certmanagerctl/certmanagerctl - rm -rf tmp.*/ + rm -rf tmp/ + rm -rf autom4te.cache/ diff --git a/Makefile.in b/Makefile.in index 07b4f32..b645931 100644 --- a/Makefile.in +++ b/Makefile.in @@ -301,10 +301,72 @@ certmanagerctl_SOURCES = cmd/certmanagerctl/main.go \ cmd/certmanagerctl/servicecli.go \ cmd/certmanagerctl/issuercli.go -EXTRA_certmanagerd_SOURCES = -EXTRA_DIST = $(EXTRA_certmanagerd_SOURCES) -GENDIR = api/certmanagercontrol +EXTRA_certmanagerd_SOURCES = \ + internal/config/config.go \ + internal/database/database.go \ + internal/database/issuer.go \ + internal/database/service.go \ + internal/descriptor/descriptor.go \ + internal/grpc/handler/certman.go \ + internal/grpc/handler/handler.go \ + internal/grpc/handler/status.go \ + internal/grpc/service/service.go \ + internal/logic/auth.go \ + internal/logic/issuer.go \ + internal/logic/logic.go \ + internal/logic/service.go \ + internal/logic/status.go \ + internal/server/server.go \ + internal/wrpc/handler/basauth.go \ + internal/wrpc/handler/handler.go \ + internal/wrpc/handler/status.go \ + internal/wrpc/service/service.go \ + pkg/aux509/x509cert.go \ + pkg/auxgin/corsmw.go \ + pkg/auxgin/logmw.go \ + pkg/auxgin/reqlog.go \ + pkg/auxgin/reslog.go \ + pkg/auxgrpc/error.go \ + pkg/auxhttp/genres.go \ + pkg/auxhttp/getbearer.go \ + pkg/auxhttp/parseauth.go \ + pkg/auxid/genid.go \ + pkg/client/auth.go \ + pkg/client/certman.go \ + pkg/client/control.go \ + pkg/cm509/x509.go \ + pkg/common/common.go \ + pkg/logger/logger.go \ + pkg/cmctl/cmctl_grpc.pb.go \ + pkg/cmctl/cmctl.pb.go + +EXTRA_DIST = $(EXTRA_certmanagerd_SOURCES) \ + internal/test/auxfunction_test.go \ + internal/test/database_test.go \ + internal/test/logic_issuer_create_test.go \ + internal/test/logic_issuer_import_test.go \ + pkg/aux509/x509cert_test.go \ + pkg/cm509/x509_test.go \ + internal/test/testchain_a00.crt \ + internal/test/testchain_a01.crt \ + internal/test/testchain_a02.crt \ + internal/test/testchain_a03.crt \ + pkg/cm509/testchain_a00.crt \ + pkg/cm509/testchain_a01.crt \ + pkg/cm509/testchain_a02.crt \ + pkg/cm509/testchain_a03.crt \ + internal/test/testchain_a00.key \ + etc/certmanager/certmanagerd.yaml \ + proto/cmctl.proto \ + go.mod \ + go.sum \ + README.md + +GENDIR = pkg/cmctl SYSTEMD_LIBDIR = /lib/systemd/system +FREEBSD_LOCALBASE = /usr/local +FREEBSD_RCDIR = $(FREEBSD_LOCALBASE)/etc/rc.d +LINUX_SYSTEMDDIR = /lib/systemd/system all: all-am .SUFFIXES: @@ -804,7 +866,7 @@ certmanagerctl$(EXEEXT): $(certmanagerctl_SOURCES) $(EXTRA_certmanagerd_SOURCES) env CGO_ENABLED=1 $(GO) build $(GOFLAGS) -o certmanagerctl$(EXEEXT) $(certmanagerctl_SOURCES) grpc: mkdir -p $(GENDIR) - protoc --proto_path=proto --go_out=$(GENDIR) --go-grpc_out=$(GENDIR) proto/certmanagercontrol.proto + protoc --proto_path=proto --go_out=$(GENDIR) --go-grpc_out=$(GENDIR) proto/cmctl.proto install-data-local: test -z $(DESTDIR)$(SRV_CONFDIR) || $(MKDIR_P) $(DESTDIR)$(SRV_CONFDIR) @@ -812,7 +874,11 @@ install-data-local: test -z $(DESTDIR)$(SRV_RUNDIR) || $(MKDIR_P) $(DESTDIR)$(SRV_RUNDIR) test -z $(DESTDIR)$(SRV_DATADIR) || $(MKDIR_P) $(DESTDIR)$(SRV_DATADIR) test -z $(DESTDIR)$(SYSTEMD_LIBDIR) || $(MKDIR_P) $(DESTDIR)$(SYSTEMD_LIBDIR) - $(INSTALL_DATA) initrc/certmanagerd.service $(DESTDIR)$(SYSTEMD_LIBDIR) +@FREEBSD_OS_TRUE@ test -z $(DESTDIR)$(FREEBSD_RCDIR) || $(MKDIR_P) $(DESTDIR)$(FREEBSD_RCDIR) +@FREEBSD_OS_TRUE@ $(INSTALL_DATA) initrc/certmanagerd $(DESTDIR)$(FREEBSD_RCDIR) +@FREEBSD_OS_TRUE@ chmod a+x $(DESTDIR)$(FREEBSD_RCDIR)/certmanagerd +@LINUX_OS_TRUE@@SYSTEMD_TRUE@ test -z $(DESTDIR)$(LINUX_SYSTEMDDIR) || $(MKDIR_P) $(DESTDIR)$(LINUX_SYSTEMDDIR) +@LINUX_OS_TRUE@@SYSTEMD_TRUE@ $(INSTALL_DATA) initrc/certmanagerd.service $(DESTDIR)$(LINUX_SYSTEMDDIR) goformat: gformat gformat: @@ -833,7 +899,8 @@ clean-local: rm -rf autom4te.cache rm -f cmd/certmanagerd/certmanagerd rm -f cmd/certmanagerctl/certmanagerctl - rm -rf tmp.*/ + rm -rf tmp/ + rm -rf autom4te.cache/ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/cmd/certmanagerctl/issuercli.go b/cmd/certmanagerctl/issuercli.go index f87a9cb..f5f770f 100644 --- a/cmd/certmanagerctl/issuercli.go +++ b/cmd/certmanagerctl/issuercli.go @@ -5,7 +5,7 @@ import ( "encoding/base64" "os" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/pkg/client" ) diff --git a/cmd/certmanagerctl/main.go b/cmd/certmanagerctl/main.go index d4b8268..d9de473 100644 --- a/cmd/certmanagerctl/main.go +++ b/cmd/certmanagerctl/main.go @@ -14,7 +14,7 @@ import ( "path/filepath" "time" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/pkg/client" "sigs.k8s.io/yaml" diff --git a/cmd/certmanagerctl/servicecli.go b/cmd/certmanagerctl/servicecli.go index 35e65e6..9a0e236 100644 --- a/cmd/certmanagerctl/servicecli.go +++ b/cmd/certmanagerctl/servicecli.go @@ -5,7 +5,7 @@ import ( "encoding/base64" "strings" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/pkg/client" ) diff --git a/configure b/configure index a4d97f6..3e6ba7c 100755 --- a/configure +++ b/configure @@ -3075,7 +3075,7 @@ fi if test "x$enable_devel_mode" = "xyes" then : - SRV_LOGDIR="${SRCDIR}/tmp.log" + SRV_LOGDIR="${SRCDIR}/tmp/log" fi @@ -3113,7 +3113,7 @@ fi if test "x$enable_devel_mode" = "xyes" then : - SRV_RUNDIR="${SRCDIR}/tmp.run" + SRV_RUNDIR="${SRCDIR}/tmp/run" fi @@ -3152,7 +3152,7 @@ fi if test "x$enable_devel_mode" = "xyes" then : - SRV_DATADIR="${SRCDIR}/tmp.data" + SRV_DATADIR="${SRCDIR}/tmp/data" fi diff --git a/configure.ac b/configure.ac index 5801f79..9a5931a 100644 --- a/configure.ac +++ b/configure.ac @@ -117,7 +117,7 @@ AC_ARG_WITH(logdir, fi ]) AS_IF([test "x$enable_devel_mode" = "xyes"], [ - SRV_LOGDIR="${SRCDIR}/tmp.log" + SRV_LOGDIR="${SRCDIR}/tmp/log" ]) @@ -144,7 +144,7 @@ AC_ARG_WITH(rundir, fi ]) AS_IF([test "x$enable_devel_mode" = "xyes"], [ - SRV_RUNDIR="${SRCDIR}/tmp.run" + SRV_RUNDIR="${SRCDIR}/tmp/run" ]) AC_DEFINE_UNQUOTED(SRV_RUNDIR, "$SRV_RUNDIR", [location of rundir]) @@ -172,7 +172,7 @@ AC_ARG_WITH(datadir, AS_IF([test "x$enable_devel_mode" = "xyes"], [ - SRV_DATADIR="${SRCDIR}/tmp.data" + SRV_DATADIR="${SRCDIR}/tmp/data" ]) AC_DEFINE_UNQUOTED(SRV_DATADIR, "$SRV_DATADIR", [location of datadir]) diff --git a/initrc/certmanagerd.in b/initrc/certmanagerd.in new file mode 100644 index 0000000..b68f67b --- /dev/null +++ b/initrc/certmanagerd.in @@ -0,0 +1,22 @@ +#!/bin/sh +# +# PROVIDE: certmanagerd +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="certmanagerd" +rcvar="certmanagerd_enable" + +pidfile="@srv_rundir@"/certmanagerd.pid +command="@prefix@/sbin/${name}" +command_args="-daemon" +procname="@prefix@/sbin/${name}" + +load_rc_config ${name} + +: ${certmanagerd_enable:="NO"} + +run_rc_command "$1" +#EOF + diff --git a/internal/config/path.go b/internal/config/path.go index f75c664..d80b682 100644 --- a/internal/config/path.go +++ b/internal/config/path.go @@ -1,8 +1,9 @@ package config const ( - confdirPath = "/home/ziggi/projects/certman/etc/certmanager" - rundirPath = "/home/ziggi/projects/certman/tmp.run" - logdirPath = "/home/ziggi/projects/certman/tmp.log" - datadirPath = "/home/ziggi/projects/certman/tmp.data" + confdirPath = "/home/ziggi/Projects/certman/etc/certmanager" + rundirPath = "/home/ziggi/Projects/certman/tmp/run" + logdirPath = "/home/ziggi/Projects/certman/tmp/log" + datadirPath = "/home/ziggi/Projects/certman/tmp/data" ) + diff --git a/internal/grpc/handler/certman.go b/internal/grpc/handler/certman.go index 0fbd7a9..02e5e52 100644 --- a/internal/grpc/handler/certman.go +++ b/internal/grpc/handler/certman.go @@ -3,73 +3,73 @@ package handler import ( "context" - "certmanager/api/certmanagercontrol" + "certmanager/pkg/cmctl" ) -func (hand *Handler) CreateIssuerPair(ctx context.Context, req *certmanagercontrol.CreateIssuerPairParams) (*certmanagercontrol.CreateIssuerPairResult, error) { +func (hand *Handler) CreateIssuerPair(ctx context.Context, req *cmctl.CreateIssuerPairParams) (*cmctl.CreateIssuerPairResult, error) { var err error hand.log.Debugf("Handle CreateIssuerPair request") res, err := hand.lg.CreateIssuerPair(ctx, req) return res, err } -func (hand *Handler) ImportIssuerPair(ctx context.Context, req *certmanagercontrol.ImportIssuerPairParams) (*certmanagercontrol.ImportIssuerPairResult, error) { +func (hand *Handler) ImportIssuerPair(ctx context.Context, req *cmctl.ImportIssuerPairParams) (*cmctl.ImportIssuerPairResult, error) { var err error hand.log.Debugf("Handle ImportIssuerPair request") res, err := hand.lg.ImportIssuerPair(ctx, req) return res, err } -func (hand *Handler) RevokeIssuerPair(ctx context.Context, req *certmanagercontrol.RevokeIssuerPairParams) (*certmanagercontrol.RevokeIssuerPairResult, error) { +func (hand *Handler) RevokeIssuerPair(ctx context.Context, req *cmctl.RevokeIssuerPairParams) (*cmctl.RevokeIssuerPairResult, error) { var err error hand.log.Debugf("Handle RevokeIssuerPair request") res, err := hand.lg.RevokeIssuerPair(ctx, req) return res, err } -func (hand *Handler) UnrevokeIssuerPair(ctx context.Context, req *certmanagercontrol.UnrevokeIssuerPairParams) (*certmanagercontrol.UnrevokeIssuerPairResult, error) { +func (hand *Handler) UnrevokeIssuerPair(ctx context.Context, req *cmctl.UnrevokeIssuerPairParams) (*cmctl.UnrevokeIssuerPairResult, error) { var err error hand.log.Debugf("Handle UnrevokeIssuerPair request") res, err := hand.lg.UnrevokeIssuerPair(ctx, req) return res, err } -func (hand *Handler) ListIssuerPairs(ctx context.Context, req *certmanagercontrol.ListIssuerPairsParams) (*certmanagercontrol.ListIssuerPairsResult, error) { +func (hand *Handler) ListIssuerPairs(ctx context.Context, req *cmctl.ListIssuerPairsParams) (*cmctl.ListIssuerPairsResult, error) { var err error hand.log.Debugf("Handle ListIssuerPairs request") res, err := hand.lg.ListIssuerPairs(ctx, req) return res, err } -func (hand *Handler) GetIssuerCertificate(ctx context.Context, req *certmanagercontrol.GetIssuerCertificateParams) (*certmanagercontrol.GetIssuerCertificateResult, error) { +func (hand *Handler) GetIssuerCertificate(ctx context.Context, req *cmctl.GetIssuerCertificateParams) (*cmctl.GetIssuerCertificateResult, error) { var err error hand.log.Debugf("Handle GetIssuerCertificate request") res, err := hand.lg.GetIssuerCertificate(ctx, req) return res, err } -func (hand *Handler) CreateServicePair(ctx context.Context, req *certmanagercontrol.CreateServicePairParams) (*certmanagercontrol.CreateServicePairResult, error) { +func (hand *Handler) CreateServicePair(ctx context.Context, req *cmctl.CreateServicePairParams) (*cmctl.CreateServicePairResult, error) { var err error hand.log.Debugf("Handle CreateServicePair request") res, err := hand.lg.CreateServicePair(ctx, req) return res, err } -func (hand *Handler) RevokeServicePair(ctx context.Context, req *certmanagercontrol.RevokeServicePairParams) (*certmanagercontrol.RevokeServicePairResult, error) { +func (hand *Handler) RevokeServicePair(ctx context.Context, req *cmctl.RevokeServicePairParams) (*cmctl.RevokeServicePairResult, error) { var err error hand.log.Debugf("Handle RevokeServicePair request") res, err := hand.lg.RevokeServicePair(ctx, req) return res, err } -func (hand *Handler) ListServicePairs(ctx context.Context, req *certmanagercontrol.ListServicePairsParams) (*certmanagercontrol.ListServicePairsResult, error) { +func (hand *Handler) ListServicePairs(ctx context.Context, req *cmctl.ListServicePairsParams) (*cmctl.ListServicePairsResult, error) { var err error hand.log.Debugf("Handle ListServicePairs request") res, err := hand.lg.ListServicePairs(ctx, req) return res, err } -func (hand *Handler) GetServicePair(ctx context.Context, req *certmanagercontrol.GetServicePairParams) (*certmanagercontrol.GetServicePairResult, error) { +func (hand *Handler) GetServicePair(ctx context.Context, req *cmctl.GetServicePairParams) (*cmctl.GetServicePairResult, error) { var err error hand.log.Debugf("Handle GetServicePair request") res, err := hand.lg.GetServicePair(ctx, req) diff --git a/internal/grpc/handler/handler.go b/internal/grpc/handler/handler.go index 40d71fd..fd5ca70 100644 --- a/internal/grpc/handler/handler.go +++ b/internal/grpc/handler/handler.go @@ -1,7 +1,7 @@ package handler import ( - "certmanager/api/certmanagercontrol" + "certmanager/pkg/cmctl" "certmanager/internal/logic" "certmanager/pkg/logger" @@ -13,7 +13,7 @@ type HandlerConfig struct { } type Handler struct { - certmanagercontrol.UnimplementedControlServer + cmctl.UnimplementedControlServer lg *logic.Logic log *logger.Logger } @@ -27,5 +27,5 @@ func NewHandler(conf *HandlerConfig) *Handler { } func (hand *Handler) Register(gsrv *grpc.Server) { - certmanagercontrol.RegisterControlServer(gsrv, hand) + cmctl.RegisterControlServer(gsrv, hand) } diff --git a/internal/grpc/handler/status.go b/internal/grpc/handler/status.go index d543c8b..dd18fd6 100644 --- a/internal/grpc/handler/status.go +++ b/internal/grpc/handler/status.go @@ -3,10 +3,10 @@ package handler import ( "context" - "certmanager/api/certmanagercontrol" + "certmanager/pkg/cmctl" ) -func (hand *Handler) GetStatus(ctx context.Context, req *certmanagercontrol.GetStatusParams) (*certmanagercontrol.GetStatusResult, error) { +func (hand *Handler) GetStatus(ctx context.Context, req *cmctl.GetStatusParams) (*cmctl.GetStatusResult, error) { var err error hand.log.Debugf("Handle getStatus request") res, err := hand.lg.GetStatus(ctx, req) diff --git a/internal/logic/issuer.go b/internal/logic/issuer.go index b43879d..b4c4b49 100644 --- a/internal/logic/issuer.go +++ b/internal/logic/issuer.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/internal/descriptor" "certmanager/pkg/cm509" ) diff --git a/internal/logic/service.go b/internal/logic/service.go index ceaccb2..31d3b35 100644 --- a/internal/logic/service.go +++ b/internal/logic/service.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/internal/descriptor" "certmanager/pkg/cm509" ) diff --git a/internal/logic/status.go b/internal/logic/status.go index 5e576fd..ea1d745 100644 --- a/internal/logic/status.go +++ b/internal/logic/status.go @@ -3,12 +3,12 @@ package logic import ( "context" - "certmanager/api/certmanagercontrol" + "certmanager/pkg/cmctl" ) -func (lg *Logic) GetStatus(ctx context.Context, params *certmanagercontrol.GetStatusParams) (*certmanagercontrol.GetStatusResult, error) { +func (lg *Logic) GetStatus(ctx context.Context, params *cmctl.GetStatusParams) (*cmctl.GetStatusResult, error) { var err error - res := &certmanagercontrol.GetStatusResult{ + res := &cmctl.GetStatusResult{ Message: "Hello", } return res, err diff --git a/internal/test/Makefile.in b/internal/test/Makefile.in index 5d194e1..7364090 100644 --- a/internal/test/Makefile.in +++ b/internal/test/Makefile.in @@ -233,9 +233,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu internal/test/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign internal/test/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu internal/test/Makefile + $(AUTOMAKE) --foreign internal/test/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ diff --git a/internal/test/logic_issuer_create_test.go b/internal/test/logic_issuer_create_test.go index 429139d..c8f5166 100644 --- a/internal/test/logic_issuer_create_test.go +++ b/internal/test/logic_issuer_create_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/internal/config" "certmanager/internal/database" "certmanager/internal/logic" diff --git a/internal/test/logic_issuer_import_test.go b/internal/test/logic_issuer_import_test.go index 8ec597d..c9557c2 100644 --- a/internal/test/logic_issuer_import_test.go +++ b/internal/test/logic_issuer_import_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/internal/config" "certmanager/internal/database" "certmanager/internal/logic" diff --git a/internal/wrpc/handler/status.go b/internal/wrpc/handler/status.go index 9e7f9d4..22e9707 100644 --- a/internal/wrpc/handler/status.go +++ b/internal/wrpc/handler/status.go @@ -1,7 +1,7 @@ package handler import ( - "certmanager/api/certmanagercontrol" + "certmanager/pkg/cmctl" "certmanager/pkg/auxhttp" "github.com/gin-gonic/gin" @@ -9,7 +9,7 @@ import ( func (hand *Handler) GetStatus(gctx *gin.Context) { var err error - nReq := &certmanagercontrol.GetStatusParams{} + nReq := &cmctl.GetStatusParams{} // Bind request err = gctx.ShouldBind(nReq) if err != nil { diff --git a/pkg/client/certman.go b/pkg/client/certman.go index d448557..21c5c19 100644 --- a/pkg/client/certman.go +++ b/pkg/client/certman.go @@ -4,7 +4,7 @@ import ( "context" "time" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "certmanager/pkg/auxgrpc" ) diff --git a/pkg/client/control.go b/pkg/client/control.go index 160166f..5842c7f 100644 --- a/pkg/client/control.go +++ b/pkg/client/control.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - cmapi "certmanager/api/certmanagercontrol" + cmapi "certmanager/pkg/cmctl" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/api/certmanagercontrol/certmanagercontrol.pb.go b/pkg/cmctl/cmctl.pb.go similarity index 64% rename from api/certmanagercontrol/certmanagercontrol.pb.go rename to pkg/cmctl/cmctl.pb.go index c82e05a..2470559 100644 --- a/api/certmanagercontrol/certmanagercontrol.pb.go +++ b/pkg/cmctl/cmctl.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.32.0 // protoc v3.21.12 -// source: certmanagercontrol.proto +// source: cmctl.proto -package certmanagercontrol +package cmctl import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -29,7 +29,7 @@ type GetStatusParams struct { func (x *GetStatusParams) Reset() { *x = GetStatusParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[0] + mi := &file_cmctl_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -42,7 +42,7 @@ func (x *GetStatusParams) String() string { func (*GetStatusParams) ProtoMessage() {} func (x *GetStatusParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[0] + mi := &file_cmctl_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -55,7 +55,7 @@ func (x *GetStatusParams) ProtoReflect() protoreflect.Message { // Deprecated: Use GetStatusParams.ProtoReflect.Descriptor instead. func (*GetStatusParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{0} + return file_cmctl_proto_rawDescGZIP(), []int{0} } type GetStatusResult struct { @@ -69,7 +69,7 @@ type GetStatusResult struct { func (x *GetStatusResult) Reset() { *x = GetStatusResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[1] + mi := &file_cmctl_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -82,7 +82,7 @@ func (x *GetStatusResult) String() string { func (*GetStatusResult) ProtoMessage() {} func (x *GetStatusResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[1] + mi := &file_cmctl_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -95,7 +95,7 @@ func (x *GetStatusResult) ProtoReflect() protoreflect.Message { // Deprecated: Use GetStatusResult.ProtoReflect.Descriptor instead. func (*GetStatusResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{1} + return file_cmctl_proto_rawDescGZIP(), []int{1} } func (x *GetStatusResult) GetMessage() string { @@ -121,7 +121,7 @@ type CreateIssuerPairParams struct { func (x *CreateIssuerPairParams) Reset() { *x = CreateIssuerPairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[2] + mi := &file_cmctl_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -134,7 +134,7 @@ func (x *CreateIssuerPairParams) String() string { func (*CreateIssuerPairParams) ProtoMessage() {} func (x *CreateIssuerPairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[2] + mi := &file_cmctl_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -147,7 +147,7 @@ func (x *CreateIssuerPairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateIssuerPairParams.ProtoReflect.Descriptor instead. func (*CreateIssuerPairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{2} + return file_cmctl_proto_rawDescGZIP(), []int{2} } func (x *CreateIssuerPairParams) GetIssuerCommonName() string { @@ -205,7 +205,7 @@ type CreateIssuerPairResult struct { func (x *CreateIssuerPairResult) Reset() { *x = CreateIssuerPairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[3] + mi := &file_cmctl_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -218,7 +218,7 @@ func (x *CreateIssuerPairResult) String() string { func (*CreateIssuerPairResult) ProtoMessage() {} func (x *CreateIssuerPairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[3] + mi := &file_cmctl_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -231,7 +231,7 @@ func (x *CreateIssuerPairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateIssuerPairResult.ProtoReflect.Descriptor instead. func (*CreateIssuerPairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{3} + return file_cmctl_proto_rawDescGZIP(), []int{3} } func (x *CreateIssuerPairResult) GetIssuerID() int64 { @@ -267,7 +267,7 @@ type GetIssuerCertificateParams struct { func (x *GetIssuerCertificateParams) Reset() { *x = GetIssuerCertificateParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[4] + mi := &file_cmctl_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -280,7 +280,7 @@ func (x *GetIssuerCertificateParams) String() string { func (*GetIssuerCertificateParams) ProtoMessage() {} func (x *GetIssuerCertificateParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[4] + mi := &file_cmctl_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -293,7 +293,7 @@ func (x *GetIssuerCertificateParams) ProtoReflect() protoreflect.Message { // Deprecated: Use GetIssuerCertificateParams.ProtoReflect.Descriptor instead. func (*GetIssuerCertificateParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{4} + return file_cmctl_proto_rawDescGZIP(), []int{4} } func (x *GetIssuerCertificateParams) GetIssuerID() int64 { @@ -324,7 +324,7 @@ type GetIssuerCertificateResult struct { func (x *GetIssuerCertificateResult) Reset() { *x = GetIssuerCertificateResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[5] + mi := &file_cmctl_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -337,7 +337,7 @@ func (x *GetIssuerCertificateResult) String() string { func (*GetIssuerCertificateResult) ProtoMessage() {} func (x *GetIssuerCertificateResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[5] + mi := &file_cmctl_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -350,7 +350,7 @@ func (x *GetIssuerCertificateResult) ProtoReflect() protoreflect.Message { // Deprecated: Use GetIssuerCertificateResult.ProtoReflect.Descriptor instead. func (*GetIssuerCertificateResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{5} + return file_cmctl_proto_rawDescGZIP(), []int{5} } func (x *GetIssuerCertificateResult) GetName() string { @@ -394,7 +394,7 @@ type ImportIssuerPairParams struct { func (x *ImportIssuerPairParams) Reset() { *x = ImportIssuerPairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[6] + mi := &file_cmctl_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -407,7 +407,7 @@ func (x *ImportIssuerPairParams) String() string { func (*ImportIssuerPairParams) ProtoMessage() {} func (x *ImportIssuerPairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[6] + mi := &file_cmctl_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -420,7 +420,7 @@ func (x *ImportIssuerPairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use ImportIssuerPairParams.ProtoReflect.Descriptor instead. func (*ImportIssuerPairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{6} + return file_cmctl_proto_rawDescGZIP(), []int{6} } func (x *ImportIssuerPairParams) GetCertificate() string { @@ -456,7 +456,7 @@ type ImportIssuerPairResult struct { func (x *ImportIssuerPairResult) Reset() { *x = ImportIssuerPairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[7] + mi := &file_cmctl_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -469,7 +469,7 @@ func (x *ImportIssuerPairResult) String() string { func (*ImportIssuerPairResult) ProtoMessage() {} func (x *ImportIssuerPairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[7] + mi := &file_cmctl_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -482,7 +482,7 @@ func (x *ImportIssuerPairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use ImportIssuerPairResult.ProtoReflect.Descriptor instead. func (*ImportIssuerPairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{7} + return file_cmctl_proto_rawDescGZIP(), []int{7} } func (x *ImportIssuerPairResult) GetIssuerID() int64 { @@ -511,7 +511,7 @@ type RevokeIssuerPairParams struct { func (x *RevokeIssuerPairParams) Reset() { *x = RevokeIssuerPairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[8] + mi := &file_cmctl_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -524,7 +524,7 @@ func (x *RevokeIssuerPairParams) String() string { func (*RevokeIssuerPairParams) ProtoMessage() {} func (x *RevokeIssuerPairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[8] + mi := &file_cmctl_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -537,7 +537,7 @@ func (x *RevokeIssuerPairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeIssuerPairParams.ProtoReflect.Descriptor instead. func (*RevokeIssuerPairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{8} + return file_cmctl_proto_rawDescGZIP(), []int{8} } func (x *RevokeIssuerPairParams) GetIssuerID() int64 { @@ -563,7 +563,7 @@ type RevokeIssuerPairResult struct { func (x *RevokeIssuerPairResult) Reset() { *x = RevokeIssuerPairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[9] + mi := &file_cmctl_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -576,7 +576,7 @@ func (x *RevokeIssuerPairResult) String() string { func (*RevokeIssuerPairResult) ProtoMessage() {} func (x *RevokeIssuerPairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[9] + mi := &file_cmctl_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -589,7 +589,7 @@ func (x *RevokeIssuerPairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeIssuerPairResult.ProtoReflect.Descriptor instead. func (*RevokeIssuerPairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{9} + return file_cmctl_proto_rawDescGZIP(), []int{9} } type UnrevokeIssuerPairParams struct { @@ -604,7 +604,7 @@ type UnrevokeIssuerPairParams struct { func (x *UnrevokeIssuerPairParams) Reset() { *x = UnrevokeIssuerPairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[10] + mi := &file_cmctl_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -617,7 +617,7 @@ func (x *UnrevokeIssuerPairParams) String() string { func (*UnrevokeIssuerPairParams) ProtoMessage() {} func (x *UnrevokeIssuerPairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[10] + mi := &file_cmctl_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -630,7 +630,7 @@ func (x *UnrevokeIssuerPairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use UnrevokeIssuerPairParams.ProtoReflect.Descriptor instead. func (*UnrevokeIssuerPairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{10} + return file_cmctl_proto_rawDescGZIP(), []int{10} } func (x *UnrevokeIssuerPairParams) GetIssuerID() int64 { @@ -656,7 +656,7 @@ type UnrevokeIssuerPairResult struct { func (x *UnrevokeIssuerPairResult) Reset() { *x = UnrevokeIssuerPairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[11] + mi := &file_cmctl_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -669,7 +669,7 @@ func (x *UnrevokeIssuerPairResult) String() string { func (*UnrevokeIssuerPairResult) ProtoMessage() {} func (x *UnrevokeIssuerPairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[11] + mi := &file_cmctl_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -682,7 +682,7 @@ func (x *UnrevokeIssuerPairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use UnrevokeIssuerPairResult.ProtoReflect.Descriptor instead. func (*UnrevokeIssuerPairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{11} + return file_cmctl_proto_rawDescGZIP(), []int{11} } type ListIssuerPairsParams struct { @@ -694,7 +694,7 @@ type ListIssuerPairsParams struct { func (x *ListIssuerPairsParams) Reset() { *x = ListIssuerPairsParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[12] + mi := &file_cmctl_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -707,7 +707,7 @@ func (x *ListIssuerPairsParams) String() string { func (*ListIssuerPairsParams) ProtoMessage() {} func (x *ListIssuerPairsParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[12] + mi := &file_cmctl_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -720,7 +720,7 @@ func (x *ListIssuerPairsParams) ProtoReflect() protoreflect.Message { // Deprecated: Use ListIssuerPairsParams.ProtoReflect.Descriptor instead. func (*ListIssuerPairsParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{12} + return file_cmctl_proto_rawDescGZIP(), []int{12} } type ListIssuerPairsResult struct { @@ -734,7 +734,7 @@ type ListIssuerPairsResult struct { func (x *ListIssuerPairsResult) Reset() { *x = ListIssuerPairsResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[13] + mi := &file_cmctl_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -747,7 +747,7 @@ func (x *ListIssuerPairsResult) String() string { func (*ListIssuerPairsResult) ProtoMessage() {} func (x *ListIssuerPairsResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[13] + mi := &file_cmctl_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -760,7 +760,7 @@ func (x *ListIssuerPairsResult) ProtoReflect() protoreflect.Message { // Deprecated: Use ListIssuerPairsResult.ProtoReflect.Descriptor instead. func (*ListIssuerPairsResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{13} + return file_cmctl_proto_rawDescGZIP(), []int{13} } func (x *ListIssuerPairsResult) GetIssuers() []*IssierShortDescriptor { @@ -783,7 +783,7 @@ type IssierShortDescriptor struct { func (x *IssierShortDescriptor) Reset() { *x = IssierShortDescriptor{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[14] + mi := &file_cmctl_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -796,7 +796,7 @@ func (x *IssierShortDescriptor) String() string { func (*IssierShortDescriptor) ProtoMessage() {} func (x *IssierShortDescriptor) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[14] + mi := &file_cmctl_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -809,7 +809,7 @@ func (x *IssierShortDescriptor) ProtoReflect() protoreflect.Message { // Deprecated: Use IssierShortDescriptor.ProtoReflect.Descriptor instead. func (*IssierShortDescriptor) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{14} + return file_cmctl_proto_rawDescGZIP(), []int{14} } func (x *IssierShortDescriptor) GetIssuerID() int64 { @@ -848,7 +848,7 @@ type CreateServicePairParams struct { func (x *CreateServicePairParams) Reset() { *x = CreateServicePairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[15] + mi := &file_cmctl_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -861,7 +861,7 @@ func (x *CreateServicePairParams) String() string { func (*CreateServicePairParams) ProtoMessage() {} func (x *CreateServicePairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[15] + mi := &file_cmctl_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -874,7 +874,7 @@ func (x *CreateServicePairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateServicePairParams.ProtoReflect.Descriptor instead. func (*CreateServicePairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{15} + return file_cmctl_proto_rawDescGZIP(), []int{15} } func (x *CreateServicePairParams) GetIssuerName() string { @@ -929,7 +929,7 @@ type CreateServicePairResult struct { func (x *CreateServicePairResult) Reset() { *x = CreateServicePairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[16] + mi := &file_cmctl_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -942,7 +942,7 @@ func (x *CreateServicePairResult) String() string { func (*CreateServicePairResult) ProtoMessage() {} func (x *CreateServicePairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[16] + mi := &file_cmctl_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -955,7 +955,7 @@ func (x *CreateServicePairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateServicePairResult.ProtoReflect.Descriptor instead. func (*CreateServicePairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{16} + return file_cmctl_proto_rawDescGZIP(), []int{16} } func (x *CreateServicePairResult) GetServiceID() int64 { @@ -1021,7 +1021,7 @@ type RevokeServicePairParams struct { func (x *RevokeServicePairParams) Reset() { *x = RevokeServicePairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[17] + mi := &file_cmctl_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1034,7 +1034,7 @@ func (x *RevokeServicePairParams) String() string { func (*RevokeServicePairParams) ProtoMessage() {} func (x *RevokeServicePairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[17] + mi := &file_cmctl_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1047,7 +1047,7 @@ func (x *RevokeServicePairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeServicePairParams.ProtoReflect.Descriptor instead. func (*RevokeServicePairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{17} + return file_cmctl_proto_rawDescGZIP(), []int{17} } func (x *RevokeServicePairParams) GetServiceID() int64 { @@ -1087,7 +1087,7 @@ type RevokeServicePairResult struct { func (x *RevokeServicePairResult) Reset() { *x = RevokeServicePairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[18] + mi := &file_cmctl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1100,7 +1100,7 @@ func (x *RevokeServicePairResult) String() string { func (*RevokeServicePairResult) ProtoMessage() {} func (x *RevokeServicePairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[18] + mi := &file_cmctl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1113,7 +1113,7 @@ func (x *RevokeServicePairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeServicePairResult.ProtoReflect.Descriptor instead. func (*RevokeServicePairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{18} + return file_cmctl_proto_rawDescGZIP(), []int{18} } type UnrevokeServicePairParams struct { @@ -1130,7 +1130,7 @@ type UnrevokeServicePairParams struct { func (x *UnrevokeServicePairParams) Reset() { *x = UnrevokeServicePairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[19] + mi := &file_cmctl_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1143,7 +1143,7 @@ func (x *UnrevokeServicePairParams) String() string { func (*UnrevokeServicePairParams) ProtoMessage() {} func (x *UnrevokeServicePairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[19] + mi := &file_cmctl_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1156,7 +1156,7 @@ func (x *UnrevokeServicePairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use UnrevokeServicePairParams.ProtoReflect.Descriptor instead. func (*UnrevokeServicePairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{19} + return file_cmctl_proto_rawDescGZIP(), []int{19} } func (x *UnrevokeServicePairParams) GetServiceID() int64 { @@ -1196,7 +1196,7 @@ type UnrevokeServicePairResult struct { func (x *UnrevokeServicePairResult) Reset() { *x = UnrevokeServicePairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[20] + mi := &file_cmctl_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1209,7 +1209,7 @@ func (x *UnrevokeServicePairResult) String() string { func (*UnrevokeServicePairResult) ProtoMessage() {} func (x *UnrevokeServicePairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[20] + mi := &file_cmctl_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1222,7 +1222,7 @@ func (x *UnrevokeServicePairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use UnrevokeServicePairResult.ProtoReflect.Descriptor instead. func (*UnrevokeServicePairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{20} + return file_cmctl_proto_rawDescGZIP(), []int{20} } type ServiceShortDescriptor struct { @@ -1240,7 +1240,7 @@ type ServiceShortDescriptor struct { func (x *ServiceShortDescriptor) Reset() { *x = ServiceShortDescriptor{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[21] + mi := &file_cmctl_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1253,7 +1253,7 @@ func (x *ServiceShortDescriptor) String() string { func (*ServiceShortDescriptor) ProtoMessage() {} func (x *ServiceShortDescriptor) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[21] + mi := &file_cmctl_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1266,7 +1266,7 @@ func (x *ServiceShortDescriptor) ProtoReflect() protoreflect.Message { // Deprecated: Use ServiceShortDescriptor.ProtoReflect.Descriptor instead. func (*ServiceShortDescriptor) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{21} + return file_cmctl_proto_rawDescGZIP(), []int{21} } func (x *ServiceShortDescriptor) GetServiceID() int64 { @@ -1313,7 +1313,7 @@ type ListServicePairsParams struct { func (x *ListServicePairsParams) Reset() { *x = ListServicePairsParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[22] + mi := &file_cmctl_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1326,7 +1326,7 @@ func (x *ListServicePairsParams) String() string { func (*ListServicePairsParams) ProtoMessage() {} func (x *ListServicePairsParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[22] + mi := &file_cmctl_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1339,7 +1339,7 @@ func (x *ListServicePairsParams) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServicePairsParams.ProtoReflect.Descriptor instead. func (*ListServicePairsParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{22} + return file_cmctl_proto_rawDescGZIP(), []int{22} } type ListServicePairsResult struct { @@ -1353,7 +1353,7 @@ type ListServicePairsResult struct { func (x *ListServicePairsResult) Reset() { *x = ListServicePairsResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[23] + mi := &file_cmctl_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1366,7 +1366,7 @@ func (x *ListServicePairsResult) String() string { func (*ListServicePairsResult) ProtoMessage() {} func (x *ListServicePairsResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[23] + mi := &file_cmctl_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1379,7 +1379,7 @@ func (x *ListServicePairsResult) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServicePairsResult.ProtoReflect.Descriptor instead. func (*ListServicePairsResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{23} + return file_cmctl_proto_rawDescGZIP(), []int{23} } func (x *ListServicePairsResult) GetServices() []*ServiceShortDescriptor { @@ -1401,7 +1401,7 @@ type GetServicePairParams struct { func (x *GetServicePairParams) Reset() { *x = GetServicePairParams{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[24] + mi := &file_cmctl_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1414,7 +1414,7 @@ func (x *GetServicePairParams) String() string { func (*GetServicePairParams) ProtoMessage() {} func (x *GetServicePairParams) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[24] + mi := &file_cmctl_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1427,7 +1427,7 @@ func (x *GetServicePairParams) ProtoReflect() protoreflect.Message { // Deprecated: Use GetServicePairParams.ProtoReflect.Descriptor instead. func (*GetServicePairParams) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{24} + return file_cmctl_proto_rawDescGZIP(), []int{24} } func (x *GetServicePairParams) GetServiceID() int64 { @@ -1449,19 +1449,20 @@ type GetServicePairResult struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` - Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` - IssuerID int64 `protobuf:"varint,4,opt,name=issuerID,proto3" json:"issuerID,omitempty"` - IssuerName string `protobuf:"bytes,5,opt,name=issuerName,proto3" json:"issuerName,omitempty"` - Revoked bool `protobuf:"varint,6,opt,name=revoked,proto3" json:"revoked,omitempty"` - IssuerCertificate string `protobuf:"bytes,7,opt,name=issuerCertificate,proto3" json:"issuerCertificate,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` + Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + IssuerID int64 `protobuf:"varint,4,opt,name=issuerID,proto3" json:"issuerID,omitempty"` + IssuerName string `protobuf:"bytes,5,opt,name=issuerName,proto3" json:"issuerName,omitempty"` + Revoked bool `protobuf:"varint,6,opt,name=revoked,proto3" json:"revoked,omitempty"` + IssuerCertificate string `protobuf:"bytes,7,opt,name=issuerCertificate,proto3" json:"issuerCertificate,omitempty"` + IssuerCertificates []string `protobuf:"bytes,8,rep,name=issuerCertificates,proto3" json:"issuerCertificates,omitempty"` } func (x *GetServicePairResult) Reset() { *x = GetServicePairResult{} if protoimpl.UnsafeEnabled { - mi := &file_certmanagercontrol_proto_msgTypes[25] + mi := &file_cmctl_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1474,7 +1475,7 @@ func (x *GetServicePairResult) String() string { func (*GetServicePairResult) ProtoMessage() {} func (x *GetServicePairResult) ProtoReflect() protoreflect.Message { - mi := &file_certmanagercontrol_proto_msgTypes[25] + mi := &file_cmctl_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1487,7 +1488,7 @@ func (x *GetServicePairResult) ProtoReflect() protoreflect.Message { // Deprecated: Use GetServicePairResult.ProtoReflect.Descriptor instead. func (*GetServicePairResult) Descriptor() ([]byte, []int) { - return file_certmanagercontrol_proto_rawDescGZIP(), []int{25} + return file_cmctl_proto_rawDescGZIP(), []int{25} } func (x *GetServicePairResult) GetName() string { @@ -1539,284 +1540,292 @@ func (x *GetServicePairResult) GetIssuerCertificate() string { return "" } -var File_certmanagercontrol_proto protoreflect.FileDescriptor - -var file_certmanagercontrol_proto_rawDesc = []byte{ - 0x0a, 0x18, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x63, 0x65, 0x72, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x11, - 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x22, 0x2b, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xde, - 0x01, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, - 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x73, - 0x75, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, - 0x64, 0x69, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x6e, - 0x74, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x53, 0x69, 0x7a, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x22, - 0x76, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, - 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, +func (x *GetServicePairResult) GetIssuerCertificates() []string { + if x != nil { + return x.IssuerCertificates + } + return nil +} + +var File_cmctl_proto protoreflect.FileDescriptor + +var file_cmctl_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x63, 0x6d, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x63, + 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x22, 0x11, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x22, 0x2b, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0xde, 0x01, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2a, 0x0a, 0x10, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x53, + 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x53, 0x69, + 0x7a, 0x65, 0x22, 0x76, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, + 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x58, 0x0a, 0x1a, 0x67, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x1a, 0x67, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, + 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x22, + 0x78, 0x0a, 0x16, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, + 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, + 0x10, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x54, 0x0a, 0x16, 0x69, 0x6d, 0x70, + 0x6f, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, + 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x54, 0x0a, 0x16, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, + 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x58, 0x0a, 0x1a, 0x67, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, - 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x88, 0x01, 0x0a, 0x1a, 0x67, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, - 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x22, 0x78, 0x0a, 0x16, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0x56, 0x0a, 0x18, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x75, 0x6e, 0x72, 0x65, 0x76, + 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x5c, 0x0a, 0x15, + 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x43, 0x0a, 0x07, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x49, 0x73, 0x73, 0x69, + 0x65, 0x72, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x52, 0x07, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x22, 0x61, 0x0a, 0x15, 0x49, 0x73, + 0x73, 0x69, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0xc7, 0x01, + 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, + 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x65, 0x74, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, + 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, + 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x22, 0x9b, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, + 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, + 0x19, 0x0a, 0x17, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x19, 0x75, + 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, + 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x75, 0x6e, + 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, + 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa0, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x6c, 0x69, + 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x22, 0x60, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, + 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x68, 0x6f, + 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x92, + 0x02, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, + 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, + 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x12, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x73, 0x32, 0xb4, 0x0a, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, + 0x57, 0x0a, 0x09, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x2e, 0x63, + 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x1a, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x2e, 0x63, + 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, + 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, + 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, - 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x65, 0x72, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x54, 0x0a, 0x16, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6d, 0x70, 0x6f, + 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x72, 0x65, + 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x16, + 0x22, 0x00, 0x12, 0x72, 0x0a, 0x12, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2c, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x56, 0x0a, 0x18, - 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, - 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x22, 0x17, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, - 0x69, 0x72, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x5c, 0x0a, 0x15, 0x6c, 0x69, 0x73, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x43, 0x0a, 0x07, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x49, 0x73, 0x73, 0x69, 0x65, 0x72, 0x53, - 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x22, 0x61, 0x0a, 0x15, 0x49, 0x73, 0x73, 0x69, 0x65, - 0x72, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, - 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0xc7, 0x01, 0x0a, 0x17, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x24, - 0x0a, 0x0d, 0x69, 0x6e, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x65, 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x20, - 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x69, 0x73, 0x73, - 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, - 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x9b, - 0x01, 0x0a, 0x17, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, - 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x19, 0x0a, 0x17, - 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, - 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x19, 0x75, 0x6e, 0x72, 0x65, - 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x75, 0x6e, 0x72, 0x65, 0x76, - 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa0, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, - 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, - 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x22, 0x60, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x08, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x14, - 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, - 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, - 0x6b, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, - 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x69, - 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x32, 0xb4, 0x0a, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x57, 0x0a, 0x09, - 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x74, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, + 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0f, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, + 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0x00, 0x12, 0x78, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, - 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x23, - 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6d, 0x70, - 0x6f, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, - 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x72, 0x65, 0x76, 0x6f, 0x6b, - 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, - 0x72, 0x0a, 0x12, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2c, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, - 0x6f, 0x6b, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, - 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0f, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x1a, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x78, - 0x0a, 0x14, 0x67, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2b, 0x2e, + 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, + 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x11, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, + 0x12, 0x2b, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2b, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2b, 0x2e, 0x63, 0x65, 0x72, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, - 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x11, 0x72, 0x65, 0x76, - 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2b, + 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x11, + 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, + 0x72, 0x12, 0x2b, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2b, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2b, 0x2e, 0x63, 0x65, - 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x2e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, - 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x13, 0x75, 0x6e, - 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, - 0x72, 0x12, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x1a, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, - 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, - 0x66, 0x0a, 0x0e, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, - 0x72, 0x12, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x28, 0x2e, 0x63, 0x65, - 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x2e, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x42, 0x16, 0x5a, 0x14, 0x2e, 0x3b, 0x63, 0x65, 0x72, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x75, 0x0a, + 0x13, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x50, 0x61, 0x69, 0x72, 0x12, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x1a, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x75, 0x6e, 0x72, 0x65, 0x76, 0x6f, 0x6b, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, + 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0e, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x50, 0x61, 0x69, 0x72, 0x12, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x69, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x28, + 0x2e, 0x63, 0x65, 0x72, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, + 0x69, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, + 0x63, 0x6d, 0x63, 0x74, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_certmanagercontrol_proto_rawDescOnce sync.Once - file_certmanagercontrol_proto_rawDescData = file_certmanagercontrol_proto_rawDesc + file_cmctl_proto_rawDescOnce sync.Once + file_cmctl_proto_rawDescData = file_cmctl_proto_rawDesc ) -func file_certmanagercontrol_proto_rawDescGZIP() []byte { - file_certmanagercontrol_proto_rawDescOnce.Do(func() { - file_certmanagercontrol_proto_rawDescData = protoimpl.X.CompressGZIP(file_certmanagercontrol_proto_rawDescData) +func file_cmctl_proto_rawDescGZIP() []byte { + file_cmctl_proto_rawDescOnce.Do(func() { + file_cmctl_proto_rawDescData = protoimpl.X.CompressGZIP(file_cmctl_proto_rawDescData) }) - return file_certmanagercontrol_proto_rawDescData + return file_cmctl_proto_rawDescData } -var file_certmanagercontrol_proto_msgTypes = make([]protoimpl.MessageInfo, 26) -var file_certmanagercontrol_proto_goTypes = []interface{}{ +var file_cmctl_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_cmctl_proto_goTypes = []interface{}{ (*GetStatusParams)(nil), // 0: certmanagercontrol.getStatusParams (*GetStatusResult)(nil), // 1: certmanagercontrol.getStatusResult (*CreateIssuerPairParams)(nil), // 2: certmanagercontrol.createIssuerPairParams @@ -1844,7 +1853,7 @@ var file_certmanagercontrol_proto_goTypes = []interface{}{ (*GetServicePairParams)(nil), // 24: certmanagercontrol.getServicePairParams (*GetServicePairResult)(nil), // 25: certmanagercontrol.getServicePairResult } -var file_certmanagercontrol_proto_depIdxs = []int32{ +var file_cmctl_proto_depIdxs = []int32{ 14, // 0: certmanagercontrol.listIssuerPairsResult.issuers:type_name -> certmanagercontrol.IssierShortDescriptor 21, // 1: certmanagercontrol.listServicePairsResult.services:type_name -> certmanagercontrol.ServiceShortDescriptor 0, // 2: certmanagercontrol.Control.getStatus:input_type -> certmanagercontrol.getStatusParams @@ -1878,13 +1887,13 @@ var file_certmanagercontrol_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_certmanagercontrol_proto_init() } -func file_certmanagercontrol_proto_init() { - if File_certmanagercontrol_proto != nil { +func init() { file_cmctl_proto_init() } +func file_cmctl_proto_init() { + if File_cmctl_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_certmanagercontrol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetStatusParams); i { case 0: return &v.state @@ -1896,7 +1905,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetStatusResult); i { case 0: return &v.state @@ -1908,7 +1917,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateIssuerPairParams); i { case 0: return &v.state @@ -1920,7 +1929,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateIssuerPairResult); i { case 0: return &v.state @@ -1932,7 +1941,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetIssuerCertificateParams); i { case 0: return &v.state @@ -1944,7 +1953,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetIssuerCertificateResult); i { case 0: return &v.state @@ -1956,7 +1965,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ImportIssuerPairParams); i { case 0: return &v.state @@ -1968,7 +1977,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ImportIssuerPairResult); i { case 0: return &v.state @@ -1980,7 +1989,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeIssuerPairParams); i { case 0: return &v.state @@ -1992,7 +2001,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeIssuerPairResult); i { case 0: return &v.state @@ -2004,7 +2013,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnrevokeIssuerPairParams); i { case 0: return &v.state @@ -2016,7 +2025,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnrevokeIssuerPairResult); i { case 0: return &v.state @@ -2028,7 +2037,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIssuerPairsParams); i { case 0: return &v.state @@ -2040,7 +2049,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIssuerPairsResult); i { case 0: return &v.state @@ -2052,7 +2061,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IssierShortDescriptor); i { case 0: return &v.state @@ -2064,7 +2073,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateServicePairParams); i { case 0: return &v.state @@ -2076,7 +2085,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateServicePairResult); i { case 0: return &v.state @@ -2088,7 +2097,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeServicePairParams); i { case 0: return &v.state @@ -2100,7 +2109,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeServicePairResult); i { case 0: return &v.state @@ -2112,7 +2121,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnrevokeServicePairParams); i { case 0: return &v.state @@ -2124,7 +2133,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnrevokeServicePairResult); i { case 0: return &v.state @@ -2136,7 +2145,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServiceShortDescriptor); i { case 0: return &v.state @@ -2148,7 +2157,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListServicePairsParams); i { case 0: return &v.state @@ -2160,7 +2169,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListServicePairsResult); i { case 0: return &v.state @@ -2172,7 +2181,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetServicePairParams); i { case 0: return &v.state @@ -2184,7 +2193,7 @@ func file_certmanagercontrol_proto_init() { return nil } } - file_certmanagercontrol_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_cmctl_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetServicePairResult); i { case 0: return &v.state @@ -2201,18 +2210,18 @@ func file_certmanagercontrol_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_certmanagercontrol_proto_rawDesc, + RawDescriptor: file_cmctl_proto_rawDesc, NumEnums: 0, NumMessages: 26, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_certmanagercontrol_proto_goTypes, - DependencyIndexes: file_certmanagercontrol_proto_depIdxs, - MessageInfos: file_certmanagercontrol_proto_msgTypes, + GoTypes: file_cmctl_proto_goTypes, + DependencyIndexes: file_cmctl_proto_depIdxs, + MessageInfos: file_cmctl_proto_msgTypes, }.Build() - File_certmanagercontrol_proto = out.File - file_certmanagercontrol_proto_rawDesc = nil - file_certmanagercontrol_proto_goTypes = nil - file_certmanagercontrol_proto_depIdxs = nil + File_cmctl_proto = out.File + file_cmctl_proto_rawDesc = nil + file_cmctl_proto_goTypes = nil + file_cmctl_proto_depIdxs = nil } diff --git a/api/certmanagercontrol/certmanagercontrol_grpc.pb.go b/pkg/cmctl/cmctl_grpc.pb.go similarity index 99% rename from api/certmanagercontrol/certmanagercontrol_grpc.pb.go rename to pkg/cmctl/cmctl_grpc.pb.go index 0df8015..4bd6829 100644 --- a/api/certmanagercontrol/certmanagercontrol_grpc.pb.go +++ b/pkg/cmctl/cmctl_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc v3.21.12 -// source: certmanagercontrol.proto +// source: cmctl.proto -package certmanagercontrol +package cmctl import ( context "context" @@ -512,5 +512,5 @@ var Control_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "certmanagercontrol.proto", + Metadata: "cmctl.proto", } diff --git a/proto/certmanagercontrol.proto b/proto/cmctl.proto similarity index 98% rename from proto/certmanagercontrol.proto rename to proto/cmctl.proto index 7665fcf..94d857b 100644 --- a/proto/certmanagercontrol.proto +++ b/proto/cmctl.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = ".;certmanagercontrol"; +option go_package = ".;cmctl"; package certmanagercontrol; @@ -84,7 +84,6 @@ message IssierShortDescriptor { bool revoked = 3; } - message createServicePairParams { string issuerName = 1; int64 issuerID = 2; @@ -143,5 +142,5 @@ message getServicePairResult { string issuerName = 5; bool revoked = 6; string issuerCertificate = 7; - + repeated string issuerCertificates = 8; }