versioning.pb.go 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.18.0
  5. // source: udpa/annotations/versioning.proto
  6. package annotations
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. descriptorpb "google.golang.org/protobuf/types/descriptorpb"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // This is a compile-time assertion that a sufficiently up-to-date version
  22. // of the legacy proto package is being used.
  23. const _ = proto.ProtoPackageIsVersion4
  24. type VersioningAnnotation struct {
  25. state protoimpl.MessageState
  26. sizeCache protoimpl.SizeCache
  27. unknownFields protoimpl.UnknownFields
  28. PreviousMessageType string `protobuf:"bytes,1,opt,name=previous_message_type,json=previousMessageType,proto3" json:"previous_message_type,omitempty"`
  29. }
  30. func (x *VersioningAnnotation) Reset() {
  31. *x = VersioningAnnotation{}
  32. if protoimpl.UnsafeEnabled {
  33. mi := &file_udpa_annotations_versioning_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. }
  38. func (x *VersioningAnnotation) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*VersioningAnnotation) ProtoMessage() {}
  42. func (x *VersioningAnnotation) ProtoReflect() protoreflect.Message {
  43. mi := &file_udpa_annotations_versioning_proto_msgTypes[0]
  44. if protoimpl.UnsafeEnabled && x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use VersioningAnnotation.ProtoReflect.Descriptor instead.
  54. func (*VersioningAnnotation) Descriptor() ([]byte, []int) {
  55. return file_udpa_annotations_versioning_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *VersioningAnnotation) GetPreviousMessageType() string {
  58. if x != nil {
  59. return x.PreviousMessageType
  60. }
  61. return ""
  62. }
  63. var file_udpa_annotations_versioning_proto_extTypes = []protoimpl.ExtensionInfo{
  64. {
  65. ExtendedType: (*descriptorpb.MessageOptions)(nil),
  66. ExtensionType: (*VersioningAnnotation)(nil),
  67. Field: 7881811,
  68. Name: "udpa.annotations.versioning",
  69. Tag: "bytes,7881811,opt,name=versioning",
  70. Filename: "udpa/annotations/versioning.proto",
  71. },
  72. }
  73. // Extension fields to descriptorpb.MessageOptions.
  74. var (
  75. // optional udpa.annotations.VersioningAnnotation versioning = 7881811;
  76. E_Versioning = &file_udpa_annotations_versioning_proto_extTypes[0]
  77. )
  78. var File_udpa_annotations_versioning_proto protoreflect.FileDescriptor
  79. var file_udpa_annotations_versioning_proto_rawDesc = []byte{
  80. 0x0a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
  81. 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72,
  82. 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  83. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
  84. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
  85. 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69,
  86. 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  87. 0x32, 0x0a, 0x15, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73,
  88. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13,
  89. 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  90. 0x79, 0x70, 0x65, 0x3a, 0x6a, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e,
  91. 0x67, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  92. 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  93. 0x6e, 0x73, 0x18, 0xd3, 0x88, 0xe1, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x75, 0x64,
  94. 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56,
  95. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  96. 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x42,
  97. 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
  98. 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  99. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  100. }
  101. var (
  102. file_udpa_annotations_versioning_proto_rawDescOnce sync.Once
  103. file_udpa_annotations_versioning_proto_rawDescData = file_udpa_annotations_versioning_proto_rawDesc
  104. )
  105. func file_udpa_annotations_versioning_proto_rawDescGZIP() []byte {
  106. file_udpa_annotations_versioning_proto_rawDescOnce.Do(func() {
  107. file_udpa_annotations_versioning_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_versioning_proto_rawDescData)
  108. })
  109. return file_udpa_annotations_versioning_proto_rawDescData
  110. }
  111. var file_udpa_annotations_versioning_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  112. var file_udpa_annotations_versioning_proto_goTypes = []interface{}{
  113. (*VersioningAnnotation)(nil), // 0: udpa.annotations.VersioningAnnotation
  114. (*descriptorpb.MessageOptions)(nil), // 1: google.protobuf.MessageOptions
  115. }
  116. var file_udpa_annotations_versioning_proto_depIdxs = []int32{
  117. 1, // 0: udpa.annotations.versioning:extendee -> google.protobuf.MessageOptions
  118. 0, // 1: udpa.annotations.versioning:type_name -> udpa.annotations.VersioningAnnotation
  119. 2, // [2:2] is the sub-list for method output_type
  120. 2, // [2:2] is the sub-list for method input_type
  121. 1, // [1:2] is the sub-list for extension type_name
  122. 0, // [0:1] is the sub-list for extension extendee
  123. 0, // [0:0] is the sub-list for field type_name
  124. }
  125. func init() { file_udpa_annotations_versioning_proto_init() }
  126. func file_udpa_annotations_versioning_proto_init() {
  127. if File_udpa_annotations_versioning_proto != nil {
  128. return
  129. }
  130. if !protoimpl.UnsafeEnabled {
  131. file_udpa_annotations_versioning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  132. switch v := v.(*VersioningAnnotation); i {
  133. case 0:
  134. return &v.state
  135. case 1:
  136. return &v.sizeCache
  137. case 2:
  138. return &v.unknownFields
  139. default:
  140. return nil
  141. }
  142. }
  143. }
  144. type x struct{}
  145. out := protoimpl.TypeBuilder{
  146. File: protoimpl.DescBuilder{
  147. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  148. RawDescriptor: file_udpa_annotations_versioning_proto_rawDesc,
  149. NumEnums: 0,
  150. NumMessages: 1,
  151. NumExtensions: 1,
  152. NumServices: 0,
  153. },
  154. GoTypes: file_udpa_annotations_versioning_proto_goTypes,
  155. DependencyIndexes: file_udpa_annotations_versioning_proto_depIdxs,
  156. MessageInfos: file_udpa_annotations_versioning_proto_msgTypes,
  157. ExtensionInfos: file_udpa_annotations_versioning_proto_extTypes,
  158. }.Build()
  159. File_udpa_annotations_versioning_proto = out.File
  160. file_udpa_annotations_versioning_proto_rawDesc = nil
  161. file_udpa_annotations_versioning_proto_goTypes = nil
  162. file_udpa_annotations_versioning_proto_depIdxs = nil
  163. }