gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/extensions/common/key_value/v3/config.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/extensions/common/key_value/v3/config.proto 6 7 package envoy_extensions_common_key_value_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 v3 "gitee.com/zhaochuninhefei/gmgo/go-control-plane/envoy/config/core/v3" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 _ "github.com/golang/protobuf/ptypes/any" 15 _ "github.com/golang/protobuf/ptypes/duration" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 // [#alpha:] 34 // This shared configuration for Envoy key value stores. 35 type KeyValueStoreConfig struct { 36 state protoimpl.MessageState 37 sizeCache protoimpl.SizeCache 38 unknownFields protoimpl.UnknownFields 39 40 // [#extension-category: envoy.common.key_value] 41 Config *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 42 } 43 44 func (x *KeyValueStoreConfig) Reset() { 45 *x = KeyValueStoreConfig{} 46 if protoimpl.UnsafeEnabled { 47 mi := &file_envoy_extensions_common_key_value_v3_config_proto_msgTypes[0] 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 ms.StoreMessageInfo(mi) 50 } 51 } 52 53 func (x *KeyValueStoreConfig) String() string { 54 return protoimpl.X.MessageStringOf(x) 55 } 56 57 func (*KeyValueStoreConfig) ProtoMessage() {} 58 59 func (x *KeyValueStoreConfig) ProtoReflect() protoreflect.Message { 60 mi := &file_envoy_extensions_common_key_value_v3_config_proto_msgTypes[0] 61 if protoimpl.UnsafeEnabled && x != nil { 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 if ms.LoadMessageInfo() == nil { 64 ms.StoreMessageInfo(mi) 65 } 66 return ms 67 } 68 return mi.MessageOf(x) 69 } 70 71 // Deprecated: Use KeyValueStoreConfig.ProtoReflect.Descriptor instead. 72 func (*KeyValueStoreConfig) Descriptor() ([]byte, []int) { 73 return file_envoy_extensions_common_key_value_v3_config_proto_rawDescGZIP(), []int{0} 74 } 75 76 func (x *KeyValueStoreConfig) GetConfig() *v3.TypedExtensionConfig { 77 if x != nil { 78 return x.Config 79 } 80 return nil 81 } 82 83 var File_envoy_extensions_common_key_value_v3_config_proto protoreflect.FileDescriptor 84 85 var file_envoy_extensions_common_key_value_v3_config_proto_rawDesc = []byte{ 86 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 87 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 88 0x6c, 0x75, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 89 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 90 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6b, 0x65, 0x79, 91 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 92 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 93 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 94 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 95 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 96 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 97 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 98 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 99 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 100 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 101 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x13, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 102 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 103 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 104 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 105 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 106 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 107 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x4b, 0x0a, 0x32, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 108 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 109 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 110 0x2e, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x43, 111 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 112 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 113 } 114 115 var ( 116 file_envoy_extensions_common_key_value_v3_config_proto_rawDescOnce sync.Once 117 file_envoy_extensions_common_key_value_v3_config_proto_rawDescData = file_envoy_extensions_common_key_value_v3_config_proto_rawDesc 118 ) 119 120 func file_envoy_extensions_common_key_value_v3_config_proto_rawDescGZIP() []byte { 121 file_envoy_extensions_common_key_value_v3_config_proto_rawDescOnce.Do(func() { 122 file_envoy_extensions_common_key_value_v3_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_common_key_value_v3_config_proto_rawDescData) 123 }) 124 return file_envoy_extensions_common_key_value_v3_config_proto_rawDescData 125 } 126 127 var file_envoy_extensions_common_key_value_v3_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 128 var file_envoy_extensions_common_key_value_v3_config_proto_goTypes = []interface{}{ 129 (*KeyValueStoreConfig)(nil), // 0: envoy.extensions.common.key_value.v3.KeyValueStoreConfig 130 (*v3.TypedExtensionConfig)(nil), // 1: envoy.config.core.v3.TypedExtensionConfig 131 } 132 var file_envoy_extensions_common_key_value_v3_config_proto_depIdxs = []int32{ 133 1, // 0: envoy.extensions.common.key_value.v3.KeyValueStoreConfig.config:type_name -> envoy.config.core.v3.TypedExtensionConfig 134 1, // [1:1] is the sub-list for method output_type 135 1, // [1:1] is the sub-list for method input_type 136 1, // [1:1] is the sub-list for extension type_name 137 1, // [1:1] is the sub-list for extension extendee 138 0, // [0:1] is the sub-list for field type_name 139 } 140 141 func init() { file_envoy_extensions_common_key_value_v3_config_proto_init() } 142 func file_envoy_extensions_common_key_value_v3_config_proto_init() { 143 if File_envoy_extensions_common_key_value_v3_config_proto != nil { 144 return 145 } 146 if !protoimpl.UnsafeEnabled { 147 file_envoy_extensions_common_key_value_v3_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 148 switch v := v.(*KeyValueStoreConfig); i { 149 case 0: 150 return &v.state 151 case 1: 152 return &v.sizeCache 153 case 2: 154 return &v.unknownFields 155 default: 156 return nil 157 } 158 } 159 } 160 type x struct{} 161 out := protoimpl.TypeBuilder{ 162 File: protoimpl.DescBuilder{ 163 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 164 RawDescriptor: file_envoy_extensions_common_key_value_v3_config_proto_rawDesc, 165 NumEnums: 0, 166 NumMessages: 1, 167 NumExtensions: 0, 168 NumServices: 0, 169 }, 170 GoTypes: file_envoy_extensions_common_key_value_v3_config_proto_goTypes, 171 DependencyIndexes: file_envoy_extensions_common_key_value_v3_config_proto_depIdxs, 172 MessageInfos: file_envoy_extensions_common_key_value_v3_config_proto_msgTypes, 173 }.Build() 174 File_envoy_extensions_common_key_value_v3_config_proto = out.File 175 file_envoy_extensions_common_key_value_v3_config_proto_rawDesc = nil 176 file_envoy_extensions_common_key_value_v3_config_proto_goTypes = nil 177 file_envoy_extensions_common_key_value_v3_config_proto_depIdxs = nil 178 }