hello1_service.pb.go 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v5.27.2
  5. // source: hello1_service.proto
  6. package hello1_service
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. _ "pji_desktop_http/biz/model/api"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type OssConfigInfo struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty" form:"endpoint" query:"endpoint"`
  25. AccessKeyId string `protobuf:"bytes,2,opt,name=accessKeyId,proto3" json:"accessKeyId,omitempty" form:"accessKeyId" query:"accessKeyId"`
  26. AccessKeySecret string `protobuf:"bytes,3,opt,name=accessKeySecret,proto3" json:"accessKeySecret,omitempty" form:"accessKeySecret" query:"accessKeySecret"`
  27. BucketName string `protobuf:"bytes,4,opt,name=bucketName,proto3" json:"bucketName,omitempty" form:"bucketName" query:"bucketName"`
  28. }
  29. func (x *OssConfigInfo) Reset() {
  30. *x = OssConfigInfo{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_hello1_service_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *OssConfigInfo) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*OssConfigInfo) ProtoMessage() {}
  41. func (x *OssConfigInfo) ProtoReflect() protoreflect.Message {
  42. mi := &file_hello1_service_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use OssConfigInfo.ProtoReflect.Descriptor instead.
  53. func (*OssConfigInfo) Descriptor() ([]byte, []int) {
  54. return file_hello1_service_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *OssConfigInfo) GetEndpoint() string {
  57. if x != nil {
  58. return x.Endpoint
  59. }
  60. return ""
  61. }
  62. func (x *OssConfigInfo) GetAccessKeyId() string {
  63. if x != nil {
  64. return x.AccessKeyId
  65. }
  66. return ""
  67. }
  68. func (x *OssConfigInfo) GetAccessKeySecret() string {
  69. if x != nil {
  70. return x.AccessKeySecret
  71. }
  72. return ""
  73. }
  74. func (x *OssConfigInfo) GetBucketName() string {
  75. if x != nil {
  76. return x.BucketName
  77. }
  78. return ""
  79. }
  80. type Token struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" form:"token" query:"token"`
  85. }
  86. func (x *Token) Reset() {
  87. *x = Token{}
  88. if protoimpl.UnsafeEnabled {
  89. mi := &file_hello1_service_proto_msgTypes[1]
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. ms.StoreMessageInfo(mi)
  92. }
  93. }
  94. func (x *Token) String() string {
  95. return protoimpl.X.MessageStringOf(x)
  96. }
  97. func (*Token) ProtoMessage() {}
  98. func (x *Token) ProtoReflect() protoreflect.Message {
  99. mi := &file_hello1_service_proto_msgTypes[1]
  100. if protoimpl.UnsafeEnabled && x != nil {
  101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  102. if ms.LoadMessageInfo() == nil {
  103. ms.StoreMessageInfo(mi)
  104. }
  105. return ms
  106. }
  107. return mi.MessageOf(x)
  108. }
  109. // Deprecated: Use Token.ProtoReflect.Descriptor instead.
  110. func (*Token) Descriptor() ([]byte, []int) {
  111. return file_hello1_service_proto_rawDescGZIP(), []int{1}
  112. }
  113. func (x *Token) GetToken() string {
  114. if x != nil {
  115. return x.Token
  116. }
  117. return ""
  118. }
  119. var File_hello1_service_proto protoreflect.FileDescriptor
  120. var file_hello1_service_proto_rawDesc = []byte{
  121. 0x0a, 0x14, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x31, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  122. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76,
  123. 0x69, 0x63, 0x65, 0x1a, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97,
  124. 0x01, 0x0a, 0x0d, 0x4f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x6e, 0x66, 0x6f,
  125. 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
  126. 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b,
  127. 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  128. 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x28,
  129. 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x63, 0x72, 0x65,
  130. 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b,
  131. 0x65, 0x79, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x75, 0x63, 0x6b,
  132. 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x75,
  133. 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65,
  134. 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  135. 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xfb, 0x01, 0x0a, 0x0d, 0x48, 0x65, 0x6c, 0x6c,
  136. 0x6f, 0x31, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x10, 0x47, 0x65, 0x74,
  137. 0x43, 0x69, 0x63, 0x76, 0x4f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x2e,
  138. 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65,
  139. 0x6e, 0x1a, 0x1a, 0x2e, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  140. 0x4f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x0f, 0xca,
  141. 0xc1, 0x18, 0x0b, 0x2f, 0x6f, 0x73, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f,
  142. 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x6a, 0x69, 0x4f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  143. 0x67, 0x12, 0x12, 0x2e, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  144. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x1a, 0x2e, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76,
  145. 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x6e, 0x66,
  146. 0x6f, 0x22, 0x0c, 0xca, 0xc1, 0x18, 0x08, 0x2f, 0x6f, 0x73, 0x73, 0x2f, 0x70, 0x6a, 0x69, 0x12,
  147. 0x44, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65,
  148. 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x1a, 0x2e, 0x6f, 0x73,
  149. 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x73, 0x73, 0x43, 0x6f, 0x6e,
  150. 0x66, 0x69, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x0c, 0xca, 0xc1, 0x18, 0x08, 0x2f, 0x6f, 0x73,
  151. 0x73, 0x2f, 0x70, 0x6a, 0x69, 0x42, 0x2b, 0x5a, 0x29, 0x70, 0x6a, 0x69, 0x5f, 0x64, 0x65, 0x73,
  152. 0x6b, 0x74, 0x6f, 0x70, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x62, 0x69, 0x7a, 0x2f, 0x6d, 0x6f,
  153. 0x64, 0x65, 0x6c, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x31, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
  154. 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  155. }
  156. var (
  157. file_hello1_service_proto_rawDescOnce sync.Once
  158. file_hello1_service_proto_rawDescData = file_hello1_service_proto_rawDesc
  159. )
  160. func file_hello1_service_proto_rawDescGZIP() []byte {
  161. file_hello1_service_proto_rawDescOnce.Do(func() {
  162. file_hello1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_hello1_service_proto_rawDescData)
  163. })
  164. return file_hello1_service_proto_rawDescData
  165. }
  166. var file_hello1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  167. var file_hello1_service_proto_goTypes = []interface{}{
  168. (*OssConfigInfo)(nil), // 0: oss_service.OssConfigInfo
  169. (*Token)(nil), // 1: oss_service.Token
  170. }
  171. var file_hello1_service_proto_depIdxs = []int32{
  172. 1, // 0: oss_service.Hello1Service.GetCicvOssConfig:input_type -> oss_service.Token
  173. 1, // 1: oss_service.Hello1Service.GetPjiOssConfig:input_type -> oss_service.Token
  174. 1, // 2: oss_service.Hello1Service.Test:input_type -> oss_service.Token
  175. 0, // 3: oss_service.Hello1Service.GetCicvOssConfig:output_type -> oss_service.OssConfigInfo
  176. 0, // 4: oss_service.Hello1Service.GetPjiOssConfig:output_type -> oss_service.OssConfigInfo
  177. 0, // 5: oss_service.Hello1Service.Test:output_type -> oss_service.OssConfigInfo
  178. 3, // [3:6] is the sub-list for method output_type
  179. 0, // [0:3] is the sub-list for method input_type
  180. 0, // [0:0] is the sub-list for extension type_name
  181. 0, // [0:0] is the sub-list for extension extendee
  182. 0, // [0:0] is the sub-list for field type_name
  183. }
  184. func init() { file_hello1_service_proto_init() }
  185. func file_hello1_service_proto_init() {
  186. if File_hello1_service_proto != nil {
  187. return
  188. }
  189. if !protoimpl.UnsafeEnabled {
  190. file_hello1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  191. switch v := v.(*OssConfigInfo); i {
  192. case 0:
  193. return &v.state
  194. case 1:
  195. return &v.sizeCache
  196. case 2:
  197. return &v.unknownFields
  198. default:
  199. return nil
  200. }
  201. }
  202. file_hello1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  203. switch v := v.(*Token); i {
  204. case 0:
  205. return &v.state
  206. case 1:
  207. return &v.sizeCache
  208. case 2:
  209. return &v.unknownFields
  210. default:
  211. return nil
  212. }
  213. }
  214. }
  215. type x struct{}
  216. out := protoimpl.TypeBuilder{
  217. File: protoimpl.DescBuilder{
  218. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  219. RawDescriptor: file_hello1_service_proto_rawDesc,
  220. NumEnums: 0,
  221. NumMessages: 2,
  222. NumExtensions: 0,
  223. NumServices: 1,
  224. },
  225. GoTypes: file_hello1_service_proto_goTypes,
  226. DependencyIndexes: file_hello1_service_proto_depIdxs,
  227. MessageInfos: file_hello1_service_proto_msgTypes,
  228. }.Build()
  229. File_hello1_service_proto = out.File
  230. file_hello1_service_proto_rawDesc = nil
  231. file_hello1_service_proto_goTypes = nil
  232. file_hello1_service_proto_depIdxs = nil
  233. }