diff --git a/adaptor/PCM-FC/PCM-SCF/READM.md b/adaptor/PCM-FC/PCM-SCF/READM.md index 647a448a..79d6612f 100644 --- a/adaptor/PCM-FC/PCM-SCF/READM.md +++ b/adaptor/PCM-FC/PCM-SCF/READM.md @@ -16,7 +16,7 @@ - [ ] CreateFunction 创建函数 - [ ] DeleteFunction 删除函数 -- [ ] GetFunction 获取函数详细信息 +- [x] GetFunction 获取函数详细信息 - [ ] Invoke 运行函数 - [x] ListFunctions 获取函数列表 - [ ] UpdateFunctionCode 更新函数代码 diff --git a/adaptor/PCM-FC/PCM-SCF/internal/logic/getfunctionslogic.go b/adaptor/PCM-FC/PCM-SCF/internal/logic/getfunctionslogic.go new file mode 100644 index 00000000..003df8e8 --- /dev/null +++ b/adaptor/PCM-FC/PCM-SCF/internal/logic/getfunctionslogic.go @@ -0,0 +1,52 @@ +package logic + +import ( + "PCM/common/tool" + "context" + "fmt" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" + tscf "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf/v20180416" + + "PCM/adaptor/PCM-FC/PCM-SCF/internal/svc" + "PCM/adaptor/PCM-FC/PCM-SCF/scf" + + "github.com/zeromicro/go-zero/core/logx" +) + +type GetFunctionsLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewGetFunctionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetFunctionsLogic { + return &GetFunctionsLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +// GetFunctions 查询腾讯云云函数详情 +func (l *GetFunctionsLogic) GetFunctions(in *scf.GetFunctionsReq) (*scf.GetFunctionsResp, error) { + resp := &scf.GetFunctionsResp{} + // 实例化要请求产品的client对象,clientProfile是可选的k + client, _ := tscf.NewClient(l.svcCtx.Credential, in.Region, l.svcCtx.Cpf) + // 实例化一个请求对象,每个接口都会对应一个request对象 + request := tscf.NewGetFunctionRequest() + + request.FunctionName = common.StringPtr(in.FunctionName) + + // 返回的resp是一个GetFunctionResponse的实例,与请求对象对应 + response, err := client.GetFunction(request) + if _, ok := err.(*errors.TencentCloudSDKError); ok { + fmt.Printf("An API error has returned: %s", err) + return nil, nil + } + if err != nil { + panic(err) + } + tool.Convert(response.Response, &resp.Response) + return resp, nil +} diff --git a/adaptor/PCM-FC/PCM-SCF/internal/logic/listfunctionslogic.go b/adaptor/PCM-FC/PCM-SCF/internal/logic/listfunctionslogic.go index a79b5b8f..1b3fa46d 100644 --- a/adaptor/PCM-FC/PCM-SCF/internal/logic/listfunctionslogic.go +++ b/adaptor/PCM-FC/PCM-SCF/internal/logic/listfunctionslogic.go @@ -7,7 +7,6 @@ import ( "context" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" - "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile" tscf "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf/v20180416" "github.com/zeromicro/go-zero/core/logx" ) @@ -26,15 +25,11 @@ func NewListFunctionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Lis } } -// 查询腾讯云云函数列表 +// ListFunctions 查询腾讯云云函数列表 func (l *ListFunctionsLogic) ListFunctions(in *scf.ListFunctionsReq) (*scf.ListFunctionsResp, error) { resp := &scf.ListFunctionsResp{} - // 实例化一个client选项,可选的,没有特殊需求可以跳过 - cpf := profile.NewClientProfile() - //请求域名,表示用户的接入地域,默认就近接入 - cpf.HttpProfile.Endpoint = "scf.tencentcloudapi.com" - // 实例化要请求产品的client对象,clientProfile是可选的 - client, _ := tscf.NewClient(l.svcCtx.Credential, in.Region, cpf) + // 实例化要请求产品的client对象,clientProfile是可选的k + client, _ := tscf.NewClient(l.svcCtx.Credential, in.Region, l.svcCtx.Cpf) // 实例化一个请求对象,每个接口都会对应一个request对象 request := tscf.NewListFunctionsRequest() diff --git a/adaptor/PCM-FC/PCM-SCF/internal/server/scfserver.go b/adaptor/PCM-FC/PCM-SCF/internal/server/scfserver.go index c55b8f29..a5148ac3 100644 --- a/adaptor/PCM-FC/PCM-SCF/internal/server/scfserver.go +++ b/adaptor/PCM-FC/PCM-SCF/internal/server/scfserver.go @@ -22,8 +22,14 @@ func NewScfServer(svcCtx *svc.ServiceContext) *ScfServer { } } -// 查询腾讯云云函数列表 +// ListFunctions 查询腾讯云云函数列表 func (s *ScfServer) ListFunctions(ctx context.Context, in *scf.ListFunctionsReq) (*scf.ListFunctionsResp, error) { l := logic.NewListFunctionsLogic(ctx, s.svcCtx) return l.ListFunctions(in) } + +// GetFunctions 查询腾讯云云函数详情 +func (s *ScfServer) GetFunctions(ctx context.Context, in *scf.GetFunctionsReq) (*scf.GetFunctionsResp, error) { + l := logic.NewGetFunctionsLogic(ctx, s.svcCtx) + return l.GetFunctions(in) +} diff --git a/adaptor/PCM-FC/PCM-SCF/internal/svc/servicecontext.go b/adaptor/PCM-FC/PCM-SCF/internal/svc/servicecontext.go index 77088ce8..ef78f417 100644 --- a/adaptor/PCM-FC/PCM-SCF/internal/svc/servicecontext.go +++ b/adaptor/PCM-FC/PCM-SCF/internal/svc/servicecontext.go @@ -3,11 +3,13 @@ package svc import ( "PCM/adaptor/PCM-FC/PCM-SCF/internal/config" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile" ) type ServiceContext struct { Config config.Config Credential *common.Credential + Cpf *profile.ClientProfile } func NewServiceContext(c config.Config) *ServiceContext { @@ -17,8 +19,14 @@ func NewServiceContext(c config.Config) *ServiceContext { c.SecretConfig.SecretKey, ) + // 实例化一个client选项,可选的,没有特殊需求可以跳过 + cpf := profile.NewClientProfile() + //请求域名,表示用户的接入地域,默认就近接入 + cpf.HttpProfile.Endpoint = "scf.tencentcloudapi.com" + return &ServiceContext{ Credential: credential, Config: c, + Cpf: cpf, } } diff --git a/adaptor/PCM-FC/PCM-SCF/pb/pcm-scf.proto b/adaptor/PCM-FC/PCM-SCF/pb/pcm-scf.proto index 999cb183..ea00199e 100644 --- a/adaptor/PCM-FC/PCM-SCF/pb/pcm-scf.proto +++ b/adaptor/PCM-FC/PCM-SCF/pb/pcm-scf.proto @@ -3,6 +3,167 @@ syntax = "proto3"; package scf; option go_package = "/scf"; +message GetFunctionsReq { + string functionName = 1; + string qualifier = 2; + string namespace = 3; + string showCode = 4; + string region = 5; +} + +message Triggers { + string ModTime = 1; + string Type = 2; + string TriggerDesc = 3; + string TriggerName = 4; + string AddTime = 5; + uint32 Enable = 6; + string CustomArgument = 7; + string AvailableStatus = 8; + string ResourceId = 9; + string BindStatus = 10; + string TriggerAttribute = 11; + string Qualifier = 12; + string Description = 13; +} + +message Vpcconfig { + string VpcId = 1; + string SubnetId = 2; +} + +message Variables { + string Key = 1; + string Value = 2; +} + +message Environment { + repeated Variables Variables = 1; +} + +message Tags { + string Key = 1; + string Value = 2; +} + +message Eipconfig { + string EipFixed = 1; + repeated string Eips = 2; +} + +message Accessinfo { + string Host = 1; + string Vip = 2; +} + +message Layers { + repeated string CompatibleRuntimes = 1; + string AddTime = 2; + string Description = 3; + string LicenseInfo = 4; + uint32 LayerVersion = 5; + string LayerName = 6; + string Status = 7; + string Stamp = 8; +} + +message Deadletterconfig { + string Type = 1; + string Name = 2; + string FilterType = 3; +} + +message Eipconfig1 { + string EipStatus = 1; + repeated string EipAddress = 2; +} + +message Publicnetconfig { + string PublicNetStatus = 1; + Eipconfig1 EipConfig = 2; +} + +message Cfsinslist { + string UserId = 1; + string UserGroupId = 2; + string CfsId = 3; + string MountInsId = 4; + string LocalMountDir = 5; + string RemoteMountDir = 6; + string IpAddress = 7; + string MountVpcId = 8; + string MountSubnetId = 9; +} + +message Cfsconfig { + repeated Cfsinslist CfsInsList = 1; +} + +message Statusreasons { + string ErrorCode = 1; + string ErrorMessage = 2; +} + +message Wsparams { + uint32 IdleTimeOut = 1; +} + +message Protocolparams { + Wsparams WSParams = 1; +} + +message GetFunctionsResp { + GetFunctionsResponse Response = 1; +} + +message GetFunctionsResponse { + string ModTime = 1; + string CodeInfo = 2; + string Description = 3; + repeated Triggers Triggers = 4; + string Handler = 5; + uint32 CodeSize = 6; + uint32 Timeout = 7; + string FunctionVersion = 8; + uint32 MemorySize = 9; + string Runtime = 10; + string FunctionName = 11; + Vpcconfig VpcConfig = 12; + string UseGpu = 13; + Environment Environment = 14; + string CodeResult = 15; + string CodeError = 16; + uint32 ErrNo = 17; + string Namespace = 18; + string Role = 19; + string InstallDependency = 20; + string Status = 21; + string StatusDesc = 22; + string ClsLogsetId = 23; + string ClsTopicId = 24; + string FunctionId = 25; + repeated Tags Tags = 26; + Eipconfig EipConfig = 27; + Accessinfo AccessInfo = 28; + string Type = 29; + string L5Enable = 30; + repeated Layers Layers = 31; + Deadletterconfig DeadLetterConfig = 32; + string AddTime = 33; + Publicnetconfig PublicNetConfig = 34; + string OnsEnable = 35; + Cfsconfig CfsConfig = 36; + string AvailableStatus = 37; + string Qualifier = 38; + uint32 InitTimeout = 39; + repeated Statusreasons StatusReasons = 40; + string AsyncRunEnable = 41; + string TraceEnable = 42; + string ProtocolType = 43; + Protocolparams ProtocolParams = 44; + string RequestId = 45; +} + message ListFunctionsReq { string order = 1; string orderby = 2; @@ -22,7 +183,7 @@ message Filters { message ListFunctionsResp { - Response response = 1; + ListFunctionsResponse Response = 1; } message Functions { @@ -44,17 +205,20 @@ message Functions { string type = 16; } -message Response { +message ListFunctionsResponse { repeated Functions functions = 1; string requestId = 2; int32 totalCount = 3; } -// scf +// scf 腾讯云函数 service Scf { - //查询腾讯云云函数列表 + //ListFunctions 查询腾讯云云函数列表 rpc ListFunctions(ListFunctionsReq) returns (ListFunctionsResp); + //GetFunctions 查询腾讯云云函数详情 + rpc GetFunctions(GetFunctionsReq) returns (GetFunctionsResp); + } diff --git a/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf.pb.go b/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf.pb.go index 9cf29a8c..9ed803e6 100644 --- a/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf.pb.go +++ b/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 -// protoc v3.21.12 +// protoc v4.23.4 // source: pb/pcm-scf.proto package scf @@ -20,6 +20,1579 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +type GetFunctionsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FunctionName string `protobuf:"bytes,1,opt,name=functionName,proto3" json:"functionName,omitempty"` + Qualifier string `protobuf:"bytes,2,opt,name=qualifier,proto3" json:"qualifier,omitempty"` + Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + ShowCode string `protobuf:"bytes,4,opt,name=showCode,proto3" json:"showCode,omitempty"` + Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` +} + +func (x *GetFunctionsReq) Reset() { + *x = GetFunctionsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFunctionsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFunctionsReq) ProtoMessage() {} + +func (x *GetFunctionsReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 GetFunctionsReq.ProtoReflect.Descriptor instead. +func (*GetFunctionsReq) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{0} +} + +func (x *GetFunctionsReq) GetFunctionName() string { + if x != nil { + return x.FunctionName + } + return "" +} + +func (x *GetFunctionsReq) GetQualifier() string { + if x != nil { + return x.Qualifier + } + return "" +} + +func (x *GetFunctionsReq) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *GetFunctionsReq) GetShowCode() string { + if x != nil { + return x.ShowCode + } + return "" +} + +func (x *GetFunctionsReq) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + +type Triggers struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModTime string `protobuf:"bytes,1,opt,name=ModTime,proto3" json:"ModTime,omitempty"` + Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"` + TriggerDesc string `protobuf:"bytes,3,opt,name=TriggerDesc,proto3" json:"TriggerDesc,omitempty"` + TriggerName string `protobuf:"bytes,4,opt,name=TriggerName,proto3" json:"TriggerName,omitempty"` + AddTime string `protobuf:"bytes,5,opt,name=AddTime,proto3" json:"AddTime,omitempty"` + Enable uint32 `protobuf:"varint,6,opt,name=Enable,proto3" json:"Enable,omitempty"` + CustomArgument string `protobuf:"bytes,7,opt,name=CustomArgument,proto3" json:"CustomArgument,omitempty"` + AvailableStatus string `protobuf:"bytes,8,opt,name=AvailableStatus,proto3" json:"AvailableStatus,omitempty"` + ResourceId string `protobuf:"bytes,9,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"` + BindStatus string `protobuf:"bytes,10,opt,name=BindStatus,proto3" json:"BindStatus,omitempty"` + TriggerAttribute string `protobuf:"bytes,11,opt,name=TriggerAttribute,proto3" json:"TriggerAttribute,omitempty"` + Qualifier string `protobuf:"bytes,12,opt,name=Qualifier,proto3" json:"Qualifier,omitempty"` + Description string `protobuf:"bytes,13,opt,name=Description,proto3" json:"Description,omitempty"` +} + +func (x *Triggers) Reset() { + *x = Triggers{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Triggers) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Triggers) ProtoMessage() {} + +func (x *Triggers) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Triggers.ProtoReflect.Descriptor instead. +func (*Triggers) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{1} +} + +func (x *Triggers) GetModTime() string { + if x != nil { + return x.ModTime + } + return "" +} + +func (x *Triggers) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *Triggers) GetTriggerDesc() string { + if x != nil { + return x.TriggerDesc + } + return "" +} + +func (x *Triggers) GetTriggerName() string { + if x != nil { + return x.TriggerName + } + return "" +} + +func (x *Triggers) GetAddTime() string { + if x != nil { + return x.AddTime + } + return "" +} + +func (x *Triggers) GetEnable() uint32 { + if x != nil { + return x.Enable + } + return 0 +} + +func (x *Triggers) GetCustomArgument() string { + if x != nil { + return x.CustomArgument + } + return "" +} + +func (x *Triggers) GetAvailableStatus() string { + if x != nil { + return x.AvailableStatus + } + return "" +} + +func (x *Triggers) GetResourceId() string { + if x != nil { + return x.ResourceId + } + return "" +} + +func (x *Triggers) GetBindStatus() string { + if x != nil { + return x.BindStatus + } + return "" +} + +func (x *Triggers) GetTriggerAttribute() string { + if x != nil { + return x.TriggerAttribute + } + return "" +} + +func (x *Triggers) GetQualifier() string { + if x != nil { + return x.Qualifier + } + return "" +} + +func (x *Triggers) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +type Vpcconfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VpcId string `protobuf:"bytes,1,opt,name=VpcId,proto3" json:"VpcId,omitempty"` + SubnetId string `protobuf:"bytes,2,opt,name=SubnetId,proto3" json:"SubnetId,omitempty"` +} + +func (x *Vpcconfig) Reset() { + *x = Vpcconfig{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vpcconfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vpcconfig) ProtoMessage() {} + +func (x *Vpcconfig) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Vpcconfig.ProtoReflect.Descriptor instead. +func (*Vpcconfig) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{2} +} + +func (x *Vpcconfig) GetVpcId() string { + if x != nil { + return x.VpcId + } + return "" +} + +func (x *Vpcconfig) GetSubnetId() string { + if x != nil { + return x.SubnetId + } + return "" +} + +type Variables struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` +} + +func (x *Variables) Reset() { + *x = Variables{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Variables) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Variables) ProtoMessage() {} + +func (x *Variables) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Variables.ProtoReflect.Descriptor instead. +func (*Variables) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{3} +} + +func (x *Variables) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *Variables) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type Environment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Variables []*Variables `protobuf:"bytes,1,rep,name=Variables,proto3" json:"Variables,omitempty"` +} + +func (x *Environment) Reset() { + *x = Environment{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Environment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Environment) ProtoMessage() {} + +func (x *Environment) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Environment.ProtoReflect.Descriptor instead. +func (*Environment) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{4} +} + +func (x *Environment) GetVariables() []*Variables { + if x != nil { + return x.Variables + } + return nil +} + +type Tags struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` +} + +func (x *Tags) Reset() { + *x = Tags{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tags) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tags) ProtoMessage() {} + +func (x *Tags) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Tags.ProtoReflect.Descriptor instead. +func (*Tags) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{5} +} + +func (x *Tags) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *Tags) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type Eipconfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EipFixed string `protobuf:"bytes,1,opt,name=EipFixed,proto3" json:"EipFixed,omitempty"` + Eips []string `protobuf:"bytes,2,rep,name=Eips,proto3" json:"Eips,omitempty"` +} + +func (x *Eipconfig) Reset() { + *x = Eipconfig{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eipconfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eipconfig) ProtoMessage() {} + +func (x *Eipconfig) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Eipconfig.ProtoReflect.Descriptor instead. +func (*Eipconfig) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{6} +} + +func (x *Eipconfig) GetEipFixed() string { + if x != nil { + return x.EipFixed + } + return "" +} + +func (x *Eipconfig) GetEips() []string { + if x != nil { + return x.Eips + } + return nil +} + +type Accessinfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` + Vip string `protobuf:"bytes,2,opt,name=Vip,proto3" json:"Vip,omitempty"` +} + +func (x *Accessinfo) Reset() { + *x = Accessinfo{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Accessinfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Accessinfo) ProtoMessage() {} + +func (x *Accessinfo) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Accessinfo.ProtoReflect.Descriptor instead. +func (*Accessinfo) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{7} +} + +func (x *Accessinfo) GetHost() string { + if x != nil { + return x.Host + } + return "" +} + +func (x *Accessinfo) GetVip() string { + if x != nil { + return x.Vip + } + return "" +} + +type Layers struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CompatibleRuntimes []string `protobuf:"bytes,1,rep,name=CompatibleRuntimes,proto3" json:"CompatibleRuntimes,omitempty"` + AddTime string `protobuf:"bytes,2,opt,name=AddTime,proto3" json:"AddTime,omitempty"` + Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` + LicenseInfo string `protobuf:"bytes,4,opt,name=LicenseInfo,proto3" json:"LicenseInfo,omitempty"` + LayerVersion uint32 `protobuf:"varint,5,opt,name=LayerVersion,proto3" json:"LayerVersion,omitempty"` + LayerName string `protobuf:"bytes,6,opt,name=LayerName,proto3" json:"LayerName,omitempty"` + Status string `protobuf:"bytes,7,opt,name=Status,proto3" json:"Status,omitempty"` + Stamp string `protobuf:"bytes,8,opt,name=Stamp,proto3" json:"Stamp,omitempty"` +} + +func (x *Layers) Reset() { + *x = Layers{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Layers) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Layers) ProtoMessage() {} + +func (x *Layers) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Layers.ProtoReflect.Descriptor instead. +func (*Layers) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{8} +} + +func (x *Layers) GetCompatibleRuntimes() []string { + if x != nil { + return x.CompatibleRuntimes + } + return nil +} + +func (x *Layers) GetAddTime() string { + if x != nil { + return x.AddTime + } + return "" +} + +func (x *Layers) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Layers) GetLicenseInfo() string { + if x != nil { + return x.LicenseInfo + } + return "" +} + +func (x *Layers) GetLayerVersion() uint32 { + if x != nil { + return x.LayerVersion + } + return 0 +} + +func (x *Layers) GetLayerName() string { + if x != nil { + return x.LayerName + } + return "" +} + +func (x *Layers) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *Layers) GetStamp() string { + if x != nil { + return x.Stamp + } + return "" +} + +type Deadletterconfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` + FilterType string `protobuf:"bytes,3,opt,name=FilterType,proto3" json:"FilterType,omitempty"` +} + +func (x *Deadletterconfig) Reset() { + *x = Deadletterconfig{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Deadletterconfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Deadletterconfig) ProtoMessage() {} + +func (x *Deadletterconfig) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Deadletterconfig.ProtoReflect.Descriptor instead. +func (*Deadletterconfig) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{9} +} + +func (x *Deadletterconfig) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *Deadletterconfig) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Deadletterconfig) GetFilterType() string { + if x != nil { + return x.FilterType + } + return "" +} + +type Eipconfig1 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EipStatus string `protobuf:"bytes,1,opt,name=EipStatus,proto3" json:"EipStatus,omitempty"` + EipAddress []string `protobuf:"bytes,2,rep,name=EipAddress,proto3" json:"EipAddress,omitempty"` +} + +func (x *Eipconfig1) Reset() { + *x = Eipconfig1{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eipconfig1) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eipconfig1) ProtoMessage() {} + +func (x *Eipconfig1) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Eipconfig1.ProtoReflect.Descriptor instead. +func (*Eipconfig1) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{10} +} + +func (x *Eipconfig1) GetEipStatus() string { + if x != nil { + return x.EipStatus + } + return "" +} + +func (x *Eipconfig1) GetEipAddress() []string { + if x != nil { + return x.EipAddress + } + return nil +} + +type Publicnetconfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PublicNetStatus string `protobuf:"bytes,1,opt,name=PublicNetStatus,proto3" json:"PublicNetStatus,omitempty"` + EipConfig *Eipconfig1 `protobuf:"bytes,2,opt,name=EipConfig,proto3" json:"EipConfig,omitempty"` +} + +func (x *Publicnetconfig) Reset() { + *x = Publicnetconfig{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Publicnetconfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Publicnetconfig) ProtoMessage() {} + +func (x *Publicnetconfig) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Publicnetconfig.ProtoReflect.Descriptor instead. +func (*Publicnetconfig) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{11} +} + +func (x *Publicnetconfig) GetPublicNetStatus() string { + if x != nil { + return x.PublicNetStatus + } + return "" +} + +func (x *Publicnetconfig) GetEipConfig() *Eipconfig1 { + if x != nil { + return x.EipConfig + } + return nil +} + +type Cfsinslist struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` + UserGroupId string `protobuf:"bytes,2,opt,name=UserGroupId,proto3" json:"UserGroupId,omitempty"` + CfsId string `protobuf:"bytes,3,opt,name=CfsId,proto3" json:"CfsId,omitempty"` + MountInsId string `protobuf:"bytes,4,opt,name=MountInsId,proto3" json:"MountInsId,omitempty"` + LocalMountDir string `protobuf:"bytes,5,opt,name=LocalMountDir,proto3" json:"LocalMountDir,omitempty"` + RemoteMountDir string `protobuf:"bytes,6,opt,name=RemoteMountDir,proto3" json:"RemoteMountDir,omitempty"` + IpAddress string `protobuf:"bytes,7,opt,name=IpAddress,proto3" json:"IpAddress,omitempty"` + MountVpcId string `protobuf:"bytes,8,opt,name=MountVpcId,proto3" json:"MountVpcId,omitempty"` + MountSubnetId string `protobuf:"bytes,9,opt,name=MountSubnetId,proto3" json:"MountSubnetId,omitempty"` +} + +func (x *Cfsinslist) Reset() { + *x = Cfsinslist{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Cfsinslist) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Cfsinslist) ProtoMessage() {} + +func (x *Cfsinslist) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Cfsinslist.ProtoReflect.Descriptor instead. +func (*Cfsinslist) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{12} +} + +func (x *Cfsinslist) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *Cfsinslist) GetUserGroupId() string { + if x != nil { + return x.UserGroupId + } + return "" +} + +func (x *Cfsinslist) GetCfsId() string { + if x != nil { + return x.CfsId + } + return "" +} + +func (x *Cfsinslist) GetMountInsId() string { + if x != nil { + return x.MountInsId + } + return "" +} + +func (x *Cfsinslist) GetLocalMountDir() string { + if x != nil { + return x.LocalMountDir + } + return "" +} + +func (x *Cfsinslist) GetRemoteMountDir() string { + if x != nil { + return x.RemoteMountDir + } + return "" +} + +func (x *Cfsinslist) GetIpAddress() string { + if x != nil { + return x.IpAddress + } + return "" +} + +func (x *Cfsinslist) GetMountVpcId() string { + if x != nil { + return x.MountVpcId + } + return "" +} + +func (x *Cfsinslist) GetMountSubnetId() string { + if x != nil { + return x.MountSubnetId + } + return "" +} + +type Cfsconfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CfsInsList []*Cfsinslist `protobuf:"bytes,1,rep,name=CfsInsList,proto3" json:"CfsInsList,omitempty"` +} + +func (x *Cfsconfig) Reset() { + *x = Cfsconfig{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Cfsconfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Cfsconfig) ProtoMessage() {} + +func (x *Cfsconfig) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Cfsconfig.ProtoReflect.Descriptor instead. +func (*Cfsconfig) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{13} +} + +func (x *Cfsconfig) GetCfsInsList() []*Cfsinslist { + if x != nil { + return x.CfsInsList + } + return nil +} + +type Statusreasons struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ErrorCode string `protobuf:"bytes,1,opt,name=ErrorCode,proto3" json:"ErrorCode,omitempty"` + ErrorMessage string `protobuf:"bytes,2,opt,name=ErrorMessage,proto3" json:"ErrorMessage,omitempty"` +} + +func (x *Statusreasons) Reset() { + *x = Statusreasons{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Statusreasons) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Statusreasons) ProtoMessage() {} + +func (x *Statusreasons) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_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 Statusreasons.ProtoReflect.Descriptor instead. +func (*Statusreasons) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{14} +} + +func (x *Statusreasons) GetErrorCode() string { + if x != nil { + return x.ErrorCode + } + return "" +} + +func (x *Statusreasons) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage + } + return "" +} + +type Wsparams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdleTimeOut uint32 `protobuf:"varint,1,opt,name=IdleTimeOut,proto3" json:"IdleTimeOut,omitempty"` +} + +func (x *Wsparams) Reset() { + *x = Wsparams{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Wsparams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Wsparams) ProtoMessage() {} + +func (x *Wsparams) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Wsparams.ProtoReflect.Descriptor instead. +func (*Wsparams) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{15} +} + +func (x *Wsparams) GetIdleTimeOut() uint32 { + if x != nil { + return x.IdleTimeOut + } + return 0 +} + +type Protocolparams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WSParams *Wsparams `protobuf:"bytes,1,opt,name=WSParams,proto3" json:"WSParams,omitempty"` +} + +func (x *Protocolparams) Reset() { + *x = Protocolparams{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Protocolparams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Protocolparams) ProtoMessage() {} + +func (x *Protocolparams) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Protocolparams.ProtoReflect.Descriptor instead. +func (*Protocolparams) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{16} +} + +func (x *Protocolparams) GetWSParams() *Wsparams { + if x != nil { + return x.WSParams + } + return nil +} + +type GetFunctionsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response *GetFunctionsResponse `protobuf:"bytes,1,opt,name=Response,proto3" json:"Response,omitempty"` +} + +func (x *GetFunctionsResp) Reset() { + *x = GetFunctionsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFunctionsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFunctionsResp) ProtoMessage() {} + +func (x *GetFunctionsResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFunctionsResp.ProtoReflect.Descriptor instead. +func (*GetFunctionsResp) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{17} +} + +func (x *GetFunctionsResp) GetResponse() *GetFunctionsResponse { + if x != nil { + return x.Response + } + return nil +} + +type GetFunctionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModTime string `protobuf:"bytes,1,opt,name=ModTime,proto3" json:"ModTime,omitempty"` + CodeInfo string `protobuf:"bytes,2,opt,name=CodeInfo,proto3" json:"CodeInfo,omitempty"` + Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` + Triggers []*Triggers `protobuf:"bytes,4,rep,name=Triggers,proto3" json:"Triggers,omitempty"` + Handler string `protobuf:"bytes,5,opt,name=Handler,proto3" json:"Handler,omitempty"` + CodeSize uint32 `protobuf:"varint,6,opt,name=CodeSize,proto3" json:"CodeSize,omitempty"` + Timeout uint32 `protobuf:"varint,7,opt,name=Timeout,proto3" json:"Timeout,omitempty"` + FunctionVersion string `protobuf:"bytes,8,opt,name=FunctionVersion,proto3" json:"FunctionVersion,omitempty"` + MemorySize uint32 `protobuf:"varint,9,opt,name=MemorySize,proto3" json:"MemorySize,omitempty"` + Runtime string `protobuf:"bytes,10,opt,name=Runtime,proto3" json:"Runtime,omitempty"` + FunctionName string `protobuf:"bytes,11,opt,name=FunctionName,proto3" json:"FunctionName,omitempty"` + VpcConfig *Vpcconfig `protobuf:"bytes,12,opt,name=VpcConfig,proto3" json:"VpcConfig,omitempty"` + UseGpu string `protobuf:"bytes,13,opt,name=UseGpu,proto3" json:"UseGpu,omitempty"` + Environment *Environment `protobuf:"bytes,14,opt,name=Environment,proto3" json:"Environment,omitempty"` + CodeResult string `protobuf:"bytes,15,opt,name=CodeResult,proto3" json:"CodeResult,omitempty"` + CodeError string `protobuf:"bytes,16,opt,name=CodeError,proto3" json:"CodeError,omitempty"` + ErrNo uint32 `protobuf:"varint,17,opt,name=ErrNo,proto3" json:"ErrNo,omitempty"` + Namespace string `protobuf:"bytes,18,opt,name=Namespace,proto3" json:"Namespace,omitempty"` + Role string `protobuf:"bytes,19,opt,name=Role,proto3" json:"Role,omitempty"` + InstallDependency string `protobuf:"bytes,20,opt,name=InstallDependency,proto3" json:"InstallDependency,omitempty"` + Status string `protobuf:"bytes,21,opt,name=Status,proto3" json:"Status,omitempty"` + StatusDesc string `protobuf:"bytes,22,opt,name=StatusDesc,proto3" json:"StatusDesc,omitempty"` + ClsLogsetId string `protobuf:"bytes,23,opt,name=ClsLogsetId,proto3" json:"ClsLogsetId,omitempty"` + ClsTopicId string `protobuf:"bytes,24,opt,name=ClsTopicId,proto3" json:"ClsTopicId,omitempty"` + FunctionId string `protobuf:"bytes,25,opt,name=FunctionId,proto3" json:"FunctionId,omitempty"` + Tags []*Tags `protobuf:"bytes,26,rep,name=Tags,proto3" json:"Tags,omitempty"` + EipConfig *Eipconfig `protobuf:"bytes,27,opt,name=EipConfig,proto3" json:"EipConfig,omitempty"` + AccessInfo *Accessinfo `protobuf:"bytes,28,opt,name=AccessInfo,proto3" json:"AccessInfo,omitempty"` + Type string `protobuf:"bytes,29,opt,name=Type,proto3" json:"Type,omitempty"` + L5Enable string `protobuf:"bytes,30,opt,name=L5Enable,proto3" json:"L5Enable,omitempty"` + Layers []*Layers `protobuf:"bytes,31,rep,name=Layers,proto3" json:"Layers,omitempty"` + DeadLetterConfig *Deadletterconfig `protobuf:"bytes,32,opt,name=DeadLetterConfig,proto3" json:"DeadLetterConfig,omitempty"` + AddTime string `protobuf:"bytes,33,opt,name=AddTime,proto3" json:"AddTime,omitempty"` + PublicNetConfig *Publicnetconfig `protobuf:"bytes,34,opt,name=PublicNetConfig,proto3" json:"PublicNetConfig,omitempty"` + OnsEnable string `protobuf:"bytes,35,opt,name=OnsEnable,proto3" json:"OnsEnable,omitempty"` + CfsConfig *Cfsconfig `protobuf:"bytes,36,opt,name=CfsConfig,proto3" json:"CfsConfig,omitempty"` + AvailableStatus string `protobuf:"bytes,37,opt,name=AvailableStatus,proto3" json:"AvailableStatus,omitempty"` + Qualifier string `protobuf:"bytes,38,opt,name=Qualifier,proto3" json:"Qualifier,omitempty"` + InitTimeout uint32 `protobuf:"varint,39,opt,name=InitTimeout,proto3" json:"InitTimeout,omitempty"` + StatusReasons []*Statusreasons `protobuf:"bytes,40,rep,name=StatusReasons,proto3" json:"StatusReasons,omitempty"` + AsyncRunEnable string `protobuf:"bytes,41,opt,name=AsyncRunEnable,proto3" json:"AsyncRunEnable,omitempty"` + TraceEnable string `protobuf:"bytes,42,opt,name=TraceEnable,proto3" json:"TraceEnable,omitempty"` + ProtocolType string `protobuf:"bytes,43,opt,name=ProtocolType,proto3" json:"ProtocolType,omitempty"` + ProtocolParams *Protocolparams `protobuf:"bytes,44,opt,name=ProtocolParams,proto3" json:"ProtocolParams,omitempty"` + RequestId string `protobuf:"bytes,45,opt,name=RequestId,proto3" json:"RequestId,omitempty"` +} + +func (x *GetFunctionsResponse) Reset() { + *x = GetFunctionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_pcm_scf_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFunctionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFunctionsResponse) ProtoMessage() {} + +func (x *GetFunctionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFunctionsResponse.ProtoReflect.Descriptor instead. +func (*GetFunctionsResponse) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{18} +} + +func (x *GetFunctionsResponse) GetModTime() string { + if x != nil { + return x.ModTime + } + return "" +} + +func (x *GetFunctionsResponse) GetCodeInfo() string { + if x != nil { + return x.CodeInfo + } + return "" +} + +func (x *GetFunctionsResponse) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *GetFunctionsResponse) GetTriggers() []*Triggers { + if x != nil { + return x.Triggers + } + return nil +} + +func (x *GetFunctionsResponse) GetHandler() string { + if x != nil { + return x.Handler + } + return "" +} + +func (x *GetFunctionsResponse) GetCodeSize() uint32 { + if x != nil { + return x.CodeSize + } + return 0 +} + +func (x *GetFunctionsResponse) GetTimeout() uint32 { + if x != nil { + return x.Timeout + } + return 0 +} + +func (x *GetFunctionsResponse) GetFunctionVersion() string { + if x != nil { + return x.FunctionVersion + } + return "" +} + +func (x *GetFunctionsResponse) GetMemorySize() uint32 { + if x != nil { + return x.MemorySize + } + return 0 +} + +func (x *GetFunctionsResponse) GetRuntime() string { + if x != nil { + return x.Runtime + } + return "" +} + +func (x *GetFunctionsResponse) GetFunctionName() string { + if x != nil { + return x.FunctionName + } + return "" +} + +func (x *GetFunctionsResponse) GetVpcConfig() *Vpcconfig { + if x != nil { + return x.VpcConfig + } + return nil +} + +func (x *GetFunctionsResponse) GetUseGpu() string { + if x != nil { + return x.UseGpu + } + return "" +} + +func (x *GetFunctionsResponse) GetEnvironment() *Environment { + if x != nil { + return x.Environment + } + return nil +} + +func (x *GetFunctionsResponse) GetCodeResult() string { + if x != nil { + return x.CodeResult + } + return "" +} + +func (x *GetFunctionsResponse) GetCodeError() string { + if x != nil { + return x.CodeError + } + return "" +} + +func (x *GetFunctionsResponse) GetErrNo() uint32 { + if x != nil { + return x.ErrNo + } + return 0 +} + +func (x *GetFunctionsResponse) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *GetFunctionsResponse) GetRole() string { + if x != nil { + return x.Role + } + return "" +} + +func (x *GetFunctionsResponse) GetInstallDependency() string { + if x != nil { + return x.InstallDependency + } + return "" +} + +func (x *GetFunctionsResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *GetFunctionsResponse) GetStatusDesc() string { + if x != nil { + return x.StatusDesc + } + return "" +} + +func (x *GetFunctionsResponse) GetClsLogsetId() string { + if x != nil { + return x.ClsLogsetId + } + return "" +} + +func (x *GetFunctionsResponse) GetClsTopicId() string { + if x != nil { + return x.ClsTopicId + } + return "" +} + +func (x *GetFunctionsResponse) GetFunctionId() string { + if x != nil { + return x.FunctionId + } + return "" +} + +func (x *GetFunctionsResponse) GetTags() []*Tags { + if x != nil { + return x.Tags + } + return nil +} + +func (x *GetFunctionsResponse) GetEipConfig() *Eipconfig { + if x != nil { + return x.EipConfig + } + return nil +} + +func (x *GetFunctionsResponse) GetAccessInfo() *Accessinfo { + if x != nil { + return x.AccessInfo + } + return nil +} + +func (x *GetFunctionsResponse) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *GetFunctionsResponse) GetL5Enable() string { + if x != nil { + return x.L5Enable + } + return "" +} + +func (x *GetFunctionsResponse) GetLayers() []*Layers { + if x != nil { + return x.Layers + } + return nil +} + +func (x *GetFunctionsResponse) GetDeadLetterConfig() *Deadletterconfig { + if x != nil { + return x.DeadLetterConfig + } + return nil +} + +func (x *GetFunctionsResponse) GetAddTime() string { + if x != nil { + return x.AddTime + } + return "" +} + +func (x *GetFunctionsResponse) GetPublicNetConfig() *Publicnetconfig { + if x != nil { + return x.PublicNetConfig + } + return nil +} + +func (x *GetFunctionsResponse) GetOnsEnable() string { + if x != nil { + return x.OnsEnable + } + return "" +} + +func (x *GetFunctionsResponse) GetCfsConfig() *Cfsconfig { + if x != nil { + return x.CfsConfig + } + return nil +} + +func (x *GetFunctionsResponse) GetAvailableStatus() string { + if x != nil { + return x.AvailableStatus + } + return "" +} + +func (x *GetFunctionsResponse) GetQualifier() string { + if x != nil { + return x.Qualifier + } + return "" +} + +func (x *GetFunctionsResponse) GetInitTimeout() uint32 { + if x != nil { + return x.InitTimeout + } + return 0 +} + +func (x *GetFunctionsResponse) GetStatusReasons() []*Statusreasons { + if x != nil { + return x.StatusReasons + } + return nil +} + +func (x *GetFunctionsResponse) GetAsyncRunEnable() string { + if x != nil { + return x.AsyncRunEnable + } + return "" +} + +func (x *GetFunctionsResponse) GetTraceEnable() string { + if x != nil { + return x.TraceEnable + } + return "" +} + +func (x *GetFunctionsResponse) GetProtocolType() string { + if x != nil { + return x.ProtocolType + } + return "" +} + +func (x *GetFunctionsResponse) GetProtocolParams() *Protocolparams { + if x != nil { + return x.ProtocolParams + } + return nil +} + +func (x *GetFunctionsResponse) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + type ListFunctionsReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39,7 +1612,7 @@ type ListFunctionsReq struct { func (x *ListFunctionsReq) Reset() { *x = ListFunctionsReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_pcm_scf_proto_msgTypes[0] + mi := &file_pb_pcm_scf_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -52,7 +1625,7 @@ func (x *ListFunctionsReq) String() string { func (*ListFunctionsReq) ProtoMessage() {} func (x *ListFunctionsReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_pcm_scf_proto_msgTypes[0] + mi := &file_pb_pcm_scf_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -65,7 +1638,7 @@ func (x *ListFunctionsReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFunctionsReq.ProtoReflect.Descriptor instead. func (*ListFunctionsReq) Descriptor() ([]byte, []int) { - return file_pb_pcm_scf_proto_rawDescGZIP(), []int{0} + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{19} } func (x *ListFunctionsReq) GetOrder() string { @@ -143,7 +1716,7 @@ type Filters struct { func (x *Filters) Reset() { *x = Filters{} if protoimpl.UnsafeEnabled { - mi := &file_pb_pcm_scf_proto_msgTypes[1] + mi := &file_pb_pcm_scf_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -156,7 +1729,7 @@ func (x *Filters) String() string { func (*Filters) ProtoMessage() {} func (x *Filters) ProtoReflect() protoreflect.Message { - mi := &file_pb_pcm_scf_proto_msgTypes[1] + mi := &file_pb_pcm_scf_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -169,7 +1742,7 @@ func (x *Filters) ProtoReflect() protoreflect.Message { // Deprecated: Use Filters.ProtoReflect.Descriptor instead. func (*Filters) Descriptor() ([]byte, []int) { - return file_pb_pcm_scf_proto_rawDescGZIP(), []int{1} + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{20} } func (x *Filters) GetName() string { @@ -191,13 +1764,13 @@ type ListFunctionsResp struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` + Response *ListFunctionsResponse `protobuf:"bytes,1,opt,name=Response,proto3" json:"Response,omitempty"` } func (x *ListFunctionsResp) Reset() { *x = ListFunctionsResp{} if protoimpl.UnsafeEnabled { - mi := &file_pb_pcm_scf_proto_msgTypes[2] + mi := &file_pb_pcm_scf_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -210,7 +1783,7 @@ func (x *ListFunctionsResp) String() string { func (*ListFunctionsResp) ProtoMessage() {} func (x *ListFunctionsResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_pcm_scf_proto_msgTypes[2] + mi := &file_pb_pcm_scf_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -223,10 +1796,10 @@ func (x *ListFunctionsResp) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFunctionsResp.ProtoReflect.Descriptor instead. func (*ListFunctionsResp) Descriptor() ([]byte, []int) { - return file_pb_pcm_scf_proto_rawDescGZIP(), []int{2} + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{21} } -func (x *ListFunctionsResp) GetResponse() *Response { +func (x *ListFunctionsResp) GetResponse() *ListFunctionsResponse { if x != nil { return x.Response } @@ -259,7 +1832,7 @@ type Functions struct { func (x *Functions) Reset() { *x = Functions{} if protoimpl.UnsafeEnabled { - mi := &file_pb_pcm_scf_proto_msgTypes[3] + mi := &file_pb_pcm_scf_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -272,7 +1845,7 @@ func (x *Functions) String() string { func (*Functions) ProtoMessage() {} func (x *Functions) ProtoReflect() protoreflect.Message { - mi := &file_pb_pcm_scf_proto_msgTypes[3] + mi := &file_pb_pcm_scf_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -285,7 +1858,7 @@ func (x *Functions) ProtoReflect() protoreflect.Message { // Deprecated: Use Functions.ProtoReflect.Descriptor instead. func (*Functions) Descriptor() ([]byte, []int) { - return file_pb_pcm_scf_proto_rawDescGZIP(), []int{3} + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{22} } func (x *Functions) GetAddTime() string { @@ -400,7 +1973,7 @@ func (x *Functions) GetType() string { return "" } -type Response struct { +type ListFunctionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -410,23 +1983,23 @@ type Response struct { TotalCount int32 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"` } -func (x *Response) Reset() { - *x = Response{} +func (x *ListFunctionsResponse) Reset() { + *x = ListFunctionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_pb_pcm_scf_proto_msgTypes[4] + mi := &file_pb_pcm_scf_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Response) String() string { +func (x *ListFunctionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Response) ProtoMessage() {} +func (*ListFunctionsResponse) ProtoMessage() {} -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_pb_pcm_scf_proto_msgTypes[4] +func (x *ListFunctionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_pb_pcm_scf_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -437,26 +2010,26 @@ func (x *Response) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_pb_pcm_scf_proto_rawDescGZIP(), []int{4} +// Deprecated: Use ListFunctionsResponse.ProtoReflect.Descriptor instead. +func (*ListFunctionsResponse) Descriptor() ([]byte, []int) { + return file_pb_pcm_scf_proto_rawDescGZIP(), []int{23} } -func (x *Response) GetFunctions() []*Functions { +func (x *ListFunctionsResponse) GetFunctions() []*Functions { if x != nil { return x.Functions } return nil } -func (x *Response) GetRequestId() string { +func (x *ListFunctionsResponse) GetRequestId() string { if x != nil { return x.RequestId } return "" } -func (x *Response) GetTotalCount() int32 { +func (x *ListFunctionsResponse) GetTotalCount() int32 { if x != nil { return x.TotalCount } @@ -467,31 +2040,266 @@ var File_pb_pcm_scf_proto protoreflect.FileDescriptor var file_pb_pcm_scf_proto_rawDesc = []byte{ 0x0a, 0x10, 0x70, 0x62, 0x2f, 0x70, 0x63, 0x6d, 0x2d, 0x73, 0x63, 0x66, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x03, 0x73, 0x63, 0x66, 0x22, 0x8e, 0x02, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, - 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x79, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, - 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x73, 0x63, 0x66, 0x2e, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x07, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, - 0x3e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x74, 0x6f, 0x12, 0x03, 0x73, 0x63, 0x66, 0x22, 0xa5, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x46, + 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x66, + 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, + 0xac, 0x03, 0x0a, 0x08, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x4d, 0x6f, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, + 0x6f, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x12, 0x20, 0x0a, 0x0b, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x41, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x41, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, + 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x69, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x42, 0x69, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, + 0x0a, 0x09, 0x56, 0x70, 0x63, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x56, + 0x70, 0x63, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x70, 0x63, 0x49, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x22, 0x33, 0x0a, + 0x09, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x22, 0x3b, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x52, 0x09, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, + 0x2e, 0x0a, 0x04, 0x54, 0x61, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x3b, 0x0a, 0x09, 0x45, 0x69, 0x70, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, + 0x45, 0x69, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x45, 0x69, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x45, 0x69, 0x70, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x45, 0x69, 0x70, 0x73, 0x22, 0x32, 0x0a, 0x0a, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x6f, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x10, + 0x0a, 0x03, 0x56, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x56, 0x69, 0x70, + 0x22, 0x86, 0x02, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x43, + 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, + 0x62, 0x6c, 0x65, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x41, + 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x64, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x69, 0x63, 0x65, 0x6e, + 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4c, 0x69, + 0x63, 0x65, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x4c, 0x61, 0x79, + 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, + 0x09, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x5a, 0x0a, 0x10, 0x44, 0x65, 0x61, + 0x64, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, + 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4a, 0x0a, 0x0a, 0x45, 0x69, 0x70, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x45, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x45, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x45, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x45, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0x6a, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6e, 0x65, 0x74, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x65, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, + 0x0a, 0x09, 0x45, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x45, 0x69, 0x70, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x31, 0x52, 0x09, 0x45, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x02, + 0x0a, 0x0a, 0x43, 0x66, 0x73, 0x69, 0x6e, 0x73, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x66, 0x73, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x43, 0x66, 0x73, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, + 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x72, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x44, + 0x69, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x6f, 0x75, 0x6e, + 0x74, 0x44, 0x69, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x70, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x49, + 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x6f, 0x75, 0x6e, + 0x74, 0x56, 0x70, 0x63, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x70, 0x63, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x6f, 0x75, 0x6e, + 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x22, 0x3c, + 0x0a, 0x09, 0x43, 0x66, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2f, 0x0a, 0x0a, 0x43, + 0x66, 0x73, 0x49, 0x6e, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x43, 0x66, 0x73, 0x69, 0x6e, 0x73, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x0a, 0x43, 0x66, 0x73, 0x49, 0x6e, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x0d, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, + 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x2c, 0x0a, 0x08, 0x57, 0x73, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x49, + 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x49, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x75, 0x74, 0x22, 0x3b, 0x0a, + 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, + 0x29, 0x0a, 0x08, 0x57, 0x53, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0d, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x57, 0x73, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x52, 0x08, 0x57, 0x53, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x49, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x35, + 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe2, 0x0c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x4d, 0x6f, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x4d, 0x6f, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x6f, 0x64, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x6f, 0x64, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x08, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x54, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x52, 0x08, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x43, + 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x43, + 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x46, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x52, + 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x75, + 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x56, 0x70, 0x63, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, + 0x63, 0x66, 0x2e, 0x56, 0x70, 0x63, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x56, 0x70, + 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x47, 0x70, + 0x75, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x47, 0x70, 0x75, 0x12, + 0x32, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x6f, 0x64, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x6f, 0x64, 0x65, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x4e, 0x6f, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x45, 0x72, 0x72, 0x4e, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x13, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x49, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x14, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x65, 0x70, + 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x1e, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x73, 0x63, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x73, 0x63, 0x12, + 0x20, 0x0a, 0x0b, 0x43, 0x6c, 0x73, 0x4c, 0x6f, 0x67, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x17, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x43, 0x6c, 0x73, 0x4c, 0x6f, 0x67, 0x73, 0x65, 0x74, 0x49, + 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6c, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x18, + 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6c, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, + 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x04, 0x54, 0x61, 0x67, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x09, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x52, 0x04, 0x54, 0x61, 0x67, 0x73, + 0x12, 0x2c, 0x0a, 0x09, 0x45, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x45, 0x69, 0x70, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x09, 0x45, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2f, + 0x0a, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x1c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, + 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4c, 0x35, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, + 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4c, 0x35, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x23, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x52, 0x06, 0x4c, 0x61, + 0x79, 0x65, 0x72, 0x73, 0x12, 0x41, 0x0a, 0x10, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x65, 0x74, 0x74, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x72, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x65, 0x74, 0x74, 0x65, + 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x64, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x3e, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x63, 0x66, + 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6e, 0x65, 0x74, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x6e, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x23, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x4f, 0x6e, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x2c, 0x0a, 0x09, 0x43, 0x66, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x24, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x43, 0x66, 0x73, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x09, 0x43, 0x66, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, + 0x0f, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x51, 0x75, 0x61, 0x6c, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x18, 0x26, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x51, 0x75, 0x61, 0x6c, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x18, 0x27, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x49, 0x6e, 0x69, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x38, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, 0x28, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x73, 0x52, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x75, 0x6e, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x52, 0x75, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x72, 0x61, + 0x63, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x2b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x3b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x8e, 0x02, 0x0a, 0x10, 0x4c, + 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, + 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x79, 0x12, + 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1c, 0x0a, + 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x07, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x73, + 0x63, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x07, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x22, 0x4b, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x63, 0x66, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xad, 0x04, 0x0a, 0x09, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, @@ -527,19 +2335,24 @@ var file_pb_pcm_scf_proto_rawDesc = []byte{ 0x63, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, - 0x76, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x66, - 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x09, - 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x45, 0x0a, 0x03, 0x53, 0x63, 0x66, 0x12, 0x3e, - 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x15, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, - 0x5a, 0x04, 0x2f, 0x73, 0x63, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x83, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x66, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, + 0x63, 0x66, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x09, 0x66, 0x75, + 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x82, 0x01, 0x0a, 0x03, 0x53, 0x63, 0x66, 0x12, 0x3e, 0x0a, + 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x15, + 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3b, 0x0a, + 0x0c, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x2e, + 0x73, 0x63, 0x66, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x73, 0x63, 0x66, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2f, 0x73, + 0x63, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -554,25 +2367,63 @@ func file_pb_pcm_scf_proto_rawDescGZIP() []byte { return file_pb_pcm_scf_proto_rawDescData } -var file_pb_pcm_scf_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_pb_pcm_scf_proto_msgTypes = make([]protoimpl.MessageInfo, 24) var file_pb_pcm_scf_proto_goTypes = []interface{}{ - (*ListFunctionsReq)(nil), // 0: scf.ListFunctionsReq - (*Filters)(nil), // 1: scf.Filters - (*ListFunctionsResp)(nil), // 2: scf.ListFunctionsResp - (*Functions)(nil), // 3: scf.Functions - (*Response)(nil), // 4: scf.Response + (*GetFunctionsReq)(nil), // 0: scf.GetFunctionsReq + (*Triggers)(nil), // 1: scf.Triggers + (*Vpcconfig)(nil), // 2: scf.Vpcconfig + (*Variables)(nil), // 3: scf.Variables + (*Environment)(nil), // 4: scf.Environment + (*Tags)(nil), // 5: scf.Tags + (*Eipconfig)(nil), // 6: scf.Eipconfig + (*Accessinfo)(nil), // 7: scf.Accessinfo + (*Layers)(nil), // 8: scf.Layers + (*Deadletterconfig)(nil), // 9: scf.Deadletterconfig + (*Eipconfig1)(nil), // 10: scf.Eipconfig1 + (*Publicnetconfig)(nil), // 11: scf.Publicnetconfig + (*Cfsinslist)(nil), // 12: scf.Cfsinslist + (*Cfsconfig)(nil), // 13: scf.Cfsconfig + (*Statusreasons)(nil), // 14: scf.Statusreasons + (*Wsparams)(nil), // 15: scf.Wsparams + (*Protocolparams)(nil), // 16: scf.Protocolparams + (*GetFunctionsResp)(nil), // 17: scf.GetFunctionsResp + (*GetFunctionsResponse)(nil), // 18: scf.GetFunctionsResponse + (*ListFunctionsReq)(nil), // 19: scf.ListFunctionsReq + (*Filters)(nil), // 20: scf.Filters + (*ListFunctionsResp)(nil), // 21: scf.ListFunctionsResp + (*Functions)(nil), // 22: scf.Functions + (*ListFunctionsResponse)(nil), // 23: scf.ListFunctionsResponse } var file_pb_pcm_scf_proto_depIdxs = []int32{ - 1, // 0: scf.ListFunctionsReq.filters:type_name -> scf.Filters - 4, // 1: scf.ListFunctionsResp.response:type_name -> scf.Response - 3, // 2: scf.Response.functions:type_name -> scf.Functions - 0, // 3: scf.Scf.ListFunctions:input_type -> scf.ListFunctionsReq - 2, // 4: scf.Scf.ListFunctions:output_type -> scf.ListFunctionsResp - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 3, // 0: scf.Environment.Variables:type_name -> scf.Variables + 10, // 1: scf.Publicnetconfig.EipConfig:type_name -> scf.Eipconfig1 + 12, // 2: scf.Cfsconfig.CfsInsList:type_name -> scf.Cfsinslist + 15, // 3: scf.Protocolparams.WSParams:type_name -> scf.Wsparams + 18, // 4: scf.GetFunctionsResp.Response:type_name -> scf.GetFunctionsResponse + 1, // 5: scf.GetFunctionsResponse.Triggers:type_name -> scf.Triggers + 2, // 6: scf.GetFunctionsResponse.VpcConfig:type_name -> scf.Vpcconfig + 4, // 7: scf.GetFunctionsResponse.Environment:type_name -> scf.Environment + 5, // 8: scf.GetFunctionsResponse.Tags:type_name -> scf.Tags + 6, // 9: scf.GetFunctionsResponse.EipConfig:type_name -> scf.Eipconfig + 7, // 10: scf.GetFunctionsResponse.AccessInfo:type_name -> scf.Accessinfo + 8, // 11: scf.GetFunctionsResponse.Layers:type_name -> scf.Layers + 9, // 12: scf.GetFunctionsResponse.DeadLetterConfig:type_name -> scf.Deadletterconfig + 11, // 13: scf.GetFunctionsResponse.PublicNetConfig:type_name -> scf.Publicnetconfig + 13, // 14: scf.GetFunctionsResponse.CfsConfig:type_name -> scf.Cfsconfig + 14, // 15: scf.GetFunctionsResponse.StatusReasons:type_name -> scf.Statusreasons + 16, // 16: scf.GetFunctionsResponse.ProtocolParams:type_name -> scf.Protocolparams + 20, // 17: scf.ListFunctionsReq.filters:type_name -> scf.Filters + 23, // 18: scf.ListFunctionsResp.Response:type_name -> scf.ListFunctionsResponse + 22, // 19: scf.ListFunctionsResponse.functions:type_name -> scf.Functions + 19, // 20: scf.Scf.ListFunctions:input_type -> scf.ListFunctionsReq + 0, // 21: scf.Scf.GetFunctions:input_type -> scf.GetFunctionsReq + 21, // 22: scf.Scf.ListFunctions:output_type -> scf.ListFunctionsResp + 17, // 23: scf.Scf.GetFunctions:output_type -> scf.GetFunctionsResp + 22, // [22:24] is the sub-list for method output_type + 20, // [20:22] 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_pb_pcm_scf_proto_init() } @@ -582,7 +2433,7 @@ func file_pb_pcm_scf_proto_init() { } if !protoimpl.UnsafeEnabled { file_pb_pcm_scf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFunctionsReq); i { + switch v := v.(*GetFunctionsReq); i { case 0: return &v.state case 1: @@ -594,7 +2445,7 @@ func file_pb_pcm_scf_proto_init() { } } file_pb_pcm_scf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filters); i { + switch v := v.(*Triggers); i { case 0: return &v.state case 1: @@ -606,7 +2457,7 @@ func file_pb_pcm_scf_proto_init() { } } file_pb_pcm_scf_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFunctionsResp); i { + switch v := v.(*Vpcconfig); i { case 0: return &v.state case 1: @@ -618,7 +2469,7 @@ func file_pb_pcm_scf_proto_init() { } } file_pb_pcm_scf_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Functions); i { + switch v := v.(*Variables); i { case 0: return &v.state case 1: @@ -630,7 +2481,235 @@ func file_pb_pcm_scf_proto_init() { } } file_pb_pcm_scf_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { + switch v := v.(*Environment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tags); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eipconfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Accessinfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Layers); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Deadletterconfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eipconfig1); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Publicnetconfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Cfsinslist); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Cfsconfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Statusreasons); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Wsparams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Protocolparams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFunctionsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFunctionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFunctionsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Filters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFunctionsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Functions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_pcm_scf_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFunctionsResponse); i { case 0: return &v.state case 1: @@ -648,7 +2727,7 @@ func file_pb_pcm_scf_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pb_pcm_scf_proto_rawDesc, NumEnums: 0, - NumMessages: 5, + NumMessages: 24, NumExtensions: 0, NumServices: 1, }, diff --git a/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf_grpc.pb.go b/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf_grpc.pb.go index f42227ed..7ed325b9 100644 --- a/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf_grpc.pb.go +++ b/adaptor/PCM-FC/PCM-SCF/scf/pcm-scf_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v3.21.12 +// - protoc v4.23.4 // source: pb/pcm-scf.proto package scf @@ -20,14 +20,17 @@ const _ = grpc.SupportPackageIsVersion7 const ( Scf_ListFunctions_FullMethodName = "/scf.Scf/ListFunctions" + Scf_GetFunctions_FullMethodName = "/scf.Scf/GetFunctions" ) // ScfClient is the client API for Scf service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type ScfClient interface { - // 查询腾讯云云函数列表 + // ListFunctions 查询腾讯云云函数列表 ListFunctions(ctx context.Context, in *ListFunctionsReq, opts ...grpc.CallOption) (*ListFunctionsResp, error) + // GetFunctions 查询腾讯云云函数详情 + GetFunctions(ctx context.Context, in *GetFunctionsReq, opts ...grpc.CallOption) (*GetFunctionsResp, error) } type scfClient struct { @@ -47,12 +50,23 @@ func (c *scfClient) ListFunctions(ctx context.Context, in *ListFunctionsReq, opt return out, nil } +func (c *scfClient) GetFunctions(ctx context.Context, in *GetFunctionsReq, opts ...grpc.CallOption) (*GetFunctionsResp, error) { + out := new(GetFunctionsResp) + err := c.cc.Invoke(ctx, Scf_GetFunctions_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ScfServer is the server API for Scf service. // All implementations must embed UnimplementedScfServer // for forward compatibility type ScfServer interface { - // 查询腾讯云云函数列表 + // ListFunctions 查询腾讯云云函数列表 ListFunctions(context.Context, *ListFunctionsReq) (*ListFunctionsResp, error) + // GetFunctions 查询腾讯云云函数详情 + GetFunctions(context.Context, *GetFunctionsReq) (*GetFunctionsResp, error) mustEmbedUnimplementedScfServer() } @@ -63,6 +77,9 @@ type UnimplementedScfServer struct { func (UnimplementedScfServer) ListFunctions(context.Context, *ListFunctionsReq) (*ListFunctionsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method ListFunctions not implemented") } +func (UnimplementedScfServer) GetFunctions(context.Context, *GetFunctionsReq) (*GetFunctionsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetFunctions not implemented") +} func (UnimplementedScfServer) mustEmbedUnimplementedScfServer() {} // UnsafeScfServer may be embedded to opt out of forward compatibility for this service. @@ -94,6 +111,24 @@ func _Scf_ListFunctions_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +func _Scf_GetFunctions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFunctionsReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ScfServer).GetFunctions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Scf_GetFunctions_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ScfServer).GetFunctions(ctx, req.(*GetFunctionsReq)) + } + return interceptor(ctx, in, info, handler) +} + // Scf_ServiceDesc is the grpc.ServiceDesc for Scf service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -105,6 +140,10 @@ var Scf_ServiceDesc = grpc.ServiceDesc{ MethodName: "ListFunctions", Handler: _Scf_ListFunctions_Handler, }, + { + MethodName: "GetFunctions", + Handler: _Scf_GetFunctions_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/pcm-scf.proto", diff --git a/adaptor/PCM-FC/PCM-SCF/scfclient/scf.go b/adaptor/PCM-FC/PCM-SCF/scfclient/scf.go index 380cede7..3cac7507 100644 --- a/adaptor/PCM-FC/PCM-SCF/scfclient/scf.go +++ b/adaptor/PCM-FC/PCM-SCF/scfclient/scf.go @@ -13,15 +13,36 @@ import ( ) type ( - Filters = scf.Filters - Functions = scf.Functions - ListFunctionsReq = scf.ListFunctionsReq - ListFunctionsResp = scf.ListFunctionsResp - Response = scf.Response + Accessinfo = scf.Accessinfo + Cfsconfig = scf.Cfsconfig + Cfsinslist = scf.Cfsinslist + Deadletterconfig = scf.Deadletterconfig + Eipconfig = scf.Eipconfig + Eipconfig1 = scf.Eipconfig1 + Environment = scf.Environment + Filters = scf.Filters + Functions = scf.Functions + GetFunctionsReq = scf.GetFunctionsReq + GetFunctionsResp = scf.GetFunctionsResp + GetFunctionsResponse = scf.GetFunctionsResponse + Layers = scf.Layers + ListFunctionsReq = scf.ListFunctionsReq + ListFunctionsResp = scf.ListFunctionsResp + ListFunctionsResponse = scf.ListFunctionsResponse + Protocolparams = scf.Protocolparams + Publicnetconfig = scf.Publicnetconfig + Statusreasons = scf.Statusreasons + Tags = scf.Tags + Triggers = scf.Triggers + Variables = scf.Variables + Vpcconfig = scf.Vpcconfig + Wsparams = scf.Wsparams Scf interface { - // 查询腾讯云云函数列表 + // ListFunctions 查询腾讯云云函数列表 ListFunctions(ctx context.Context, in *ListFunctionsReq, opts ...grpc.CallOption) (*ListFunctionsResp, error) + // GetFunctions 查询腾讯云云函数详情 + GetFunctions(ctx context.Context, in *GetFunctionsReq, opts ...grpc.CallOption) (*GetFunctionsResp, error) } defaultScf struct { @@ -35,8 +56,14 @@ func NewScf(cli zrpc.Client) Scf { } } -// 查询腾讯云云函数列表 +// ListFunctions 查询腾讯云云函数列表 func (m *defaultScf) ListFunctions(ctx context.Context, in *ListFunctionsReq, opts ...grpc.CallOption) (*ListFunctionsResp, error) { client := scf.NewScfClient(m.cli.Conn()) return client.ListFunctions(ctx, in, opts...) } + +// GetFunctions 查询腾讯云云函数详情 +func (m *defaultScf) GetFunctions(ctx context.Context, in *GetFunctionsReq, opts ...grpc.CallOption) (*GetFunctionsResp, error) { + client := scf.NewScfClient(m.cli.Conn()) + return client.GetFunctions(ctx, in, opts...) +}