diff --git a/components/rpc/invoker/mosn/channel/httpchannel.go b/components/rpc/invoker/mosn/channel/httpchannel.go index 048ba48776..28e5b00887 100644 --- a/components/rpc/invoker/mosn/channel/httpchannel.go +++ b/components/rpc/invoker/mosn/channel/httpchannel.go @@ -83,11 +83,11 @@ func newHttpChannel(config ChannelConfig) (rpc.Channel, error) { return nil, err } // the goroutine model is: - // request goroutine ---> localTcpConn ---> mosn - // ^ | - // | | - // | | - // hstate <-- readloop goroutine <------ + // request goroutine ---> localTcpConn ---> mosn + // ^ | + // | | + // | | + // hstate(net.Pipe) <-- readloop goroutine <--- return localTcpConn, nil }, // stateFunc diff --git a/docs/zh/blog/code/layotto-rpc/index.md b/docs/zh/blog/code/layotto-rpc/index.md index 8607c10acf..698ce36cac 100644 --- a/docs/zh/blog/code/layotto-rpc/index.md +++ b/docs/zh/blog/code/layotto-rpc/index.md @@ -148,8 +148,12 @@ func (stm *StageManager) runStartStage() { ### 0x01 Dubbo-go-sample client 发起请求 -根据 [Dubbo Json Rpc Example](https://mosn.io/layotto/#/zh/start/rpc/dubbo_json_rpc)例子运行如下命令 +根据 [Dubbo Json Rpc Example](https://mosn.io/layotto/#/zh/start/rpc/dubbo_json_rpc) 例子运行如下命令 + +```shell go run demo/rpc/dubbo_json_rpc/dubbo_json_client/client.go -d '{"jsonrpc":"2.0","method":"GetUser","params":["A003"],"id":9527}' +``` + 使用 Layotto 对 App 提供的 Grpc API InvokeService 发起 RPC 调用,经过数据填充和连接建立等流程,最终通过 Grpc clientStream 中调用 SendMsg 向 Layotto 发送数据,具体流程如下。 ```go diff --git "a/docs/zh/design/rpc/rpc\350\256\276\350\256\241\346\226\207\346\241\243.md" "b/docs/zh/design/rpc/rpc\350\256\276\350\256\241\346\226\207\346\241\243.md" index 5431e8abc4..9d0c7aaddb 100644 --- "a/docs/zh/design/rpc/rpc\350\256\276\350\256\241\346\226\207\346\241\243.md" +++ "b/docs/zh/design/rpc/rpc\350\256\276\350\256\241\346\226\207\346\241\243.md" @@ -1,13 +1,13 @@ RPC 设计文档 -### API -layotto rpc接口与Dapr保持一致. +### API 设计 +[layotto rpc API](https://github.com/mosn/layotto/blob/f70cdc619693ad762cf809daf0579403c341def1/spec/proto/runtime/v1/runtime.proto#L19https://github.com/mosn/layotto/blob/f70cdc619693ad762cf809daf0579403c341def1/spec/proto/runtime/v1/runtime.proto#L19) 与Dapr保持一致. ### 核心抽象 为了与pb定义解耦,添加了一层RPC核心抽象. -- invoker: 提供完整对RPC能力, 目前只对接了Mosn -- callback:before/after filter, 可以在请求执行前后执行自定义的逻辑 +- invoker: 提供完整的 RPC能力, 目前只对接了Mosn +- callback:before/after filter, 可以在请求执行前后执行自定义的逻辑(例如添加请求头,例如协议转换) - channel:发送请求,接收响应,负责与不同传输协议交互 由于Mosn已经有了完整的RPC能力支持,layotto只提供了非常轻量的RPC框架 diff --git a/etc/script/generate-code.sh b/etc/script/generate-code.sh index 1c2594c923..41d3915ca7 100644 --- a/etc/script/generate-code.sh +++ b/etc/script/generate-code.sh @@ -36,16 +36,15 @@ generateSdkAndSidecar() { return 0 fi + # 1. create directory mkdir _output/tmp + # 2. generate code protoc -I . \ - --go_out . --go_opt=paths=source_relative \ - --go-grpc_out=. \ - --go-grpc_opt=require_unimplemented_servers=false,paths=source_relative \ --p6_out _output/tmp --p6_opt=paths=source_relative \ ${protos} - # move code to the right places + # 3. move code to the right places # sdk mv _output/tmp/client/client_generated.go sdk/go-sdk/client/client_generated.go mv _output/tmp/grpc/context_generated.go pkg/grpc/context_generated.go @@ -69,14 +68,20 @@ res=$(ls -d spec/proto/extension/v1/*/) toGenerate=() idx=0 for r in $res; do - # echo $r + # ignore empty directory + if test $(ls ${r}*.proto|wc -l) -eq 0; then + echo "[Warn] Directory ${r} is empty. Ignore it." + continue + fi + + # generate .pb.go docker run --rm \ -v $project_path/$r:/api/proto \ layotto/protoc + # check if it needs sdk & sidecar generation protos=$(ls ${r}*.proto) for proto in ${protos}; do - # check if it needs sdk & sidecar generation needGenerate "${proto}" if test $? -eq $true; then echo "${proto} needs code generation." diff --git a/etc/script/generate-doc.sh b/etc/script/generate-doc.sh index b4915bf133..5052b7e9ce 100644 --- a/etc/script/generate-doc.sh +++ b/etc/script/generate-doc.sh @@ -105,8 +105,11 @@ generateQuickstart() { fi # 6. add the quickstart doc into the test-quickstart.sh - addQuickstartIntoCI "docs/en/start/${nickname}/start.md" - addQuickstartIntoCI "docs/zh/start/${nickname}/start.md" + # check no `@exclude` tag + if [ $(grep "@exclude skip ci_generator" "${proto_path}/${proto_name}" | wc -l) -eq 0 ]; then + addQuickstartIntoCI "docs/en/start/${nickname}/start.md" + addQuickstartIntoCI "docs/zh/start/${nickname}/start.md" + fi # 7. clean up rm "${proto_path}/${nickname}" @@ -117,14 +120,21 @@ echo "===========> Generating docs for ${proto_path_extension}" res=$(cd $proto_path_extension && ls -d *) for directory in $res; do echo "===========> Generating the API reference for ${proto_path_extension}/${directory}" - # 1.1. generate the API reference + + # 1.1. ignore empty directory + if test $(ls ${proto_path_extension}/${directory}/*.proto |wc -l) -eq 0; then + echo "[Warn] Directory ${directory} is empty. Ignore it." + continue + fi + + # 1.2. generate the API reference docker run --rm \ -v ${project_path}/docs/api/v1:/out \ -v ${project_path}/${proto_path_extension}/${directory}:/protos \ -v ${tpl_path}:/tpl \ pseudomuto/protoc-gen-doc --doc_opt=/tpl/api_ref_html.tmpl,${directory}.html - # 1.2. generate the quickstart document + # 1.3. generate the quickstart document # find all protos protos=$(cd ${proto_path_extension}/${directory} && ls *.proto) for p in ${protos}; do @@ -154,13 +164,19 @@ done cd $project_path sidebar_zh=docs/zh/api_reference/README.md sidebar=docs/en/api_reference/README.md -echo "===========> Updating the sidebar" +echo "===========> Updating the API reference index" # delete existing lines # -i "" is for compatibility with MacOS. See https://blog.csdn.net/dawn_moon/article/details/8547408 sed -i "" '/.*: \[.*\]\(.*\)/d' $sidebar_zh sed -i "" '/.*: \[.*\]\(.*\)/d' $sidebar # reinsert the reference lines for r in $res; do + # ignore empty directory + if test $(ls ${proto_path_extension}/${r}/*.proto |wc -l) -eq 0; then + echo "[Warn] Directory ${r} is empty. Ignore it." + continue + fi + # insert echo "$r: [spec/proto/extension/v1/$r](https://mosn.io/layotto/api/v1/$r.html) \n" >>$sidebar_zh echo "$r: [spec/proto/extension/v1/$r](https://mosn.io/layotto/api/v1/$r.html) \n" >>$sidebar done @@ -171,8 +187,3 @@ sed -i "" '$d' $sidebar # 4. update the sidebar cd $project_path # TODO - -cd $project_path -# generate index for api references -#idx=$(cd docs && ls api/v1/*) -#echo $idx > docs/api/extensions.txt diff --git a/spec/proto/extension/v1/cryption/cryption.pb.go b/spec/proto/extension/v1/cryption/cryption.pb.go index dd8ccfe7a4..f80c897157 100644 --- a/spec/proto/extension/v1/cryption/cryption.pb.go +++ b/spec/proto/extension/v1/cryption/cryption.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.28.1 // protoc v3.17.3 -// source: spec/proto/extension/v1/cryption/cryption.proto +// source: cryption.proto package cryption @@ -38,7 +38,7 @@ type EncryptRequest struct { func (x *EncryptRequest) Reset() { *x = EncryptRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[0] + mi := &file_cryption_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -51,7 +51,7 @@ func (x *EncryptRequest) String() string { func (*EncryptRequest) ProtoMessage() {} func (x *EncryptRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[0] + mi := &file_cryption_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -64,7 +64,7 @@ func (x *EncryptRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EncryptRequest.ProtoReflect.Descriptor instead. func (*EncryptRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_cryption_cryption_proto_rawDescGZIP(), []int{0} + return file_cryption_proto_rawDescGZIP(), []int{0} } func (x *EncryptRequest) GetComponentName() string { @@ -105,7 +105,7 @@ type EncryptResponse struct { func (x *EncryptResponse) Reset() { *x = EncryptResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[1] + mi := &file_cryption_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -118,7 +118,7 @@ func (x *EncryptResponse) String() string { func (*EncryptResponse) ProtoMessage() {} func (x *EncryptResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[1] + mi := &file_cryption_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -131,7 +131,7 @@ func (x *EncryptResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EncryptResponse.ProtoReflect.Descriptor instead. func (*EncryptResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_cryption_cryption_proto_rawDescGZIP(), []int{1} + return file_cryption_proto_rawDescGZIP(), []int{1} } func (x *EncryptResponse) GetCipherText() []byte { @@ -170,7 +170,7 @@ type DecryptRequest struct { func (x *DecryptRequest) Reset() { *x = DecryptRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[2] + mi := &file_cryption_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -183,7 +183,7 @@ func (x *DecryptRequest) String() string { func (*DecryptRequest) ProtoMessage() {} func (x *DecryptRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[2] + mi := &file_cryption_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -196,7 +196,7 @@ func (x *DecryptRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptRequest.ProtoReflect.Descriptor instead. func (*DecryptRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_cryption_cryption_proto_rawDescGZIP(), []int{2} + return file_cryption_proto_rawDescGZIP(), []int{2} } func (x *DecryptRequest) GetComponentName() string { @@ -230,7 +230,7 @@ type DecryptResponse struct { func (x *DecryptResponse) Reset() { *x = DecryptResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[3] + mi := &file_cryption_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -243,7 +243,7 @@ func (x *DecryptResponse) String() string { func (*DecryptResponse) ProtoMessage() {} func (x *DecryptResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[3] + mi := &file_cryption_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -256,7 +256,7 @@ func (x *DecryptResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptResponse.ProtoReflect.Descriptor instead. func (*DecryptResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_cryption_cryption_proto_rawDescGZIP(), []int{3} + return file_cryption_proto_rawDescGZIP(), []int{3} } func (x *DecryptResponse) GetPlainText() []byte { @@ -280,83 +280,81 @@ func (x *DecryptResponse) GetKeyVersionId() string { return "" } -var File_spec_proto_extension_v1_cryption_cryption_proto protoreflect.FileDescriptor - -var file_spec_proto_extension_v1_cryption_cryption_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x20, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, - 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, - 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, - 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, - 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, - 0x0e, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x0e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x22, 0x6d, 0x0a, - 0x0f, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, - 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x6b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xf5, 0x01, 0x0a, - 0x0f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x70, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x30, 0x2e, 0x73, 0x70, - 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, - 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x70, 0x0a, 0x07, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x30, 0x2e, - 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, +var File_cryption_proto protoreflect.FileDescriptor + +var file_cryption_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x20, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x3b, 0x5a, 0x39, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, - 0x6c, 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, + 0x64, 0x22, 0x6f, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, + 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, + 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x58, 0x0a, 0x0e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x22, 0x6d, 0x0a, 0x0f, + 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x15, + 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6b, + 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xf5, 0x01, 0x0a, 0x0f, + 0x43, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x70, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x30, 0x2e, 0x73, 0x70, 0x65, + 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6e, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x73, + 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x70, 0x0a, 0x07, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x30, 0x2e, 0x73, + 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x42, 0x3b, 0x5a, 0x39, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, + 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_spec_proto_extension_v1_cryption_cryption_proto_rawDescOnce sync.Once - file_spec_proto_extension_v1_cryption_cryption_proto_rawDescData = file_spec_proto_extension_v1_cryption_cryption_proto_rawDesc + file_cryption_proto_rawDescOnce sync.Once + file_cryption_proto_rawDescData = file_cryption_proto_rawDesc ) -func file_spec_proto_extension_v1_cryption_cryption_proto_rawDescGZIP() []byte { - file_spec_proto_extension_v1_cryption_cryption_proto_rawDescOnce.Do(func() { - file_spec_proto_extension_v1_cryption_cryption_proto_rawDescData = protoimpl.X.CompressGZIP(file_spec_proto_extension_v1_cryption_cryption_proto_rawDescData) +func file_cryption_proto_rawDescGZIP() []byte { + file_cryption_proto_rawDescOnce.Do(func() { + file_cryption_proto_rawDescData = protoimpl.X.CompressGZIP(file_cryption_proto_rawDescData) }) - return file_spec_proto_extension_v1_cryption_cryption_proto_rawDescData + return file_cryption_proto_rawDescData } -var file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_spec_proto_extension_v1_cryption_cryption_proto_goTypes = []interface{}{ +var file_cryption_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_cryption_proto_goTypes = []interface{}{ (*EncryptRequest)(nil), // 0: spec.proto.extension.v1.cryption.EncryptRequest (*EncryptResponse)(nil), // 1: spec.proto.extension.v1.cryption.EncryptResponse (*DecryptRequest)(nil), // 2: spec.proto.extension.v1.cryption.DecryptRequest (*DecryptResponse)(nil), // 3: spec.proto.extension.v1.cryption.DecryptResponse } -var file_spec_proto_extension_v1_cryption_cryption_proto_depIdxs = []int32{ +var file_cryption_proto_depIdxs = []int32{ 0, // 0: spec.proto.extension.v1.cryption.CryptionService.Encrypt:input_type -> spec.proto.extension.v1.cryption.EncryptRequest 2, // 1: spec.proto.extension.v1.cryption.CryptionService.Decrypt:input_type -> spec.proto.extension.v1.cryption.DecryptRequest 1, // 2: spec.proto.extension.v1.cryption.CryptionService.Encrypt:output_type -> spec.proto.extension.v1.cryption.EncryptResponse @@ -368,13 +366,13 @@ var file_spec_proto_extension_v1_cryption_cryption_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_spec_proto_extension_v1_cryption_cryption_proto_init() } -func file_spec_proto_extension_v1_cryption_cryption_proto_init() { - if File_spec_proto_extension_v1_cryption_cryption_proto != nil { +func init() { file_cryption_proto_init() } +func file_cryption_proto_init() { + if File_cryption_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cryption_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EncryptRequest); i { case 0: return &v.state @@ -386,7 +384,7 @@ func file_spec_proto_extension_v1_cryption_cryption_proto_init() { return nil } } - file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cryption_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EncryptResponse); i { case 0: return &v.state @@ -398,7 +396,7 @@ func file_spec_proto_extension_v1_cryption_cryption_proto_init() { return nil } } - file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cryption_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptRequest); i { case 0: return &v.state @@ -410,7 +408,7 @@ func file_spec_proto_extension_v1_cryption_cryption_proto_init() { return nil } } - file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cryption_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptResponse); i { case 0: return &v.state @@ -427,18 +425,18 @@ func file_spec_proto_extension_v1_cryption_cryption_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spec_proto_extension_v1_cryption_cryption_proto_rawDesc, + RawDescriptor: file_cryption_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_spec_proto_extension_v1_cryption_cryption_proto_goTypes, - DependencyIndexes: file_spec_proto_extension_v1_cryption_cryption_proto_depIdxs, - MessageInfos: file_spec_proto_extension_v1_cryption_cryption_proto_msgTypes, + GoTypes: file_cryption_proto_goTypes, + DependencyIndexes: file_cryption_proto_depIdxs, + MessageInfos: file_cryption_proto_msgTypes, }.Build() - File_spec_proto_extension_v1_cryption_cryption_proto = out.File - file_spec_proto_extension_v1_cryption_cryption_proto_rawDesc = nil - file_spec_proto_extension_v1_cryption_cryption_proto_goTypes = nil - file_spec_proto_extension_v1_cryption_cryption_proto_depIdxs = nil + File_cryption_proto = out.File + file_cryption_proto_rawDesc = nil + file_cryption_proto_goTypes = nil + file_cryption_proto_depIdxs = nil } diff --git a/spec/proto/extension/v1/cryption/cryption.proto b/spec/proto/extension/v1/cryption/cryption.proto index f51ddbca5f..54ad4bd856 100644 --- a/spec/proto/extension/v1/cryption/cryption.proto +++ b/spec/proto/extension/v1/cryption/cryption.proto @@ -4,6 +4,7 @@ package spec.proto.extension.v1.cryption; option go_package = "mosn.io/layotto/spec/proto/extension/v1/cryption;cryption"; +/* @exclude skip ci_generator */ // CryptionService is used to encrypt or decrypt data. service CryptionService { diff --git a/spec/proto/extension/v1/cryption/cryption_grpc.pb.go b/spec/proto/extension/v1/cryption/cryption_grpc.pb.go index 1a488dbf31..bf6f4f89cd 100644 --- a/spec/proto/extension/v1/cryption/cryption_grpc.pb.go +++ b/spec/proto/extension/v1/cryption/cryption_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.17.3 -// source: spec/proto/extension/v1/cryption/cryption.proto +// source: cryption.proto package cryption @@ -140,5 +140,5 @@ var CryptionService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "spec/proto/extension/v1/cryption/cryption.proto", + Metadata: "cryption.proto", } diff --git a/spec/proto/extension/v1/delay_queue/delay_queue.pb.go b/spec/proto/extension/v1/delay_queue/delay_queue.pb.go index c44ab2636d..6e1c44082d 100644 --- a/spec/proto/extension/v1/delay_queue/delay_queue.pb.go +++ b/spec/proto/extension/v1/delay_queue/delay_queue.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.28.1 // protoc v3.17.3 -// source: spec/proto/extension/v1/delay_queue/delay_queue.proto +// source: delay_queue.proto package delay_queue @@ -48,7 +48,7 @@ type DelayMessageRequest struct { func (x *DelayMessageRequest) Reset() { *x = DelayMessageRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes[0] + mi := &file_delay_queue_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -61,7 +61,7 @@ func (x *DelayMessageRequest) String() string { func (*DelayMessageRequest) ProtoMessage() {} func (x *DelayMessageRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes[0] + mi := &file_delay_queue_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -74,7 +74,7 @@ func (x *DelayMessageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DelayMessageRequest.ProtoReflect.Descriptor instead. func (*DelayMessageRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescGZIP(), []int{0} + return file_delay_queue_proto_rawDescGZIP(), []int{0} } func (x *DelayMessageRequest) GetComponentName() string { @@ -132,7 +132,7 @@ type DelayMessageResponse struct { func (x *DelayMessageResponse) Reset() { *x = DelayMessageResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes[1] + mi := &file_delay_queue_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -145,7 +145,7 @@ func (x *DelayMessageResponse) String() string { func (*DelayMessageResponse) ProtoMessage() {} func (x *DelayMessageResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes[1] + mi := &file_delay_queue_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -158,7 +158,7 @@ func (x *DelayMessageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DelayMessageResponse.ProtoReflect.Descriptor instead. func (*DelayMessageResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescGZIP(), []int{1} + return file_delay_queue_proto_rawDescGZIP(), []int{1} } func (x *DelayMessageResponse) GetMessageId() string { @@ -168,76 +168,74 @@ func (x *DelayMessageResponse) GetMessageId() string { return "" } -var File_spec_proto_extension_v1_delay_queue_delay_queue_proto protoreflect.FileDescriptor +var File_delay_queue_proto protoreflect.FileDescriptor -var file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, - 0x71, 0x75, 0x65, 0x75, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, +var file_delay_queue_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x65, 0x6c, + 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x22, 0xdd, 0x02, 0x0a, 0x13, 0x44, 0x65, 0x6c, + 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, + 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x61, + 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, + 0x10, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x49, 0x6e, + 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x62, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x73, 0x70, 0x65, 0x63, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, + 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x35, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x61, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x32, + 0x9b, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x8c, + 0x01, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x22, 0xdd, 0x02, 0x0a, - 0x13, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, - 0x63, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65, - 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x64, 0x65, 0x6c, - 0x61, 0x79, 0x49, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x62, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, - 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, - 0x65, 0x75, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, - 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x35, 0x0a, 0x14, - 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x49, 0x64, 0x32, 0x9b, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x44, 0x65, - 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x2e, 0x73, 0x70, 0x65, - 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, - 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x64, - 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x42, 0x41, 0x5a, 0x3f, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, - 0x6f, 0x74, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, - 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x3b, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, - 0x75, 0x65, 0x75, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x44, 0x65, 0x6c, + 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x39, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x65, 0x6c, 0x61, 0x79, + 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x41, 0x5a, + 0x3f, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, + 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, + 0x75, 0x65, 0x75, 0x65, 0x3b, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescOnce sync.Once - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescData = file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDesc + file_delay_queue_proto_rawDescOnce sync.Once + file_delay_queue_proto_rawDescData = file_delay_queue_proto_rawDesc ) -func file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescGZIP() []byte { - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescOnce.Do(func() { - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescData = protoimpl.X.CompressGZIP(file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescData) +func file_delay_queue_proto_rawDescGZIP() []byte { + file_delay_queue_proto_rawDescOnce.Do(func() { + file_delay_queue_proto_rawDescData = protoimpl.X.CompressGZIP(file_delay_queue_proto_rawDescData) }) - return file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDescData + return file_delay_queue_proto_rawDescData } -var file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_spec_proto_extension_v1_delay_queue_delay_queue_proto_goTypes = []interface{}{ +var file_delay_queue_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_delay_queue_proto_goTypes = []interface{}{ (*DelayMessageRequest)(nil), // 0: spec.proto.extension.v1.delay_queue.DelayMessageRequest (*DelayMessageResponse)(nil), // 1: spec.proto.extension.v1.delay_queue.DelayMessageResponse nil, // 2: spec.proto.extension.v1.delay_queue.DelayMessageRequest.MetadataEntry } -var file_spec_proto_extension_v1_delay_queue_delay_queue_proto_depIdxs = []int32{ +var file_delay_queue_proto_depIdxs = []int32{ 2, // 0: spec.proto.extension.v1.delay_queue.DelayMessageRequest.metadata:type_name -> spec.proto.extension.v1.delay_queue.DelayMessageRequest.MetadataEntry 0, // 1: spec.proto.extension.v1.delay_queue.DelayQueue.PublishDelayMessage:input_type -> spec.proto.extension.v1.delay_queue.DelayMessageRequest 1, // 2: spec.proto.extension.v1.delay_queue.DelayQueue.PublishDelayMessage:output_type -> spec.proto.extension.v1.delay_queue.DelayMessageResponse @@ -248,13 +246,13 @@ var file_spec_proto_extension_v1_delay_queue_delay_queue_proto_depIdxs = []int32 0, // [0:1] is the sub-list for field type_name } -func init() { file_spec_proto_extension_v1_delay_queue_delay_queue_proto_init() } -func file_spec_proto_extension_v1_delay_queue_delay_queue_proto_init() { - if File_spec_proto_extension_v1_delay_queue_delay_queue_proto != nil { +func init() { file_delay_queue_proto_init() } +func file_delay_queue_proto_init() { + if File_delay_queue_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_delay_queue_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelayMessageRequest); i { case 0: return &v.state @@ -266,7 +264,7 @@ func file_spec_proto_extension_v1_delay_queue_delay_queue_proto_init() { return nil } } - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_delay_queue_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelayMessageResponse); i { case 0: return &v.state @@ -283,18 +281,18 @@ func file_spec_proto_extension_v1_delay_queue_delay_queue_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDesc, + RawDescriptor: file_delay_queue_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_spec_proto_extension_v1_delay_queue_delay_queue_proto_goTypes, - DependencyIndexes: file_spec_proto_extension_v1_delay_queue_delay_queue_proto_depIdxs, - MessageInfos: file_spec_proto_extension_v1_delay_queue_delay_queue_proto_msgTypes, + GoTypes: file_delay_queue_proto_goTypes, + DependencyIndexes: file_delay_queue_proto_depIdxs, + MessageInfos: file_delay_queue_proto_msgTypes, }.Build() - File_spec_proto_extension_v1_delay_queue_delay_queue_proto = out.File - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_rawDesc = nil - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_goTypes = nil - file_spec_proto_extension_v1_delay_queue_delay_queue_proto_depIdxs = nil + File_delay_queue_proto = out.File + file_delay_queue_proto_rawDesc = nil + file_delay_queue_proto_goTypes = nil + file_delay_queue_proto_depIdxs = nil } diff --git a/spec/proto/extension/v1/delay_queue/delay_queue.proto b/spec/proto/extension/v1/delay_queue/delay_queue.proto index 6bd4dcddcc..0189e154e0 100644 --- a/spec/proto/extension/v1/delay_queue/delay_queue.proto +++ b/spec/proto/extension/v1/delay_queue/delay_queue.proto @@ -4,6 +4,7 @@ package spec.proto.extension.v1.delay_queue; option go_package = "mosn.io/layotto/spec/proto/extension/v1/delay_queue;delay_queue"; +/* @exclude skip ci_generator */ /* @exclude extends pub_subs */ // DelayQueue is a special kind of message queue, which lets you postpone the delivery of new messages to consumers. service DelayQueue { diff --git a/spec/proto/extension/v1/delay_queue/delay_queue_grpc.pb.go b/spec/proto/extension/v1/delay_queue/delay_queue_grpc.pb.go index b51808863c..a197d61a7e 100644 --- a/spec/proto/extension/v1/delay_queue/delay_queue_grpc.pb.go +++ b/spec/proto/extension/v1/delay_queue/delay_queue_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.17.3 -// source: spec/proto/extension/v1/delay_queue/delay_queue.proto +// source: delay_queue.proto package delay_queue @@ -102,5 +102,5 @@ var DelayQueue_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "spec/proto/extension/v1/delay_queue/delay_queue.proto", + Metadata: "delay_queue.proto", } diff --git a/spec/proto/extension/v1/email/email.pb.go b/spec/proto/extension/v1/email/email.pb.go index aef18db576..30879b6ff9 100644 --- a/spec/proto/extension/v1/email/email.pb.go +++ b/spec/proto/extension/v1/email/email.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.28.1 // protoc v3.17.3 -// source: spec/proto/extension/v1/email/email.proto +// source: email.proto package email @@ -42,7 +42,7 @@ type SendEmailWithTemplateRequest struct { func (x *SendEmailWithTemplateRequest) Reset() { *x = SendEmailWithTemplateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[0] + mi := &file_email_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -55,7 +55,7 @@ func (x *SendEmailWithTemplateRequest) String() string { func (*SendEmailWithTemplateRequest) ProtoMessage() {} func (x *SendEmailWithTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[0] + mi := &file_email_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -68,7 +68,7 @@ func (x *SendEmailWithTemplateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendEmailWithTemplateRequest.ProtoReflect.Descriptor instead. func (*SendEmailWithTemplateRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{0} + return file_email_proto_rawDescGZIP(), []int{0} } func (x *SendEmailWithTemplateRequest) GetComponentName() string { @@ -116,7 +116,7 @@ type EmailAddress struct { func (x *EmailAddress) Reset() { *x = EmailAddress{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[1] + mi := &file_email_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -129,7 +129,7 @@ func (x *EmailAddress) String() string { func (*EmailAddress) ProtoMessage() {} func (x *EmailAddress) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[1] + mi := &file_email_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -142,7 +142,7 @@ func (x *EmailAddress) ProtoReflect() protoreflect.Message { // Deprecated: Use EmailAddress.ProtoReflect.Descriptor instead. func (*EmailAddress) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{1} + return file_email_proto_rawDescGZIP(), []int{1} } func (x *EmailAddress) GetFrom() string { @@ -181,7 +181,7 @@ type EmailTemplate struct { func (x *EmailTemplate) Reset() { *x = EmailTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[2] + mi := &file_email_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -194,7 +194,7 @@ func (x *EmailTemplate) String() string { func (*EmailTemplate) ProtoMessage() {} func (x *EmailTemplate) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[2] + mi := &file_email_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -207,7 +207,7 @@ func (x *EmailTemplate) ProtoReflect() protoreflect.Message { // Deprecated: Use EmailTemplate.ProtoReflect.Descriptor instead. func (*EmailTemplate) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{2} + return file_email_proto_rawDescGZIP(), []int{2} } func (x *EmailTemplate) GetTemplateId() string { @@ -237,7 +237,7 @@ type SendEmailWithTemplateResponse struct { func (x *SendEmailWithTemplateResponse) Reset() { *x = SendEmailWithTemplateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[3] + mi := &file_email_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -250,7 +250,7 @@ func (x *SendEmailWithTemplateResponse) String() string { func (*SendEmailWithTemplateResponse) ProtoMessage() {} func (x *SendEmailWithTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[3] + mi := &file_email_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -263,7 +263,7 @@ func (x *SendEmailWithTemplateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendEmailWithTemplateResponse.ProtoReflect.Descriptor instead. func (*SendEmailWithTemplateResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{3} + return file_email_proto_rawDescGZIP(), []int{3} } func (x *SendEmailWithTemplateResponse) GetRequestId() string { @@ -296,7 +296,7 @@ type SendEmailRequest struct { func (x *SendEmailRequest) Reset() { *x = SendEmailRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[4] + mi := &file_email_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -309,7 +309,7 @@ func (x *SendEmailRequest) String() string { func (*SendEmailRequest) ProtoMessage() {} func (x *SendEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[4] + mi := &file_email_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -322,7 +322,7 @@ func (x *SendEmailRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendEmailRequest.ProtoReflect.Descriptor instead. func (*SendEmailRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{4} + return file_email_proto_rawDescGZIP(), []int{4} } func (x *SendEmailRequest) GetComponentName() string { @@ -373,7 +373,7 @@ type Content struct { func (x *Content) Reset() { *x = Content{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[5] + mi := &file_email_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -386,7 +386,7 @@ func (x *Content) String() string { func (*Content) ProtoMessage() {} func (x *Content) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[5] + mi := &file_email_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -399,7 +399,7 @@ func (x *Content) ProtoReflect() protoreflect.Message { // Deprecated: Use Content.ProtoReflect.Descriptor instead. func (*Content) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{5} + return file_email_proto_rawDescGZIP(), []int{5} } func (x *Content) GetText() string { @@ -422,7 +422,7 @@ type SendEmailResponse struct { func (x *SendEmailResponse) Reset() { *x = SendEmailResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[6] + mi := &file_email_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -435,7 +435,7 @@ func (x *SendEmailResponse) String() string { func (*SendEmailResponse) ProtoMessage() {} func (x *SendEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_email_email_proto_msgTypes[6] + mi := &file_email_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -448,7 +448,7 @@ func (x *SendEmailResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendEmailResponse.ProtoReflect.Descriptor instead. func (*SendEmailResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_email_email_proto_rawDescGZIP(), []int{6} + return file_email_proto_rawDescGZIP(), []int{6} } func (x *SendEmailResponse) GetRequestId() string { @@ -458,110 +458,108 @@ func (x *SendEmailResponse) GetRequestId() string { return "" } -var File_spec_proto_extension_v1_email_email_proto protoreflect.FileDescriptor - -var file_spec_proto_extension_v1_email_email_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2f, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x73, 0x70, 0x65, +var File_email_proto protoreflect.FileDescriptor + +var file_email_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x73, + 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0xf0, 0x01, 0x0a, + 0x1c, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, + 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x65, 0x63, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x42, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x02, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x63, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x02, 0x63, 0x63, 0x22, 0xde, 0x01, 0x0a, 0x0d, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x69, 0x0a, 0x0f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x40, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, 0x1d, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x22, 0xfb, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, + 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0xf0, 0x01, 0x0a, 0x1c, 0x53, - 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, - 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, - 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x42, 0x0a, - 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, - 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x74, - 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x63, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x63, - 0x63, 0x22, 0xde, 0x01, 0x0a, 0x0d, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x49, 0x64, 0x12, 0x69, 0x0a, 0x0f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, + 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0x1d, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, + 0x74, 0x22, 0x32, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x32, 0x97, 0x02, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x6e, 0x64, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x12, 0x3b, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x0e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, - 0x41, 0x0a, 0x13, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x3e, 0x0a, 0x1d, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, - 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x49, 0x64, 0x22, 0xfb, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, - 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x65, + 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, + 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, + 0x09, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x22, 0x1d, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, - 0x32, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x49, 0x64, 0x32, 0x97, 0x02, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x3b, - 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, - 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x73, 0x70, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, 0x6e, 0x64, - 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x09, 0x53, - 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x70, 0x65, 0x63, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x35, 0x5a, - 0x33, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, - 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x3b, 0x65, - 0x6d, 0x61, 0x69, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x35, 0x5a, 0x33, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, + 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x3b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_spec_proto_extension_v1_email_email_proto_rawDescOnce sync.Once - file_spec_proto_extension_v1_email_email_proto_rawDescData = file_spec_proto_extension_v1_email_email_proto_rawDesc + file_email_proto_rawDescOnce sync.Once + file_email_proto_rawDescData = file_email_proto_rawDesc ) -func file_spec_proto_extension_v1_email_email_proto_rawDescGZIP() []byte { - file_spec_proto_extension_v1_email_email_proto_rawDescOnce.Do(func() { - file_spec_proto_extension_v1_email_email_proto_rawDescData = protoimpl.X.CompressGZIP(file_spec_proto_extension_v1_email_email_proto_rawDescData) +func file_email_proto_rawDescGZIP() []byte { + file_email_proto_rawDescOnce.Do(func() { + file_email_proto_rawDescData = protoimpl.X.CompressGZIP(file_email_proto_rawDescData) }) - return file_spec_proto_extension_v1_email_email_proto_rawDescData + return file_email_proto_rawDescData } -var file_spec_proto_extension_v1_email_email_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_spec_proto_extension_v1_email_email_proto_goTypes = []interface{}{ +var file_email_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_email_proto_goTypes = []interface{}{ (*SendEmailWithTemplateRequest)(nil), // 0: spec.proto.extension.v1.email.SendEmailWithTemplateRequest (*EmailAddress)(nil), // 1: spec.proto.extension.v1.email.EmailAddress (*EmailTemplate)(nil), // 2: spec.proto.extension.v1.email.EmailTemplate @@ -571,7 +569,7 @@ var file_spec_proto_extension_v1_email_email_proto_goTypes = []interface{}{ (*SendEmailResponse)(nil), // 6: spec.proto.extension.v1.email.SendEmailResponse nil, // 7: spec.proto.extension.v1.email.EmailTemplate.TemplateParamsEntry } -var file_spec_proto_extension_v1_email_email_proto_depIdxs = []int32{ +var file_email_proto_depIdxs = []int32{ 2, // 0: spec.proto.extension.v1.email.SendEmailWithTemplateRequest.template:type_name -> spec.proto.extension.v1.email.EmailTemplate 1, // 1: spec.proto.extension.v1.email.SendEmailWithTemplateRequest.address:type_name -> spec.proto.extension.v1.email.EmailAddress 7, // 2: spec.proto.extension.v1.email.EmailTemplate.template_params:type_name -> spec.proto.extension.v1.email.EmailTemplate.TemplateParamsEntry @@ -588,13 +586,13 @@ var file_spec_proto_extension_v1_email_email_proto_depIdxs = []int32{ 0, // [0:5] is the sub-list for field type_name } -func init() { file_spec_proto_extension_v1_email_email_proto_init() } -func file_spec_proto_extension_v1_email_email_proto_init() { - if File_spec_proto_extension_v1_email_email_proto != nil { +func init() { file_email_proto_init() } +func file_email_proto_init() { + if File_email_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_spec_proto_extension_v1_email_email_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendEmailWithTemplateRequest); i { case 0: return &v.state @@ -606,7 +604,7 @@ func file_spec_proto_extension_v1_email_email_proto_init() { return nil } } - file_spec_proto_extension_v1_email_email_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EmailAddress); i { case 0: return &v.state @@ -618,7 +616,7 @@ func file_spec_proto_extension_v1_email_email_proto_init() { return nil } } - file_spec_proto_extension_v1_email_email_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EmailTemplate); i { case 0: return &v.state @@ -630,7 +628,7 @@ func file_spec_proto_extension_v1_email_email_proto_init() { return nil } } - file_spec_proto_extension_v1_email_email_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendEmailWithTemplateResponse); i { case 0: return &v.state @@ -642,7 +640,7 @@ func file_spec_proto_extension_v1_email_email_proto_init() { return nil } } - file_spec_proto_extension_v1_email_email_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendEmailRequest); i { case 0: return &v.state @@ -654,7 +652,7 @@ func file_spec_proto_extension_v1_email_email_proto_init() { return nil } } - file_spec_proto_extension_v1_email_email_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Content); i { case 0: return &v.state @@ -666,7 +664,7 @@ func file_spec_proto_extension_v1_email_email_proto_init() { return nil } } - file_spec_proto_extension_v1_email_email_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_email_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendEmailResponse); i { case 0: return &v.state @@ -683,18 +681,18 @@ func file_spec_proto_extension_v1_email_email_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spec_proto_extension_v1_email_email_proto_rawDesc, + RawDescriptor: file_email_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_spec_proto_extension_v1_email_email_proto_goTypes, - DependencyIndexes: file_spec_proto_extension_v1_email_email_proto_depIdxs, - MessageInfos: file_spec_proto_extension_v1_email_email_proto_msgTypes, + GoTypes: file_email_proto_goTypes, + DependencyIndexes: file_email_proto_depIdxs, + MessageInfos: file_email_proto_msgTypes, }.Build() - File_spec_proto_extension_v1_email_email_proto = out.File - file_spec_proto_extension_v1_email_email_proto_rawDesc = nil - file_spec_proto_extension_v1_email_email_proto_goTypes = nil - file_spec_proto_extension_v1_email_email_proto_depIdxs = nil + File_email_proto = out.File + file_email_proto_rawDesc = nil + file_email_proto_goTypes = nil + file_email_proto_depIdxs = nil } diff --git a/spec/proto/extension/v1/email/email.proto b/spec/proto/extension/v1/email/email.proto index 1bf4b9ef93..52df77bda5 100644 --- a/spec/proto/extension/v1/email/email.proto +++ b/spec/proto/extension/v1/email/email.proto @@ -4,6 +4,7 @@ package spec.proto.extension.v1.email; option go_package = "mosn.io/layotto/spec/proto/extension/v1/email;email"; +/* @exclude skip ci_generator */ // EmailService is used to send emails. service EmailService { diff --git a/spec/proto/extension/v1/email/email_grpc.pb.go b/spec/proto/extension/v1/email/email_grpc.pb.go index 20b643342d..f14a4c24af 100644 --- a/spec/proto/extension/v1/email/email_grpc.pb.go +++ b/spec/proto/extension/v1/email/email_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.17.3 -// source: spec/proto/extension/v1/email/email.proto +// source: email.proto package email @@ -140,5 +140,5 @@ var EmailService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "spec/proto/extension/v1/email/email.proto", + Metadata: "email.proto", } diff --git a/spec/proto/extension/v1/phone/phone.pb.go b/spec/proto/extension/v1/phone/phone.pb.go index de6a14f35c..277cbcbca8 100644 --- a/spec/proto/extension/v1/phone/phone.pb.go +++ b/spec/proto/extension/v1/phone/phone.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.28.1 // protoc v3.17.3 -// source: spec/proto/extension/v1/phone/phone.proto +// source: phone.proto package phone @@ -41,7 +41,7 @@ type SendVoiceWithTemplateRequest struct { func (x *SendVoiceWithTemplateRequest) Reset() { *x = SendVoiceWithTemplateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_phone_phone_proto_msgTypes[0] + mi := &file_phone_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -54,7 +54,7 @@ func (x *SendVoiceWithTemplateRequest) String() string { func (*SendVoiceWithTemplateRequest) ProtoMessage() {} func (x *SendVoiceWithTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_phone_phone_proto_msgTypes[0] + mi := &file_phone_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -67,7 +67,7 @@ func (x *SendVoiceWithTemplateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendVoiceWithTemplateRequest.ProtoReflect.Descriptor instead. func (*SendVoiceWithTemplateRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_phone_phone_proto_rawDescGZIP(), []int{0} + return file_phone_proto_rawDescGZIP(), []int{0} } func (x *SendVoiceWithTemplateRequest) GetComponentName() string { @@ -113,7 +113,7 @@ type VoiceTemplate struct { func (x *VoiceTemplate) Reset() { *x = VoiceTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_phone_phone_proto_msgTypes[1] + mi := &file_phone_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -126,7 +126,7 @@ func (x *VoiceTemplate) String() string { func (*VoiceTemplate) ProtoMessage() {} func (x *VoiceTemplate) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_phone_phone_proto_msgTypes[1] + mi := &file_phone_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -139,7 +139,7 @@ func (x *VoiceTemplate) ProtoReflect() protoreflect.Message { // Deprecated: Use VoiceTemplate.ProtoReflect.Descriptor instead. func (*VoiceTemplate) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_phone_phone_proto_rawDescGZIP(), []int{1} + return file_phone_proto_rawDescGZIP(), []int{1} } func (x *VoiceTemplate) GetTemplateId() string { @@ -169,7 +169,7 @@ type SendVoiceWithTemplateResponse struct { func (x *SendVoiceWithTemplateResponse) Reset() { *x = SendVoiceWithTemplateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_phone_phone_proto_msgTypes[2] + mi := &file_phone_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -182,7 +182,7 @@ func (x *SendVoiceWithTemplateResponse) String() string { func (*SendVoiceWithTemplateResponse) ProtoMessage() {} func (x *SendVoiceWithTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_phone_phone_proto_msgTypes[2] + mi := &file_phone_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -195,7 +195,7 @@ func (x *SendVoiceWithTemplateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendVoiceWithTemplateResponse.ProtoReflect.Descriptor instead. func (*SendVoiceWithTemplateResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_phone_phone_proto_rawDescGZIP(), []int{2} + return file_phone_proto_rawDescGZIP(), []int{2} } func (x *SendVoiceWithTemplateResponse) GetRequestId() string { @@ -205,82 +205,80 @@ func (x *SendVoiceWithTemplateResponse) GetRequestId() string { return "" } -var File_spec_proto_extension_v1_phone_phone_proto protoreflect.FileDescriptor - -var file_spec_proto_extension_v1_phone_phone_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2f, - 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x73, 0x70, 0x65, - 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x1c, 0x53, - 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x70, - 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, - 0x74, 0x6f, 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x08, 0x74, 0x6f, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, - 0x6d, 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x66, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x0d, 0x56, - 0x6f, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x69, 0x0a, - 0x0f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, +var File_phone_proto protoreflect.FileDescriptor + +var file_phone_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x73, + 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0xcd, 0x01, 0x0a, + 0x1c, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, + 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, 0x1d, 0x53, - 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x32, 0xa9, 0x01, 0x0a, 0x10, - 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x94, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, - 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x2e, 0x73, 0x70, 0x65, - 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x56, - 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, - 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x35, 0x5a, 0x33, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, - 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, - 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x3b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x08, 0x74, 0x6f, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, + 0x72, 0x6f, 0x6d, 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x22, 0xde, 0x01, 0x0a, + 0x0d, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, + 0x69, 0x0a, 0x0f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, + 0x1d, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x32, 0xa9, 0x01, + 0x0a, 0x10, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, + 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x2e, 0x73, + 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x6e, + 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x73, 0x70, 0x65, 0x63, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x6f, + 0x69, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x35, 0x5a, 0x33, 0x6d, 0x6f, 0x73, + 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, + 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, + 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x3b, 0x70, 0x68, 0x6f, 0x6e, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_spec_proto_extension_v1_phone_phone_proto_rawDescOnce sync.Once - file_spec_proto_extension_v1_phone_phone_proto_rawDescData = file_spec_proto_extension_v1_phone_phone_proto_rawDesc + file_phone_proto_rawDescOnce sync.Once + file_phone_proto_rawDescData = file_phone_proto_rawDesc ) -func file_spec_proto_extension_v1_phone_phone_proto_rawDescGZIP() []byte { - file_spec_proto_extension_v1_phone_phone_proto_rawDescOnce.Do(func() { - file_spec_proto_extension_v1_phone_phone_proto_rawDescData = protoimpl.X.CompressGZIP(file_spec_proto_extension_v1_phone_phone_proto_rawDescData) +func file_phone_proto_rawDescGZIP() []byte { + file_phone_proto_rawDescOnce.Do(func() { + file_phone_proto_rawDescData = protoimpl.X.CompressGZIP(file_phone_proto_rawDescData) }) - return file_spec_proto_extension_v1_phone_phone_proto_rawDescData + return file_phone_proto_rawDescData } -var file_spec_proto_extension_v1_phone_phone_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_spec_proto_extension_v1_phone_phone_proto_goTypes = []interface{}{ +var file_phone_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_phone_proto_goTypes = []interface{}{ (*SendVoiceWithTemplateRequest)(nil), // 0: spec.proto.extension.v1.phone.SendVoiceWithTemplateRequest (*VoiceTemplate)(nil), // 1: spec.proto.extension.v1.phone.VoiceTemplate (*SendVoiceWithTemplateResponse)(nil), // 2: spec.proto.extension.v1.phone.SendVoiceWithTemplateResponse nil, // 3: spec.proto.extension.v1.phone.VoiceTemplate.TemplateParamsEntry } -var file_spec_proto_extension_v1_phone_phone_proto_depIdxs = []int32{ +var file_phone_proto_depIdxs = []int32{ 1, // 0: spec.proto.extension.v1.phone.SendVoiceWithTemplateRequest.template:type_name -> spec.proto.extension.v1.phone.VoiceTemplate 3, // 1: spec.proto.extension.v1.phone.VoiceTemplate.template_params:type_name -> spec.proto.extension.v1.phone.VoiceTemplate.TemplateParamsEntry 0, // 2: spec.proto.extension.v1.phone.PhoneCallService.SendVoiceWithTemplate:input_type -> spec.proto.extension.v1.phone.SendVoiceWithTemplateRequest @@ -292,13 +290,13 @@ var file_spec_proto_extension_v1_phone_phone_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_spec_proto_extension_v1_phone_phone_proto_init() } -func file_spec_proto_extension_v1_phone_phone_proto_init() { - if File_spec_proto_extension_v1_phone_phone_proto != nil { +func init() { file_phone_proto_init() } +func file_phone_proto_init() { + if File_phone_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_spec_proto_extension_v1_phone_phone_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_phone_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendVoiceWithTemplateRequest); i { case 0: return &v.state @@ -310,7 +308,7 @@ func file_spec_proto_extension_v1_phone_phone_proto_init() { return nil } } - file_spec_proto_extension_v1_phone_phone_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_phone_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VoiceTemplate); i { case 0: return &v.state @@ -322,7 +320,7 @@ func file_spec_proto_extension_v1_phone_phone_proto_init() { return nil } } - file_spec_proto_extension_v1_phone_phone_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_phone_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendVoiceWithTemplateResponse); i { case 0: return &v.state @@ -339,18 +337,18 @@ func file_spec_proto_extension_v1_phone_phone_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spec_proto_extension_v1_phone_phone_proto_rawDesc, + RawDescriptor: file_phone_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_spec_proto_extension_v1_phone_phone_proto_goTypes, - DependencyIndexes: file_spec_proto_extension_v1_phone_phone_proto_depIdxs, - MessageInfos: file_spec_proto_extension_v1_phone_phone_proto_msgTypes, + GoTypes: file_phone_proto_goTypes, + DependencyIndexes: file_phone_proto_depIdxs, + MessageInfos: file_phone_proto_msgTypes, }.Build() - File_spec_proto_extension_v1_phone_phone_proto = out.File - file_spec_proto_extension_v1_phone_phone_proto_rawDesc = nil - file_spec_proto_extension_v1_phone_phone_proto_goTypes = nil - file_spec_proto_extension_v1_phone_phone_proto_depIdxs = nil + File_phone_proto = out.File + file_phone_proto_rawDesc = nil + file_phone_proto_goTypes = nil + file_phone_proto_depIdxs = nil } diff --git a/spec/proto/extension/v1/phone/phone.proto b/spec/proto/extension/v1/phone/phone.proto index b63f7cd465..98339f898c 100644 --- a/spec/proto/extension/v1/phone/phone.proto +++ b/spec/proto/extension/v1/phone/phone.proto @@ -4,6 +4,7 @@ package spec.proto.extension.v1.phone; option go_package = "mosn.io/layotto/spec/proto/extension/v1/phone;phone"; +/* @exclude skip ci_generator */ // PhoneCallService is one of Notify APIs. It's used to send voice messages service PhoneCallService { diff --git a/spec/proto/extension/v1/phone/phone_grpc.pb.go b/spec/proto/extension/v1/phone/phone_grpc.pb.go index 6e68ccda3a..3abf6cee08 100644 --- a/spec/proto/extension/v1/phone/phone_grpc.pb.go +++ b/spec/proto/extension/v1/phone/phone_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.17.3 -// source: spec/proto/extension/v1/phone/phone.proto +// source: phone.proto package phone @@ -102,5 +102,5 @@ var PhoneCallService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "spec/proto/extension/v1/phone/phone.proto", + Metadata: "phone.proto", } diff --git a/spec/proto/extension/v1/s3/oss.pb.go b/spec/proto/extension/v1/s3/oss.pb.go index 50a15b8465..cefb44f781 100644 --- a/spec/proto/extension/v1/s3/oss.pb.go +++ b/spec/proto/extension/v1/s3/oss.pb.go @@ -4,7 +4,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc v3.17.3 // source: oss.proto diff --git a/spec/proto/extension/v1/sms/sms.pb.go b/spec/proto/extension/v1/sms/sms.pb.go index 7e813d6691..43a333dafa 100644 --- a/spec/proto/extension/v1/sms/sms.pb.go +++ b/spec/proto/extension/v1/sms/sms.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.28.1 // protoc v3.17.3 -// source: spec/proto/extension/v1/sms/sms.proto +// source: sms.proto package sms @@ -46,7 +46,7 @@ type SendSmsWithTemplateRequest struct { func (x *SendSmsWithTemplateRequest) Reset() { *x = SendSmsWithTemplateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_sms_sms_proto_msgTypes[0] + mi := &file_sms_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -59,7 +59,7 @@ func (x *SendSmsWithTemplateRequest) String() string { func (*SendSmsWithTemplateRequest) ProtoMessage() {} func (x *SendSmsWithTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_sms_sms_proto_msgTypes[0] + mi := &file_sms_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -72,7 +72,7 @@ func (x *SendSmsWithTemplateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendSmsWithTemplateRequest.ProtoReflect.Descriptor instead. func (*SendSmsWithTemplateRequest) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_sms_sms_proto_rawDescGZIP(), []int{0} + return file_sms_proto_rawDescGZIP(), []int{0} } func (x *SendSmsWithTemplateRequest) GetComponentName() string { @@ -132,7 +132,7 @@ type Template struct { func (x *Template) Reset() { *x = Template{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_sms_sms_proto_msgTypes[1] + mi := &file_sms_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -145,7 +145,7 @@ func (x *Template) String() string { func (*Template) ProtoMessage() {} func (x *Template) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_sms_sms_proto_msgTypes[1] + mi := &file_sms_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -158,7 +158,7 @@ func (x *Template) ProtoReflect() protoreflect.Message { // Deprecated: Use Template.ProtoReflect.Descriptor instead. func (*Template) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_sms_sms_proto_rawDescGZIP(), []int{1} + return file_sms_proto_rawDescGZIP(), []int{1} } func (x *Template) GetTemplateId() string { @@ -194,7 +194,7 @@ type SendSmsWithTemplateResponse struct { func (x *SendSmsWithTemplateResponse) Reset() { *x = SendSmsWithTemplateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_extension_v1_sms_sms_proto_msgTypes[2] + mi := &file_sms_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -207,7 +207,7 @@ func (x *SendSmsWithTemplateResponse) String() string { func (*SendSmsWithTemplateResponse) ProtoMessage() {} func (x *SendSmsWithTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_extension_v1_sms_sms_proto_msgTypes[2] + mi := &file_sms_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -220,7 +220,7 @@ func (x *SendSmsWithTemplateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendSmsWithTemplateResponse.ProtoReflect.Descriptor instead. func (*SendSmsWithTemplateResponse) Descriptor() ([]byte, []int) { - return file_spec_proto_extension_v1_sms_sms_proto_rawDescGZIP(), []int{2} + return file_sms_proto_rawDescGZIP(), []int{2} } func (x *SendSmsWithTemplateResponse) GetRequestId() string { @@ -251,98 +251,96 @@ func (x *SendSmsWithTemplateResponse) GetMetadata() map[string]string { return nil } -var File_spec_proto_extension_v1_sms_sms_proto protoreflect.FileDescriptor +var File_sms_proto protoreflect.FileDescriptor -var file_spec_proto_extension_v1_sms_sms_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x73, 0x2f, 0x73, 0x6d, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x73, 0x6d, 0x73, 0x22, 0x85, 0x03, 0x0a, 0x1a, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, - 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, - 0x41, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x2e, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x67, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, - 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x2e, 0x53, 0x65, 0x6e, +var file_sms_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x73, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x73, 0x70, 0x65, + 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x22, 0x85, 0x03, 0x0a, 0x1a, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, - 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd2, 0x01, 0x0a, - 0x08, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x62, 0x0a, 0x0f, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x6d, 0x73, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x67, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x61, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, + 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0xd2, 0x01, 0x0a, 0x08, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x62, + 0x0a, 0x0f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x54, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8b, 0x02, 0x0a, 0x1b, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, + 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x62, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x6d, 0x73, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x32, 0x99, 0x01, 0x0a, 0x0a, 0x53, 0x6d, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, + 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x37, 0x2e, 0x73, 0x70, 0x65, + 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, - 0x73, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x41, - 0x0a, 0x13, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0x8b, 0x02, 0x0a, 0x1b, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x62, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x46, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x2e, 0x53, - 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, - 0x99, 0x01, 0x0a, 0x0a, 0x53, 0x6d, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, - 0x01, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x37, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x73, 0x6d, 0x73, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x38, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x6d, 0x73, 0x2e, 0x53, 0x65, - 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f, 0x6d, - 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, 0x74, 0x6f, 0x2f, 0x73, - 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x73, 0x3b, 0x73, 0x6d, 0x73, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x31, 0x5a, 0x2f, 0x6d, 0x6f, 0x73, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x74, + 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x73, 0x3b, 0x73, + 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_spec_proto_extension_v1_sms_sms_proto_rawDescOnce sync.Once - file_spec_proto_extension_v1_sms_sms_proto_rawDescData = file_spec_proto_extension_v1_sms_sms_proto_rawDesc + file_sms_proto_rawDescOnce sync.Once + file_sms_proto_rawDescData = file_sms_proto_rawDesc ) -func file_spec_proto_extension_v1_sms_sms_proto_rawDescGZIP() []byte { - file_spec_proto_extension_v1_sms_sms_proto_rawDescOnce.Do(func() { - file_spec_proto_extension_v1_sms_sms_proto_rawDescData = protoimpl.X.CompressGZIP(file_spec_proto_extension_v1_sms_sms_proto_rawDescData) +func file_sms_proto_rawDescGZIP() []byte { + file_sms_proto_rawDescOnce.Do(func() { + file_sms_proto_rawDescData = protoimpl.X.CompressGZIP(file_sms_proto_rawDescData) }) - return file_spec_proto_extension_v1_sms_sms_proto_rawDescData + return file_sms_proto_rawDescData } -var file_spec_proto_extension_v1_sms_sms_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_spec_proto_extension_v1_sms_sms_proto_goTypes = []interface{}{ +var file_sms_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_sms_proto_goTypes = []interface{}{ (*SendSmsWithTemplateRequest)(nil), // 0: spec.proto.extension.v1.sms.SendSmsWithTemplateRequest (*Template)(nil), // 1: spec.proto.extension.v1.sms.Template (*SendSmsWithTemplateResponse)(nil), // 2: spec.proto.extension.v1.sms.SendSmsWithTemplateResponse @@ -350,7 +348,7 @@ var file_spec_proto_extension_v1_sms_sms_proto_goTypes = []interface{}{ nil, // 4: spec.proto.extension.v1.sms.Template.TemplateParamsEntry nil, // 5: spec.proto.extension.v1.sms.SendSmsWithTemplateResponse.MetadataEntry } -var file_spec_proto_extension_v1_sms_sms_proto_depIdxs = []int32{ +var file_sms_proto_depIdxs = []int32{ 1, // 0: spec.proto.extension.v1.sms.SendSmsWithTemplateRequest.template:type_name -> spec.proto.extension.v1.sms.Template 3, // 1: spec.proto.extension.v1.sms.SendSmsWithTemplateRequest.metadata:type_name -> spec.proto.extension.v1.sms.SendSmsWithTemplateRequest.MetadataEntry 4, // 2: spec.proto.extension.v1.sms.Template.template_params:type_name -> spec.proto.extension.v1.sms.Template.TemplateParamsEntry @@ -364,13 +362,13 @@ var file_spec_proto_extension_v1_sms_sms_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_spec_proto_extension_v1_sms_sms_proto_init() } -func file_spec_proto_extension_v1_sms_sms_proto_init() { - if File_spec_proto_extension_v1_sms_sms_proto != nil { +func init() { file_sms_proto_init() } +func file_sms_proto_init() { + if File_sms_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_spec_proto_extension_v1_sms_sms_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_sms_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendSmsWithTemplateRequest); i { case 0: return &v.state @@ -382,7 +380,7 @@ func file_spec_proto_extension_v1_sms_sms_proto_init() { return nil } } - file_spec_proto_extension_v1_sms_sms_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_sms_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Template); i { case 0: return &v.state @@ -394,7 +392,7 @@ func file_spec_proto_extension_v1_sms_sms_proto_init() { return nil } } - file_spec_proto_extension_v1_sms_sms_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_sms_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendSmsWithTemplateResponse); i { case 0: return &v.state @@ -411,18 +409,18 @@ func file_spec_proto_extension_v1_sms_sms_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spec_proto_extension_v1_sms_sms_proto_rawDesc, + RawDescriptor: file_sms_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_spec_proto_extension_v1_sms_sms_proto_goTypes, - DependencyIndexes: file_spec_proto_extension_v1_sms_sms_proto_depIdxs, - MessageInfos: file_spec_proto_extension_v1_sms_sms_proto_msgTypes, + GoTypes: file_sms_proto_goTypes, + DependencyIndexes: file_sms_proto_depIdxs, + MessageInfos: file_sms_proto_msgTypes, }.Build() - File_spec_proto_extension_v1_sms_sms_proto = out.File - file_spec_proto_extension_v1_sms_sms_proto_rawDesc = nil - file_spec_proto_extension_v1_sms_sms_proto_goTypes = nil - file_spec_proto_extension_v1_sms_sms_proto_depIdxs = nil + File_sms_proto = out.File + file_sms_proto_rawDesc = nil + file_sms_proto_goTypes = nil + file_sms_proto_depIdxs = nil } diff --git a/spec/proto/extension/v1/sms/sms.proto b/spec/proto/extension/v1/sms/sms.proto index 5eda9810a2..cb8ea5cac6 100644 --- a/spec/proto/extension/v1/sms/sms.proto +++ b/spec/proto/extension/v1/sms/sms.proto @@ -4,6 +4,7 @@ package spec.proto.extension.v1.sms; option go_package = "mosn.io/layotto/spec/proto/extension/v1/sms;sms"; +/* @exclude skip ci_generator */ // SmsService is used to send SMS messages. service SmsService { diff --git a/spec/proto/extension/v1/sms/sms_grpc.pb.go b/spec/proto/extension/v1/sms/sms_grpc.pb.go index 71cfb88e21..76e9e1c9e5 100644 --- a/spec/proto/extension/v1/sms/sms_grpc.pb.go +++ b/spec/proto/extension/v1/sms/sms_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.17.3 -// source: spec/proto/extension/v1/sms/sms.proto +// source: sms.proto package sms @@ -102,5 +102,5 @@ var SmsService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "spec/proto/extension/v1/sms/sms.proto", + Metadata: "sms.proto", } diff --git a/spec/proto/runtime/v1/appcallback.pb.go b/spec/proto/runtime/v1/appcallback.pb.go index 0575000e72..9e6f1cc462 100644 --- a/spec/proto/runtime/v1/appcallback.pb.go +++ b/spec/proto/runtime/v1/appcallback.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc v3.17.3 // source: appcallback.proto diff --git a/spec/proto/runtime/v1/lifecycle.pb.go b/spec/proto/runtime/v1/lifecycle.pb.go index c27533794e..86dfb9e917 100644 --- a/spec/proto/runtime/v1/lifecycle.pb.go +++ b/spec/proto/runtime/v1/lifecycle.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc v3.17.3 // source: lifecycle.proto diff --git a/spec/proto/runtime/v1/runtime.pb.go b/spec/proto/runtime/v1/runtime.pb.go index 60480c17ae..713c22f4fc 100644 --- a/spec/proto/runtime/v1/runtime.pb.go +++ b/spec/proto/runtime/v1/runtime.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc v3.17.3 // source: runtime.proto