代码拉取完成,页面将自动刷新
// 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
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。