Debian Codegraph @

go/xds/core/v3/context_params.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.10
4 // protoc v5.29.3
5 // source: xds/core/v3/context_params.proto
6
7 package v3
8
9 import (
10 _ "github.com/cncf/xds/go/xds/annotations/v3"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
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 type ContextParams struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *ContextParams) Reset() {
33 *x = ContextParams{}
34 mi := &file_xds_core_v3_context_params_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *ContextParams) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*ContextParams) ProtoMessage() {}
44
45 func (x *ContextParams) ProtoReflect() protoreflect.Message {
46 mi := &file_xds_core_v3_context_params_proto_msgTypes[0]
47 if x != nil {
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 if ms.LoadMessageInfo() == nil {
50 ms.StoreMessageInfo(mi)
51 }
52 return ms
53 }
54 return mi.MessageOf(x)
55 }
56
57 // Deprecated: Use ContextParams.ProtoReflect.Descriptor instead.
58 func (*ContextParams) Descriptor() ([]byte, []int) {
59 return file_xds_core_v3_context_params_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *ContextParams) GetParams() map[string]string {
63 if x != nil {
64 return x.Params
65 }
66 return nil
67 }
68
69 var File_xds_core_v3_context_params_proto protoreflect.FileDescriptor
70
71 const file_xds_core_v3_context_params_proto_rawDesc = "" +
72 "\n" +
73 " xds/core/v3/context_params.proto\x12\vxds.core.v3\x1a\x1fxds/annotations/v3/status.proto\"\x8a\x01\n" +
74 "\rContextParams\x12>\n" +
75 "\x06params\x18\x01 \x03(\v2&.xds.core.v3.ContextParams.ParamsEntryR\x06params\x1a9\n" +
76 "\vParamsEntry\x12\x10\n" +
77 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
78 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01BZ\xd2Ƥ\xe1\x06\x02\b\x01\n" +
79 "\x16com.github.xds.core.v3B\x12ContextParamsProtoP\x01Z\"github.com/cncf/xds/go/xds/core/v3b\x06proto3"
80
81 var (
82 file_xds_core_v3_context_params_proto_rawDescOnce sync.Once
83 file_xds_core_v3_context_params_proto_rawDescData []byte
84 )
85
86 func file_xds_core_v3_context_params_proto_rawDescGZIP() []byte {
87 file_xds_core_v3_context_params_proto_rawDescOnce.Do(func() {
88 file_xds_core_v3_context_params_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_core_v3_context_params_proto_rawDesc), len(file_xds_core_v3_context_params_proto_rawDesc)))
89 })
90 return file_xds_core_v3_context_params_proto_rawDescData
91 }
92
93 var file_xds_core_v3_context_params_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
94 var file_xds_core_v3_context_params_proto_goTypes = []any{
95 (*ContextParams)(nil), // 0: xds.core.v3.ContextParams
96 nil, // 1: xds.core.v3.ContextParams.ParamsEntry
97 }
98 var file_xds_core_v3_context_params_proto_depIdxs = []int32{
99 1, // 0: xds.core.v3.ContextParams.params:type_name -> xds.core.v3.ContextParams.ParamsEntry
100 1, // [1:1] is the sub-list for method output_type
101 1, // [1:1] is the sub-list for method input_type
102 1, // [1:1] is the sub-list for extension type_name
103 1, // [1:1] is the sub-list for extension extendee
104 0, // [0:1] is the sub-list for field type_name
105 }
106
107 func init() { file_xds_core_v3_context_params_proto_init() }
108 func file_xds_core_v3_context_params_proto_init() {
109 if File_xds_core_v3_context_params_proto != nil {
110 return
111 }
112 type x struct{}
113 out := protoimpl.TypeBuilder{
114 File: protoimpl.DescBuilder{
115 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
116 RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_core_v3_context_params_proto_rawDesc), len(file_xds_core_v3_context_params_proto_rawDesc)),
117 NumEnums: 0,
118 NumMessages: 2,
119 NumExtensions: 0,
120 NumServices: 0,
121 },
122 GoTypes: file_xds_core_v3_context_params_proto_goTypes,
123 DependencyIndexes: file_xds_core_v3_context_params_proto_depIdxs,
124 MessageInfos: file_xds_core_v3_context_params_proto_msgTypes,
125 }.Build()
126 File_xds_core_v3_context_params_proto = out.File
127 file_xds_core_v3_context_params_proto_goTypes = nil
128 file_xds_core_v3_context_params_proto_depIdxs = nil
129 }