status.pb.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.5
  5. // source: udpa/annotations/status.proto
  6. package annotations
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. descriptorpb "google.golang.org/protobuf/types/descriptorpb"
  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 PackageVersionStatus int32
  21. const (
  22. PackageVersionStatus_UNKNOWN PackageVersionStatus = 0
  23. PackageVersionStatus_FROZEN PackageVersionStatus = 1
  24. PackageVersionStatus_ACTIVE PackageVersionStatus = 2
  25. PackageVersionStatus_NEXT_MAJOR_VERSION_CANDIDATE PackageVersionStatus = 3
  26. )
  27. // Enum value maps for PackageVersionStatus.
  28. var (
  29. PackageVersionStatus_name = map[int32]string{
  30. 0: "UNKNOWN",
  31. 1: "FROZEN",
  32. 2: "ACTIVE",
  33. 3: "NEXT_MAJOR_VERSION_CANDIDATE",
  34. }
  35. PackageVersionStatus_value = map[string]int32{
  36. "UNKNOWN": 0,
  37. "FROZEN": 1,
  38. "ACTIVE": 2,
  39. "NEXT_MAJOR_VERSION_CANDIDATE": 3,
  40. }
  41. )
  42. func (x PackageVersionStatus) Enum() *PackageVersionStatus {
  43. p := new(PackageVersionStatus)
  44. *p = x
  45. return p
  46. }
  47. func (x PackageVersionStatus) String() string {
  48. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  49. }
  50. func (PackageVersionStatus) Descriptor() protoreflect.EnumDescriptor {
  51. return file_udpa_annotations_status_proto_enumTypes[0].Descriptor()
  52. }
  53. func (PackageVersionStatus) Type() protoreflect.EnumType {
  54. return &file_udpa_annotations_status_proto_enumTypes[0]
  55. }
  56. func (x PackageVersionStatus) Number() protoreflect.EnumNumber {
  57. return protoreflect.EnumNumber(x)
  58. }
  59. // Deprecated: Use PackageVersionStatus.Descriptor instead.
  60. func (PackageVersionStatus) EnumDescriptor() ([]byte, []int) {
  61. return file_udpa_annotations_status_proto_rawDescGZIP(), []int{0}
  62. }
  63. type StatusAnnotation struct {
  64. state protoimpl.MessageState
  65. sizeCache protoimpl.SizeCache
  66. unknownFields protoimpl.UnknownFields
  67. WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
  68. PackageVersionStatus PackageVersionStatus `protobuf:"varint,2,opt,name=package_version_status,json=packageVersionStatus,proto3,enum=udpa.annotations.PackageVersionStatus" json:"package_version_status,omitempty"`
  69. }
  70. func (x *StatusAnnotation) Reset() {
  71. *x = StatusAnnotation{}
  72. if protoimpl.UnsafeEnabled {
  73. mi := &file_udpa_annotations_status_proto_msgTypes[0]
  74. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  75. ms.StoreMessageInfo(mi)
  76. }
  77. }
  78. func (x *StatusAnnotation) String() string {
  79. return protoimpl.X.MessageStringOf(x)
  80. }
  81. func (*StatusAnnotation) ProtoMessage() {}
  82. func (x *StatusAnnotation) ProtoReflect() protoreflect.Message {
  83. mi := &file_udpa_annotations_status_proto_msgTypes[0]
  84. if protoimpl.UnsafeEnabled && x != nil {
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. if ms.LoadMessageInfo() == nil {
  87. ms.StoreMessageInfo(mi)
  88. }
  89. return ms
  90. }
  91. return mi.MessageOf(x)
  92. }
  93. // Deprecated: Use StatusAnnotation.ProtoReflect.Descriptor instead.
  94. func (*StatusAnnotation) Descriptor() ([]byte, []int) {
  95. return file_udpa_annotations_status_proto_rawDescGZIP(), []int{0}
  96. }
  97. func (x *StatusAnnotation) GetWorkInProgress() bool {
  98. if x != nil {
  99. return x.WorkInProgress
  100. }
  101. return false
  102. }
  103. func (x *StatusAnnotation) GetPackageVersionStatus() PackageVersionStatus {
  104. if x != nil {
  105. return x.PackageVersionStatus
  106. }
  107. return PackageVersionStatus_UNKNOWN
  108. }
  109. var file_udpa_annotations_status_proto_extTypes = []protoimpl.ExtensionInfo{
  110. {
  111. ExtendedType: (*descriptorpb.FileOptions)(nil),
  112. ExtensionType: (*StatusAnnotation)(nil),
  113. Field: 222707719,
  114. Name: "udpa.annotations.file_status",
  115. Tag: "bytes,222707719,opt,name=file_status",
  116. Filename: "udpa/annotations/status.proto",
  117. },
  118. }
  119. // Extension fields to descriptorpb.FileOptions.
  120. var (
  121. // optional udpa.annotations.StatusAnnotation file_status = 222707719;
  122. E_FileStatus = &file_udpa_annotations_status_proto_extTypes[0]
  123. )
  124. var File_udpa_annotations_status_proto protoreflect.FileDescriptor
  125. var file_udpa_annotations_status_proto_rawDesc = []byte{
  126. 0x0a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
  127. 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  128. 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  129. 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  130. 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
  131. 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e,
  132. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b,
  133. 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
  134. 0x28, 0x08, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
  135. 0x73, 0x73, 0x12, 0x5c, 0x0a, 0x16, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65,
  136. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
  137. 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  138. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72,
  139. 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x14, 0x70, 0x61, 0x63, 0x6b,
  140. 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  141. 0x2a, 0x5d, 0x0a, 0x14, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
  142. 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
  143. 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x52, 0x4f, 0x5a, 0x45, 0x4e, 0x10,
  144. 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x20, 0x0a,
  145. 0x1c, 0x4e, 0x45, 0x58, 0x54, 0x5f, 0x4d, 0x41, 0x4a, 0x4f, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x53,
  146. 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x3a,
  147. 0x64, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c,
  148. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  149. 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x87, 0x80, 0x99,
  150. 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e,
  151. 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41,
  152. 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x53,
  153. 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  154. 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f,
  155. 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  156. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  157. }
  158. var (
  159. file_udpa_annotations_status_proto_rawDescOnce sync.Once
  160. file_udpa_annotations_status_proto_rawDescData = file_udpa_annotations_status_proto_rawDesc
  161. )
  162. func file_udpa_annotations_status_proto_rawDescGZIP() []byte {
  163. file_udpa_annotations_status_proto_rawDescOnce.Do(func() {
  164. file_udpa_annotations_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_status_proto_rawDescData)
  165. })
  166. return file_udpa_annotations_status_proto_rawDescData
  167. }
  168. var file_udpa_annotations_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  169. var file_udpa_annotations_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  170. var file_udpa_annotations_status_proto_goTypes = []interface{}{
  171. (PackageVersionStatus)(0), // 0: udpa.annotations.PackageVersionStatus
  172. (*StatusAnnotation)(nil), // 1: udpa.annotations.StatusAnnotation
  173. (*descriptorpb.FileOptions)(nil), // 2: google.protobuf.FileOptions
  174. }
  175. var file_udpa_annotations_status_proto_depIdxs = []int32{
  176. 0, // 0: udpa.annotations.StatusAnnotation.package_version_status:type_name -> udpa.annotations.PackageVersionStatus
  177. 2, // 1: udpa.annotations.file_status:extendee -> google.protobuf.FileOptions
  178. 1, // 2: udpa.annotations.file_status:type_name -> udpa.annotations.StatusAnnotation
  179. 3, // [3:3] is the sub-list for method output_type
  180. 3, // [3:3] is the sub-list for method input_type
  181. 2, // [2:3] is the sub-list for extension type_name
  182. 1, // [1:2] is the sub-list for extension extendee
  183. 0, // [0:1] is the sub-list for field type_name
  184. }
  185. func init() { file_udpa_annotations_status_proto_init() }
  186. func file_udpa_annotations_status_proto_init() {
  187. if File_udpa_annotations_status_proto != nil {
  188. return
  189. }
  190. if !protoimpl.UnsafeEnabled {
  191. file_udpa_annotations_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  192. switch v := v.(*StatusAnnotation); i {
  193. case 0:
  194. return &v.state
  195. case 1:
  196. return &v.sizeCache
  197. case 2:
  198. return &v.unknownFields
  199. default:
  200. return nil
  201. }
  202. }
  203. }
  204. type x struct{}
  205. out := protoimpl.TypeBuilder{
  206. File: protoimpl.DescBuilder{
  207. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  208. RawDescriptor: file_udpa_annotations_status_proto_rawDesc,
  209. NumEnums: 1,
  210. NumMessages: 1,
  211. NumExtensions: 1,
  212. NumServices: 0,
  213. },
  214. GoTypes: file_udpa_annotations_status_proto_goTypes,
  215. DependencyIndexes: file_udpa_annotations_status_proto_depIdxs,
  216. EnumInfos: file_udpa_annotations_status_proto_enumTypes,
  217. MessageInfos: file_udpa_annotations_status_proto_msgTypes,
  218. ExtensionInfos: file_udpa_annotations_status_proto_extTypes,
  219. }.Build()
  220. File_udpa_annotations_status_proto = out.File
  221. file_udpa_annotations_status_proto_rawDesc = nil
  222. file_udpa_annotations_status_proto_goTypes = nil
  223. file_udpa_annotations_status_proto_depIdxs = nil
  224. }