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 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67 type Logging struct {
68 state protoimpl.MessageState
69 sizeCache protoimpl.SizeCache
70 unknownFields protoimpl.UnknownFields
71
72
73
74
75
76 ProducerDestinations []*Logging_LoggingDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations,proto3" json:"producer_destinations,omitempty"`
77
78
79
80
81 ConsumerDestinations []*Logging_LoggingDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"`
82 }
83
84 func (x *Logging) Reset() {
85 *x = Logging{}
86 if protoimpl.UnsafeEnabled {
87 mi := &file_google_api_logging_proto_msgTypes[0]
88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89 ms.StoreMessageInfo(mi)
90 }
91 }
92
93 func (x *Logging) String() string {
94 return protoimpl.X.MessageStringOf(x)
95 }
96
97 func (*Logging) ProtoMessage() {}
98
99 func (x *Logging) ProtoReflect() protoreflect.Message {
100 mi := &file_google_api_logging_proto_msgTypes[0]
101 if protoimpl.UnsafeEnabled && x != nil {
102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103 if ms.LoadMessageInfo() == nil {
104 ms.StoreMessageInfo(mi)
105 }
106 return ms
107 }
108 return mi.MessageOf(x)
109 }
110
111
112 func (*Logging) Descriptor() ([]byte, []int) {
113 return file_google_api_logging_proto_rawDescGZIP(), []int{0}
114 }
115
116 func (x *Logging) GetProducerDestinations() []*Logging_LoggingDestination {
117 if x != nil {
118 return x.ProducerDestinations
119 }
120 return nil
121 }
122
123 func (x *Logging) GetConsumerDestinations() []*Logging_LoggingDestination {
124 if x != nil {
125 return x.ConsumerDestinations
126 }
127 return nil
128 }
129
130
131
132 type Logging_LoggingDestination struct {
133 state protoimpl.MessageState
134 sizeCache protoimpl.SizeCache
135 unknownFields protoimpl.UnknownFields
136
137
138
139
140 MonitoredResource string `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"`
141
142
143
144
145 Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
146 }
147
148 func (x *Logging_LoggingDestination) Reset() {
149 *x = Logging_LoggingDestination{}
150 if protoimpl.UnsafeEnabled {
151 mi := &file_google_api_logging_proto_msgTypes[1]
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 ms.StoreMessageInfo(mi)
154 }
155 }
156
157 func (x *Logging_LoggingDestination) String() string {
158 return protoimpl.X.MessageStringOf(x)
159 }
160
161 func (*Logging_LoggingDestination) ProtoMessage() {}
162
163 func (x *Logging_LoggingDestination) ProtoReflect() protoreflect.Message {
164 mi := &file_google_api_logging_proto_msgTypes[1]
165 if protoimpl.UnsafeEnabled && x != nil {
166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
167 if ms.LoadMessageInfo() == nil {
168 ms.StoreMessageInfo(mi)
169 }
170 return ms
171 }
172 return mi.MessageOf(x)
173 }
174
175
176 func (*Logging_LoggingDestination) Descriptor() ([]byte, []int) {
177 return file_google_api_logging_proto_rawDescGZIP(), []int{0, 0}
178 }
179
180 func (x *Logging_LoggingDestination) GetMonitoredResource() string {
181 if x != nil {
182 return x.MonitoredResource
183 }
184 return ""
185 }
186
187 func (x *Logging_LoggingDestination) GetLogs() []string {
188 if x != nil {
189 return x.Logs
190 }
191 return nil
192 }
193
194 var File_google_api_logging_proto protoreflect.FileDescriptor
195
196 var file_google_api_logging_proto_rawDesc = []byte{
197 0x0a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67,
198 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67,
199 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x22, 0x9c, 0x02, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x67, 0x69,
200 0x6e, 0x67, 0x12, 0x5b, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x5f, 0x64,
201 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
202 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c,
203 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x44, 0x65,
204 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x72, 0x6f, 0x64, 0x75,
205 0x63, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
206 0x5b, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x73, 0x74,
207 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26,
208 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x67, 0x67,
209 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x73, 0x74, 0x69,
210 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72,
211 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12,
212 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
213 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f,
214 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11,
215 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
216 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
217 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x42, 0x6e, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
218 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
219 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
220 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
221 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61,
222 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
223 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xa2, 0x02,
224 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
225 }
226
227 var (
228 file_google_api_logging_proto_rawDescOnce sync.Once
229 file_google_api_logging_proto_rawDescData = file_google_api_logging_proto_rawDesc
230 )
231
232 func file_google_api_logging_proto_rawDescGZIP() []byte {
233 file_google_api_logging_proto_rawDescOnce.Do(func() {
234 file_google_api_logging_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_logging_proto_rawDescData)
235 })
236 return file_google_api_logging_proto_rawDescData
237 }
238
239 var file_google_api_logging_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
240 var file_google_api_logging_proto_goTypes = []interface{}{
241 (*Logging)(nil),
242 (*Logging_LoggingDestination)(nil),
243 }
244 var file_google_api_logging_proto_depIdxs = []int32{
245 1,
246 1,
247 2,
248 2,
249 2,
250 2,
251 0,
252 }
253
254 func init() { file_google_api_logging_proto_init() }
255 func file_google_api_logging_proto_init() {
256 if File_google_api_logging_proto != nil {
257 return
258 }
259 if !protoimpl.UnsafeEnabled {
260 file_google_api_logging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
261 switch v := v.(*Logging); i {
262 case 0:
263 return &v.state
264 case 1:
265 return &v.sizeCache
266 case 2:
267 return &v.unknownFields
268 default:
269 return nil
270 }
271 }
272 file_google_api_logging_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
273 switch v := v.(*Logging_LoggingDestination); i {
274 case 0:
275 return &v.state
276 case 1:
277 return &v.sizeCache
278 case 2:
279 return &v.unknownFields
280 default:
281 return nil
282 }
283 }
284 }
285 type x struct{}
286 out := protoimpl.TypeBuilder{
287 File: protoimpl.DescBuilder{
288 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
289 RawDescriptor: file_google_api_logging_proto_rawDesc,
290 NumEnums: 0,
291 NumMessages: 2,
292 NumExtensions: 0,
293 NumServices: 0,
294 },
295 GoTypes: file_google_api_logging_proto_goTypes,
296 DependencyIndexes: file_google_api_logging_proto_depIdxs,
297 MessageInfos: file_google_api_logging_proto_msgTypes,
298 }.Build()
299 File_google_api_logging_proto = out.File
300 file_google_api_logging_proto_rawDesc = nil
301 file_google_api_logging_proto_goTypes = nil
302 file_google_api_logging_proto_depIdxs = nil
303 }
304
View as plain text