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/context_params.proto 6 7package v3 8 9import ( 10 _ "github.com/cncf/xds/go/xds/annotations/v3" 11 proto "github.com/golang/protobuf/proto" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16) 17 18const ( 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. 27const _ = proto.ProtoPackageIsVersion4 28 29type ContextParams struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 35} 36 37func (x *ContextParams) Reset() { 38 *x = ContextParams{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_xds_core_v3_context_params_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44} 45 46func (x *ContextParams) String() string { 47 return protoimpl.X.MessageStringOf(x) 48} 49 50func (*ContextParams) ProtoMessage() {} 51 52func (x *ContextParams) ProtoReflect() protoreflect.Message { 53 mi := &file_xds_core_v3_context_params_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62} 63 64// Deprecated: Use ContextParams.ProtoReflect.Descriptor instead. 65func (*ContextParams) Descriptor() ([]byte, []int) { 66 return file_xds_core_v3_context_params_proto_rawDescGZIP(), []int{0} 67} 68 69func (x *ContextParams) GetParams() map[string]string { 70 if x != nil { 71 return x.Params 72 } 73 return nil 74} 75 76var File_xds_core_v3_context_params_proto protoreflect.FileDescriptor 77 78var file_xds_core_v3_context_params_proto_rawDesc = []byte{ 79 0x0a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 80 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 81 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 82 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 83 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 84 0x22, 0x8a, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 85 0x6d, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 86 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 87 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x50, 88 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 89 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 90 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 91 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 92 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x5a, 0x0a, 93 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 94 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 95 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x67, 96 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 97 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 98 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 99 0x33, 100} 101 102var ( 103 file_xds_core_v3_context_params_proto_rawDescOnce sync.Once 104 file_xds_core_v3_context_params_proto_rawDescData = file_xds_core_v3_context_params_proto_rawDesc 105) 106 107func file_xds_core_v3_context_params_proto_rawDescGZIP() []byte { 108 file_xds_core_v3_context_params_proto_rawDescOnce.Do(func() { 109 file_xds_core_v3_context_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_context_params_proto_rawDescData) 110 }) 111 return file_xds_core_v3_context_params_proto_rawDescData 112} 113 114var file_xds_core_v3_context_params_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 115var file_xds_core_v3_context_params_proto_goTypes = []interface{}{ 116 (*ContextParams)(nil), // 0: xds.core.v3.ContextParams 117 nil, // 1: xds.core.v3.ContextParams.ParamsEntry 118} 119var file_xds_core_v3_context_params_proto_depIdxs = []int32{ 120 1, // 0: xds.core.v3.ContextParams.params:type_name -> xds.core.v3.ContextParams.ParamsEntry 121 1, // [1:1] is the sub-list for method output_type 122 1, // [1:1] is the sub-list for method input_type 123 1, // [1:1] is the sub-list for extension type_name 124 1, // [1:1] is the sub-list for extension extendee 125 0, // [0:1] is the sub-list for field type_name 126} 127 128func init() { file_xds_core_v3_context_params_proto_init() } 129func file_xds_core_v3_context_params_proto_init() { 130 if File_xds_core_v3_context_params_proto != nil { 131 return 132 } 133 if !protoimpl.UnsafeEnabled { 134 file_xds_core_v3_context_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 135 switch v := v.(*ContextParams); i { 136 case 0: 137 return &v.state 138 case 1: 139 return &v.sizeCache 140 case 2: 141 return &v.unknownFields 142 default: 143 return nil 144 } 145 } 146 } 147 type x struct{} 148 out := protoimpl.TypeBuilder{ 149 File: protoimpl.DescBuilder{ 150 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 151 RawDescriptor: file_xds_core_v3_context_params_proto_rawDesc, 152 NumEnums: 0, 153 NumMessages: 2, 154 NumExtensions: 0, 155 NumServices: 0, 156 }, 157 GoTypes: file_xds_core_v3_context_params_proto_goTypes, 158 DependencyIndexes: file_xds_core_v3_context_params_proto_depIdxs, 159 MessageInfos: file_xds_core_v3_context_params_proto_msgTypes, 160 }.Build() 161 File_xds_core_v3_context_params_proto = out.File 162 file_xds_core_v3_context_params_proto_rawDesc = nil 163 file_xds_core_v3_context_params_proto_goTypes = nil 164 file_xds_core_v3_context_params_proto_depIdxs = nil 165} 166