Debian Codegraph @

googleapis/cloud/gsuiteaddons/logging/v1/g_suite_add_ons_log_entry.pb.go

raw symbols SCIP
1 // Copyright 2021 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/cloud/gsuiteaddons/logging/v1/g_suite_add_ons_log_entry.proto
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 status "google.golang.org/genproto/googleapis/rpc/status"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // JSON payload of error messages that are logged to Cloud Logging. An error
40 // message (in English) is written to Cloud Logging (if not disabled) when an
41 // error is encountered while using an add-on.
42 type GSuiteAddOnsLogEntry struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // The deployment that caused the error. For add-ons built in Apps Script,
48 // this is the deployment ID defined by Apps Script. For add-ons built in
49 // other languages, this is the deployment ID defined in Google Cloud.
50 Deployment string `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
51 // The error code and message.
52 Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
53 // The function name that was running when the error occurred. This field
54 // might not always be set, for example, if an error happens when fetching the
55 // list of installed add-ons for a user.
56 DeploymentFunction string `protobuf:"bytes,3,opt,name=deployment_function,json=deploymentFunction,proto3" json:"deployment_function,omitempty"`
57 }
58
59 func (x *GSuiteAddOnsLogEntry) Reset() {
60 *x = GSuiteAddOnsLogEntry{}
61 if protoimpl.UnsafeEnabled {
62 mi := &file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_msgTypes[0]
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 ms.StoreMessageInfo(mi)
65 }
66 }
67
68 func (x *GSuiteAddOnsLogEntry) String() string {
69 return protoimpl.X.MessageStringOf(x)
70 }
71
72 func (*GSuiteAddOnsLogEntry) ProtoMessage() {}
73
74 func (x *GSuiteAddOnsLogEntry) ProtoReflect() protoreflect.Message {
75 mi := &file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_msgTypes[0]
76 if protoimpl.UnsafeEnabled && x != nil {
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 if ms.LoadMessageInfo() == nil {
79 ms.StoreMessageInfo(mi)
80 }
81 return ms
82 }
83 return mi.MessageOf(x)
84 }
85
86 // Deprecated: Use GSuiteAddOnsLogEntry.ProtoReflect.Descriptor instead.
87 func (*GSuiteAddOnsLogEntry) Descriptor() ([]byte, []int) {
88 return file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescGZIP(), []int{0}
89 }
90
91 func (x *GSuiteAddOnsLogEntry) GetDeployment() string {
92 if x != nil {
93 return x.Deployment
94 }
95 return ""
96 }
97
98 func (x *GSuiteAddOnsLogEntry) GetError() *status.Status {
99 if x != nil {
100 return x.Error
101 }
102 return nil
103 }
104
105 func (x *GSuiteAddOnsLogEntry) GetDeploymentFunction() string {
106 if x != nil {
107 return x.DeploymentFunction
108 }
109 return ""
110 }
111
112 var File_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto protoreflect.FileDescriptor
113
114 var file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDesc = []byte{
115 0x0a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
116 0x73, 0x75, 0x69, 0x74, 0x65, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x67,
117 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x5f, 0x61,
118 0x64, 0x64, 0x5f, 0x6f, 0x6e, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79,
119 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
120 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x73, 0x75, 0x69, 0x74, 0x65, 0x61, 0x64, 0x64, 0x6f, 0x6e,
121 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x67, 0x6f,
122 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
123 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x14, 0x47, 0x53, 0x75, 0x69, 0x74, 0x65,
124 0x41, 0x64, 0x64, 0x4f, 0x6e, 0x73, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e,
125 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
126 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28,
127 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
128 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
129 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x6c,
130 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
131 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,
132 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x8d, 0x02, 0x0a, 0x28, 0x63, 0x6f,
133 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
134 0x73, 0x75, 0x69, 0x74, 0x65, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
135 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x47, 0x53, 0x75, 0x69, 0x74, 0x65, 0x41, 0x64,
136 0x64, 0x4f, 0x6e, 0x73, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74,
137 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
138 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
139 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
140 0x2f, 0x67, 0x73, 0x75, 0x69, 0x74, 0x65, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x6f,
141 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
142 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
143 0x47, 0x53, 0x75, 0x69, 0x74, 0x65, 0x41, 0x64, 0x64, 0x4f, 0x6e, 0x73, 0x2e, 0x4c, 0x6f, 0x67,
144 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
145 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x53, 0x75, 0x69, 0x74, 0x65, 0x41, 0x64, 0x64,
146 0x4f, 0x6e, 0x73, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02,
147 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
148 0x47, 0x53, 0x75, 0x69, 0x74, 0x65, 0x41, 0x64, 0x64, 0x4f, 0x6e, 0x73, 0x3a, 0x3a, 0x4c, 0x6f,
149 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
150 0x33,
151 }
152
153 var (
154 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescOnce sync.Once
155 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescData = file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDesc
156 )
157
158 func file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescGZIP() []byte {
159 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescOnce.Do(func() {
160 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescData)
161 })
162 return file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDescData
163 }
164
165 var file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
166 var file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_goTypes = []interface{}{
167 (*GSuiteAddOnsLogEntry)(nil), // 0: google.cloud.gsuiteaddons.logging.v1.GSuiteAddOnsLogEntry
168 (*status.Status)(nil), // 1: google.rpc.Status
169 }
170 var file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_depIdxs = []int32{
171 1, // 0: google.cloud.gsuiteaddons.logging.v1.GSuiteAddOnsLogEntry.error:type_name -> google.rpc.Status
172 1, // [1:1] is the sub-list for method output_type
173 1, // [1:1] is the sub-list for method input_type
174 1, // [1:1] is the sub-list for extension type_name
175 1, // [1:1] is the sub-list for extension extendee
176 0, // [0:1] is the sub-list for field type_name
177 }
178
179 func init() { file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_init() }
180 func file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_init() {
181 if File_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto != nil {
182 return
183 }
184 if !protoimpl.UnsafeEnabled {
185 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
186 switch v := v.(*GSuiteAddOnsLogEntry); i {
187 case 0:
188 return &v.state
189 case 1:
190 return &v.sizeCache
191 case 2:
192 return &v.unknownFields
193 default:
194 return nil
195 }
196 }
197 }
198 type x struct{}
199 out := protoimpl.TypeBuilder{
200 File: protoimpl.DescBuilder{
201 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
202 RawDescriptor: file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDesc,
203 NumEnums: 0,
204 NumMessages: 1,
205 NumExtensions: 0,
206 NumServices: 0,
207 },
208 GoTypes: file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_goTypes,
209 DependencyIndexes: file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_depIdxs,
210 MessageInfos: file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_msgTypes,
211 }.Build()
212 File_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto = out.File
213 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_rawDesc = nil
214 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_goTypes = nil
215 file_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto_depIdxs = nil
216 }