1528 lines
49 KiB
Go
1528 lines
49 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.31.0
|
||
// protoc v3.20.3
|
||
// source: conf.proto
|
||
|
||
package conf
|
||
|
||
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 Bootstrap struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
|
||
Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
Queue *Queue `protobuf:"bytes,3,opt,name=queue,proto3" json:"queue,omitempty"`
|
||
Pagsmile *Pagsmile `protobuf:"bytes,4,opt,name=pagsmile,proto3" json:"pagsmile,omitempty"`
|
||
ConfigFiles *ConfigFiles `protobuf:"bytes,5,opt,name=configFiles,proto3" json:"configFiles,omitempty"`
|
||
AppConfig *AppConfig `protobuf:"bytes,7,opt,name=appConfig,proto3" json:"appConfig,omitempty"`
|
||
}
|
||
|
||
func (x *Bootstrap) Reset() {
|
||
*x = Bootstrap{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Bootstrap) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Bootstrap) ProtoMessage() {}
|
||
|
||
func (x *Bootstrap) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Bootstrap.ProtoReflect.Descriptor instead.
|
||
func (*Bootstrap) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *Bootstrap) GetServer() *Server {
|
||
if x != nil {
|
||
return x.Server
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Bootstrap) GetData() *Data {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Bootstrap) GetQueue() *Queue {
|
||
if x != nil {
|
||
return x.Queue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Bootstrap) GetPagsmile() *Pagsmile {
|
||
if x != nil {
|
||
return x.Pagsmile
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Bootstrap) GetConfigFiles() *ConfigFiles {
|
||
if x != nil {
|
||
return x.ConfigFiles
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Bootstrap) GetAppConfig() *AppConfig {
|
||
if x != nil {
|
||
return x.AppConfig
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type Server struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
|
||
Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
|
||
Etcd *Server_ETCD `protobuf:"bytes,3,opt,name=etcd,proto3" json:"etcd,omitempty"`
|
||
TraceEndpoint string `protobuf:"bytes,4,opt,name=trace_endpoint,json=traceEndpoint,proto3" json:"trace_endpoint,omitempty"`
|
||
Env string `protobuf:"bytes,6,opt,name=env,proto3" json:"env,omitempty"`
|
||
GeoFile string `protobuf:"bytes,7,opt,name=geo_file,json=geoFile,proto3" json:"geo_file,omitempty"`
|
||
SvrId int32 `protobuf:"varint,8,opt,name=svr_id,json=svrId,proto3" json:"svr_id,omitempty"` // 当前服务器id
|
||
FirstDay int32 `protobuf:"varint,9,opt,name=first_day,json=firstDay,proto3" json:"first_day,omitempty"` // 开服首日,格式类似 20230906,表示2023.9.6
|
||
VerCheck string `protobuf:"bytes,10,opt,name=ver_check,json=verCheck,proto3" json:"ver_check,omitempty"` // 版本号检查,最低版本号
|
||
TimeoutTimerPer10Second int32 `protobuf:"varint,11,opt,name=timeoutTimerPer10Second,proto3" json:"timeoutTimerPer10Second,omitempty"` // 10秒timer执行超时时间纳秒
|
||
}
|
||
|
||
func (x *Server) Reset() {
|
||
*x = Server{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[1]
|
||
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_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.ProtoReflect.Descriptor instead.
|
||
func (*Server) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *Server) GetHttp() *Server_HTTP {
|
||
if x != nil {
|
||
return x.Http
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Server) GetGrpc() *Server_GRPC {
|
||
if x != nil {
|
||
return x.Grpc
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Server) GetEtcd() *Server_ETCD {
|
||
if x != nil {
|
||
return x.Etcd
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Server) GetTraceEndpoint() string {
|
||
if x != nil {
|
||
return x.TraceEndpoint
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server) GetEnv() string {
|
||
if x != nil {
|
||
return x.Env
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server) GetGeoFile() string {
|
||
if x != nil {
|
||
return x.GeoFile
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server) GetSvrId() int32 {
|
||
if x != nil {
|
||
return x.SvrId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Server) GetFirstDay() int32 {
|
||
if x != nil {
|
||
return x.FirstDay
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Server) GetVerCheck() string {
|
||
if x != nil {
|
||
return x.VerCheck
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server) GetTimeoutTimerPer10Second() int32 {
|
||
if x != nil {
|
||
return x.TimeoutTimerPer10Second
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type Data struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
||
Redis *Data_Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
|
||
}
|
||
|
||
func (x *Data) Reset() {
|
||
*x = Data{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Data) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Data) ProtoMessage() {}
|
||
|
||
func (x *Data) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Data.ProtoReflect.Descriptor instead.
|
||
func (*Data) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *Data) GetDatabase() *Data_Database {
|
||
if x != nil {
|
||
return x.Database
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Data) GetRedis() *Data_Redis {
|
||
if x != nil {
|
||
return x.Redis
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type Queue struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Kafka *Queue_Kafka `protobuf:"bytes,1,opt,name=kafka,proto3" json:"kafka,omitempty"`
|
||
Asynq *Queue_Asynq `protobuf:"bytes,2,opt,name=asynq,proto3" json:"asynq,omitempty"`
|
||
}
|
||
|
||
func (x *Queue) Reset() {
|
||
*x = Queue{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Queue) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Queue) ProtoMessage() {}
|
||
|
||
func (x *Queue) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Queue.ProtoReflect.Descriptor instead.
|
||
func (*Queue) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *Queue) GetKafka() *Queue_Kafka {
|
||
if x != nil {
|
||
return x.Kafka
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Queue) GetAsynq() *Queue_Asynq {
|
||
if x != nil {
|
||
return x.Asynq
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type Pagsmile struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Payout *Pagsmile_Payout `protobuf:"bytes,1,opt,name=payout,proto3" json:"payout,omitempty"`
|
||
}
|
||
|
||
func (x *Pagsmile) Reset() {
|
||
*x = Pagsmile{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Pagsmile) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Pagsmile) ProtoMessage() {}
|
||
|
||
func (x *Pagsmile) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Pagsmile.ProtoReflect.Descriptor instead.
|
||
func (*Pagsmile) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *Pagsmile) GetPayout() *Pagsmile_Payout {
|
||
if x != nil {
|
||
return x.Payout
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ConfigFiles struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
}
|
||
|
||
func (x *ConfigFiles) Reset() {
|
||
*x = ConfigFiles{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ConfigFiles) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ConfigFiles) ProtoMessage() {}
|
||
|
||
func (x *ConfigFiles) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 ConfigFiles.ProtoReflect.Descriptor instead.
|
||
func (*ConfigFiles) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *ConfigFiles) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type AppConfig struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
AdjustAppToken string `protobuf:"bytes,1,opt,name=adjustAppToken,proto3" json:"adjustAppToken,omitempty"`
|
||
AdjustS2SToken string `protobuf:"bytes,2,opt,name=adjustS2SToken,proto3" json:"adjustS2SToken,omitempty"`
|
||
AdjustEventTokenSuccess string `protobuf:"bytes,3,opt,name=adjustEventTokenSuccess,proto3" json:"adjustEventTokenSuccess,omitempty"`
|
||
AdjustEventTokenFail string `protobuf:"bytes,4,opt,name=adjustEventTokenFail,proto3" json:"adjustEventTokenFail,omitempty"`
|
||
SsAppId string `protobuf:"bytes,5,opt,name=ssAppId,proto3" json:"ssAppId,omitempty"`
|
||
}
|
||
|
||
func (x *AppConfig) Reset() {
|
||
*x = AppConfig{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *AppConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AppConfig) ProtoMessage() {}
|
||
|
||
func (x *AppConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 AppConfig.ProtoReflect.Descriptor instead.
|
||
func (*AppConfig) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *AppConfig) GetAdjustAppToken() string {
|
||
if x != nil {
|
||
return x.AdjustAppToken
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AppConfig) GetAdjustS2SToken() string {
|
||
if x != nil {
|
||
return x.AdjustS2SToken
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AppConfig) GetAdjustEventTokenSuccess() string {
|
||
if x != nil {
|
||
return x.AdjustEventTokenSuccess
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AppConfig) GetAdjustEventTokenFail() string {
|
||
if x != nil {
|
||
return x.AdjustEventTokenFail
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AppConfig) GetSsAppId() string {
|
||
if x != nil {
|
||
return x.SsAppId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type Server_HTTP 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"`
|
||
}
|
||
|
||
func (x *Server_HTTP) Reset() {
|
||
*x = Server_HTTP{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Server_HTTP) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Server_HTTP) ProtoMessage() {}
|
||
|
||
func (x *Server_HTTP) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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_HTTP.ProtoReflect.Descriptor instead.
|
||
func (*Server_HTTP) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{1, 0}
|
||
}
|
||
|
||
func (x *Server_HTTP) GetNetwork() string {
|
||
if x != nil {
|
||
return x.Network
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server_HTTP) GetAddr() string {
|
||
if x != nil {
|
||
return x.Addr
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server_HTTP) GetTimeout() *durationpb.Duration {
|
||
if x != nil {
|
||
return x.Timeout
|
||
}
|
||
return nil
|
||
}
|
||
|
||
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"`
|
||
}
|
||
|
||
func (x *Server_GRPC) Reset() {
|
||
*x = Server_GRPC{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[8]
|
||
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_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_GRPC.ProtoReflect.Descriptor instead.
|
||
func (*Server_GRPC) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{1, 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
|
||
}
|
||
|
||
type Server_ETCD struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Addr []string `protobuf:"bytes,1,rep,name=addr,proto3" json:"addr,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
||
}
|
||
|
||
func (x *Server_ETCD) Reset() {
|
||
*x = Server_ETCD{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Server_ETCD) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Server_ETCD) ProtoMessage() {}
|
||
|
||
func (x *Server_ETCD) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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_ETCD.ProtoReflect.Descriptor instead.
|
||
func (*Server_ETCD) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{1, 2}
|
||
}
|
||
|
||
func (x *Server_ETCD) GetAddr() []string {
|
||
if x != nil {
|
||
return x.Addr
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Server_ETCD) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Server_ETCD) GetPassword() string {
|
||
if x != nil {
|
||
return x.Password
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type Data_Database struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
|
||
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
||
}
|
||
|
||
func (x *Data_Database) Reset() {
|
||
*x = Data_Database{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Data_Database) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Data_Database) ProtoMessage() {}
|
||
|
||
func (x *Data_Database) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Data_Database.ProtoReflect.Descriptor instead.
|
||
func (*Data_Database) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{2, 0}
|
||
}
|
||
|
||
func (x *Data_Database) GetDriver() string {
|
||
if x != nil {
|
||
return x.Driver
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Data_Database) GetSource() string {
|
||
if x != nil {
|
||
return x.Source
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type Data_Redis 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"`
|
||
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`
|
||
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
|
||
Pool int32 `protobuf:"varint,5,opt,name=pool,proto3" json:"pool,omitempty"`
|
||
ReadTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"`
|
||
WriteTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"`
|
||
}
|
||
|
||
func (x *Data_Redis) Reset() {
|
||
*x = Data_Redis{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Data_Redis) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Data_Redis) ProtoMessage() {}
|
||
|
||
func (x *Data_Redis) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Data_Redis.ProtoReflect.Descriptor instead.
|
||
func (*Data_Redis) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{2, 1}
|
||
}
|
||
|
||
func (x *Data_Redis) GetNetwork() string {
|
||
if x != nil {
|
||
return x.Network
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Data_Redis) GetAddr() string {
|
||
if x != nil {
|
||
return x.Addr
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Data_Redis) GetDb() int32 {
|
||
if x != nil {
|
||
return x.Db
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Data_Redis) GetPassword() string {
|
||
if x != nil {
|
||
return x.Password
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Data_Redis) GetPool() int32 {
|
||
if x != nil {
|
||
return x.Pool
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Data_Redis) GetReadTimeout() *durationpb.Duration {
|
||
if x != nil {
|
||
return x.ReadTimeout
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration {
|
||
if x != nil {
|
||
return x.WriteTimeout
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type Queue_Kafka struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
|
||
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
|
||
Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
|
||
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
|
||
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
|
||
}
|
||
|
||
func (x *Queue_Kafka) Reset() {
|
||
*x = Queue_Kafka{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Queue_Kafka) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Queue_Kafka) ProtoMessage() {}
|
||
|
||
func (x *Queue_Kafka) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Queue_Kafka.ProtoReflect.Descriptor instead.
|
||
func (*Queue_Kafka) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{3, 0}
|
||
}
|
||
|
||
func (x *Queue_Kafka) GetAddrs() []string {
|
||
if x != nil {
|
||
return x.Addrs
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Queue_Kafka) GetTopic() string {
|
||
if x != nil {
|
||
return x.Topic
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Queue_Kafka) GetGroup() string {
|
||
if x != nil {
|
||
return x.Group
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Queue_Kafka) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Queue_Kafka) GetPassword() string {
|
||
if x != nil {
|
||
return x.Password
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type Queue_Asynq 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"`
|
||
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`
|
||
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
|
||
Pool int32 `protobuf:"varint,5,opt,name=pool,proto3" json:"pool,omitempty"`
|
||
ReadTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"`
|
||
WriteTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"`
|
||
Concurrency int32 `protobuf:"varint,8,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
|
||
}
|
||
|
||
func (x *Queue_Asynq) Reset() {
|
||
*x = Queue_Asynq{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Queue_Asynq) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Queue_Asynq) ProtoMessage() {}
|
||
|
||
func (x *Queue_Asynq) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Queue_Asynq.ProtoReflect.Descriptor instead.
|
||
func (*Queue_Asynq) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{3, 1}
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetNetwork() string {
|
||
if x != nil {
|
||
return x.Network
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetAddr() string {
|
||
if x != nil {
|
||
return x.Addr
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetDb() int32 {
|
||
if x != nil {
|
||
return x.Db
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetPassword() string {
|
||
if x != nil {
|
||
return x.Password
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetPool() int32 {
|
||
if x != nil {
|
||
return x.Pool
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetReadTimeout() *durationpb.Duration {
|
||
if x != nil {
|
||
return x.ReadTimeout
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetWriteTimeout() *durationpb.Duration {
|
||
if x != nil {
|
||
return x.WriteTimeout
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Queue_Asynq) GetConcurrency() int32 {
|
||
if x != nil {
|
||
return x.Concurrency
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type Pagsmile_Payout struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
|
||
AppKey string `protobuf:"bytes,2,opt,name=app_key,json=appKey,proto3" json:"app_key,omitempty"`
|
||
ApiUrl string `protobuf:"bytes,3,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"`
|
||
NotifyUrl string `protobuf:"bytes,4,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"`
|
||
}
|
||
|
||
func (x *Pagsmile_Payout) Reset() {
|
||
*x = Pagsmile_Payout{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_conf_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Pagsmile_Payout) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Pagsmile_Payout) ProtoMessage() {}
|
||
|
||
func (x *Pagsmile_Payout) ProtoReflect() protoreflect.Message {
|
||
mi := &file_conf_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 Pagsmile_Payout.ProtoReflect.Descriptor instead.
|
||
func (*Pagsmile_Payout) Descriptor() ([]byte, []int) {
|
||
return file_conf_proto_rawDescGZIP(), []int{4, 0}
|
||
}
|
||
|
||
func (x *Pagsmile_Payout) GetAppId() string {
|
||
if x != nil {
|
||
return x.AppId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Pagsmile_Payout) GetAppKey() string {
|
||
if x != nil {
|
||
return x.AppKey
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Pagsmile_Payout) GetApiUrl() string {
|
||
if x != nil {
|
||
return x.ApiUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Pagsmile_Payout) GetNotifyUrl() string {
|
||
if x != nil {
|
||
return x.NotifyUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
var File_conf_proto protoreflect.FileDescriptor
|
||
|
||
var file_conf_proto_rawDesc = []byte{
|
||
0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6b, 0x72,
|
||
0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 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, 0x22, 0xa8, 0x02, 0x0a, 0x09, 0x42, 0x6f, 0x6f,
|
||
0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e,
|
||
0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76,
|
||
0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||
0x32, 0x10, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61,
|
||
0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x27, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75,
|
||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73,
|
||
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75,
|
||
0x65, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x73, 0x6d, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20,
|
||
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
|
||
0x2e, 0x50, 0x61, 0x67, 0x73, 0x6d, 0x69, 0x6c, 0x65, 0x52, 0x08, 0x70, 0x61, 0x67, 0x73, 0x6d,
|
||
0x69, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c,
|
||
0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f,
|
||
0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65,
|
||
0x73, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x33,
|
||
0x0a, 0x09, 0x61, 0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
0x0b, 0x32, 0x15, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41,
|
||
0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x61, 0x70, 0x70, 0x43, 0x6f, 0x6e,
|
||
0x66, 0x69, 0x67, 0x22, 0x98, 0x05, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x2b,
|
||
0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b,
|
||
0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||
0x2e, 0x48, 0x54, 0x54, 0x50, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x12, 0x2b, 0x0a, 0x04, 0x67,
|
||
0x72, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74,
|
||
0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x47, 0x52,
|
||
0x50, 0x43, 0x52, 0x04, 0x67, 0x72, 0x70, 0x63, 0x12, 0x2b, 0x0a, 0x04, 0x65, 0x74, 0x63, 0x64,
|
||
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e,
|
||
0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x45, 0x54, 0x43, 0x44, 0x52,
|
||
0x04, 0x65, 0x74, 0x63, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x65,
|
||
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74,
|
||
0x72, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
|
||
0x65, 0x6e, 0x76, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x19,
|
||
0x0a, 0x08, 0x67, 0x65, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x07, 0x67, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x76, 0x72,
|
||
0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x76, 0x72, 0x49, 0x64,
|
||
0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x64, 0x61, 0x79, 0x18, 0x09, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x44, 0x61, 0x79, 0x12, 0x1b, 0x0a,
|
||
0x09, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x08, 0x76, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x38, 0x0a, 0x17, 0x74, 0x69,
|
||
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x50, 0x65, 0x72, 0x31, 0x30, 0x53,
|
||
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x74, 0x69, 0x6d,
|
||
0x65, 0x6f, 0x75, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x50, 0x65, 0x72, 0x31, 0x30, 0x53, 0x65,
|
||
0x63, 0x6f, 0x6e, 0x64, 0x1a, 0x69, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 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, 0x1a,
|
||
0x69, 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, 0x1a, 0x52, 0x0a, 0x04, 0x45, 0x54,
|
||
0x43, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
|
||
0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
|
||
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
|
||
0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x9d,
|
||
0x03, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,
|
||
0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x72, 0x61, 0x74,
|
||
0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61,
|
||
0x62, 0x61, 0x73, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x2c,
|
||
0x0a, 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
|
||
0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e,
|
||
0x52, 0x65, 0x64, 0x69, 0x73, 0x52, 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x1a, 0x3a, 0x0a, 0x08,
|
||
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76,
|
||
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72,
|
||
0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0xf3, 0x01, 0x0a, 0x05, 0x52, 0x65, 0x64,
|
||
0x69, 0x73, 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, 0x0e, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x64, 0x62,
|
||
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01,
|
||
0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
||
0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x6f, 0x6c,
|
||
0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
|
||
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, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3e,
|
||
0x0a, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18,
|
||
0x07, 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, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x81,
|
||
0x04, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x6b, 0x61, 0x66, 0x6b,
|
||
0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73,
|
||
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x4b, 0x61, 0x66, 0x6b, 0x61,
|
||
0x52, 0x05, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x12, 0x2d, 0x0a, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x71,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e,
|
||
0x61, 0x70, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x71, 0x52,
|
||
0x05, 0x61, 0x73, 0x79, 0x6e, 0x71, 0x1a, 0x81, 0x01, 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, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x14, 0x0a, 0x05,
|
||
0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f,
|
||
0x75, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a,
|
||
0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x95, 0x02, 0x0a, 0x05, 0x41,
|
||
0x73, 0x79, 0x6e, 0x71, 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, 0x0e, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
||
0x64, 0x62, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12,
|
||
0x0a, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f,
|
||
0x6f, 0x6c, 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f,
|
||
0x75, 0x74, 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, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
|
||
0x12, 0x3e, 0x0a, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75,
|
||
0x74, 0x18, 0x07, 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, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
|
||
0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18,
|
||
0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
|
||
0x63, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x73, 0x6d, 0x69, 0x6c, 0x65, 0x12,
|
||
0x33, 0x0a, 0x06, 0x70, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
0x1b, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x67,
|
||
0x73, 0x6d, 0x69, 0x6c, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x70, 0x61,
|
||
0x79, 0x6f, 0x75, 0x74, 0x1a, 0x70, 0x0a, 0x06, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x15,
|
||
0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||
0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x5f, 0x6b, 0x65, 0x79,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x70, 0x4b, 0x65, 0x79, 0x12, 0x17,
|
||
0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x06, 0x61, 0x70, 0x69, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66,
|
||
0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x6f, 0x74,
|
||
0x69, 0x66, 0x79, 0x55, 0x72, 0x6c, 0x22, 0x21, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xe3, 0x01, 0x0a, 0x09, 0x41, 0x70,
|
||
0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x64, 0x6a, 0x75, 0x73,
|
||
0x74, 0x41, 0x70, 0x70, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x0e, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x41, 0x70, 0x70, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
|
||
0x26, 0x0a, 0x0e, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x53, 0x32, 0x53, 0x54, 0x6f, 0x6b, 0x65,
|
||
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x53,
|
||
0x32, 0x53, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x38, 0x0a, 0x17, 0x61, 0x64, 0x6a, 0x75, 0x73,
|
||
0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65,
|
||
0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74,
|
||
0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
||
0x73, 0x12, 0x32, 0x0a, 0x14, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74,
|
||
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x14, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65,
|
||
0x6e, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x73, 0x41, 0x70, 0x70, 0x49, 0x64,
|
||
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x41, 0x70, 0x70, 0x49, 0x64, 0x42,
|
||
0x26, 0x5a, 0x24, 0x73, 0x61, 0x6e, 0x64, 0x63, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x65, 0x6f, 0x6e,
|
||
0x6c, 0x69, 0x6e, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6f,
|
||
0x6e, 0x66, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_conf_proto_rawDescOnce sync.Once
|
||
file_conf_proto_rawDescData = file_conf_proto_rawDesc
|
||
)
|
||
|
||
func file_conf_proto_rawDescGZIP() []byte {
|
||
file_conf_proto_rawDescOnce.Do(func() {
|
||
file_conf_proto_rawDescData = protoimpl.X.CompressGZIP(file_conf_proto_rawDescData)
|
||
})
|
||
return file_conf_proto_rawDescData
|
||
}
|
||
|
||
var file_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||
var file_conf_proto_goTypes = []interface{}{
|
||
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
|
||
(*Server)(nil), // 1: kratos.api.Server
|
||
(*Data)(nil), // 2: kratos.api.Data
|
||
(*Queue)(nil), // 3: kratos.api.Queue
|
||
(*Pagsmile)(nil), // 4: kratos.api.Pagsmile
|
||
(*ConfigFiles)(nil), // 5: kratos.api.ConfigFiles
|
||
(*AppConfig)(nil), // 6: kratos.api.AppConfig
|
||
(*Server_HTTP)(nil), // 7: kratos.api.Server.HTTP
|
||
(*Server_GRPC)(nil), // 8: kratos.api.Server.GRPC
|
||
(*Server_ETCD)(nil), // 9: kratos.api.Server.ETCD
|
||
(*Data_Database)(nil), // 10: kratos.api.Data.Database
|
||
(*Data_Redis)(nil), // 11: kratos.api.Data.Redis
|
||
(*Queue_Kafka)(nil), // 12: kratos.api.Queue.Kafka
|
||
(*Queue_Asynq)(nil), // 13: kratos.api.Queue.Asynq
|
||
(*Pagsmile_Payout)(nil), // 14: kratos.api.Pagsmile.Payout
|
||
(*durationpb.Duration)(nil), // 15: google.protobuf.Duration
|
||
}
|
||
var file_conf_proto_depIdxs = []int32{
|
||
1, // 0: kratos.api.Bootstrap.server:type_name -> kratos.api.Server
|
||
2, // 1: kratos.api.Bootstrap.data:type_name -> kratos.api.Data
|
||
3, // 2: kratos.api.Bootstrap.queue:type_name -> kratos.api.Queue
|
||
4, // 3: kratos.api.Bootstrap.pagsmile:type_name -> kratos.api.Pagsmile
|
||
5, // 4: kratos.api.Bootstrap.configFiles:type_name -> kratos.api.ConfigFiles
|
||
6, // 5: kratos.api.Bootstrap.appConfig:type_name -> kratos.api.AppConfig
|
||
7, // 6: kratos.api.Server.http:type_name -> kratos.api.Server.HTTP
|
||
8, // 7: kratos.api.Server.grpc:type_name -> kratos.api.Server.GRPC
|
||
9, // 8: kratos.api.Server.etcd:type_name -> kratos.api.Server.ETCD
|
||
10, // 9: kratos.api.Data.database:type_name -> kratos.api.Data.Database
|
||
11, // 10: kratos.api.Data.redis:type_name -> kratos.api.Data.Redis
|
||
12, // 11: kratos.api.Queue.kafka:type_name -> kratos.api.Queue.Kafka
|
||
13, // 12: kratos.api.Queue.asynq:type_name -> kratos.api.Queue.Asynq
|
||
14, // 13: kratos.api.Pagsmile.payout:type_name -> kratos.api.Pagsmile.Payout
|
||
15, // 14: kratos.api.Server.HTTP.timeout:type_name -> google.protobuf.Duration
|
||
15, // 15: kratos.api.Server.GRPC.timeout:type_name -> google.protobuf.Duration
|
||
15, // 16: kratos.api.Data.Redis.read_timeout:type_name -> google.protobuf.Duration
|
||
15, // 17: kratos.api.Data.Redis.write_timeout:type_name -> google.protobuf.Duration
|
||
15, // 18: kratos.api.Queue.Asynq.read_timeout:type_name -> google.protobuf.Duration
|
||
15, // 19: kratos.api.Queue.Asynq.write_timeout:type_name -> google.protobuf.Duration
|
||
20, // [20:20] is the sub-list for method output_type
|
||
20, // [20:20] is the sub-list for method input_type
|
||
20, // [20:20] is the sub-list for extension type_name
|
||
20, // [20:20] is the sub-list for extension extendee
|
||
0, // [0:20] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_conf_proto_init() }
|
||
func file_conf_proto_init() {
|
||
if File_conf_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_conf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Bootstrap); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[1].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_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Data); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Queue); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Pagsmile); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ConfigFiles); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*AppConfig); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Server_HTTP); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[8].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_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Server_ETCD); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Data_Database); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Data_Redis); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Queue_Kafka); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Queue_Asynq); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_conf_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Pagsmile_Payout); 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_proto_rawDesc,
|
||
NumEnums: 0,
|
||
NumMessages: 15,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_conf_proto_goTypes,
|
||
DependencyIndexes: file_conf_proto_depIdxs,
|
||
MessageInfos: file_conf_proto_msgTypes,
|
||
}.Build()
|
||
File_conf_proto = out.File
|
||
file_conf_proto_rawDesc = nil
|
||
file_conf_proto_goTypes = nil
|
||
file_conf_proto_depIdxs = nil
|
||
}
|