gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/annotations/resource.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/annotations/resource.proto 6 7 package envoy_annotations 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 type ResourceAnnotation struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 // Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource 35 // type. 36 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 37 } 38 39 func (x *ResourceAnnotation) Reset() { 40 *x = ResourceAnnotation{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_envoy_annotations_resource_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *ResourceAnnotation) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*ResourceAnnotation) ProtoMessage() {} 53 54 func (x *ResourceAnnotation) ProtoReflect() protoreflect.Message { 55 mi := &file_envoy_annotations_resource_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use ResourceAnnotation.ProtoReflect.Descriptor instead. 67 func (*ResourceAnnotation) Descriptor() ([]byte, []int) { 68 return file_envoy_annotations_resource_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *ResourceAnnotation) GetType() string { 72 if x != nil { 73 return x.Type 74 } 75 return "" 76 } 77 78 var file_envoy_annotations_resource_proto_extTypes = []protoimpl.ExtensionInfo{ 79 { 80 ExtendedType: (*descriptorpb.ServiceOptions)(nil), 81 ExtensionType: (*ResourceAnnotation)(nil), 82 Field: 265073217, 83 Name: "envoy.annotations.resource", 84 Tag: "bytes,265073217,opt,name=resource", 85 Filename: "envoy/annotations/resource.proto", 86 }, 87 } 88 89 // Extension fields to descriptorpb.ServiceOptions. 90 var ( 91 // optional envoy.annotations.ResourceAnnotation resource = 265073217; 92 E_Resource = &file_envoy_annotations_resource_proto_extTypes[0] 93 ) 94 95 var File_envoy_annotations_resource_proto protoreflect.FileDescriptor 96 97 var file_envoy_annotations_resource_proto_rawDesc = []byte{ 98 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 99 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 100 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 101 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 102 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 103 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x75, 104 0x72, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 105 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 106 0x65, 0x3a, 0x65, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e, 107 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 108 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xc1, 109 0xe4, 0xb2, 0x7e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 110 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, 111 0x75, 0x72, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 112 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 113 } 114 115 var ( 116 file_envoy_annotations_resource_proto_rawDescOnce sync.Once 117 file_envoy_annotations_resource_proto_rawDescData = file_envoy_annotations_resource_proto_rawDesc 118 ) 119 120 func file_envoy_annotations_resource_proto_rawDescGZIP() []byte { 121 file_envoy_annotations_resource_proto_rawDescOnce.Do(func() { 122 file_envoy_annotations_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_annotations_resource_proto_rawDescData) 123 }) 124 return file_envoy_annotations_resource_proto_rawDescData 125 } 126 127 var file_envoy_annotations_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 128 var file_envoy_annotations_resource_proto_goTypes = []interface{}{ 129 (*ResourceAnnotation)(nil), // 0: envoy.annotations.ResourceAnnotation 130 (*descriptorpb.ServiceOptions)(nil), // 1: google.protobuf.ServiceOptions 131 } 132 var file_envoy_annotations_resource_proto_depIdxs = []int32{ 133 1, // 0: envoy.annotations.resource:extendee -> google.protobuf.ServiceOptions 134 0, // 1: envoy.annotations.resource:type_name -> envoy.annotations.ResourceAnnotation 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 142 func init() { file_envoy_annotations_resource_proto_init() } 143 func file_envoy_annotations_resource_proto_init() { 144 if File_envoy_annotations_resource_proto != nil { 145 return 146 } 147 if !protoimpl.UnsafeEnabled { 148 file_envoy_annotations_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 149 switch v := v.(*ResourceAnnotation); 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_envoy_annotations_resource_proto_rawDesc, 166 NumEnums: 0, 167 NumMessages: 1, 168 NumExtensions: 1, 169 NumServices: 0, 170 }, 171 GoTypes: file_envoy_annotations_resource_proto_goTypes, 172 DependencyIndexes: file_envoy_annotations_resource_proto_depIdxs, 173 MessageInfos: file_envoy_annotations_resource_proto_msgTypes, 174 ExtensionInfos: file_envoy_annotations_resource_proto_extTypes, 175 }.Build() 176 File_envoy_annotations_resource_proto = out.File 177 file_envoy_annotations_resource_proto_rawDesc = nil 178 file_envoy_annotations_resource_proto_goTypes = nil 179 file_envoy_annotations_resource_proto_depIdxs = nil 180 }