1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package serviceconfig
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 label "google.golang.org/genproto/googleapis/api/label"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41
42
43
44
45
46
47 type LogDescriptor struct {
48 state protoimpl.MessageState
49 sizeCache protoimpl.SizeCache
50 unknownFields protoimpl.UnknownFields
51
52
53
54
55
56 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
57
58
59
60 Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
61
62
63 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
64
65
66 DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
67 }
68
69 func (x *LogDescriptor) Reset() {
70 *x = LogDescriptor{}
71 if protoimpl.UnsafeEnabled {
72 mi := &file_google_api_log_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76 }
77
78 func (x *LogDescriptor) String() string {
79 return protoimpl.X.MessageStringOf(x)
80 }
81
82 func (*LogDescriptor) ProtoMessage() {}
83
84 func (x *LogDescriptor) ProtoReflect() protoreflect.Message {
85 mi := &file_google_api_log_proto_msgTypes[0]
86 if protoimpl.UnsafeEnabled && x != nil {
87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88 if ms.LoadMessageInfo() == nil {
89 ms.StoreMessageInfo(mi)
90 }
91 return ms
92 }
93 return mi.MessageOf(x)
94 }
95
96
97 func (*LogDescriptor) Descriptor() ([]byte, []int) {
98 return file_google_api_log_proto_rawDescGZIP(), []int{0}
99 }
100
101 func (x *LogDescriptor) GetName() string {
102 if x != nil {
103 return x.Name
104 }
105 return ""
106 }
107
108 func (x *LogDescriptor) GetLabels() []*label.LabelDescriptor {
109 if x != nil {
110 return x.Labels
111 }
112 return nil
113 }
114
115 func (x *LogDescriptor) GetDescription() string {
116 if x != nil {
117 return x.Description
118 }
119 return ""
120 }
121
122 func (x *LogDescriptor) GetDisplayName() string {
123 if x != nil {
124 return x.DisplayName
125 }
126 return ""
127 }
128
129 var File_google_api_log_proto protoreflect.FileDescriptor
130
131 var file_google_api_log_proto_rawDesc = []byte{
132 0x0a, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67,
133 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
134 0x70, 0x69, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c,
135 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x0d, 0x4c,
136 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04,
137 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
138 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
139 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x61,
140 0x62, 0x65, 0x6c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x6c,
141 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
142 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
143 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c,
144 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
145 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x6a, 0x0a, 0x0e, 0x63, 0x6f,
146 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x08, 0x4c, 0x6f,
147 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
148 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
149 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
150 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69,
151 0x67, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xa2,
152 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
153 }
154
155 var (
156 file_google_api_log_proto_rawDescOnce sync.Once
157 file_google_api_log_proto_rawDescData = file_google_api_log_proto_rawDesc
158 )
159
160 func file_google_api_log_proto_rawDescGZIP() []byte {
161 file_google_api_log_proto_rawDescOnce.Do(func() {
162 file_google_api_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_log_proto_rawDescData)
163 })
164 return file_google_api_log_proto_rawDescData
165 }
166
167 var file_google_api_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
168 var file_google_api_log_proto_goTypes = []interface{}{
169 (*LogDescriptor)(nil),
170 (*label.LabelDescriptor)(nil),
171 }
172 var file_google_api_log_proto_depIdxs = []int32{
173 1,
174 1,
175 1,
176 1,
177 1,
178 0,
179 }
180
181 func init() { file_google_api_log_proto_init() }
182 func file_google_api_log_proto_init() {
183 if File_google_api_log_proto != nil {
184 return
185 }
186 if !protoimpl.UnsafeEnabled {
187 file_google_api_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
188 switch v := v.(*LogDescriptor); i {
189 case 0:
190 return &v.state
191 case 1:
192 return &v.sizeCache
193 case 2:
194 return &v.unknownFields
195 default:
196 return nil
197 }
198 }
199 }
200 type x struct{}
201 out := protoimpl.TypeBuilder{
202 File: protoimpl.DescBuilder{
203 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
204 RawDescriptor: file_google_api_log_proto_rawDesc,
205 NumEnums: 0,
206 NumMessages: 1,
207 NumExtensions: 0,
208 NumServices: 0,
209 },
210 GoTypes: file_google_api_log_proto_goTypes,
211 DependencyIndexes: file_google_api_log_proto_depIdxs,
212 MessageInfos: file_google_api_log_proto_msgTypes,
213 }.Build()
214 File_google_api_log_proto = out.File
215 file_google_api_log_proto_rawDesc = nil
216 file_google_api_log_proto_goTypes = nil
217 file_google_api_log_proto_depIdxs = nil
218 }
219
View as plain text