security.pb.go 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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/security.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 FieldSecurityAnnotation struct {
  25. state protoimpl.MessageState
  26. sizeCache protoimpl.SizeCache
  27. unknownFields protoimpl.UnknownFields
  28. ConfigureForUntrustedDownstream bool `protobuf:"varint,1,opt,name=configure_for_untrusted_downstream,json=configureForUntrustedDownstream,proto3" json:"configure_for_untrusted_downstream,omitempty"`
  29. ConfigureForUntrustedUpstream bool `protobuf:"varint,2,opt,name=configure_for_untrusted_upstream,json=configureForUntrustedUpstream,proto3" json:"configure_for_untrusted_upstream,omitempty"`
  30. }
  31. func (x *FieldSecurityAnnotation) Reset() {
  32. *x = FieldSecurityAnnotation{}
  33. if protoimpl.UnsafeEnabled {
  34. mi := &file_udpa_annotations_security_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. }
  39. func (x *FieldSecurityAnnotation) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*FieldSecurityAnnotation) ProtoMessage() {}
  43. func (x *FieldSecurityAnnotation) ProtoReflect() protoreflect.Message {
  44. mi := &file_udpa_annotations_security_proto_msgTypes[0]
  45. if protoimpl.UnsafeEnabled && x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use FieldSecurityAnnotation.ProtoReflect.Descriptor instead.
  55. func (*FieldSecurityAnnotation) Descriptor() ([]byte, []int) {
  56. return file_udpa_annotations_security_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *FieldSecurityAnnotation) GetConfigureForUntrustedDownstream() bool {
  59. if x != nil {
  60. return x.ConfigureForUntrustedDownstream
  61. }
  62. return false
  63. }
  64. func (x *FieldSecurityAnnotation) GetConfigureForUntrustedUpstream() bool {
  65. if x != nil {
  66. return x.ConfigureForUntrustedUpstream
  67. }
  68. return false
  69. }
  70. var file_udpa_annotations_security_proto_extTypes = []protoimpl.ExtensionInfo{
  71. {
  72. ExtendedType: (*descriptorpb.FieldOptions)(nil),
  73. ExtensionType: (*FieldSecurityAnnotation)(nil),
  74. Field: 11122993,
  75. Name: "udpa.annotations.security",
  76. Tag: "bytes,11122993,opt,name=security",
  77. Filename: "udpa/annotations/security.proto",
  78. },
  79. }
  80. // Extension fields to descriptorpb.FieldOptions.
  81. var (
  82. // optional udpa.annotations.FieldSecurityAnnotation security = 11122993;
  83. E_Security = &file_udpa_annotations_security_proto_extTypes[0]
  84. )
  85. var File_udpa_annotations_security_proto protoreflect.FileDescriptor
  86. var file_udpa_annotations_security_proto_rawDesc = []byte{
  87. 0x0a, 0x1f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
  88. 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  89. 0x6f, 0x12, 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
  90. 0x6f, 0x6e, 0x73, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  91. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  92. 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  93. 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70,
  94. 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65,
  95. 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  96. 0x12, 0x4b, 0x0a, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x5f, 0x66, 0x6f,
  97. 0x72, 0x5f, 0x75, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x77, 0x6e,
  98. 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x63, 0x6f,
  99. 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x6e, 0x74, 0x72, 0x75, 0x73,
  100. 0x74, 0x65, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x47, 0x0a,
  101. 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x75,
  102. 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61,
  103. 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
  104. 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x55, 0x70,
  105. 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x3a, 0x67, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
  106. 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  107. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  108. 0x73, 0x18, 0xb1, 0xf2, 0xa6, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x75, 0x64, 0x70,
  109. 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69,
  110. 0x65, 0x6c, 0x64, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
  111. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x42,
  112. 0x2c, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
  113. 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  114. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70,
  115. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  116. }
  117. var (
  118. file_udpa_annotations_security_proto_rawDescOnce sync.Once
  119. file_udpa_annotations_security_proto_rawDescData = file_udpa_annotations_security_proto_rawDesc
  120. )
  121. func file_udpa_annotations_security_proto_rawDescGZIP() []byte {
  122. file_udpa_annotations_security_proto_rawDescOnce.Do(func() {
  123. file_udpa_annotations_security_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_security_proto_rawDescData)
  124. })
  125. return file_udpa_annotations_security_proto_rawDescData
  126. }
  127. var file_udpa_annotations_security_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  128. var file_udpa_annotations_security_proto_goTypes = []interface{}{
  129. (*FieldSecurityAnnotation)(nil), // 0: udpa.annotations.FieldSecurityAnnotation
  130. (*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
  131. }
  132. var file_udpa_annotations_security_proto_depIdxs = []int32{
  133. 1, // 0: udpa.annotations.security:extendee -> google.protobuf.FieldOptions
  134. 0, // 1: udpa.annotations.security:type_name -> udpa.annotations.FieldSecurityAnnotation
  135. 2, // [2:2] is the sub-list for method output_type
  136. 2, // [2:2] is the sub-list for method input_type
  137. 1, // [1:2] is the sub-list for extension type_name
  138. 0, // [0:1] is the sub-list for extension extendee
  139. 0, // [0:0] is the sub-list for field type_name
  140. }
  141. func init() { file_udpa_annotations_security_proto_init() }
  142. func file_udpa_annotations_security_proto_init() {
  143. if File_udpa_annotations_security_proto != nil {
  144. return
  145. }
  146. file_udpa_annotations_status_proto_init()
  147. if !protoimpl.UnsafeEnabled {
  148. file_udpa_annotations_security_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  149. switch v := v.(*FieldSecurityAnnotation); i {
  150. case 0:
  151. return &v.state
  152. case 1:
  153. return &v.sizeCache
  154. case 2:
  155. return &v.unknownFields
  156. default:
  157. return nil
  158. }
  159. }
  160. }
  161. type x struct{}
  162. out := protoimpl.TypeBuilder{
  163. File: protoimpl.DescBuilder{
  164. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  165. RawDescriptor: file_udpa_annotations_security_proto_rawDesc,
  166. NumEnums: 0,
  167. NumMessages: 1,
  168. NumExtensions: 1,
  169. NumServices: 0,
  170. },
  171. GoTypes: file_udpa_annotations_security_proto_goTypes,
  172. DependencyIndexes: file_udpa_annotations_security_proto_depIdxs,
  173. MessageInfos: file_udpa_annotations_security_proto_msgTypes,
  174. ExtensionInfos: file_udpa_annotations_security_proto_extTypes,
  175. }.Build()
  176. File_udpa_annotations_security_proto = out.File
  177. file_udpa_annotations_security_proto_rawDesc = nil
  178. file_udpa_annotations_security_proto_goTypes = nil
  179. file_udpa_annotations_security_proto_depIdxs = nil
  180. }