Debian Codegraph @

googleapis/appengine/legacy/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/legacy/audit_data.proto
20
21 package legacy
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 // Admin Console legacy audit log.
39 type AuditData struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Text description of the admin event.
45 // This is the "Event" column in Admin Console's Admin Logs.
46 EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage,proto3" json:"event_message,omitempty"`
47 // Arbitrary event data.
48 // This is the "Result" column in Admin Console's Admin Logs.
49 EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData,proto3" json:"event_data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
50 }
51
52 func (x *AuditData) Reset() {
53 *x = AuditData{}
54 if protoimpl.UnsafeEnabled {
55 mi := &file_google_appengine_legacy_audit_data_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59 }
60
61 func (x *AuditData) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*AuditData) ProtoMessage() {}
66
67 func (x *AuditData) ProtoReflect() protoreflect.Message {
68 mi := &file_google_appengine_legacy_audit_data_proto_msgTypes[0]
69 if protoimpl.UnsafeEnabled && x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79 // Deprecated: Use AuditData.ProtoReflect.Descriptor instead.
80 func (*AuditData) Descriptor() ([]byte, []int) {
81 return file_google_appengine_legacy_audit_data_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *AuditData) GetEventMessage() string {
85 if x != nil {
86 return x.EventMessage
87 }
88 return ""
89 }
90
91 func (x *AuditData) GetEventData() map[string]string {
92 if x != nil {
93 return x.EventData
94 }
95 return nil
96 }
97
98 var File_google_appengine_legacy_audit_data_proto protoreflect.FileDescriptor
99
100 var file_google_appengine_legacy_audit_data_proto_rawDesc = []byte{
101 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69,
102 0x6e, 0x65, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f,
103 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67,
104 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x6c, 0x65, 0x67,
105 0x61, 0x63, 0x79, 0x22, 0xc0, 0x01, 0x0a, 0x09, 0x41, 0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74,
106 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
107 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4d,
108 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f,
109 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f,
110 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x6c, 0x65,
111 0x67, 0x61, 0x63, 0x79, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x45,
112 0x76, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x65,
113 0x76, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x3c, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e,
114 0x74, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
115 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
116 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
117 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x6e, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
118 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x6c,
119 0x65, 0x67, 0x61, 0x63, 0x79, 0x42, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61,
120 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
121 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
122 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61,
123 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x3b,
124 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
125 }
126
127 var (
128 file_google_appengine_legacy_audit_data_proto_rawDescOnce sync.Once
129 file_google_appengine_legacy_audit_data_proto_rawDescData = file_google_appengine_legacy_audit_data_proto_rawDesc
130 )
131
132 func file_google_appengine_legacy_audit_data_proto_rawDescGZIP() []byte {
133 file_google_appengine_legacy_audit_data_proto_rawDescOnce.Do(func() {
134 file_google_appengine_legacy_audit_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_appengine_legacy_audit_data_proto_rawDescData)
135 })
136 return file_google_appengine_legacy_audit_data_proto_rawDescData
137 }
138
139 var file_google_appengine_legacy_audit_data_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
140 var file_google_appengine_legacy_audit_data_proto_goTypes = []interface{}{
141 (*AuditData)(nil), // 0: google.appengine.legacy.AuditData
142 nil, // 1: google.appengine.legacy.AuditData.EventDataEntry
143 }
144 var file_google_appengine_legacy_audit_data_proto_depIdxs = []int32{
145 1, // 0: google.appengine.legacy.AuditData.event_data:type_name -> google.appengine.legacy.AuditData.EventDataEntry
146 1, // [1:1] is the sub-list for method output_type
147 1, // [1:1] is the sub-list for method input_type
148 1, // [1:1] is the sub-list for extension type_name
149 1, // [1:1] is the sub-list for extension extendee
150 0, // [0:1] is the sub-list for field type_name
151 }
152
153 func init() { file_google_appengine_legacy_audit_data_proto_init() }
154 func file_google_appengine_legacy_audit_data_proto_init() {
155 if File_google_appengine_legacy_audit_data_proto != nil {
156 return
157 }
158 if !protoimpl.UnsafeEnabled {
159 file_google_appengine_legacy_audit_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
160 switch v := v.(*AuditData); i {
161 case 0:
162 return &v.state
163 case 1:
164 return &v.sizeCache
165 case 2:
166 return &v.unknownFields
167 default:
168 return nil
169 }
170 }
171 }
172 type x struct{}
173 out := protoimpl.TypeBuilder{
174 File: protoimpl.DescBuilder{
175 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
176 RawDescriptor: file_google_appengine_legacy_audit_data_proto_rawDesc,
177 NumEnums: 0,
178 NumMessages: 2,
179 NumExtensions: 0,
180 NumServices: 0,
181 },
182 GoTypes: file_google_appengine_legacy_audit_data_proto_goTypes,
183 DependencyIndexes: file_google_appengine_legacy_audit_data_proto_depIdxs,
184 MessageInfos: file_google_appengine_legacy_audit_data_proto_msgTypes,
185 }.Build()
186 File_google_appengine_legacy_audit_data_proto = out.File
187 file_google_appengine_legacy_audit_data_proto_rawDesc = nil
188 file_google_appengine_legacy_audit_data_proto_goTypes = nil
189 file_google_appengine_legacy_audit_data_proto_depIdxs = nil
190 }