Debian Codegraph @

googleapis/appengine/v1beta/audit_data.pb.go

raw
1 // Copyright 2020 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/appengine/v1beta/audit_data.proto
20
21 package appengine
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 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // App Engine admin service audit log.
39 type AuditData struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Detailed information about methods that require it. Does not include
45 // simple Get, List or Delete methods because all significant information
46 // (resource name, number of returned elements for List operations) is already
47 // included in parent audit log message.
48 //
49 // Types that are assignable to Method:
50 //
51 // *AuditData_UpdateService
52 // *AuditData_CreateVersion
53 Method isAuditData_Method `protobuf_oneof:"method"`
54 }
55
56 func (x *AuditData) Reset() {
57 *x = AuditData{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_appengine_v1beta_audit_data_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *AuditData) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*AuditData) ProtoMessage() {}
70
71 func (x *AuditData) ProtoReflect() protoreflect.Message {
72 mi := &file_google_appengine_v1beta_audit_data_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83 // Deprecated: Use AuditData.ProtoReflect.Descriptor instead.
84 func (*AuditData) Descriptor() ([]byte, []int) {
85 return file_google_appengine_v1beta_audit_data_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (m *AuditData) GetMethod() isAuditData_Method {
89 if m != nil {
90 return m.Method
91 }
92 return nil
93 }
94
95 func (x *AuditData) GetUpdateService() *UpdateServiceMethod {
96 if x, ok := x.GetMethod().(*AuditData_UpdateService); ok {
97 return x.UpdateService
98 }
99 return nil
100 }
101
102 func (x *AuditData) GetCreateVersion() *CreateVersionMethod {
103 if x, ok := x.GetMethod().(*AuditData_CreateVersion); ok {
104 return x.CreateVersion
105 }
106 return nil
107 }
108
109 type isAuditData_Method interface {
110 isAuditData_Method()
111 }
112
113 type AuditData_UpdateService struct {
114 // Detailed information about UpdateService call.
115 UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"`
116 }
117
118 type AuditData_CreateVersion struct {
119 // Detailed information about CreateVersion call.
120 CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"`
121 }
122
123 func (*AuditData_UpdateService) isAuditData_Method() {}
124
125 func (*AuditData_CreateVersion) isAuditData_Method() {}
126
127 // Detailed information about UpdateService call.
128 type UpdateServiceMethod struct {
129 state protoimpl.MessageState
130 sizeCache protoimpl.SizeCache
131 unknownFields protoimpl.UnknownFields
132
133 // Update service request.
134 Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
135 }
136
137 func (x *UpdateServiceMethod) Reset() {
138 *x = UpdateServiceMethod{}
139 if protoimpl.UnsafeEnabled {
140 mi := &file_google_appengine_v1beta_audit_data_proto_msgTypes[1]
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 ms.StoreMessageInfo(mi)
143 }
144 }
145
146 func (x *UpdateServiceMethod) String() string {
147 return protoimpl.X.MessageStringOf(x)
148 }
149
150 func (*UpdateServiceMethod) ProtoMessage() {}
151
152 func (x *UpdateServiceMethod) ProtoReflect() protoreflect.Message {
153 mi := &file_google_appengine_v1beta_audit_data_proto_msgTypes[1]
154 if protoimpl.UnsafeEnabled && x != nil {
155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
156 if ms.LoadMessageInfo() == nil {
157 ms.StoreMessageInfo(mi)
158 }
159 return ms
160 }
161 return mi.MessageOf(x)
162 }
163
164 // Deprecated: Use UpdateServiceMethod.ProtoReflect.Descriptor instead.
165 func (*UpdateServiceMethod) Descriptor() ([]byte, []int) {
166 return file_google_appengine_v1beta_audit_data_proto_rawDescGZIP(), []int{1}
167 }
168
169 func (x *UpdateServiceMethod) GetRequest() *UpdateServiceRequest {
170 if x != nil {
171 return x.Request
172 }
173 return nil
174 }
175
176 // Detailed information about CreateVersion call.
177 type CreateVersionMethod struct {
178 state protoimpl.MessageState
179 sizeCache protoimpl.SizeCache
180 unknownFields protoimpl.UnknownFields
181
182 // Create version request.
183 Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
184 }
185
186 func (x *CreateVersionMethod) Reset() {
187 *x = CreateVersionMethod{}
188 if protoimpl.UnsafeEnabled {
189 mi := &file_google_appengine_v1beta_audit_data_proto_msgTypes[2]
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 ms.StoreMessageInfo(mi)
192 }
193 }
194
195 func (x *CreateVersionMethod) String() string {
196 return protoimpl.X.MessageStringOf(x)
197 }
198
199 func (*CreateVersionMethod) ProtoMessage() {}
200
201 func (x *CreateVersionMethod) ProtoReflect() protoreflect.Message {
202 mi := &file_google_appengine_v1beta_audit_data_proto_msgTypes[2]
203 if protoimpl.UnsafeEnabled && x != nil {
204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205 if ms.LoadMessageInfo() == nil {
206 ms.StoreMessageInfo(mi)
207 }
208 return ms
209 }
210 return mi.MessageOf(x)
211 }
212
213 // Deprecated: Use CreateVersionMethod.ProtoReflect.Descriptor instead.
214 func (*CreateVersionMethod) Descriptor() ([]byte, []int) {
215 return file_google_appengine_v1beta_audit_data_proto_rawDescGZIP(), []int{2}
216 }
217
218 func (x *CreateVersionMethod) GetRequest() *CreateVersionRequest {
219 if x != nil {
220 return x.Request
221 }
222 return nil
223 }
224
225 var File_google_appengine_v1beta_audit_data_proto protoreflect.FileDescriptor
226
227 var file_google_appengine_v1beta_audit_data_proto_rawDesc = []byte{
228 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69,
229 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f,
230 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67,
231 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62,
232 0x65, 0x74, 0x61, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65,
233 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x70, 0x70,
234 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a,
235 0x09, 0x41, 0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x0e, 0x75, 0x70,
236 0x64, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
237 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65,
238 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64,
239 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
240 0x48, 0x00, 0x52, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
241 0x65, 0x12, 0x55, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
242 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
243 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62,
244 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
245 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74,
246 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68,
247 0x6f, 0x64, 0x22, 0x5e, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76,
248 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x47, 0x0a, 0x07, 0x72, 0x65, 0x71,
249 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
250 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31,
251 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
252 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65,
253 0x73, 0x74, 0x22, 0x5e, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73,
254 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x47, 0x0a, 0x07, 0x72, 0x65, 0x71,
255 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
256 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31,
257 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
258 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65,
259 0x73, 0x74, 0x42, 0xd4, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
260 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
261 0x74, 0x61, 0x42, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f,
262 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
263 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
264 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x65,
265 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x61, 0x70, 0x70,
266 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
267 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
268 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
269 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5c,
270 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
271 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e,
272 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
273 0x33,
274 }
275
276 var (
277 file_google_appengine_v1beta_audit_data_proto_rawDescOnce sync.Once
278 file_google_appengine_v1beta_audit_data_proto_rawDescData = file_google_appengine_v1beta_audit_data_proto_rawDesc
279 )
280
281 func file_google_appengine_v1beta_audit_data_proto_rawDescGZIP() []byte {
282 file_google_appengine_v1beta_audit_data_proto_rawDescOnce.Do(func() {
283 file_google_appengine_v1beta_audit_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_appengine_v1beta_audit_data_proto_rawDescData)
284 })
285 return file_google_appengine_v1beta_audit_data_proto_rawDescData
286 }
287
288 var file_google_appengine_v1beta_audit_data_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
289 var file_google_appengine_v1beta_audit_data_proto_goTypes = []interface{}{
290 (*AuditData)(nil), // 0: google.appengine.v1beta.AuditData
291 (*UpdateServiceMethod)(nil), // 1: google.appengine.v1beta.UpdateServiceMethod
292 (*CreateVersionMethod)(nil), // 2: google.appengine.v1beta.CreateVersionMethod
293 (*UpdateServiceRequest)(nil), // 3: google.appengine.v1beta.UpdateServiceRequest
294 (*CreateVersionRequest)(nil), // 4: google.appengine.v1beta.CreateVersionRequest
295 }
296 var file_google_appengine_v1beta_audit_data_proto_depIdxs = []int32{
297 1, // 0: google.appengine.v1beta.AuditData.update_service:type_name -> google.appengine.v1beta.UpdateServiceMethod
298 2, // 1: google.appengine.v1beta.AuditData.create_version:type_name -> google.appengine.v1beta.CreateVersionMethod
299 3, // 2: google.appengine.v1beta.UpdateServiceMethod.request:type_name -> google.appengine.v1beta.UpdateServiceRequest
300 4, // 3: google.appengine.v1beta.CreateVersionMethod.request:type_name -> google.appengine.v1beta.CreateVersionRequest
301 4, // [4:4] is the sub-list for method output_type
302 4, // [4:4] is the sub-list for method input_type
303 4, // [4:4] is the sub-list for extension type_name
304 4, // [4:4] is the sub-list for extension extendee
305 0, // [0:4] is the sub-list for field type_name
306 }
307
308 func init() { file_google_appengine_v1beta_audit_data_proto_init() }
309 func file_google_appengine_v1beta_audit_data_proto_init() {
310 if File_google_appengine_v1beta_audit_data_proto != nil {
311 return
312 }
313 file_google_appengine_v1beta_appengine_proto_init()
314 if !protoimpl.UnsafeEnabled {
315 file_google_appengine_v1beta_audit_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
316 switch v := v.(*AuditData); i {
317 case 0:
318 return &v.state
319 case 1:
320 return &v.sizeCache
321 case 2:
322 return &v.unknownFields
323 default:
324 return nil
325 }
326 }
327 file_google_appengine_v1beta_audit_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
328 switch v := v.(*UpdateServiceMethod); i {
329 case 0:
330 return &v.state
331 case 1:
332 return &v.sizeCache
333 case 2:
334 return &v.unknownFields
335 default:
336 return nil
337 }
338 }
339 file_google_appengine_v1beta_audit_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
340 switch v := v.(*CreateVersionMethod); i {
341 case 0:
342 return &v.state
343 case 1:
344 return &v.sizeCache
345 case 2:
346 return &v.unknownFields
347 default:
348 return nil
349 }
350 }
351 }
352 file_google_appengine_v1beta_audit_data_proto_msgTypes[0].OneofWrappers = []interface{}{
353 (*AuditData_UpdateService)(nil),
354 (*AuditData_CreateVersion)(nil),
355 }
356 type x struct{}
357 out := protoimpl.TypeBuilder{
358 File: protoimpl.DescBuilder{
359 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
360 RawDescriptor: file_google_appengine_v1beta_audit_data_proto_rawDesc,
361 NumEnums: 0,
362 NumMessages: 3,
363 NumExtensions: 0,
364 NumServices: 0,
365 },
366 GoTypes: file_google_appengine_v1beta_audit_data_proto_goTypes,
367 DependencyIndexes: file_google_appengine_v1beta_audit_data_proto_depIdxs,
368 MessageInfos: file_google_appengine_v1beta_audit_data_proto_msgTypes,
369 }.Build()
370 File_google_appengine_v1beta_audit_data_proto = out.File
371 file_google_appengine_v1beta_audit_data_proto_rawDesc = nil
372 file_google_appengine_v1beta_audit_data_proto_goTypes = nil
373 file_google_appengine_v1beta_audit_data_proto_depIdxs = nil
374 }