diff --git a/api/gen/go/conf/v1/kratos_conf_server.pb.go b/api/gen/go/conf/v1/kratos_conf_server.pb.go index 71c20ec..46e0f74 100644 --- a/api/gen/go/conf/v1/kratos_conf_server.pb.go +++ b/api/gen/go/conf/v1/kratos_conf_server.pb.go @@ -1195,15 +1195,31 @@ func (x *Server_RocketMQ) GetEnableKeepAlive() bool { // Asynq type Server_Asynq struct { - state protoimpl.MessageState `protogen:"open.v1"` - 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"` // 时区 - Tls *TLS `protobuf:"bytes,5,opt,name=tls,proto3" json:"tls,omitempty"` // TLS配置 - EnableKeepAlive bool `protobuf:"varint,6,opt,name=enable_keep_alive,json=enableKeepAlive,proto3" json:"enable_keep_alive,omitempty"` // 启用心跳 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // Redis对端网络地址 + Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Redis对端网络地址 + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // Redis登录密码 + Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"` // Redis数据库索引 + PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"` // Redis连接池大小 + Tls *TLS `protobuf:"bytes,6,opt,name=tls,proto3" json:"tls,omitempty"` // TLS配置 + Codec string `protobuf:"bytes,7,opt,name=codec,proto3" json:"codec,omitempty"` // 编解码器: json,xml,yaml... + Location string `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"` // 时区 + Concurrency int32 `protobuf:"varint,11,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // 并发数 + GroupMaxSize int32 `protobuf:"varint,12,opt,name=group_max_size,json=groupMaxSize,proto3" json:"group_max_size,omitempty"` // 组最大大小 + Queues map[string]int32 `protobuf:"bytes,13,rep,name=queues,proto3" json:"queues,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // 队列 + EnableKeepAlive bool `protobuf:"varint,20,opt,name=enable_keep_alive,json=enableKeepAlive,proto3" json:"enable_keep_alive,omitempty"` // 启用心跳 + EnableGracefullyShutdown bool `protobuf:"varint,21,opt,name=enable_gracefully_shutdown,json=enableGracefullyShutdown,proto3" json:"enable_gracefully_shutdown,omitempty"` // 优雅关闭 + EnableStrictPriority bool `protobuf:"varint,22,opt,name=enable_strict_priority,json=enableStrictPriority,proto3" json:"enable_strict_priority,omitempty"` // 严格优先级 + ShutdownTimeout *durationpb.Duration `protobuf:"bytes,30,opt,name=shutdown_timeout,json=shutdownTimeout,proto3" json:"shutdown_timeout,omitempty"` // 关闭超时时间 + DialTimeout *durationpb.Duration `protobuf:"bytes,31,opt,name=dial_timeout,json=dialTimeout,proto3" json:"dial_timeout,omitempty"` // 拨号超时时间 + ReadTimeout *durationpb.Duration `protobuf:"bytes,32,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` // 读取超时时间 + WriteTimeout *durationpb.Duration `protobuf:"bytes,33,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` // 写入超时时间 + HealthCheckInterval *durationpb.Duration `protobuf:"bytes,34,opt,name=health_check_interval,json=healthCheckInterval,proto3" json:"health_check_interval,omitempty"` // 健康检查时间间隔 + DelayedTaskCheckInterval *durationpb.Duration `protobuf:"bytes,35,opt,name=delayed_task_check_interval,json=delayedTaskCheckInterval,proto3" json:"delayed_task_check_interval,omitempty"` // 延迟任务检查时间间隔 + GroupGracePeriod *durationpb.Duration `protobuf:"bytes,36,opt,name=group_grace_period,json=groupGracePeriod,proto3" json:"group_grace_period,omitempty"` // 组宽限期 + GroupMaxDelay *durationpb.Duration `protobuf:"bytes,37,opt,name=group_max_delay,json=groupMaxDelay,proto3" json:"group_max_delay,omitempty"` // 组最大延迟 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Server_Asynq) Reset() { @@ -1236,6 +1252,13 @@ func (*Server_Asynq) Descriptor() ([]byte, []int) { return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 12} } +func (x *Server_Asynq) GetNetwork() string { + if x != nil { + return x.Network + } + return "" +} + func (x *Server_Asynq) GetEndpoint() string { if x != nil { return x.Endpoint @@ -1257,6 +1280,27 @@ func (x *Server_Asynq) GetDb() int32 { return 0 } +func (x *Server_Asynq) GetPoolSize() int32 { + if x != nil { + return x.PoolSize + } + return 0 +} + +func (x *Server_Asynq) GetTls() *TLS { + if x != nil { + return x.Tls + } + return nil +} + +func (x *Server_Asynq) GetCodec() string { + if x != nil { + return x.Codec + } + return "" +} + func (x *Server_Asynq) GetLocation() string { if x != nil { return x.Location @@ -1264,9 +1308,23 @@ func (x *Server_Asynq) GetLocation() string { return "" } -func (x *Server_Asynq) GetTls() *TLS { +func (x *Server_Asynq) GetConcurrency() int32 { if x != nil { - return x.Tls + return x.Concurrency + } + return 0 +} + +func (x *Server_Asynq) GetGroupMaxSize() int32 { + if x != nil { + return x.GroupMaxSize + } + return 0 +} + +func (x *Server_Asynq) GetQueues() map[string]int32 { + if x != nil { + return x.Queues } return nil } @@ -1278,15 +1336,104 @@ func (x *Server_Asynq) GetEnableKeepAlive() bool { return false } +func (x *Server_Asynq) GetEnableGracefullyShutdown() bool { + if x != nil { + return x.EnableGracefullyShutdown + } + return false +} + +func (x *Server_Asynq) GetEnableStrictPriority() bool { + if x != nil { + return x.EnableStrictPriority + } + return false +} + +func (x *Server_Asynq) GetShutdownTimeout() *durationpb.Duration { + if x != nil { + return x.ShutdownTimeout + } + return nil +} + +func (x *Server_Asynq) GetDialTimeout() *durationpb.Duration { + if x != nil { + return x.DialTimeout + } + return nil +} + +func (x *Server_Asynq) GetReadTimeout() *durationpb.Duration { + if x != nil { + return x.ReadTimeout + } + return nil +} + +func (x *Server_Asynq) GetWriteTimeout() *durationpb.Duration { + if x != nil { + return x.WriteTimeout + } + return nil +} + +func (x *Server_Asynq) GetHealthCheckInterval() *durationpb.Duration { + if x != nil { + return x.HealthCheckInterval + } + return nil +} + +func (x *Server_Asynq) GetDelayedTaskCheckInterval() *durationpb.Duration { + if x != nil { + return x.DelayedTaskCheckInterval + } + return nil +} + +func (x *Server_Asynq) GetGroupGracePeriod() *durationpb.Duration { + if x != nil { + return x.GroupGracePeriod + } + return nil +} + +func (x *Server_Asynq) GetGroupMaxDelay() *durationpb.Duration { + if x != nil { + return x.GroupMaxDelay + } + return nil +} + // Machinery type Server_Machinery struct { - state protoimpl.MessageState `protogen:"open.v1"` - 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等; - Tls *TLS `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"` // TLS配置 - EnableKeepAlive bool `protobuf:"varint,4,opt,name=enable_keep_alive,json=enableKeepAlive,proto3" json:"enable_keep_alive,omitempty"` // 启用心跳 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + BrokerType string `protobuf:"bytes,1,opt,name=broker_type,json=brokerType,proto3" json:"broker_type,omitempty"` // broker类型,可以根据实际使用的存储介质,分别指定Redis、AMQP或AWS SQS; + BrokerAddr string `protobuf:"bytes,2,opt,name=broker_addr,json=brokerAddr,proto3" json:"broker_addr,omitempty"` // broker的地址 + BrokerDb int32 `protobuf:"varint,3,opt,name=broker_db,json=brokerDb,proto3" json:"broker_db,omitempty"` // broker的数据库索引 + BackendType string `protobuf:"bytes,10,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"` // backend类型,可以分别指定为:redis、memcached或mongodb等; + BackendAddr string `protobuf:"bytes,11,opt,name=backend_addr,json=backendAddr,proto3" json:"backend_addr,omitempty"` // backend的地址 + BackendDb int32 `protobuf:"varint,12,opt,name=backend_db,json=backendDb,proto3" json:"backend_db,omitempty"` // backend的数据库索引 + LockType string `protobuf:"bytes,20,opt,name=lock_type,json=lockType,proto3" json:"lock_type,omitempty"` // lock类型,可以分别指定为:redis、memcached或mongodb等; + LockAddr string `protobuf:"bytes,21,opt,name=lock_addr,json=lockAddr,proto3" json:"lock_addr,omitempty"` // lock的地址 + LockDb int32 `protobuf:"varint,22,opt,name=lock_db,json=lockDb,proto3" json:"lock_db,omitempty"` // lock的数据库索引 + ConsumerTag string `protobuf:"bytes,30,opt,name=consumer_tag,json=consumerTag,proto3" json:"consumer_tag,omitempty"` // 消费者标签 + ConsumerConcurrency int32 `protobuf:"varint,31,opt,name=consumer_concurrency,json=consumerConcurrency,proto3" json:"consumer_concurrency,omitempty"` // 消费者并发数 + ConsumerQueue string `protobuf:"bytes,32,opt,name=consumer_queue,json=consumerQueue,proto3" json:"consumer_queue,omitempty"` // 消费者队列 + Tls *TLS `protobuf:"bytes,50,opt,name=tls,proto3" json:"tls,omitempty"` // TLS配置 + EnableKeepAlive bool `protobuf:"varint,51,opt,name=enable_keep_alive,json=enableKeepAlive,proto3" json:"enable_keep_alive,omitempty"` // 启用心跳 + DefaultQueue string `protobuf:"bytes,52,opt,name=default_queue,json=defaultQueue,proto3" json:"default_queue,omitempty"` // 默认队列 + ResultsExpireIn int32 `protobuf:"varint,53,opt,name=results_expire_in,json=resultsExpireIn,proto3" json:"results_expire_in,omitempty"` // 结果过期时间 + NoUnixSignals bool `protobuf:"varint,54,opt,name=no_unix_signals,json=noUnixSignals,proto3" json:"no_unix_signals,omitempty"` // 禁用Unix信号 + Redis *Server_Machinery_Redis `protobuf:"bytes,100,opt,name=redis,proto3" json:"redis,omitempty"` // Redis配置 + Amqp *Server_Machinery_AMQP `protobuf:"bytes,101,opt,name=amqp,proto3" json:"amqp,omitempty"` // AMQP配置 + Sqs *Server_Machinery_SQS `protobuf:"bytes,102,opt,name=sqs,proto3" json:"sqs,omitempty"` // SQS配置 + Gcp *Server_Machinery_GCP `protobuf:"bytes,103,opt,name=gcp,proto3" json:"gcp,omitempty"` // GCP配置 + Mongodb *Server_Machinery_MongoDB `protobuf:"bytes,104,opt,name=mongodb,proto3" json:"mongodb,omitempty"` // MongoDB配置 + Dynamodb *Server_Machinery_DynamoDB `protobuf:"bytes,105,opt,name=dynamodb,proto3" json:"dynamodb,omitempty"` // DynamoDB配置 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Server_Machinery) Reset() { @@ -1319,18 +1466,88 @@ func (*Server_Machinery) Descriptor() ([]byte, []int) { return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13} } -func (x *Server_Machinery) GetBrokers() []string { +func (x *Server_Machinery) GetBrokerType() string { if x != nil { - return x.Brokers + return x.BrokerType } - return nil + return "" } -func (x *Server_Machinery) GetBackends() []string { +func (x *Server_Machinery) GetBrokerAddr() string { if x != nil { - return x.Backends + return x.BrokerAddr } - return nil + return "" +} + +func (x *Server_Machinery) GetBrokerDb() int32 { + if x != nil { + return x.BrokerDb + } + return 0 +} + +func (x *Server_Machinery) GetBackendType() string { + if x != nil { + return x.BackendType + } + return "" +} + +func (x *Server_Machinery) GetBackendAddr() string { + if x != nil { + return x.BackendAddr + } + return "" +} + +func (x *Server_Machinery) GetBackendDb() int32 { + if x != nil { + return x.BackendDb + } + return 0 +} + +func (x *Server_Machinery) GetLockType() string { + if x != nil { + return x.LockType + } + return "" +} + +func (x *Server_Machinery) GetLockAddr() string { + if x != nil { + return x.LockAddr + } + return "" +} + +func (x *Server_Machinery) GetLockDb() int32 { + if x != nil { + return x.LockDb + } + return 0 +} + +func (x *Server_Machinery) GetConsumerTag() string { + if x != nil { + return x.ConsumerTag + } + return "" +} + +func (x *Server_Machinery) GetConsumerConcurrency() int32 { + if x != nil { + return x.ConsumerConcurrency + } + return 0 +} + +func (x *Server_Machinery) GetConsumerQueue() string { + if x != nil { + return x.ConsumerQueue + } + return "" } func (x *Server_Machinery) GetTls() *TLS { @@ -1347,6 +1564,69 @@ func (x *Server_Machinery) GetEnableKeepAlive() bool { return false } +func (x *Server_Machinery) GetDefaultQueue() string { + if x != nil { + return x.DefaultQueue + } + return "" +} + +func (x *Server_Machinery) GetResultsExpireIn() int32 { + if x != nil { + return x.ResultsExpireIn + } + return 0 +} + +func (x *Server_Machinery) GetNoUnixSignals() bool { + if x != nil { + return x.NoUnixSignals + } + return false +} + +func (x *Server_Machinery) GetRedis() *Server_Machinery_Redis { + if x != nil { + return x.Redis + } + return nil +} + +func (x *Server_Machinery) GetAmqp() *Server_Machinery_AMQP { + if x != nil { + return x.Amqp + } + return nil +} + +func (x *Server_Machinery) GetSqs() *Server_Machinery_SQS { + if x != nil { + return x.Sqs + } + return nil +} + +func (x *Server_Machinery) GetGcp() *Server_Machinery_GCP { + if x != nil { + return x.Gcp + } + return nil +} + +func (x *Server_Machinery) GetMongodb() *Server_Machinery_MongoDB { + if x != nil { + return x.Mongodb + } + return nil +} + +func (x *Server_Machinery) GetDynamodb() *Server_Machinery_DynamoDB { + if x != nil { + return x.Dynamodb + } + return nil +} + // SSE type Server_SSE struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -1896,6 +2176,422 @@ func (x *Server_REST_CORS) GetOrigins() []string { return nil } +type Server_Machinery_Redis struct { + state protoimpl.MessageState `protogen:"open.v1"` + MaxIdle int32 `protobuf:"varint,1,opt,name=max_idle,json=maxIdle,proto3" json:"max_idle,omitempty"` + MaxActive int32 `protobuf:"varint,2,opt,name=max_active,json=maxActive,proto3" json:"max_active,omitempty"` + MaxIdleTimeout int32 `protobuf:"varint,3,opt,name=max_idle_timeout,json=maxIdleTimeout,proto3" json:"max_idle_timeout,omitempty"` + Wait bool `protobuf:"varint,4,opt,name=wait,proto3" json:"wait,omitempty"` + ReadTimeout int32 `protobuf:"varint,5,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` + WriteTimeout int32 `protobuf:"varint,6,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` + ConnectTimeout int32 `protobuf:"varint,7,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"` + NormalTasksPollPeriod int32 `protobuf:"varint,8,opt,name=normal_tasks_poll_period,json=normalTasksPollPeriod,proto3" json:"normal_tasks_poll_period,omitempty"` + DelayedTasksPollPeriod int32 `protobuf:"varint,9,opt,name=delayed_tasks_poll_period,json=delayedTasksPollPeriod,proto3" json:"delayed_tasks_poll_period,omitempty"` + DelayedTasksKey string `protobuf:"bytes,10,opt,name=delayed_tasks_key,json=delayedTasksKey,proto3" json:"delayed_tasks_key,omitempty"` + MasterName string `protobuf:"bytes,11,opt,name=master_name,json=masterName,proto3" json:"master_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Server_Machinery_Redis) Reset() { + *x = Server_Machinery_Redis{} + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Server_Machinery_Redis) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Server_Machinery_Redis) ProtoMessage() {} + +func (x *Server_Machinery_Redis) ProtoReflect() protoreflect.Message { + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[22] + if 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_Redis.ProtoReflect.Descriptor instead. +func (*Server_Machinery_Redis) Descriptor() ([]byte, []int) { + return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13, 0} +} + +func (x *Server_Machinery_Redis) GetMaxIdle() int32 { + if x != nil { + return x.MaxIdle + } + return 0 +} + +func (x *Server_Machinery_Redis) GetMaxActive() int32 { + if x != nil { + return x.MaxActive + } + return 0 +} + +func (x *Server_Machinery_Redis) GetMaxIdleTimeout() int32 { + if x != nil { + return x.MaxIdleTimeout + } + return 0 +} + +func (x *Server_Machinery_Redis) GetWait() bool { + if x != nil { + return x.Wait + } + return false +} + +func (x *Server_Machinery_Redis) GetReadTimeout() int32 { + if x != nil { + return x.ReadTimeout + } + return 0 +} + +func (x *Server_Machinery_Redis) GetWriteTimeout() int32 { + if x != nil { + return x.WriteTimeout + } + return 0 +} + +func (x *Server_Machinery_Redis) GetConnectTimeout() int32 { + if x != nil { + return x.ConnectTimeout + } + return 0 +} + +func (x *Server_Machinery_Redis) GetNormalTasksPollPeriod() int32 { + if x != nil { + return x.NormalTasksPollPeriod + } + return 0 +} + +func (x *Server_Machinery_Redis) GetDelayedTasksPollPeriod() int32 { + if x != nil { + return x.DelayedTasksPollPeriod + } + return 0 +} + +func (x *Server_Machinery_Redis) GetDelayedTasksKey() string { + if x != nil { + return x.DelayedTasksKey + } + return "" +} + +func (x *Server_Machinery_Redis) GetMasterName() string { + if x != nil { + return x.MasterName + } + return "" +} + +type Server_Machinery_AMQP struct { + state protoimpl.MessageState `protogen:"open.v1"` + Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` + ExchangeType string `protobuf:"bytes,2,opt,name=exchange_type,json=exchangeType,proto3" json:"exchange_type,omitempty"` + QueueDeclareArgs map[string]string `protobuf:"bytes,3,rep,name=queue_declare_args,json=queueDeclareArgs,proto3" json:"queue_declare_args,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + QueueBindingArgs map[string]string `protobuf:"bytes,4,rep,name=queue_binding_args,json=queueBindingArgs,proto3" json:"queue_binding_args,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + BindingKey string `protobuf:"bytes,5,opt,name=binding_key,json=bindingKey,proto3" json:"binding_key,omitempty"` + PrefetchCount int32 `protobuf:"varint,6,opt,name=prefetch_count,json=prefetchCount,proto3" json:"prefetch_count,omitempty"` + AutoDelete bool `protobuf:"varint,7,opt,name=auto_delete,json=autoDelete,proto3" json:"auto_delete,omitempty"` + DelayedQueue string `protobuf:"bytes,8,opt,name=delayed_queue,json=delayedQueue,proto3" json:"delayed_queue,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Server_Machinery_AMQP) Reset() { + *x = Server_Machinery_AMQP{} + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Server_Machinery_AMQP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Server_Machinery_AMQP) ProtoMessage() {} + +func (x *Server_Machinery_AMQP) ProtoReflect() protoreflect.Message { + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[23] + if 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_AMQP.ProtoReflect.Descriptor instead. +func (*Server_Machinery_AMQP) Descriptor() ([]byte, []int) { + return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13, 1} +} + +func (x *Server_Machinery_AMQP) GetExchange() string { + if x != nil { + return x.Exchange + } + return "" +} + +func (x *Server_Machinery_AMQP) GetExchangeType() string { + if x != nil { + return x.ExchangeType + } + return "" +} + +func (x *Server_Machinery_AMQP) GetQueueDeclareArgs() map[string]string { + if x != nil { + return x.QueueDeclareArgs + } + return nil +} + +func (x *Server_Machinery_AMQP) GetQueueBindingArgs() map[string]string { + if x != nil { + return x.QueueBindingArgs + } + return nil +} + +func (x *Server_Machinery_AMQP) GetBindingKey() string { + if x != nil { + return x.BindingKey + } + return "" +} + +func (x *Server_Machinery_AMQP) GetPrefetchCount() int32 { + if x != nil { + return x.PrefetchCount + } + return 0 +} + +func (x *Server_Machinery_AMQP) GetAutoDelete() bool { + if x != nil { + return x.AutoDelete + } + return false +} + +func (x *Server_Machinery_AMQP) GetDelayedQueue() string { + if x != nil { + return x.DelayedQueue + } + return "" +} + +type Server_Machinery_SQS struct { + state protoimpl.MessageState `protogen:"open.v1"` + ReceiveWaitTimeSeconds int32 `protobuf:"varint,1,opt,name=receive_wait_time_seconds,json=receiveWaitTimeSeconds,proto3" json:"receive_wait_time_seconds,omitempty"` + ReceiveVisibilityTimeout *int32 `protobuf:"varint,2,opt,name=receive_visibility_timeout,json=receiveVisibilityTimeout,proto3,oneof" json:"receive_visibility_timeout,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Server_Machinery_SQS) Reset() { + *x = Server_Machinery_SQS{} + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Server_Machinery_SQS) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Server_Machinery_SQS) ProtoMessage() {} + +func (x *Server_Machinery_SQS) ProtoReflect() protoreflect.Message { + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[24] + if 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_SQS.ProtoReflect.Descriptor instead. +func (*Server_Machinery_SQS) Descriptor() ([]byte, []int) { + return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13, 2} +} + +func (x *Server_Machinery_SQS) GetReceiveWaitTimeSeconds() int32 { + if x != nil { + return x.ReceiveWaitTimeSeconds + } + return 0 +} + +func (x *Server_Machinery_SQS) GetReceiveVisibilityTimeout() int32 { + if x != nil && x.ReceiveVisibilityTimeout != nil { + return *x.ReceiveVisibilityTimeout + } + return 0 +} + +type Server_Machinery_GCP struct { + state protoimpl.MessageState `protogen:"open.v1"` + MaxExtension *durationpb.Duration `protobuf:"bytes,1,opt,name=max_extension,json=maxExtension,proto3" json:"max_extension,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Server_Machinery_GCP) Reset() { + *x = Server_Machinery_GCP{} + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Server_Machinery_GCP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Server_Machinery_GCP) ProtoMessage() {} + +func (x *Server_Machinery_GCP) ProtoReflect() protoreflect.Message { + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[25] + if 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_GCP.ProtoReflect.Descriptor instead. +func (*Server_Machinery_GCP) Descriptor() ([]byte, []int) { + return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13, 3} +} + +func (x *Server_Machinery_GCP) GetMaxExtension() *durationpb.Duration { + if x != nil { + return x.MaxExtension + } + return nil +} + +type Server_Machinery_MongoDB struct { + state protoimpl.MessageState `protogen:"open.v1"` + Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Server_Machinery_MongoDB) Reset() { + *x = Server_Machinery_MongoDB{} + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Server_Machinery_MongoDB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Server_Machinery_MongoDB) ProtoMessage() {} + +func (x *Server_Machinery_MongoDB) ProtoReflect() protoreflect.Message { + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[26] + if 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_MongoDB.ProtoReflect.Descriptor instead. +func (*Server_Machinery_MongoDB) Descriptor() ([]byte, []int) { + return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13, 4} +} + +func (x *Server_Machinery_MongoDB) GetDatabase() string { + if x != nil { + return x.Database + } + return "" +} + +type Server_Machinery_DynamoDB struct { + state protoimpl.MessageState `protogen:"open.v1"` + TaskStatesTable string `protobuf:"bytes,1,opt,name=task_states_table,json=taskStatesTable,proto3" json:"task_states_table,omitempty"` + GroupMetasTable string `protobuf:"bytes,2,opt,name=group_metas_table,json=groupMetasTable,proto3" json:"group_metas_table,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Server_Machinery_DynamoDB) Reset() { + *x = Server_Machinery_DynamoDB{} + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Server_Machinery_DynamoDB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Server_Machinery_DynamoDB) ProtoMessage() {} + +func (x *Server_Machinery_DynamoDB) ProtoReflect() protoreflect.Message { + mi := &file_conf_v1_kratos_conf_server_proto_msgTypes[27] + if 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_DynamoDB.ProtoReflect.Descriptor instead. +func (*Server_Machinery_DynamoDB) Descriptor() ([]byte, []int) { + return file_conf_v1_kratos_conf_server_proto_rawDescGZIP(), []int{0, 13, 5} +} + +func (x *Server_Machinery_DynamoDB) GetTaskStatesTable() string { + if x != nil { + return x.TaskStatesTable + } + return "" +} + +func (x *Server_Machinery_DynamoDB) GetGroupMetasTable() string { + if x != nil { + return x.GroupMetasTable + } + return "" +} + var File_conf_v1_kratos_conf_server_proto protoreflect.FileDescriptor var file_conf_v1_kratos_conf_server_proto_rawDesc = string([]byte{ @@ -1907,7 +2603,7 @@ var file_conf_v1_kratos_conf_server_proto_rawDesc = string([]byte{ 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, 0x1a, 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x28, + 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x40, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x2a, 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, 0x48, 0x00, 0x52, 0x04, 0x72, 0x65, 0x73, @@ -2118,127 +2814,320 @@ var file_conf_v1_kratos_conf_server_proto_rawDesc = string([]byte{ 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x1a, - 0xb4, 0x01, 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, 0x12, 0x1b, 0x0a, - 0x03, 0x74, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, - 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x65, - 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x1a, 0x8a, 0x01, 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, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, - 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, + 0xe7, 0x08, 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, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, + 0x02, 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, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x64, + 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x64, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x6f, 0x6f, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, + 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, + 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x36, 0x0a, 0x06, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x41, 0x73, + 0x79, 0x6e, 0x71, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, - 0x69, 0x76, 0x65, 0x1a, 0xeb, 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, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, - 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x69, 0x76, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x67, 0x72, + 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, + 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x47, + 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, + 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x69, + 0x63, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x50, + 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x68, 0x75, 0x74, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x1e, 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, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 0x68, + 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3c, 0x0a, + 0x0c, 0x64, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x1f, 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, + 0x64, 0x69, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x72, + 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x20, 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, 0x21, 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, 0x4d, 0x0a, 0x15, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x18, 0x22, 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, 0x14, 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, 0x15, 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, 0x16, 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, 0x17, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, - 0x34, 0x1a, 0x7f, 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, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, - 0x6c, 0x73, 0x1a, 0xce, 0x02, 0x0a, 0x07, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x52, 0x12, 0x18, + 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x58, 0x0a, 0x1b, 0x64, 0x65, 0x6c, 0x61, + 0x79, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x23, 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, 0x18, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, + 0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x12, 0x47, 0x0a, 0x12, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x67, 0x72, 0x61, 0x63, + 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x24, 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, 0x10, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x41, 0x0a, 0x0f, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x25, + 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, + 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x78, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x1a, 0x39, + 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xe8, 0x11, 0x0a, 0x09, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x6f, 0x6b, 0x65, + 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x72, + 0x6f, 0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x6f, 0x6b, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, + 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x72, 0x6f, + 0x6b, 0x65, 0x72, 0x5f, 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x72, + 0x6f, 0x6b, 0x65, 0x72, 0x44, 0x62, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, + 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1d, 0x0a, 0x0a, + 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x62, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x44, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, + 0x6b, 0x41, 0x64, 0x64, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x62, + 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x62, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x1e, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x54, 0x61, + 0x67, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x63, 0x6f, + 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x13, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x63, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, + 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, + 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x03, 0x74, + 0x6c, 0x73, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, + 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x33, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x65, 0x70, 0x41, + 0x6c, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, + 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x18, 0x35, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x78, 0x70, + 0x69, 0x72, 0x65, 0x49, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x6f, 0x5f, 0x75, 0x6e, 0x69, 0x78, + 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x18, 0x36, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x6e, 0x6f, 0x55, 0x6e, 0x69, 0x78, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x12, 0x32, 0x0a, + 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, + 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x52, 0x05, 0x72, 0x65, 0x64, 0x69, + 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x61, 0x6d, 0x71, 0x70, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x4d, 0x51, 0x50, 0x52, 0x04, 0x61, 0x6d, + 0x71, 0x70, 0x12, 0x2c, 0x0a, 0x03, 0x73, 0x71, 0x73, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x51, 0x53, 0x52, 0x03, 0x73, 0x71, 0x73, + 0x12, 0x2c, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, 0x67, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x47, 0x43, 0x50, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x38, + 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x18, 0x68, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x44, 0x42, 0x52, + 0x07, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x12, 0x3b, 0x0a, 0x08, 0x64, 0x79, 0x6e, 0x61, + 0x6d, 0x6f, 0x64, 0x62, 0x18, 0x69, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, + 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x72, 0x79, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x6f, 0x44, 0x42, 0x52, 0x08, 0x64, 0x79, 0x6e, + 0x61, 0x6d, 0x6f, 0x64, 0x62, 0x1a, 0xb1, 0x03, 0x0a, 0x05, 0x52, 0x65, 0x64, 0x69, 0x73, 0x12, + 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, + 0x78, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x6d, 0x61, 0x78, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, + 0x5f, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, + 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x72, + 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x6e, 0x6f, 0x72, 0x6d, + 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x70, 0x65, + 0x72, 0x69, 0x6f, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x6e, 0x6f, 0x72, 0x6d, + 0x61, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x50, 0x6f, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x69, 0x6f, + 0x64, 0x12, 0x39, 0x0a, 0x19, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x64, 0x54, 0x61, 0x73, + 0x6b, 0x73, 0x50, 0x6f, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x2a, 0x0a, 0x11, + 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x64, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xa1, 0x04, 0x0a, 0x04, 0x41, 0x4d, + 0x51, 0x50, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x5f, 0x0a, 0x12, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x64, 0x65, 0x63, + 0x6c, 0x61, 0x72, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x4d, 0x51, 0x50, 0x2e, 0x51, 0x75, 0x65, + 0x75, 0x65, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x10, 0x71, 0x75, 0x65, 0x75, 0x65, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, + 0x41, 0x72, 0x67, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x62, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x41, 0x4d, 0x51, 0x50, 0x2e, 0x51, 0x75, + 0x65, 0x75, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x10, 0x71, 0x75, 0x65, 0x75, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x74, + 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, + 0x70, 0x72, 0x65, 0x66, 0x65, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x64, 0x51, 0x75, + 0x65, 0x75, 0x65, 0x1a, 0x43, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x65, 0x63, 0x6c, + 0x61, 0x72, 0x65, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x75, + 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xa2, 0x01, + 0x0a, 0x03, 0x53, 0x51, 0x53, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x57, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x12, 0x41, 0x0a, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x18, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x56, + 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x88, 0x01, 0x01, 0x42, 0x1d, 0x0a, 0x1b, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, + 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x1a, 0x45, 0x0a, 0x03, 0x47, 0x43, 0x50, 0x12, 0x3e, 0x0a, 0x0d, 0x6d, 0x61, 0x78, + 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 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, 0x6d, 0x61, 0x78, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x25, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, + 0x67, 0x6f, 0x44, 0x42, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x1a, 0x62, 0x0a, 0x08, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x6f, 0x44, 0x42, 0x12, 0x2a, 0x0a, 0x11, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x1a, 0xeb, 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, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, + 0x73, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 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, 0x0b, 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, 0x14, 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, 0x15, 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, 0x16, 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, 0x17, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x61, 0x73, 0x65, + 0x36, 0x34, 0x1a, 0x7f, 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, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, - 0x65, 0x63, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, - 0x49, 0x0a, 0x13, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0a, 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, 0x0b, 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, 0xd6, 0x01, 0x0a, 0x07, 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x4c, 0x12, + 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, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, + 0x74, 0x6c, 0x73, 0x1a, 0xce, 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, 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, 0x12, - 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, - 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x1a, 0xc4, 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, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, - 0x74, 0x6c, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x67, 0x72, 0x70, 0x63, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x71, - 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x6d, 0x71, 0x74, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x42, - 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x6d, 0x71, 0x42, 0x0b, 0x0a, 0x09, - 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x6d, 0x71, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, - 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x6e, 0x73, 0x71, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, - 0x75, 0x6c, 0x73, 0x61, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x42, - 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x6d, 0x71, 0x42, 0x0c, 0x0a, 0x0a, - 0x5f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x73, - 0x73, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x69, 0x6f, 0x42, - 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, - 0x61, 0x73, 0x79, 0x6e, 0x71, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, - 0x65, 0x72, 0x79, 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, 0x61, 0x70, 0x69, - 0x2f, 0x67, 0x65, 0x6e, 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, + 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, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, + 0x12, 0x49, 0x0a, 0x13, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0a, 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, 0x0b, 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, 0xd6, 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, + 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, + 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x1a, 0xc4, 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, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x54, 0x4c, 0x53, 0x52, + 0x03, 0x74, 0x6c, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, + 0x71, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x6d, 0x71, 0x74, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6b, 0x61, 0x66, 0x6b, 0x61, + 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x6d, 0x71, 0x42, 0x0b, 0x0a, + 0x09, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x6d, 0x71, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, + 0x61, 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x6e, 0x73, 0x71, 0x42, 0x09, 0x0a, 0x07, 0x5f, + 0x70, 0x75, 0x6c, 0x73, 0x61, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x73, + 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x72, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x6d, 0x71, 0x42, 0x0c, 0x0a, + 0x0a, 0x5f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, + 0x73, 0x73, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x69, 0x6f, + 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x72, 0x42, 0x08, 0x0a, 0x06, + 0x5f, 0x61, 0x73, 0x79, 0x6e, 0x71, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 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, 0x61, 0x70, + 0x69, 0x2f, 0x67, 0x65, 0x6e, 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 ( @@ -2253,32 +3142,41 @@ func file_conf_v1_kratos_conf_server_proto_rawDescGZIP() []byte { 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_msgTypes = make([]protoimpl.MessageInfo, 30) var file_conf_v1_kratos_conf_server_proto_goTypes = []any{ - (*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 - (*TLS)(nil), // 23: conf.TLS + (*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 + nil, // 21: conf.Server.Asynq.QueuesEntry + (*Server_Machinery_Redis)(nil), // 22: conf.Server.Machinery.Redis + (*Server_Machinery_AMQP)(nil), // 23: conf.Server.Machinery.AMQP + (*Server_Machinery_SQS)(nil), // 24: conf.Server.Machinery.SQS + (*Server_Machinery_GCP)(nil), // 25: conf.Server.Machinery.GCP + (*Server_Machinery_MongoDB)(nil), // 26: conf.Server.Machinery.MongoDB + (*Server_Machinery_DynamoDB)(nil), // 27: conf.Server.Machinery.DynamoDB + nil, // 28: conf.Server.Machinery.AMQP.QueueDeclareArgsEntry + nil, // 29: conf.Server.Machinery.AMQP.QueueBindingArgsEntry + (*durationpb.Duration)(nil), // 30: google.protobuf.Duration + (*Middleware)(nil), // 31: conf.Middleware + (*TLS)(nil), // 32: conf.TLS } var file_conf_v1_kratos_conf_server_proto_depIdxs = []int32{ 1, // 0: conf.Server.rest:type_name -> conf.Server.REST @@ -2300,41 +3198,59 @@ var file_conf_v1_kratos_conf_server_proto_depIdxs = []int32{ 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 + 30, // 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 - 23, // 22: conf.Server.REST.tls:type_name -> conf.TLS - 21, // 23: conf.Server.GRPC.timeout:type_name -> google.protobuf.Duration - 22, // 24: conf.Server.GRPC.middleware:type_name -> conf.Middleware - 23, // 25: conf.Server.GRPC.tls:type_name -> conf.TLS - 21, // 26: conf.Server.Websocket.timeout:type_name -> google.protobuf.Duration - 23, // 27: conf.Server.Websocket.tls:type_name -> conf.TLS - 23, // 28: conf.Server.Mqtt.tls:type_name -> conf.TLS - 23, // 29: conf.Server.Kafka.tls:type_name -> conf.TLS - 23, // 30: conf.Server.RabbitMQ.tls:type_name -> conf.TLS - 23, // 31: conf.Server.ActiveMQ.tls:type_name -> conf.TLS - 23, // 32: conf.Server.NATS.tls:type_name -> conf.TLS - 23, // 33: conf.Server.NSQ.tls:type_name -> conf.TLS - 23, // 34: conf.Server.Pulsar.tls:type_name -> conf.TLS - 23, // 35: conf.Server.Redis.tls:type_name -> conf.TLS - 23, // 36: conf.Server.RocketMQ.tls:type_name -> conf.TLS - 23, // 37: conf.Server.Asynq.tls:type_name -> conf.TLS - 23, // 38: conf.Server.Machinery.tls:type_name -> conf.TLS - 23, // 39: conf.Server.SSE.tls:type_name -> conf.TLS - 21, // 40: conf.Server.SSE.timeout:type_name -> google.protobuf.Duration - 21, // 41: conf.Server.SSE.event_ttl:type_name -> google.protobuf.Duration - 23, // 42: conf.Server.SocketIO.tls:type_name -> conf.TLS - 23, // 43: conf.Server.SignalR.tls:type_name -> conf.TLS - 21, // 44: conf.Server.SignalR.keep_alive_interval:type_name -> google.protobuf.Duration - 21, // 45: conf.Server.SignalR.chan_receive_timeout:type_name -> google.protobuf.Duration - 21, // 46: conf.Server.GraphQL.timeout:type_name -> google.protobuf.Duration - 23, // 47: conf.Server.GraphQL.tls:type_name -> conf.TLS - 23, // 48: conf.Server.Thrift.tls:type_name -> conf.TLS - 49, // [49:49] is the sub-list for method output_type - 49, // [49:49] is the sub-list for method input_type - 49, // [49:49] is the sub-list for extension type_name - 49, // [49:49] is the sub-list for extension extendee - 0, // [0:49] is the sub-list for field type_name + 31, // 21: conf.Server.REST.middleware:type_name -> conf.Middleware + 32, // 22: conf.Server.REST.tls:type_name -> conf.TLS + 30, // 23: conf.Server.GRPC.timeout:type_name -> google.protobuf.Duration + 31, // 24: conf.Server.GRPC.middleware:type_name -> conf.Middleware + 32, // 25: conf.Server.GRPC.tls:type_name -> conf.TLS + 30, // 26: conf.Server.Websocket.timeout:type_name -> google.protobuf.Duration + 32, // 27: conf.Server.Websocket.tls:type_name -> conf.TLS + 32, // 28: conf.Server.Mqtt.tls:type_name -> conf.TLS + 32, // 29: conf.Server.Kafka.tls:type_name -> conf.TLS + 32, // 30: conf.Server.RabbitMQ.tls:type_name -> conf.TLS + 32, // 31: conf.Server.ActiveMQ.tls:type_name -> conf.TLS + 32, // 32: conf.Server.NATS.tls:type_name -> conf.TLS + 32, // 33: conf.Server.NSQ.tls:type_name -> conf.TLS + 32, // 34: conf.Server.Pulsar.tls:type_name -> conf.TLS + 32, // 35: conf.Server.Redis.tls:type_name -> conf.TLS + 32, // 36: conf.Server.RocketMQ.tls:type_name -> conf.TLS + 32, // 37: conf.Server.Asynq.tls:type_name -> conf.TLS + 21, // 38: conf.Server.Asynq.queues:type_name -> conf.Server.Asynq.QueuesEntry + 30, // 39: conf.Server.Asynq.shutdown_timeout:type_name -> google.protobuf.Duration + 30, // 40: conf.Server.Asynq.dial_timeout:type_name -> google.protobuf.Duration + 30, // 41: conf.Server.Asynq.read_timeout:type_name -> google.protobuf.Duration + 30, // 42: conf.Server.Asynq.write_timeout:type_name -> google.protobuf.Duration + 30, // 43: conf.Server.Asynq.health_check_interval:type_name -> google.protobuf.Duration + 30, // 44: conf.Server.Asynq.delayed_task_check_interval:type_name -> google.protobuf.Duration + 30, // 45: conf.Server.Asynq.group_grace_period:type_name -> google.protobuf.Duration + 30, // 46: conf.Server.Asynq.group_max_delay:type_name -> google.protobuf.Duration + 32, // 47: conf.Server.Machinery.tls:type_name -> conf.TLS + 22, // 48: conf.Server.Machinery.redis:type_name -> conf.Server.Machinery.Redis + 23, // 49: conf.Server.Machinery.amqp:type_name -> conf.Server.Machinery.AMQP + 24, // 50: conf.Server.Machinery.sqs:type_name -> conf.Server.Machinery.SQS + 25, // 51: conf.Server.Machinery.gcp:type_name -> conf.Server.Machinery.GCP + 26, // 52: conf.Server.Machinery.mongodb:type_name -> conf.Server.Machinery.MongoDB + 27, // 53: conf.Server.Machinery.dynamodb:type_name -> conf.Server.Machinery.DynamoDB + 32, // 54: conf.Server.SSE.tls:type_name -> conf.TLS + 30, // 55: conf.Server.SSE.timeout:type_name -> google.protobuf.Duration + 30, // 56: conf.Server.SSE.event_ttl:type_name -> google.protobuf.Duration + 32, // 57: conf.Server.SocketIO.tls:type_name -> conf.TLS + 32, // 58: conf.Server.SignalR.tls:type_name -> conf.TLS + 30, // 59: conf.Server.SignalR.keep_alive_interval:type_name -> google.protobuf.Duration + 30, // 60: conf.Server.SignalR.chan_receive_timeout:type_name -> google.protobuf.Duration + 30, // 61: conf.Server.GraphQL.timeout:type_name -> google.protobuf.Duration + 32, // 62: conf.Server.GraphQL.tls:type_name -> conf.TLS + 32, // 63: conf.Server.Thrift.tls:type_name -> conf.TLS + 28, // 64: conf.Server.Machinery.AMQP.queue_declare_args:type_name -> conf.Server.Machinery.AMQP.QueueDeclareArgsEntry + 29, // 65: conf.Server.Machinery.AMQP.queue_binding_args:type_name -> conf.Server.Machinery.AMQP.QueueBindingArgsEntry + 30, // 66: conf.Server.Machinery.GCP.max_extension:type_name -> google.protobuf.Duration + 67, // [67:67] is the sub-list for method output_type + 67, // [67:67] is the sub-list for method input_type + 67, // [67:67] is the sub-list for extension type_name + 67, // [67:67] is the sub-list for extension extendee + 0, // [0:67] is the sub-list for field type_name } func init() { file_conf_v1_kratos_conf_server_proto_init() } @@ -2345,13 +3261,14 @@ func file_conf_v1_kratos_conf_server_proto_init() { file_conf_v1_kratos_conf_middleware_proto_init() file_conf_v1_kratos_conf_tls_proto_init() file_conf_v1_kratos_conf_server_proto_msgTypes[0].OneofWrappers = []any{} + file_conf_v1_kratos_conf_server_proto_msgTypes[24].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_conf_v1_kratos_conf_server_proto_rawDesc), len(file_conf_v1_kratos_conf_server_proto_rawDesc)), NumEnums: 0, - NumMessages: 21, + NumMessages: 30, NumExtensions: 0, NumServices: 0, }, diff --git a/api/protos/conf/v1/kratos_conf_server.proto b/api/protos/conf/v1/kratos_conf_server.proto index 78517a7..426cde6 100644 --- a/api/protos/conf/v1/kratos_conf_server.proto +++ b/api/protos/conf/v1/kratos_conf_server.proto @@ -139,20 +139,107 @@ message Server { // Asynq message Asynq { - string endpoint = 1; // 对端网络地址 - string password = 2; // redis登录密码 - int32 db = 3; // 数据库索引 - string location = 4; // 时区 - TLS tls = 5; // TLS配置 - bool enable_keep_alive = 6; // 启用心跳 + string network = 1; // Redis对端网络地址 + string endpoint = 2; // Redis对端网络地址 + string password = 3; // Redis登录密码 + int32 db = 4; // Redis数据库索引 + int32 pool_size = 5; // Redis连接池大小 + + TLS tls = 6; // TLS配置 + string codec = 7; // 编解码器: json,xml,yaml... + + string location = 10; // 时区 + int32 concurrency = 11; // 并发数 + int32 group_max_size = 12; // 组最大大小 + map queues = 13; // 队列 + + bool enable_keep_alive = 20; // 启用心跳 + bool enable_gracefully_shutdown = 21; // 优雅关闭 + bool enable_strict_priority = 22; // 严格优先级 + + google.protobuf.Duration shutdown_timeout = 30; // 关闭超时时间 + google.protobuf.Duration dial_timeout = 31; // 拨号超时时间 + google.protobuf.Duration read_timeout = 32; // 读取超时时间 + google.protobuf.Duration write_timeout = 33; // 写入超时时间 + + google.protobuf.Duration health_check_interval = 34; // 健康检查时间间隔 + google.protobuf.Duration delayed_task_check_interval = 35; // 延迟任务检查时间间隔 + google.protobuf.Duration group_grace_period = 36; // 组宽限期 + google.protobuf.Duration group_max_delay = 37; // 组最大延迟 } // Machinery message Machinery { - repeated string brokers = 1; // broker的地址,可以根据实际使用的存储介质,分别指定Redis、AMQP或AWS SQS; - repeated string backends = 2; // backend配置,用来指定存放结果的介质的配置。可以根据需求,分别指定为:Redis、memcached或mongodb等; - TLS tls = 3; // TLS配置 - bool enable_keep_alive = 4; // 启用心跳 + string broker_type = 1; // broker类型,可以根据实际使用的存储介质,分别指定Redis、AMQP或AWS SQS; + string broker_addr = 2; // broker的地址 + int32 broker_db = 3; // broker的数据库索引 + + string backend_type = 10; // backend类型,可以分别指定为:redis、memcached或mongodb等; + string backend_addr = 11; // backend的地址 + int32 backend_db = 12; // backend的数据库索引 + + string lock_type = 20; // lock类型,可以分别指定为:redis、memcached或mongodb等; + string lock_addr = 21; // lock的地址 + int32 lock_db = 22; // lock的数据库索引 + + string consumer_tag = 30; // 消费者标签 + int32 consumer_concurrency = 31; // 消费者并发数 + string consumer_queue = 32; // 消费者队列 + + TLS tls = 50; // TLS配置 + bool enable_keep_alive = 51; // 启用心跳 + string default_queue = 52; // 默认队列 + int32 results_expire_in = 53; // 结果过期时间 + bool no_unix_signals = 54; // 禁用Unix信号 + + message Redis { + int32 max_idle = 1; + int32 max_active = 2; + int32 max_idle_timeout = 3; + bool wait = 4; + int32 read_timeout = 5; + int32 write_timeout = 6; + int32 connect_timeout = 7; + int32 normal_tasks_poll_period = 8; + int32 delayed_tasks_poll_period = 9; + string delayed_tasks_key = 10; + string master_name = 11; + } + Redis redis = 100; // Redis配置 + + message AMQP { + string exchange = 1; + string exchange_type = 2; + map queue_declare_args = 3; + map queue_binding_args = 4; + string binding_key = 5; + int32 prefetch_count = 6; + bool auto_delete = 7; + string delayed_queue = 8; + } + AMQP amqp = 101; // AMQP配置 + + message SQS { + int32 receive_wait_time_seconds = 1; + optional int32 receive_visibility_timeout = 2; + } + SQS sqs = 102; // SQS配置 + + message GCP { + google.protobuf.Duration max_extension = 1; + } + GCP gcp = 103; // GCP配置 + + message MongoDB { + string database = 1; + } + MongoDB mongodb = 104; // MongoDB配置 + + message DynamoDB { + string task_states_table = 1; + string group_metas_table = 2; + } + DynamoDB dynamodb = 105; // DynamoDB配置 } // SSE diff --git a/tag.bat b/tag.bat index 708d5f9..314335a 100644 --- a/tag.bat +++ b/tag.bat @@ -1,4 +1,4 @@ -git tag api/v0.0.16 --force +git tag api/v0.0.17 --force git tag utils/v0.1.3 --force