1 Star 0 Fork 0

MinKo-U/mcenter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
instance_impl.pb.go 58.78 KB
一键复制 编辑 原始数据 按行查看 历史
MinKo-U 提交于 2022-11-20 17:12 . 修改4
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.9
// source: apps/instance/pb/instance_impl.proto
package instance
import (
request "github.com/infraboard/mcube/http/request"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// 实例注册的协议类型
type Protocal int32
const (
// GRPC服务
Protocal_GRPC Protocal = 0
// HTTP服务
Protocal_HTTP Protocal = 1
)
// Enum value maps for Protocal.
var (
Protocal_name = map[int32]string{
0: "GRPC",
1: "HTTP",
}
Protocal_value = map[string]int32{
"GRPC": 0,
"HTTP": 1,
}
)
func (x Protocal) Enum() *Protocal {
p := new(Protocal)
*p = x
return p
}
func (x Protocal) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Protocal) Descriptor() protoreflect.EnumDescriptor {
return file_apps_instance_pb_instance_impl_proto_enumTypes[0].Descriptor()
}
func (Protocal) Type() protoreflect.EnumType {
return &file_apps_instance_pb_instance_impl_proto_enumTypes[0]
}
func (x Protocal) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Protocal.Descriptor instead.
func (Protocal) EnumDescriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{0}
}
type Provider int32
const (
// SDK直接注册
Provider_SDK Provider = 0
// 服务来源于kubernetes, 有operator提供注册
Provider_KUBERNETES Provider = 1
)
// Enum value maps for Provider.
var (
Provider_name = map[int32]string{
0: "SDK",
1: "KUBERNETES",
}
Provider_value = map[string]int32{
"SDK": 0,
"KUBERNETES": 1,
}
)
func (x Provider) Enum() *Provider {
p := new(Provider)
*p = x
return p
}
func (x Provider) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Provider) Descriptor() protoreflect.EnumDescriptor {
return file_apps_instance_pb_instance_impl_proto_enumTypes[1].Descriptor()
}
func (Provider) Type() protoreflect.EnumType {
return &file_apps_instance_pb_instance_impl_proto_enumTypes[1]
}
func (x Provider) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Provider.Descriptor instead.
func (Provider) EnumDescriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{1}
}
type CommandType int32
const (
CommandType_UPDATE_INSTANCE CommandType = 0
)
// Enum value maps for CommandType.
var (
CommandType_name = map[int32]string{
0: "UPDATE_INSTANCE",
}
CommandType_value = map[string]int32{
"UPDATE_INSTANCE": 0,
}
)
func (x CommandType) Enum() *CommandType {
p := new(CommandType)
*p = x
return p
}
func (x CommandType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CommandType) Descriptor() protoreflect.EnumDescriptor {
return file_apps_instance_pb_instance_impl_proto_enumTypes[2].Descriptor()
}
func (CommandType) Type() protoreflect.EnumType {
return &file_apps_instance_pb_instance_impl_proto_enumTypes[2]
}
func (x CommandType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CommandType.Descriptor instead.
func (CommandType) EnumDescriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{2}
}
// 服务实例信息, 比如 阿里云_杭州/生产环境/app01/default/instance01
type Instance struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 服务所属域
// @gotags: bson:"_id" json:"id"
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
// 服务所属域
// @gotags: bson:"domain" json:"domain"
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain" bson:"domain"`
// 服务所属空间
// @gotags: bson:"namespace" json:"namespace"
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace" bson:"namespace"`
// 实例所属应用名称
// @gotags: bson:"service_name" json:"service_name"
ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name" bson:"service_name"`
// 实例注册相关信息
// @gotags: bson:"registry_info" json:"registry_info"
RegistryInfo *RegistryRequest `protobuf:"bytes,5,opt,name=registry_info,json=registryInfo,proto3" json:"registry_info" bson:"registry_info"`
// 实例状态
// @gotags: bson:"status" json:"status"
Status *Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status" bson:"status"`
// 实例配置
// @gotags: bson:"config" json:"config"
Config *Config `protobuf:"bytes,7,opt,name=config,proto3" json:"config" bson:"config"`
}
func (x *Instance) Reset() {
*x = Instance{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Instance) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Instance) ProtoMessage() {}
func (x *Instance) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{0}
}
func (x *Instance) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Instance) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *Instance) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *Instance) GetServiceName() string {
if x != nil {
return x.ServiceName
}
return ""
}
func (x *Instance) GetRegistryInfo() *RegistryRequest {
if x != nil {
return x.RegistryInfo
}
return nil
}
func (x *Instance) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *Instance) GetConfig() *Config {
if x != nil {
return x.Config
}
return nil
}
type Config struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 心跳设置
// @gotags: bson:"heart_beat" json:"heart_beat"
Heartbeat *HeartbeatConfig `protobuf:"bytes,1,opt,name=heartbeat,proto3" json:"heart_beat" bson:"heart_beat"`
}
func (x *Config) Reset() {
*x = Config{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Config) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Config) ProtoMessage() {}
func (x *Config) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Config.ProtoReflect.Descriptor instead.
func (*Config) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{1}
}
func (x *Config) GetHeartbeat() *HeartbeatConfig {
if x != nil {
return x.Heartbeat
}
return nil
}
type HeartbeatConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 心跳间隔
// @gotags: bson:"interval" json:"interval"
Interval int32 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval" bson:"interval"`
// 心跳超时时间, 单位秒
// @gotags: bson:"timeout" json:"timeout"
Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout" bson:"timeout"`
}
func (x *HeartbeatConfig) Reset() {
*x = HeartbeatConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HeartbeatConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HeartbeatConfig) ProtoMessage() {}
func (x *HeartbeatConfig) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use HeartbeatConfig.ProtoReflect.Descriptor instead.
func (*HeartbeatConfig) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{2}
}
func (x *HeartbeatConfig) GetInterval() int32 {
if x != nil {
return x.Interval
}
return 0
}
func (x *HeartbeatConfig) GetTimeout() int32 {
if x != nil {
return x.Timeout
}
return 0
}
type InstanceSet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 总个数
// @gotags: bson:"status" json:"status"
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"status" bson:"status"`
// 实例列表
// @gotags: bson:"items" json:"items"
Items []*Instance `protobuf:"bytes,2,rep,name=items,proto3" json:"items" bson:"items"`
}
func (x *InstanceSet) Reset() {
*x = InstanceSet{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InstanceSet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InstanceSet) ProtoMessage() {}
func (x *InstanceSet) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InstanceSet.ProtoReflect.Descriptor instead.
func (*InstanceSet) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{3}
}
func (x *InstanceSet) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *InstanceSet) GetItems() []*Instance {
if x != nil {
return x.Items
}
return nil
}
type RegistryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 提供注册提供方
// @gotags: bson:"provider" json:"provider" toml:"provider" yaml:"provider" env:"MCENTER_PROVIDER"
Provider Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=gitee.com.MinKoU.mcenter.instance.Provider" json:"provider" bson:"provider" toml:"provider" yaml:"provider" env:"MCENTER_PROVIDER"`
// 实例所属地域, 默认default
// @gotags: bson:"region" json:"region" toml:"region" yaml:"region" env:"MCENTER_REGION" validate:"required"
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region" bson:"region" toml:"region" yaml:"region" env:"MCENTER_REGION" validate:"required"`
// 实例所属环境, 默认default
// @gotags: bson:"environment" json:"environment" toml:"environment" yaml:"environment" env:"MCENTER_ENV" validate:"required"
Environment string `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment" bson:"environment" toml:"environment" yaml:"environment" env:"MCENTER_ENV" validate:"required"`
// 实例所属分组,默认default
// @gotags: bson:"group" json:"group" toml:"group" yaml:"group" env:"MCENTER_GROUP" validate:"required"
Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group" bson:"group" toml:"group" yaml:"group" env:"MCENTER_GROUP" validate:"required"`
// 实例名称, 如果不传, 则会随机生成
// @gotags: bson:"name" json:"name" toml:"name" yaml:"name" env:"MCENTER_NAME"
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name" bson:"name" toml:"name" yaml:"name" env:"MCENTER_NAME"`
// 注册的对外的访问的协议
// @gotags: bson:"protocal" json:"protocal" toml:"protocal" yaml:"protocal" env:"MCENTER_PROTOCAL"
Protocal Protocal `protobuf:"varint,6,opt,name=protocal,proto3,enum=gitee.com.MinKoU.mcenter.instance.Protocal" json:"protocal" bson:"protocal" toml:"protocal" yaml:"protocal" env:"MCENTER_PROTOCAL"`
// 实例地址
// @gotags: bson:"address" json:"address" toml:"address" yaml:"address" env:"MCENTER_ADDRESS" validate:"required"
Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address" bson:"address" toml:"address" yaml:"address" env:"MCENTER_ADDRESS" validate:"required"`
// 该地址是否对外暴露, 如果暴露, 会被注册到网关
// @gotags: bson:"export" json:"export" toml:"export" yaml:"export" env:"MCENTER_EXPORT"
Export bool `protobuf:"varint,8,opt,name=export,proto3" json:"export" bson:"export" toml:"export" yaml:"export" env:"MCENTER_EXPORT"`
// 实例标签, 可以根据标签快速过滤实例
// @gotags: bson:"tags" json:"tags" toml:"tags" yaml:"tags" env:"MCENTER_TAGS"
Tags map[string]string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"tags" toml:"tags" yaml:"tags" env:"MCENTER_TAGS"`
// 实例构建信息
// @gotags: bson:"build" json:"build" toml:"build" yaml:"build"
Build *Build `protobuf:"bytes,10,opt,name=build,proto3" json:"build" bson:"build" toml:"build" yaml:"build"`
}
func (x *RegistryRequest) Reset() {
*x = RegistryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RegistryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegistryRequest) ProtoMessage() {}
func (x *RegistryRequest) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegistryRequest.ProtoReflect.Descriptor instead.
func (*RegistryRequest) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{4}
}
func (x *RegistryRequest) GetProvider() Provider {
if x != nil {
return x.Provider
}
return Provider_SDK
}
func (x *RegistryRequest) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *RegistryRequest) GetEnvironment() string {
if x != nil {
return x.Environment
}
return ""
}
func (x *RegistryRequest) GetGroup() string {
if x != nil {
return x.Group
}
return ""
}
func (x *RegistryRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *RegistryRequest) GetProtocal() Protocal {
if x != nil {
return x.Protocal
}
return Protocal_GRPC
}
func (x *RegistryRequest) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *RegistryRequest) GetExport() bool {
if x != nil {
return x.Export
}
return false
}
func (x *RegistryRequest) GetTags() map[string]string {
if x != nil {
return x.Tags
}
return nil
}
func (x *RegistryRequest) GetBuild() *Build {
if x != nil {
return x.Build
}
return nil
}
// 实例构建相关信息
type Build struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 实例版本
// @gotags: bson:"version" json:"version" toml:"version" yaml:"version" env:"MCENTER_BUILD_VERSION"
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version" bson:"version" toml:"version" yaml:"version" env:"MCENTER_BUILD_VERSION"`
// 实例代码构建对应分支
// @gotags: bson:"git_branch" json:"git_branch" toml:"git_branch" yaml:"git_branch" env:"MCENTER_BUILD_GIT_BRANCH"
GitBranch string `protobuf:"bytes,2,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch" bson:"git_branch" toml:"git_branch" yaml:"git_branch" env:"MCENTER_BUILD_GIT_BRANCH"`
// 实例代码对应commit号
// @gotags: bson:"git_commit" json:"git_commit" toml:"git_commit" yaml:"git_commit" env:"MCENTER_BUILD_GIT_COMMIT"
GitCommit string `protobuf:"bytes,3,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit" bson:"git_commit" toml:"git_commit" yaml:"git_commit" env:"MCENTER_BUILD_GIT_COMMIT"`
// 实例构建时间
// @gotags: bson:"build_at" json:"build_at" toml:"build_at" yaml:"build_at" env:"MCENTER_BUILD_AT"
BuildAt int64 `protobuf:"varint,4,opt,name=build_at,json=buildAt,proto3" json:"build_at" bson:"build_at" toml:"build_at" yaml:"build_at" env:"MCENTER_BUILD_AT"`
}
func (x *Build) Reset() {
*x = Build{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Build) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Build) ProtoMessage() {}
func (x *Build) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Build.ProtoReflect.Descriptor instead.
func (*Build) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{5}
}
func (x *Build) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *Build) GetGitBranch() string {
if x != nil {
return x.GitBranch
}
return ""
}
func (x *Build) GetGitCommit() string {
if x != nil {
return x.GitCommit
}
return ""
}
func (x *Build) GetBuildAt() int64 {
if x != nil {
return x.BuildAt
}
return 0
}
type Status struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 上线时间
// @gotags: bson:"online" json:"online"
Online int64 `protobuf:"varint,1,opt,name=online,proto3" json:"online" bson:"online"`
// 是否健康
// @gotags: bson:"healthy" json:"healthy"
Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy" bson:"healthy"`
}
func (x *Status) Reset() {
*x = Status{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Status) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Status) ProtoMessage() {}
func (x *Status) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Status.ProtoReflect.Descriptor instead.
func (*Status) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{6}
}
func (x *Status) GetOnline() int64 {
if x != nil {
return x.Online
}
return 0
}
func (x *Status) GetHealthy() bool {
if x != nil {
return x.Healthy
}
return false
}
type HeartbeatRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 实例Id
// @gotags: bson:"instance_id" json:"instance_id"
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id" bson:"instance_id"`
}
func (x *HeartbeatRequest) Reset() {
*x = HeartbeatRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HeartbeatRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HeartbeatRequest) ProtoMessage() {}
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{7}
}
func (x *HeartbeatRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
type RemoteCommand struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 客户端需要执行命令类型
// @gotags: bson:"type" json:"type"
Type CommandType `protobuf:"varint,1,opt,name=type,proto3,enum=gitee.com.MinKoU.mcenter.instance.CommandType" json:"type" bson:"type"`
// 指令参数
// @gotags: bson:"params" json:"params"
Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"params"`
}
func (x *RemoteCommand) Reset() {
*x = RemoteCommand{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemoteCommand) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoteCommand) ProtoMessage() {}
func (x *RemoteCommand) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemoteCommand.ProtoReflect.Descriptor instead.
func (*RemoteCommand) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{8}
}
func (x *RemoteCommand) GetType() CommandType {
if x != nil {
return x.Type
}
return CommandType_UPDATE_INSTANCE
}
func (x *RemoteCommand) GetParams() map[string]string {
if x != nil {
return x.Params
}
return nil
}
type HeartbeatResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 客户端下一次心跳包的发送间隔, 单位秒
// @gotags: bson:"next" json:"next"
Next int32 `protobuf:"varint,1,opt,name=next,proto3" json:"next" bson:"next"`
// 客户端需要执行命令
// @gotags: bson:"remote_command" json:"remote_command"
RemoteCommand *RemoteCommand `protobuf:"bytes,2,opt,name=remote_command,json=remoteCommand,proto3" json:"remote_command" bson:"remote_command"`
}
func (x *HeartbeatResponse) Reset() {
*x = HeartbeatResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HeartbeatResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HeartbeatResponse) ProtoMessage() {}
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{9}
}
func (x *HeartbeatResponse) GetNext() int32 {
if x != nil {
return x.Next
}
return 0
}
func (x *HeartbeatResponse) GetRemoteCommand() *RemoteCommand {
if x != nil {
return x.RemoteCommand
}
return nil
}
type UnregistryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 需要注销的实例Id
// @gotags: json:"instance_id"
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id"`
}
func (x *UnregistryRequest) Reset() {
*x = UnregistryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UnregistryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UnregistryRequest) ProtoMessage() {}
func (x *UnregistryRequest) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UnregistryRequest.ProtoReflect.Descriptor instead.
func (*UnregistryRequest) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{10}
}
func (x *UnregistryRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
type SearchRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 分页参数
// @gotags: json:"page"
Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"`
// 服务所属域
// @gotags: bson:"domain" json:"domain" validate:"required"
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain" bson:"domain" validate:"required"`
// 服务所属空间
// @gotags: bson:"namespace" json:"namespace"
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace" bson:"namespace"`
// 实例所属应用Id
// @gotags: bson:"service_name" json:"service_name"
ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name" bson:"service_name"`
// 实例所属环境, 默认default
// @gotags: bson:"region" json:"region"
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region" bson:"region"`
// 实例所属环境, 默认default
// @gotags: bson:"environment" json:"environment"
Environment string `protobuf:"bytes,6,opt,name=environment,proto3" json:"environment" bson:"environment"`
// 实例所属分组,默认default
// @gotags: bson:"group" json:"group"
Group string `protobuf:"bytes,7,opt,name=group,proto3" json:"group" bson:"group"`
// 实例标签, 可以根据标签快速过滤实例
// @gotags: bson:"tags" json:"tags"
Tags map[string]string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"tags"`
}
func (x *SearchRequest) Reset() {
*x = SearchRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SearchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchRequest) ProtoMessage() {}
func (x *SearchRequest) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{11}
}
func (x *SearchRequest) GetPage() *request.PageRequest {
if x != nil {
return x.Page
}
return nil
}
func (x *SearchRequest) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *SearchRequest) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *SearchRequest) GetServiceName() string {
if x != nil {
return x.ServiceName
}
return ""
}
func (x *SearchRequest) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *SearchRequest) GetEnvironment() string {
if x != nil {
return x.Environment
}
return ""
}
func (x *SearchRequest) GetGroup() string {
if x != nil {
return x.Group
}
return ""
}
func (x *SearchRequest) GetTags() map[string]string {
if x != nil {
return x.Tags
}
return nil
}
type DescribeInstanceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 实例的Id
// @gotags: json:"id"
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
}
func (x *DescribeInstanceRequest) Reset() {
*x = DescribeInstanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DescribeInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DescribeInstanceRequest) ProtoMessage() {}
func (x *DescribeInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_apps_instance_pb_instance_impl_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DescribeInstanceRequest.ProtoReflect.Descriptor instead.
func (*DescribeInstanceRequest) Descriptor() ([]byte, []int) {
return file_apps_instance_pb_instance_impl_proto_rawDescGZIP(), []int{12}
}
func (x *DescribeInstanceRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
var File_apps_instance_pb_instance_impl_proto protoreflect.FileDescriptor
var file_apps_instance_pb_instance_impl_proto_rawDesc = []byte{
0x0a, 0x24, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2f,
0x70, 0x62, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6c,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f,
0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x12, 0x70, 0x62, 0x2f, 0x70, 0x61,
0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, 0x02,
0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f,
0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61,
0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f,
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x69, 0x74,
0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63,
0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52,
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0c,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x06,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e,
0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x41, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x29, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b,
0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x22, 0x5a, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x09,
0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x32, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b,
0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x22, 0x47,
0x0a, 0x0f, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a,
0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x66, 0x0a, 0x0b, 0x49, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x41, 0x0a, 0x05,
0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69,
0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d,
0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e,
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22,
0x84, 0x04, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f,
0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06,
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65,
0x67, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72,
0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x12, 0x47, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d,
0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e,
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x61, 0x6c, 0x52,
0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x08, 0x20,
0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x50, 0x0a, 0x04, 0x74,
0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x69, 0x74, 0x65,
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65,
0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x61,
0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x3e, 0x0a,
0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67,
0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e,
0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x1a, 0x37, 0x0a,
0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7a, 0x0a, 0x05, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12,
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x74,
0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67,
0x69, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x74, 0x5f,
0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x69,
0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x41, 0x74, 0x22, 0x3a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06,
0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x6e,
0x6c, 0x69, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18,
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x22, 0x33,
0x0a, 0x10, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x49, 0x64, 0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f,
0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x54,
0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x06, 0x70, 0x61, 0x72,
0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x69, 0x74, 0x65,
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65,
0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65,
0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x61,
0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a,
0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x80, 0x01, 0x0a, 0x11, 0x48,
0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
0x6e, 0x65, 0x78, 0x74, 0x12, 0x57, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63,
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67,
0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e,
0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x0d,
0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x34, 0x0a,
0x11, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x49, 0x64, 0x22, 0xf9, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64,
0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a,
0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64,
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x20,
0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x4e, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
0x29, 0x0a, 0x17, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x2a, 0x1e, 0x0a, 0x08, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x52, 0x50, 0x43, 0x10, 0x00,
0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x2a, 0x23, 0x0a, 0x08, 0x50, 0x72,
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x44, 0x4b, 0x10, 0x00, 0x12,
0x0e, 0x0a, 0x0a, 0x4b, 0x55, 0x42, 0x45, 0x52, 0x4e, 0x45, 0x54, 0x45, 0x53, 0x10, 0x01, 0x2a,
0x22, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13,
0x0a, 0x0f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43,
0x45, 0x10, 0x00, 0x32, 0xd4, 0x04, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x73, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e,
0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74,
0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74,
0x61, 0x6e, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61,
0x74, 0x12, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69,
0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63,
0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65,
0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74,
0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01,
0x12, 0x6f, 0x0a, 0x0a, 0x55, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x12, 0x34,
0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f,
0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
0x63, 0x65, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x12, 0x6a, 0x0a, 0x06, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x30, 0x2e, 0x67, 0x69,
0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d,
0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e,
0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e,
0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55,
0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x7b, 0x0a,
0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x12, 0x3a, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69,
0x6e, 0x4b, 0x6f, 0x55, 0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x49, 0x6e,
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
0x67, 0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x55,
0x2e, 0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69,
0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x69, 0x6e, 0x4b, 0x6f, 0x2d, 0x55, 0x2f,
0x6d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x69, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_apps_instance_pb_instance_impl_proto_rawDescOnce sync.Once
file_apps_instance_pb_instance_impl_proto_rawDescData = file_apps_instance_pb_instance_impl_proto_rawDesc
)
func file_apps_instance_pb_instance_impl_proto_rawDescGZIP() []byte {
file_apps_instance_pb_instance_impl_proto_rawDescOnce.Do(func() {
file_apps_instance_pb_instance_impl_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_instance_pb_instance_impl_proto_rawDescData)
})
return file_apps_instance_pb_instance_impl_proto_rawDescData
}
var file_apps_instance_pb_instance_impl_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_apps_instance_pb_instance_impl_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_apps_instance_pb_instance_impl_proto_goTypes = []interface{}{
(Protocal)(0), // 0: gitee.com.MinKoU.mcenter.instance.Protocal
(Provider)(0), // 1: gitee.com.MinKoU.mcenter.instance.Provider
(CommandType)(0), // 2: gitee.com.MinKoU.mcenter.instance.CommandType
(*Instance)(nil), // 3: gitee.com.MinKoU.mcenter.instance.Instance
(*Config)(nil), // 4: gitee.com.MinKoU.mcenter.instance.Config
(*HeartbeatConfig)(nil), // 5: gitee.com.MinKoU.mcenter.instance.HeartbeatConfig
(*InstanceSet)(nil), // 6: gitee.com.MinKoU.mcenter.instance.InstanceSet
(*RegistryRequest)(nil), // 7: gitee.com.MinKoU.mcenter.instance.RegistryRequest
(*Build)(nil), // 8: gitee.com.MinKoU.mcenter.instance.Build
(*Status)(nil), // 9: gitee.com.MinKoU.mcenter.instance.Status
(*HeartbeatRequest)(nil), // 10: gitee.com.MinKoU.mcenter.instance.HeartbeatRequest
(*RemoteCommand)(nil), // 11: gitee.com.MinKoU.mcenter.instance.RemoteCommand
(*HeartbeatResponse)(nil), // 12: gitee.com.MinKoU.mcenter.instance.HeartbeatResponse
(*UnregistryRequest)(nil), // 13: gitee.com.MinKoU.mcenter.instance.UnregistryRequest
(*SearchRequest)(nil), // 14: gitee.com.MinKoU.mcenter.instance.SearchRequest
(*DescribeInstanceRequest)(nil), // 15: gitee.com.MinKoU.mcenter.instance.DescribeInstanceRequest
nil, // 16: gitee.com.MinKoU.mcenter.instance.RegistryRequest.TagsEntry
nil, // 17: gitee.com.MinKoU.mcenter.instance.RemoteCommand.ParamsEntry
nil, // 18: gitee.com.MinKoU.mcenter.instance.SearchRequest.TagsEntry
(*request.PageRequest)(nil), // 19: infraboard.mcube.page.PageRequest
}
var file_apps_instance_pb_instance_impl_proto_depIdxs = []int32{
7, // 0: gitee.com.MinKoU.mcenter.instance.Instance.registry_info:type_name -> gitee.com.MinKoU.mcenter.instance.RegistryRequest
9, // 1: gitee.com.MinKoU.mcenter.instance.Instance.status:type_name -> gitee.com.MinKoU.mcenter.instance.Status
4, // 2: gitee.com.MinKoU.mcenter.instance.Instance.config:type_name -> gitee.com.MinKoU.mcenter.instance.Config
5, // 3: gitee.com.MinKoU.mcenter.instance.Config.heartbeat:type_name -> gitee.com.MinKoU.mcenter.instance.HeartbeatConfig
3, // 4: gitee.com.MinKoU.mcenter.instance.InstanceSet.items:type_name -> gitee.com.MinKoU.mcenter.instance.Instance
1, // 5: gitee.com.MinKoU.mcenter.instance.RegistryRequest.provider:type_name -> gitee.com.MinKoU.mcenter.instance.Provider
0, // 6: gitee.com.MinKoU.mcenter.instance.RegistryRequest.protocal:type_name -> gitee.com.MinKoU.mcenter.instance.Protocal
16, // 7: gitee.com.MinKoU.mcenter.instance.RegistryRequest.tags:type_name -> gitee.com.MinKoU.mcenter.instance.RegistryRequest.TagsEntry
8, // 8: gitee.com.MinKoU.mcenter.instance.RegistryRequest.build:type_name -> gitee.com.MinKoU.mcenter.instance.Build
2, // 9: gitee.com.MinKoU.mcenter.instance.RemoteCommand.type:type_name -> gitee.com.MinKoU.mcenter.instance.CommandType
17, // 10: gitee.com.MinKoU.mcenter.instance.RemoteCommand.params:type_name -> gitee.com.MinKoU.mcenter.instance.RemoteCommand.ParamsEntry
11, // 11: gitee.com.MinKoU.mcenter.instance.HeartbeatResponse.remote_command:type_name -> gitee.com.MinKoU.mcenter.instance.RemoteCommand
19, // 12: gitee.com.MinKoU.mcenter.instance.SearchRequest.page:type_name -> infraboard.mcube.page.PageRequest
18, // 13: gitee.com.MinKoU.mcenter.instance.SearchRequest.tags:type_name -> gitee.com.MinKoU.mcenter.instance.SearchRequest.TagsEntry
7, // 14: gitee.com.MinKoU.mcenter.instance.Service.RegistryInstance:input_type -> gitee.com.MinKoU.mcenter.instance.RegistryRequest
10, // 15: gitee.com.MinKoU.mcenter.instance.Service.Heartbeat:input_type -> gitee.com.MinKoU.mcenter.instance.HeartbeatRequest
13, // 16: gitee.com.MinKoU.mcenter.instance.Service.UnRegistry:input_type -> gitee.com.MinKoU.mcenter.instance.UnregistryRequest
14, // 17: gitee.com.MinKoU.mcenter.instance.Service.Search:input_type -> gitee.com.MinKoU.mcenter.instance.SearchRequest
15, // 18: gitee.com.MinKoU.mcenter.instance.Service.DescribeInstance:input_type -> gitee.com.MinKoU.mcenter.instance.DescribeInstanceRequest
3, // 19: gitee.com.MinKoU.mcenter.instance.Service.RegistryInstance:output_type -> gitee.com.MinKoU.mcenter.instance.Instance
12, // 20: gitee.com.MinKoU.mcenter.instance.Service.Heartbeat:output_type -> gitee.com.MinKoU.mcenter.instance.HeartbeatResponse
3, // 21: gitee.com.MinKoU.mcenter.instance.Service.UnRegistry:output_type -> gitee.com.MinKoU.mcenter.instance.Instance
6, // 22: gitee.com.MinKoU.mcenter.instance.Service.Search:output_type -> gitee.com.MinKoU.mcenter.instance.InstanceSet
3, // 23: gitee.com.MinKoU.mcenter.instance.Service.DescribeInstance:output_type -> gitee.com.MinKoU.mcenter.instance.Instance
19, // [19:24] is the sub-list for method output_type
14, // [14:19] is the sub-list for method input_type
14, // [14:14] is the sub-list for extension type_name
14, // [14:14] is the sub-list for extension extendee
0, // [0:14] is the sub-list for field type_name
}
func init() { file_apps_instance_pb_instance_impl_proto_init() }
func file_apps_instance_pb_instance_impl_proto_init() {
if File_apps_instance_pb_instance_impl_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_apps_instance_pb_instance_impl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Instance); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Config); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HeartbeatConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InstanceSet); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RegistryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Build); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Status); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HeartbeatRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoteCommand); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HeartbeatResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnregistryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SearchRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apps_instance_pb_instance_impl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DescribeInstanceRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_apps_instance_pb_instance_impl_proto_rawDesc,
NumEnums: 3,
NumMessages: 16,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_apps_instance_pb_instance_impl_proto_goTypes,
DependencyIndexes: file_apps_instance_pb_instance_impl_proto_depIdxs,
EnumInfos: file_apps_instance_pb_instance_impl_proto_enumTypes,
MessageInfos: file_apps_instance_pb_instance_impl_proto_msgTypes,
}.Build()
File_apps_instance_pb_instance_impl_proto = out.File
file_apps_instance_pb_instance_impl_proto_rawDesc = nil
file_apps_instance_pb_instance_impl_proto_goTypes = nil
file_apps_instance_pb_instance_impl_proto_depIdxs = nil
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/MinKo-U/mcenter.git
git@gitee.com:MinKo-U/mcenter.git
MinKo-U
mcenter
mcenter
v1.0.0

搜索帮助