Files
kratos-bootstrap/gen/api/go/conf/v1/kratos_conf_server.pb.go
2023-11-17 22:48:39 +08:00

2265 lines
78 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc (unknown)
// source: conf/v1/kratos_conf_server.proto
package v1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
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 Server struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Rest *Server_REST `protobuf:"bytes,1,opt,name=rest,proto3" json:"rest,omitempty"` // REST服务
Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // gRPC服务
Graphql *Server_GraphQL `protobuf:"bytes,3,opt,name=graphql,proto3" json:"graphql,omitempty"` // GraphQL服务
Thrift *Server_Thrift `protobuf:"bytes,4,opt,name=thrift,proto3" json:"thrift,omitempty"` // Thrift服务
Mqtt *Server_Mqtt `protobuf:"bytes,10,opt,name=mqtt,proto3" json:"mqtt,omitempty"` // MQTT服务
Kafka *Server_Kafka `protobuf:"bytes,11,opt,name=kafka,proto3" json:"kafka,omitempty"` // Kafka服务
Rabbitmq *Server_RabbitMQ `protobuf:"bytes,12,opt,name=rabbitmq,proto3" json:"rabbitmq,omitempty"` // RabbitMQ服务
Activemq *Server_ActiveMQ `protobuf:"bytes,13,opt,name=activemq,proto3" json:"activemq,omitempty"` // ActiveMQ
Nats *Server_NATS `protobuf:"bytes,14,opt,name=nats,proto3" json:"nats,omitempty"` // NATS
Nsq *Server_NSQ `protobuf:"bytes,15,opt,name=nsq,proto3" json:"nsq,omitempty"` // NATS
Pulsar *Server_Pulsar `protobuf:"bytes,16,opt,name=pulsar,proto3" json:"pulsar,omitempty"` // Pulsar
Redis *Server_Redis `protobuf:"bytes,17,opt,name=redis,proto3" json:"redis,omitempty"` // Redis
Rocketmq *Server_RocketMQ `protobuf:"bytes,18,opt,name=rocketmq,proto3" json:"rocketmq,omitempty"` // RocketMQ
Websocket *Server_Websocket `protobuf:"bytes,20,opt,name=websocket,proto3" json:"websocket,omitempty"` // Websocket服务
Sse *Server_SSE `protobuf:"bytes,21,opt,name=sse,proto3" json:"sse,omitempty"` // SSE服务
Socketio *Server_SocketIO `protobuf:"bytes,22,opt,name=socketio,proto3" json:"socketio,omitempty"` // SocketIO服务
Signalr *Server_SignalR `protobuf:"bytes,23,opt,name=signalr,proto3" json:"signalr,omitempty"` // SignalR服务
Asynq *Server_Asynq `protobuf:"bytes,30,opt,name=asynq,proto3" json:"asynq,omitempty"` // Asynq服务
Machinery *Server_Machinery `protobuf:"bytes,31,opt,name=machinery,proto3" json:"machinery,omitempty"` // Machinery服务
}
func (x *Server) Reset() {
*x = Server{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server) ProtoMessage() {}
func (x *Server) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server.ProtoReflect.Descriptor instead.
func (*Server) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0}
}
func (x *Server) GetRest() *Server_REST {
if x != nil {
return x.Rest
}
return nil
}
func (x *Server) GetGrpc() *Server_GRPC {
if x != nil {
return x.Grpc
}
return nil
}
func (x *Server) GetGraphql() *Server_GraphQL {
if x != nil {
return x.Graphql
}
return nil
}
func (x *Server) GetThrift() *Server_Thrift {
if x != nil {
return x.Thrift
}
return nil
}
func (x *Server) GetMqtt() *Server_Mqtt {
if x != nil {
return x.Mqtt
}
return nil
}
func (x *Server) GetKafka() *Server_Kafka {
if x != nil {
return x.Kafka
}
return nil
}
func (x *Server) GetRabbitmq() *Server_RabbitMQ {
if x != nil {
return x.Rabbitmq
}
return nil
}
func (x *Server) GetActivemq() *Server_ActiveMQ {
if x != nil {
return x.Activemq
}
return nil
}
func (x *Server) GetNats() *Server_NATS {
if x != nil {
return x.Nats
}
return nil
}
func (x *Server) GetNsq() *Server_NSQ {
if x != nil {
return x.Nsq
}
return nil
}
func (x *Server) GetPulsar() *Server_Pulsar {
if x != nil {
return x.Pulsar
}
return nil
}
func (x *Server) GetRedis() *Server_Redis {
if x != nil {
return x.Redis
}
return nil
}
func (x *Server) GetRocketmq() *Server_RocketMQ {
if x != nil {
return x.Rocketmq
}
return nil
}
func (x *Server) GetWebsocket() *Server_Websocket {
if x != nil {
return x.Websocket
}
return nil
}
func (x *Server) GetSse() *Server_SSE {
if x != nil {
return x.Sse
}
return nil
}
func (x *Server) GetSocketio() *Server_SocketIO {
if x != nil {
return x.Socketio
}
return nil
}
func (x *Server) GetSignalr() *Server_SignalR {
if x != nil {
return x.Signalr
}
return nil
}
func (x *Server) GetAsynq() *Server_Asynq {
if x != nil {
return x.Asynq
}
return nil
}
func (x *Server) GetMachinery() *Server_Machinery {
if x != nil {
return x.Machinery
}
return nil
}
// REST
type Server_REST struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // 超时时间
Cors *Server_REST_CORS `protobuf:"bytes,4,opt,name=cors,proto3" json:"cors,omitempty"` // 服务监听地址
Middleware *Middleware `protobuf:"bytes,5,opt,name=middleware,proto3" json:"middleware,omitempty"` // 中间件
EnableSwagger bool `protobuf:"varint,6,opt,name=enable_swagger,json=enableSwagger,proto3" json:"enable_swagger,omitempty"` // 启用SwaggerUI
EnablePprof bool `protobuf:"varint,7,opt,name=enable_pprof,json=enablePprof,proto3" json:"enable_pprof,omitempty"` // 启用pprof
}
func (x *Server_REST) Reset() {
*x = Server_REST{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_REST) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_REST) ProtoMessage() {}
func (x *Server_REST) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_REST.ProtoReflect.Descriptor instead.
func (*Server_REST) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Server_REST) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_REST) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_REST) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
func (x *Server_REST) GetCors() *Server_REST_CORS {
if x != nil {
return x.Cors
}
return nil
}
func (x *Server_REST) GetMiddleware() *Middleware {
if x != nil {
return x.Middleware
}
return nil
}
func (x *Server_REST) GetEnableSwagger() bool {
if x != nil {
return x.EnableSwagger
}
return false
}
func (x *Server_REST) GetEnablePprof() bool {
if x != nil {
return x.EnablePprof
}
return false
}
// gPRC
type Server_GRPC struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // 超时时间
Middleware *Middleware `protobuf:"bytes,4,opt,name=middleware,proto3" json:"middleware,omitempty"`
}
func (x *Server_GRPC) Reset() {
*x = Server_GRPC{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_GRPC) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_GRPC) ProtoMessage() {}
func (x *Server_GRPC) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_GRPC.ProtoReflect.Descriptor instead.
func (*Server_GRPC) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 1}
}
func (x *Server_GRPC) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_GRPC) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_GRPC) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
func (x *Server_GRPC) GetMiddleware() *Middleware {
if x != nil {
return x.Middleware
}
return nil
}
// Websocket
type Server_Websocket struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络样式http、https
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 路径
Codec string `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // 超时时间
}
func (x *Server_Websocket) Reset() {
*x = Server_Websocket{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Websocket) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Websocket) ProtoMessage() {}
func (x *Server_Websocket) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_Websocket.ProtoReflect.Descriptor instead.
func (*Server_Websocket) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 2}
}
func (x *Server_Websocket) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_Websocket) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_Websocket) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Server_Websocket) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
func (x *Server_Websocket) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
// MQTT
type Server_Mqtt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // 对端网络地址
}
func (x *Server_Mqtt) Reset() {
*x = Server_Mqtt{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Mqtt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Mqtt) ProtoMessage() {}
func (x *Server_Mqtt) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_Mqtt.ProtoReflect.Descriptor instead.
func (*Server_Mqtt) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 3}
}
func (x *Server_Mqtt) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
// Kafka
type Server_Kafka struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` // 对端网络地址
}
func (x *Server_Kafka) Reset() {
*x = Server_Kafka{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Kafka) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Kafka) ProtoMessage() {}
func (x *Server_Kafka) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_Kafka.ProtoReflect.Descriptor instead.
func (*Server_Kafka) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 4}
}
func (x *Server_Kafka) GetAddrs() []string {
if x != nil {
return x.Addrs
}
return nil
}
// RabbitMQ
type Server_RabbitMQ struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` // 对端网络地址
}
func (x *Server_RabbitMQ) Reset() {
*x = Server_RabbitMQ{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_RabbitMQ) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_RabbitMQ) ProtoMessage() {}
func (x *Server_RabbitMQ) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_RabbitMQ.ProtoReflect.Descriptor instead.
func (*Server_RabbitMQ) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 5}
}
func (x *Server_RabbitMQ) GetAddrs() []string {
if x != nil {
return x.Addrs
}
return nil
}
type Server_ActiveMQ struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // 对端网络地址
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
}
func (x *Server_ActiveMQ) Reset() {
*x = Server_ActiveMQ{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_ActiveMQ) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_ActiveMQ) ProtoMessage() {}
func (x *Server_ActiveMQ) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_ActiveMQ.ProtoReflect.Descriptor instead.
func (*Server_ActiveMQ) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 6}
}
func (x *Server_ActiveMQ) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Server_ActiveMQ) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
type Server_NATS struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // 对端网络地址
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
}
func (x *Server_NATS) Reset() {
*x = Server_NATS{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_NATS) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_NATS) ProtoMessage() {}
func (x *Server_NATS) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_NATS.ProtoReflect.Descriptor instead.
func (*Server_NATS) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 7}
}
func (x *Server_NATS) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Server_NATS) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
type Server_NSQ struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // 对端网络地址
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
}
func (x *Server_NSQ) Reset() {
*x = Server_NSQ{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_NSQ) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_NSQ) ProtoMessage() {}
func (x *Server_NSQ) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_NSQ.ProtoReflect.Descriptor instead.
func (*Server_NSQ) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 8}
}
func (x *Server_NSQ) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Server_NSQ) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
type Server_Pulsar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // 对端网络地址
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
}
func (x *Server_Pulsar) Reset() {
*x = Server_Pulsar{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Pulsar) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Pulsar) ProtoMessage() {}
func (x *Server_Pulsar) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_Pulsar.ProtoReflect.Descriptor instead.
func (*Server_Pulsar) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 9}
}
func (x *Server_Pulsar) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Server_Pulsar) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
type Server_Redis struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // 对端网络地址
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
}
func (x *Server_Redis) Reset() {
*x = Server_Redis{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Redis) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Redis) ProtoMessage() {}
func (x *Server_Redis) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_Redis.ProtoReflect.Descriptor instead.
func (*Server_Redis) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 10}
}
func (x *Server_Redis) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Server_Redis) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
type Server_RocketMQ struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // 驱动版本aliyun、v2、v5
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml...
EnableTrace bool `protobuf:"varint,3,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"`
NameServers []string `protobuf:"bytes,4,rep,name=name_servers,json=nameServers,proto3" json:"name_servers,omitempty"`
NameServerDomain string `protobuf:"bytes,5,opt,name=name_server_domain,json=nameServerDomain,proto3" json:"name_server_domain,omitempty"`
AccessKey string `protobuf:"bytes,6,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
SecretKey string `protobuf:"bytes,7,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
SecurityToken string `protobuf:"bytes,8,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"`
Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"`
InstanceName string `protobuf:"bytes,10,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
GroupName string `protobuf:"bytes,11,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}
func (x *Server_RocketMQ) Reset() {
*x = Server_RocketMQ{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_RocketMQ) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_RocketMQ) ProtoMessage() {}
func (x *Server_RocketMQ) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_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 Server_RocketMQ.ProtoReflect.Descriptor instead.
func (*Server_RocketMQ) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 11}
}
func (x *Server_RocketMQ) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *Server_RocketMQ) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
func (x *Server_RocketMQ) GetEnableTrace() bool {
if x != nil {
return x.EnableTrace
}
return false
}
func (x *Server_RocketMQ) GetNameServers() []string {
if x != nil {
return x.NameServers
}
return nil
}
func (x *Server_RocketMQ) GetNameServerDomain() string {
if x != nil {
return x.NameServerDomain
}
return ""
}
func (x *Server_RocketMQ) GetAccessKey() string {
if x != nil {
return x.AccessKey
}
return ""
}
func (x *Server_RocketMQ) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
func (x *Server_RocketMQ) GetSecurityToken() string {
if x != nil {
return x.SecurityToken
}
return ""
}
func (x *Server_RocketMQ) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *Server_RocketMQ) GetInstanceName() string {
if x != nil {
return x.InstanceName
}
return ""
}
func (x *Server_RocketMQ) GetGroupName() string {
if x != nil {
return x.GroupName
}
return ""
}
// Asynq
type Server_Asynq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // 对端网络地址
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // redis登录密码
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"` // 数据库索引
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // 时区
}
func (x *Server_Asynq) Reset() {
*x = Server_Asynq{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Asynq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Asynq) ProtoMessage() {}
func (x *Server_Asynq) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[13]
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 Server_Asynq.ProtoReflect.Descriptor instead.
func (*Server_Asynq) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 12}
}
func (x *Server_Asynq) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Server_Asynq) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *Server_Asynq) GetDb() int32 {
if x != nil {
return x.Db
}
return 0
}
func (x *Server_Asynq) GetLocation() string {
if x != nil {
return x.Location
}
return ""
}
// Machinery
type Server_Machinery struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"` // broker的地址可以根据实际使用的存储介质分别指定Redis、AMQP或AWS SQS
Backends []string `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"` // backend配置用来指定存放结果的介质的配置。可以根据需求分别指定为Redis、memcached或mongodb等
}
func (x *Server_Machinery) Reset() {
*x = Server_Machinery{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Machinery) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Machinery) ProtoMessage() {}
func (x *Server_Machinery) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[14]
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 Server_Machinery.ProtoReflect.Descriptor instead.
func (*Server_Machinery) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13}
}
func (x *Server_Machinery) GetBrokers() []string {
if x != nil {
return x.Brokers
}
return nil
}
func (x *Server_Machinery) GetBackends() []string {
if x != nil {
return x.Backends
}
return nil
}
// SSE
type Server_SSE struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 路径
Codec string `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // 超时时间
EventTtl *durationpb.Duration `protobuf:"bytes,6,opt,name=event_ttl,json=eventTtl,proto3" json:"event_ttl,omitempty"` // 超时时间
AutoStream bool `protobuf:"varint,7,opt,name=auto_stream,json=autoStream,proto3" json:"auto_stream,omitempty"` //
AutoReply bool `protobuf:"varint,8,opt,name=auto_reply,json=autoReply,proto3" json:"auto_reply,omitempty"` //
SplitData bool `protobuf:"varint,9,opt,name=split_data,json=splitData,proto3" json:"split_data,omitempty"` //
EncodeBase64 bool `protobuf:"varint,10,opt,name=encode_base64,json=encodeBase64,proto3" json:"encode_base64,omitempty"` // 进行BASE64编码
}
func (x *Server_SSE) Reset() {
*x = Server_SSE{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_SSE) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_SSE) ProtoMessage() {}
func (x *Server_SSE) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[15]
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 Server_SSE.ProtoReflect.Descriptor instead.
func (*Server_SSE) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 14}
}
func (x *Server_SSE) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_SSE) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_SSE) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Server_SSE) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
func (x *Server_SSE) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
func (x *Server_SSE) GetEventTtl() *durationpb.Duration {
if x != nil {
return x.EventTtl
}
return nil
}
func (x *Server_SSE) GetAutoStream() bool {
if x != nil {
return x.AutoStream
}
return false
}
func (x *Server_SSE) GetAutoReply() bool {
if x != nil {
return x.AutoReply
}
return false
}
func (x *Server_SSE) GetSplitData() bool {
if x != nil {
return x.SplitData
}
return false
}
func (x *Server_SSE) GetEncodeBase64() bool {
if x != nil {
return x.EncodeBase64
}
return false
}
// SocketIO
type Server_SocketIO struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 路径
Codec string `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器
}
func (x *Server_SocketIO) Reset() {
*x = Server_SocketIO{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_SocketIO) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_SocketIO) ProtoMessage() {}
func (x *Server_SocketIO) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[16]
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 Server_SocketIO.ProtoReflect.Descriptor instead.
func (*Server_SocketIO) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 15}
}
func (x *Server_SocketIO) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_SocketIO) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_SocketIO) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Server_SocketIO) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
// SignalR
type Server_SignalR struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Codec string `protobuf:"bytes,3,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器
KeepAliveInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"` // 超时时间
ChanReceiveTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=chan_receive_timeout,json=chanReceiveTimeout,proto3" json:"chan_receive_timeout,omitempty"` // 超时时间
Debug bool `protobuf:"varint,6,opt,name=debug,proto3" json:"debug,omitempty"` // 调试开关
StreamBufferCapacity uint32 `protobuf:"varint,7,opt,name=stream_buffer_capacity,json=streamBufferCapacity,proto3" json:"stream_buffer_capacity,omitempty"` //
}
func (x *Server_SignalR) Reset() {
*x = Server_SignalR{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_SignalR) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_SignalR) ProtoMessage() {}
func (x *Server_SignalR) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[17]
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 Server_SignalR.ProtoReflect.Descriptor instead.
func (*Server_SignalR) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 16}
}
func (x *Server_SignalR) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_SignalR) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_SignalR) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
func (x *Server_SignalR) GetKeepAliveInterval() *durationpb.Duration {
if x != nil {
return x.KeepAliveInterval
}
return nil
}
func (x *Server_SignalR) GetChanReceiveTimeout() *durationpb.Duration {
if x != nil {
return x.ChanReceiveTimeout
}
return nil
}
func (x *Server_SignalR) GetDebug() bool {
if x != nil {
return x.Debug
}
return false
}
func (x *Server_SignalR) GetStreamBufferCapacity() uint32 {
if x != nil {
return x.StreamBufferCapacity
}
return 0
}
// GraphQL
type Server_GraphQL struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 路径
Codec string `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // 超时时间
StrictSlash bool `protobuf:"varint,6,opt,name=strict_slash,json=strictSlash,proto3" json:"strict_slash,omitempty"`
}
func (x *Server_GraphQL) Reset() {
*x = Server_GraphQL{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_GraphQL) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_GraphQL) ProtoMessage() {}
func (x *Server_GraphQL) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[18]
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 Server_GraphQL.ProtoReflect.Descriptor instead.
func (*Server_GraphQL) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 17}
}
func (x *Server_GraphQL) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_GraphQL) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_GraphQL) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Server_GraphQL) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
func (x *Server_GraphQL) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
func (x *Server_GraphQL) GetStrictSlash() bool {
if x != nil {
return x.StrictSlash
}
return false
}
// Thrift
type Server_Thrift struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // 网络
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 服务监听地址
Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
Buffered bool `protobuf:"varint,4,opt,name=buffered,proto3" json:"buffered,omitempty"`
Framed bool `protobuf:"varint,5,opt,name=framed,proto3" json:"framed,omitempty"`
BufferSize bool `protobuf:"varint,6,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"`
}
func (x *Server_Thrift) Reset() {
*x = Server_Thrift{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_Thrift) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_Thrift) ProtoMessage() {}
func (x *Server_Thrift) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[19]
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 Server_Thrift.ProtoReflect.Descriptor instead.
func (*Server_Thrift) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 18}
}
func (x *Server_Thrift) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_Thrift) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_Thrift) GetProtocol() string {
if x != nil {
return x.Protocol
}
return ""
}
func (x *Server_Thrift) GetBuffered() bool {
if x != nil {
return x.Buffered
}
return false
}
func (x *Server_Thrift) GetFramed() bool {
if x != nil {
return x.Framed
}
return false
}
func (x *Server_Thrift) GetBufferSize() bool {
if x != nil {
return x.BufferSize
}
return false
}
type Server_REST_CORS struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Headers []string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` //
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` //
Origins []string `protobuf:"bytes,3,rep,name=origins,proto3" json:"origins,omitempty"` //
}
func (x *Server_REST_CORS) Reset() {
*x = Server_REST_CORS{}
if protoimpl.UnsafeEnabled {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Server_REST_CORS) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_REST_CORS) ProtoMessage() {}
func (x *Server_REST_CORS) ProtoReflect() protoreflect.Message {
mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[20]
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 Server_REST_CORS.ProtoReflect.Descriptor instead.
func (*Server_REST_CORS) Descriptor() ([]byte, []int) {
return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 0, 0}
}
func (x *Server_REST_CORS) GetHeaders() []string {
if x != nil {
return x.Headers
}
return nil
}
func (x *Server_REST_CORS) GetMethods() []string {
if x != nil {
return x.Methods
}
return nil
}
func (x *Server_REST_CORS) GetOrigins() []string {
if x != nil {
return x.Origins
}
return nil
}
var File_conf_v1_kratos_conf_server_proto protoreflect.FileDescriptor
var file_conf_v1_kratos_conf_server_proto_rawDesc = []byte{
0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73,
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x04, 0x63, 0x6f, 0x6e, 0x66, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x6e, 0x66, 0x2f, 0x76,
0x31, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x6d, 0x69,
0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb,
0x1b, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x65, 0x73,
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x52, 0x45, 0x53, 0x54, 0x52, 0x04, 0x72, 0x65, 0x73, 0x74,
0x12, 0x25, 0x0a, 0x04, 0x67, 0x72, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x47, 0x52, 0x50,
0x43, 0x52, 0x04, 0x67, 0x72, 0x70, 0x63, 0x12, 0x2e, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x70, 0x68,
0x71, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x4c, 0x52, 0x07,
0x67, 0x72, 0x61, 0x70, 0x68, 0x71, 0x6c, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x68, 0x72, 0x69, 0x66,
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x54, 0x68, 0x72, 0x69, 0x66, 0x74, 0x52, 0x06, 0x74, 0x68,
0x72, 0x69, 0x66, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x6d, 0x71, 0x74, 0x74, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x2e, 0x4d, 0x71, 0x74, 0x74, 0x52, 0x04, 0x6d, 0x71, 0x74, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x6b,
0x61, 0x66, 0x6b, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6e,
0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x52, 0x05,
0x6b, 0x61, 0x66, 0x6b, 0x61, 0x12, 0x31, 0x0a, 0x08, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x6d,
0x71, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x4d, 0x51, 0x52, 0x08,
0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x6d, 0x71, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69,
0x76, 0x65, 0x6d, 0x71, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6e,
0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d,
0x51, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x6d, 0x71, 0x12, 0x25, 0x0a, 0x04, 0x6e,
0x61, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4e, 0x41, 0x54, 0x53, 0x52, 0x04, 0x6e, 0x61,
0x74, 0x73, 0x12, 0x22, 0x0a, 0x03, 0x6e, 0x73, 0x71, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x10, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4e, 0x53,
0x51, 0x52, 0x03, 0x6e, 0x73, 0x71, 0x12, 0x2b, 0x0a, 0x06, 0x70, 0x75, 0x6c, 0x73, 0x61, 0x72,
0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65,
0x72, 0x76, 0x65, 0x72, 0x2e, 0x50, 0x75, 0x6c, 0x73, 0x61, 0x72, 0x52, 0x06, 0x70, 0x75, 0x6c,
0x73, 0x61, 0x72, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x18, 0x11, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x52, 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x12, 0x31, 0x0a,
0x08, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x6d, 0x71, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x15, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x52, 0x6f,
0x63, 0x6b, 0x65, 0x74, 0x4d, 0x51, 0x52, 0x08, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x6d, 0x71,
0x12, 0x34, 0x0a, 0x09, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x14, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x2e, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x09, 0x77, 0x65, 0x62,
0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x73, 0x73, 0x65, 0x18, 0x15, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x2e, 0x53, 0x53, 0x45, 0x52, 0x03, 0x73, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x73, 0x6f,
0x63, 0x6b, 0x65, 0x74, 0x69, 0x6f, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63,
0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65,
0x74, 0x49, 0x4f, 0x52, 0x08, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x69, 0x6f, 0x12, 0x2e, 0x0a,
0x07, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x72, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x67,
0x6e, 0x61, 0x6c, 0x52, 0x52, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x72, 0x12, 0x28, 0x0a,
0x05, 0x61, 0x73, 0x79, 0x6e, 0x71, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63,
0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x71,
0x52, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x71, 0x12, 0x34, 0x0a, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69,
0x6e, 0x65, 0x72, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6e,
0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x1a, 0xe7, 0x02,
0x0a, 0x04, 0x52, 0x45, 0x53, 0x54, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x61, 0x64, 0x64, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18,
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x2a, 0x0a, 0x04, 0x63, 0x6f, 0x72,
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x52, 0x45, 0x53, 0x54, 0x2e, 0x43, 0x4f, 0x52, 0x53, 0x52,
0x04, 0x63, 0x6f, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
0x61, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d, 0x69, 0x64,
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x5f, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x12, 0x21,
0x0a, 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x70, 0x72, 0x6f, 0x66, 0x18, 0x07,
0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x70, 0x72, 0x6f,
0x66, 0x1a, 0x54, 0x0a, 0x04, 0x43, 0x4f, 0x52, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61,
0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02,
0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x18, 0x0a,
0x07, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x1a, 0x9b, 0x01, 0x0a, 0x04, 0x47, 0x52, 0x50, 0x43,
0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64,
0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x33,
0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65,
0x6f, 0x75, 0x74, 0x12, 0x30, 0x0a, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x4d,
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c,
0x65, 0x77, 0x61, 0x72, 0x65, 0x1a, 0x98, 0x01, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63,
0x6b, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a,
0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64,
0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x33, 0x0a, 0x07, 0x74,
0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
0x1a, 0x1a, 0x0a, 0x04, 0x4d, 0x71, 0x74, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x1a, 0x1d, 0x0a, 0x05,
0x4b, 0x61, 0x66, 0x6b, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x1a, 0x20, 0x0a, 0x08, 0x52,
0x61, 0x62, 0x62, 0x69, 0x74, 0x4d, 0x51, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x1a, 0x3c, 0x0a,
0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x51, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64,
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64,
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x1a, 0x38, 0x0a, 0x04, 0x4e,
0x41, 0x54, 0x53, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12,
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x63, 0x6f, 0x64, 0x65, 0x63, 0x1a, 0x37, 0x0a, 0x03, 0x4e, 0x53, 0x51, 0x12, 0x1a, 0x0a, 0x08,
0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65,
0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x1a, 0x3a,
0x0a, 0x06, 0x50, 0x75, 0x6c, 0x73, 0x61, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70,
0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70,
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x1a, 0x39, 0x0a, 0x05, 0x52, 0x65,
0x64, 0x69, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12,
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x63, 0x6f, 0x64, 0x65, 0x63, 0x1a, 0xf5, 0x02, 0x0a, 0x08, 0x52, 0x6f, 0x63, 0x6b, 0x65, 0x74,
0x4d, 0x51, 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, 0x14, 0x0a, 0x05,
0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64,
0x65, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x61,
0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65,
0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d,
0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x61, 0x6d, 0x65,
0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65,
0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f,
0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65,
0x74, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65,
0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e,
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d,
0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x6b, 0x0a,
0x05, 0x41, 0x73, 0x79, 0x6e, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x0e,
0x0a, 0x02, 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x64, 0x62, 0x12, 0x1a,
0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x41, 0x0a, 0x09, 0x4d, 0x61,
0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65,
0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72,
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20,
0x03, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x1a, 0xce, 0x02,
0x0a, 0x03, 0x53, 0x53, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12,
0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61,
0x64, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x33, 0x0a,
0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f,
0x75, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x74, 0x6c, 0x18,
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x74, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75,
0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0a, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52,
0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x70,
0x6c, 0x69, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
0x73, 0x70, 0x6c, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x63,
0x6f, 0x64, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08,
0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x1a, 0x62,
0x0a, 0x08, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65,
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74,
0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05,
0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64,
0x65, 0x63, 0x1a, 0xb1, 0x02, 0x0a, 0x07, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x12, 0x18,
0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05,
0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64,
0x65, 0x63, 0x12, 0x49, 0x0a, 0x13, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65,
0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6b, 0x65, 0x65, 0x70,
0x41, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x4b, 0x0a,
0x14, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69,
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65,
0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65,
0x62, 0x75, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67,
0x12, 0x34, 0x0a, 0x16, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65,
0x72, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x14, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x43, 0x61,
0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x1a, 0xb9, 0x01, 0x0a, 0x07, 0x47, 0x72, 0x61, 0x70, 0x68,
0x51, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04,
0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72,
0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69,
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12,
0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x18,
0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x53, 0x6c, 0x61,
0x73, 0x68, 0x1a, 0xa7, 0x01, 0x0a, 0x06, 0x54, 0x68, 0x72, 0x69, 0x66, 0x74, 0x12, 0x18, 0x0a,
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x66, 0x66, 0x65,
0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x62, 0x75, 0x66, 0x66, 0x65,
0x72, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x64, 0x18, 0x05, 0x20,
0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62,
0x75, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
0x52, 0x0a, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x87, 0x01, 0x0a,
0x08, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x42, 0x15, 0x4b, 0x72, 0x61, 0x74, 0x6f,
0x73, 0x43, 0x6f, 0x6e, 0x66, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74,
0x78, 0x37, 0x64, 0x6f, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2d, 0x62, 0x6f, 0x6f, 0x74,
0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02,
0x04, 0x43, 0x6f, 0x6e, 0x66, 0xca, 0x02, 0x04, 0x43, 0x6f, 0x6e, 0x66, 0xe2, 0x02, 0x10, 0x43,
0x6f, 0x6e, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
0x02, 0x04, 0x43, 0x6f, 0x6e, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_conf_v1_kratos_conf_server_proto_rawDescOnce sync.Once
file_conf_v1_kratos_conf_server_proto_rawDescData = file_conf_v1_kratos_conf_server_proto_rawDesc
)
func file_conf_v1_kratos_conf_server_proto_rawDescGZIP() []byte {
file_conf_v1_kratos_conf_server_proto_rawDescOnce.Do(func() {
file_conf_v1_kratos_conf_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_conf_v1_kratos_conf_server_proto_rawDescData)
})
return file_conf_v1_kratos_conf_server_proto_rawDescData
}
var file_conf_v1_kratos_conf_server_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_conf_v1_kratos_conf_server_proto_goTypes = []interface{}{
(*Server)(nil), // 0: conf.Server
(*Server_REST)(nil), // 1: conf.Server.REST
(*Server_GRPC)(nil), // 2: conf.Server.GRPC
(*Server_Websocket)(nil), // 3: conf.Server.Websocket
(*Server_Mqtt)(nil), // 4: conf.Server.Mqtt
(*Server_Kafka)(nil), // 5: conf.Server.Kafka
(*Server_RabbitMQ)(nil), // 6: conf.Server.RabbitMQ
(*Server_ActiveMQ)(nil), // 7: conf.Server.ActiveMQ
(*Server_NATS)(nil), // 8: conf.Server.NATS
(*Server_NSQ)(nil), // 9: conf.Server.NSQ
(*Server_Pulsar)(nil), // 10: conf.Server.Pulsar
(*Server_Redis)(nil), // 11: conf.Server.Redis
(*Server_RocketMQ)(nil), // 12: conf.Server.RocketMQ
(*Server_Asynq)(nil), // 13: conf.Server.Asynq
(*Server_Machinery)(nil), // 14: conf.Server.Machinery
(*Server_SSE)(nil), // 15: conf.Server.SSE
(*Server_SocketIO)(nil), // 16: conf.Server.SocketIO
(*Server_SignalR)(nil), // 17: conf.Server.SignalR
(*Server_GraphQL)(nil), // 18: conf.Server.GraphQL
(*Server_Thrift)(nil), // 19: conf.Server.Thrift
(*Server_REST_CORS)(nil), // 20: conf.Server.REST.CORS
(*durationpb.Duration)(nil), // 21: google.protobuf.Duration
(*Middleware)(nil), // 22: conf.Middleware
}
var file_conf_v1_kratos_conf_server_proto_depIdxs = []int32{
1, // 0: conf.Server.rest:type_name -> conf.Server.REST
2, // 1: conf.Server.grpc:type_name -> conf.Server.GRPC
18, // 2: conf.Server.graphql:type_name -> conf.Server.GraphQL
19, // 3: conf.Server.thrift:type_name -> conf.Server.Thrift
4, // 4: conf.Server.mqtt:type_name -> conf.Server.Mqtt
5, // 5: conf.Server.kafka:type_name -> conf.Server.Kafka
6, // 6: conf.Server.rabbitmq:type_name -> conf.Server.RabbitMQ
7, // 7: conf.Server.activemq:type_name -> conf.Server.ActiveMQ
8, // 8: conf.Server.nats:type_name -> conf.Server.NATS
9, // 9: conf.Server.nsq:type_name -> conf.Server.NSQ
10, // 10: conf.Server.pulsar:type_name -> conf.Server.Pulsar
11, // 11: conf.Server.redis:type_name -> conf.Server.Redis
12, // 12: conf.Server.rocketmq:type_name -> conf.Server.RocketMQ
3, // 13: conf.Server.websocket:type_name -> conf.Server.Websocket
15, // 14: conf.Server.sse:type_name -> conf.Server.SSE
16, // 15: conf.Server.socketio:type_name -> conf.Server.SocketIO
17, // 16: conf.Server.signalr:type_name -> conf.Server.SignalR
13, // 17: conf.Server.asynq:type_name -> conf.Server.Asynq
14, // 18: conf.Server.machinery:type_name -> conf.Server.Machinery
21, // 19: conf.Server.REST.timeout:type_name -> google.protobuf.Duration
20, // 20: conf.Server.REST.cors:type_name -> conf.Server.REST.CORS
22, // 21: conf.Server.REST.middleware:type_name -> conf.Middleware
21, // 22: conf.Server.GRPC.timeout:type_name -> google.protobuf.Duration
22, // 23: conf.Server.GRPC.middleware:type_name -> conf.Middleware
21, // 24: conf.Server.Websocket.timeout:type_name -> google.protobuf.Duration
21, // 25: conf.Server.SSE.timeout:type_name -> google.protobuf.Duration
21, // 26: conf.Server.SSE.event_ttl:type_name -> google.protobuf.Duration
21, // 27: conf.Server.SignalR.keep_alive_interval:type_name -> google.protobuf.Duration
21, // 28: conf.Server.SignalR.chan_receive_timeout:type_name -> google.protobuf.Duration
21, // 29: conf.Server.GraphQL.timeout:type_name -> google.protobuf.Duration
30, // [30:30] is the sub-list for method output_type
30, // [30:30] is the sub-list for method input_type
30, // [30:30] is the sub-list for extension type_name
30, // [30:30] is the sub-list for extension extendee
0, // [0:30] is the sub-list for field type_name
}
func init() { file_conf_v1_kratos_conf_server_proto_init() }
func file_conf_v1_kratos_conf_server_proto_init() {
if File_conf_v1_kratos_conf_server_proto != nil {
return
}
file_conf_v1_kratos_conf_middleware_proto_init()
if !protoimpl.UnsafeEnabled {
file_conf_v1_kratos_conf_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_REST); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_GRPC); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Websocket); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Mqtt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Kafka); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_RabbitMQ); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_ActiveMQ); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_NATS); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_NSQ); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Pulsar); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Redis); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_RocketMQ); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Asynq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Machinery); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_SSE); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_SocketIO); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_SignalR); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_GraphQL); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_Thrift); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conf_v1_kratos_conf_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Server_REST_CORS); 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_conf_v1_kratos_conf_server_proto_rawDesc,
NumEnums: 0,
NumMessages: 21,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_conf_v1_kratos_conf_server_proto_goTypes,
DependencyIndexes: file_conf_v1_kratos_conf_server_proto_depIdxs,
MessageInfos: file_conf_v1_kratos_conf_server_proto_msgTypes,
}.Build()
File_conf_v1_kratos_conf_server_proto = out.File
file_conf_v1_kratos_conf_server_proto_rawDesc = nil
file_conf_v1_kratos_conf_server_proto_goTypes = nil
file_conf_v1_kratos_conf_server_proto_depIdxs = nil
}