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: xds/core/v3/extension.proto 6 7package v3 8 9import ( 10 _ "github.com/envoyproxy/protoc-gen-validate/validate" 11 proto "github.com/golang/protobuf/proto" 12 any "github.com/golang/protobuf/ptypes/any" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17) 18 19const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24) 25 26// This is a compile-time assertion that a sufficiently up-to-date version 27// of the legacy proto package is being used. 28const _ = proto.ProtoPackageIsVersion4 29 30type TypedExtensionConfig struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 36 TypedConfig *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` 37} 38 39func (x *TypedExtensionConfig) Reset() { 40 *x = TypedExtensionConfig{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_xds_core_v3_extension_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46} 47 48func (x *TypedExtensionConfig) String() string { 49 return protoimpl.X.MessageStringOf(x) 50} 51 52func (*TypedExtensionConfig) ProtoMessage() {} 53 54func (x *TypedExtensionConfig) ProtoReflect() protoreflect.Message { 55 mi := &file_xds_core_v3_extension_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 TypedExtensionConfig.ProtoReflect.Descriptor instead. 67func (*TypedExtensionConfig) Descriptor() ([]byte, []int) { 68 return file_xds_core_v3_extension_proto_rawDescGZIP(), []int{0} 69} 70 71func (x *TypedExtensionConfig) GetName() string { 72 if x != nil { 73 return x.Name 74 } 75 return "" 76} 77 78func (x *TypedExtensionConfig) GetTypedConfig() *any.Any { 79 if x != nil { 80 return x.TypedConfig 81 } 82 return nil 83} 84 85var File_xds_core_v3_extension_proto protoreflect.FileDescriptor 86 87var file_xds_core_v3_extension_proto_rawDesc = []byte{ 88 0x0a, 0x1b, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 89 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 90 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 91 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 92 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 93 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 94 0x0a, 0x14, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 95 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 96 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 97 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 98 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 99 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42, 100 0x08, 0xfa, 0x42, 0x05, 0xa2, 0x01, 0x02, 0x08, 0x01, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 101 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x4e, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 102 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 103 0x42, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 104 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 105 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 106 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 107} 108 109var ( 110 file_xds_core_v3_extension_proto_rawDescOnce sync.Once 111 file_xds_core_v3_extension_proto_rawDescData = file_xds_core_v3_extension_proto_rawDesc 112) 113 114func file_xds_core_v3_extension_proto_rawDescGZIP() []byte { 115 file_xds_core_v3_extension_proto_rawDescOnce.Do(func() { 116 file_xds_core_v3_extension_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_extension_proto_rawDescData) 117 }) 118 return file_xds_core_v3_extension_proto_rawDescData 119} 120 121var file_xds_core_v3_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 122var file_xds_core_v3_extension_proto_goTypes = []interface{}{ 123 (*TypedExtensionConfig)(nil), // 0: xds.core.v3.TypedExtensionConfig 124 (*any.Any)(nil), // 1: google.protobuf.Any 125} 126var file_xds_core_v3_extension_proto_depIdxs = []int32{ 127 1, // 0: xds.core.v3.TypedExtensionConfig.typed_config:type_name -> google.protobuf.Any 128 1, // [1:1] is the sub-list for method output_type 129 1, // [1:1] is the sub-list for method input_type 130 1, // [1:1] is the sub-list for extension type_name 131 1, // [1:1] is the sub-list for extension extendee 132 0, // [0:1] is the sub-list for field type_name 133} 134 135func init() { file_xds_core_v3_extension_proto_init() } 136func file_xds_core_v3_extension_proto_init() { 137 if File_xds_core_v3_extension_proto != nil { 138 return 139 } 140 if !protoimpl.UnsafeEnabled { 141 file_xds_core_v3_extension_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 142 switch v := v.(*TypedExtensionConfig); i { 143 case 0: 144 return &v.state 145 case 1: 146 return &v.sizeCache 147 case 2: 148 return &v.unknownFields 149 default: 150 return nil 151 } 152 } 153 } 154 type x struct{} 155 out := protoimpl.TypeBuilder{ 156 File: protoimpl.DescBuilder{ 157 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 158 RawDescriptor: file_xds_core_v3_extension_proto_rawDesc, 159 NumEnums: 0, 160 NumMessages: 1, 161 NumExtensions: 0, 162 NumServices: 0, 163 }, 164 GoTypes: file_xds_core_v3_extension_proto_goTypes, 165 DependencyIndexes: file_xds_core_v3_extension_proto_depIdxs, 166 MessageInfos: file_xds_core_v3_extension_proto_msgTypes, 167 }.Build() 168 File_xds_core_v3_extension_proto = out.File 169 file_xds_core_v3_extension_proto_rawDesc = nil 170 file_xds_core_v3_extension_proto_goTypes = nil 171 file_xds_core_v3_extension_proto_depIdxs = nil 172} 173