env.pb.go 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.12
  5. // source: environ/v1/env.proto
  6. package environ
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Void struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. }
  24. func (x *Void) Reset() {
  25. *x = Void{}
  26. if protoimpl.UnsafeEnabled {
  27. mi := &file_environ_v1_env_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. }
  32. func (x *Void) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*Void) ProtoMessage() {}
  36. func (x *Void) ProtoReflect() protoreflect.Message {
  37. mi := &file_environ_v1_env_proto_msgTypes[0]
  38. if protoimpl.UnsafeEnabled && x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use Void.ProtoReflect.Descriptor instead.
  48. func (*Void) Descriptor() ([]byte, []int) {
  49. return file_environ_v1_env_proto_rawDescGZIP(), []int{0}
  50. }
  51. type Environment struct {
  52. state protoimpl.MessageState
  53. sizeCache protoimpl.SizeCache
  54. unknownFields protoimpl.UnknownFields
  55. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  56. GitCommit string `protobuf:"bytes,2,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"`
  57. BuildTime string `protobuf:"bytes,3,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
  58. GoOsArch string `protobuf:"bytes,4,opt,name=go_os_arch,json=goOsArch,proto3" json:"go_os_arch,omitempty"`
  59. ApiVersion string `protobuf:"bytes,5,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
  60. GoVersion string `protobuf:"bytes,6,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
  61. }
  62. func (x *Environment) Reset() {
  63. *x = Environment{}
  64. if protoimpl.UnsafeEnabled {
  65. mi := &file_environ_v1_env_proto_msgTypes[1]
  66. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  67. ms.StoreMessageInfo(mi)
  68. }
  69. }
  70. func (x *Environment) String() string {
  71. return protoimpl.X.MessageStringOf(x)
  72. }
  73. func (*Environment) ProtoMessage() {}
  74. func (x *Environment) ProtoReflect() protoreflect.Message {
  75. mi := &file_environ_v1_env_proto_msgTypes[1]
  76. if protoimpl.UnsafeEnabled && x != nil {
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. if ms.LoadMessageInfo() == nil {
  79. ms.StoreMessageInfo(mi)
  80. }
  81. return ms
  82. }
  83. return mi.MessageOf(x)
  84. }
  85. // Deprecated: Use Environment.ProtoReflect.Descriptor instead.
  86. func (*Environment) Descriptor() ([]byte, []int) {
  87. return file_environ_v1_env_proto_rawDescGZIP(), []int{1}
  88. }
  89. func (x *Environment) GetVersion() string {
  90. if x != nil {
  91. return x.Version
  92. }
  93. return ""
  94. }
  95. func (x *Environment) GetGitCommit() string {
  96. if x != nil {
  97. return x.GitCommit
  98. }
  99. return ""
  100. }
  101. func (x *Environment) GetBuildTime() string {
  102. if x != nil {
  103. return x.BuildTime
  104. }
  105. return ""
  106. }
  107. func (x *Environment) GetGoOsArch() string {
  108. if x != nil {
  109. return x.GoOsArch
  110. }
  111. return ""
  112. }
  113. func (x *Environment) GetApiVersion() string {
  114. if x != nil {
  115. return x.ApiVersion
  116. }
  117. return ""
  118. }
  119. func (x *Environment) GetGoVersion() string {
  120. if x != nil {
  121. return x.GoVersion
  122. }
  123. return ""
  124. }
  125. var File_environ_v1_env_proto protoreflect.FileDescriptor
  126. var file_environ_v1_env_proto_rawDesc = []byte{
  127. 0x0a, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76,
  128. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x2e,
  129. 0x76, 0x31, 0x22, 0x06, 0x0a, 0x04, 0x56, 0x6f, 0x69, 0x64, 0x22, 0xc3, 0x01, 0x0a, 0x0b, 0x45,
  130. 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
  131. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,
  132. 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,
  133. 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6d,
  134. 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x69, 0x6d,
  135. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x69,
  136. 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x67, 0x6f, 0x5f, 0x6f, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68,
  137. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x6f, 0x4f, 0x73, 0x41, 0x72, 0x63, 0x68,
  138. 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
  139. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
  140. 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
  141. 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  142. 0x32, 0x4d, 0x0a, 0x0e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53,
  143. 0x76, 0x63, 0x12, 0x3b, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
  144. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x2e, 0x76,
  145. 0x31, 0x2e, 0x56, 0x6f, 0x69, 0x64, 0x1a, 0x17, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
  146. 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42,
  147. 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x2e, 0x73, 0x6b, 0x6f, 0x67, 0x73, 0x74, 0x6f, 0x72, 0x70,
  148. 0x65, 0x74, 0x2e, 0x6e, 0x75, 0x2f, 0x73, 0x74, 0x61, 0x66, 0x66, 0x61, 0x6e, 0x2f, 0x65, 0x6e,
  149. 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  150. }
  151. var (
  152. file_environ_v1_env_proto_rawDescOnce sync.Once
  153. file_environ_v1_env_proto_rawDescData = file_environ_v1_env_proto_rawDesc
  154. )
  155. func file_environ_v1_env_proto_rawDescGZIP() []byte {
  156. file_environ_v1_env_proto_rawDescOnce.Do(func() {
  157. file_environ_v1_env_proto_rawDescData = protoimpl.X.CompressGZIP(file_environ_v1_env_proto_rawDescData)
  158. })
  159. return file_environ_v1_env_proto_rawDescData
  160. }
  161. var file_environ_v1_env_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  162. var file_environ_v1_env_proto_goTypes = []interface{}{
  163. (*Void)(nil), // 0: environ.v1.Void
  164. (*Environment)(nil), // 1: environ.v1.Environment
  165. }
  166. var file_environ_v1_env_proto_depIdxs = []int32{
  167. 0, // 0: environ.v1.EnvironmentSvc.GetEnvironment:input_type -> environ.v1.Void
  168. 1, // 1: environ.v1.EnvironmentSvc.GetEnvironment:output_type -> environ.v1.Environment
  169. 1, // [1:2] is the sub-list for method output_type
  170. 0, // [0:1] is the sub-list for method input_type
  171. 0, // [0:0] is the sub-list for extension type_name
  172. 0, // [0:0] is the sub-list for extension extendee
  173. 0, // [0:0] is the sub-list for field type_name
  174. }
  175. func init() { file_environ_v1_env_proto_init() }
  176. func file_environ_v1_env_proto_init() {
  177. if File_environ_v1_env_proto != nil {
  178. return
  179. }
  180. if !protoimpl.UnsafeEnabled {
  181. file_environ_v1_env_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  182. switch v := v.(*Void); i {
  183. case 0:
  184. return &v.state
  185. case 1:
  186. return &v.sizeCache
  187. case 2:
  188. return &v.unknownFields
  189. default:
  190. return nil
  191. }
  192. }
  193. file_environ_v1_env_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  194. switch v := v.(*Environment); i {
  195. case 0:
  196. return &v.state
  197. case 1:
  198. return &v.sizeCache
  199. case 2:
  200. return &v.unknownFields
  201. default:
  202. return nil
  203. }
  204. }
  205. }
  206. type x struct{}
  207. out := protoimpl.TypeBuilder{
  208. File: protoimpl.DescBuilder{
  209. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  210. RawDescriptor: file_environ_v1_env_proto_rawDesc,
  211. NumEnums: 0,
  212. NumMessages: 2,
  213. NumExtensions: 0,
  214. NumServices: 1,
  215. },
  216. GoTypes: file_environ_v1_env_proto_goTypes,
  217. DependencyIndexes: file_environ_v1_env_proto_depIdxs,
  218. MessageInfos: file_environ_v1_env_proto_msgTypes,
  219. }.Build()
  220. File_environ_v1_env_proto = out.File
  221. file_environ_v1_env_proto_rawDesc = nil
  222. file_environ_v1_env_proto_goTypes = nil
  223. file_environ_v1_env_proto_depIdxs = nil
  224. }