Debian Codegraph @

googleapis/chat/dynamite/integration/logging/v1/dynamite_integration_log_entry.pb.go

raw
1 // Copyright 2022 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/chat/dynamite/integration/logging/v1/dynamite_integration_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. If the Cloud Logging API is enabled, these
40 // error messages are logged to
41 // [Google Cloud Logging](https://cloud.google.com/logging/docs).
42 type DynamiteIntegrationLogEntry struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // The deployment that caused the error. For Chat bots built in Apps Script,
48 // this is the deployment ID defined by Apps Script.
49 Deployment string `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
50 // The error code and message.
51 Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
52 // The unencrypted `callback_method` name that was running when the error was
53 // encountered.
54 DeploymentFunction string `protobuf:"bytes,3,opt,name=deployment_function,json=deploymentFunction,proto3" json:"deployment_function,omitempty"`
55 }
56
57 func (x *DynamiteIntegrationLogEntry) Reset() {
58 *x = DynamiteIntegrationLogEntry{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *DynamiteIntegrationLogEntry) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*DynamiteIntegrationLogEntry) ProtoMessage() {}
71
72 func (x *DynamiteIntegrationLogEntry) ProtoReflect() protoreflect.Message {
73 mi := &file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use DynamiteIntegrationLogEntry.ProtoReflect.Descriptor instead.
85 func (*DynamiteIntegrationLogEntry) Descriptor() ([]byte, []int) {
86 return file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *DynamiteIntegrationLogEntry) GetDeployment() string {
90 if x != nil {
91 return x.Deployment
92 }
93 return ""
94 }
95
96 func (x *DynamiteIntegrationLogEntry) GetError() *status.Status {
97 if x != nil {
98 return x.Error
99 }
100 return nil
101 }
102
103 func (x *DynamiteIntegrationLogEntry) GetDeploymentFunction() string {
104 if x != nil {
105 return x.DeploymentFunction
106 }
107 return ""
108 }
109
110 var File_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto protoreflect.FileDescriptor
111
112 var file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDesc = []byte{
113 0x0a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x64, 0x79,
114 0x6e, 0x61, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69,
115 0x6f, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x79,
116 0x6e, 0x61, 0x6d, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69,
117 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f,
118 0x74, 0x6f, 0x12, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
119 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
120 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a,
121 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74,
122 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x1b, 0x44, 0x79, 0x6e,
123 0x61, 0x6d, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
124 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c,
125 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
126 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
127 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
128 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72,
129 0x6f, 0x72, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,
130 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
131 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74,
132 0x69, 0x6f, 0x6e, 0x42, 0xa9, 0x01, 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
133 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x74, 0x65,
134 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x6c, 0x6f, 0x67,
135 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x20, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x74,
136 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x45,
137 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x52, 0x67, 0x6f, 0x6f,
138 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
139 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
140 0x69, 0x73, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x74, 0x65,
141 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6c, 0x6f, 0x67,
142 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62,
143 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
144 }
145
146 var (
147 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescOnce sync.Once
148 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescData = file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDesc
149 )
150
151 func file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescGZIP() []byte {
152 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescOnce.Do(func() {
153 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescData)
154 })
155 return file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDescData
156 }
157
158 var file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
159 var file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_goTypes = []interface{}{
160 (*DynamiteIntegrationLogEntry)(nil), // 0: google.chat.dynamite.integration.logging.v1.DynamiteIntegrationLogEntry
161 (*status.Status)(nil), // 1: google.rpc.Status
162 }
163 var file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_depIdxs = []int32{
164 1, // 0: google.chat.dynamite.integration.logging.v1.DynamiteIntegrationLogEntry.error:type_name -> google.rpc.Status
165 1, // [1:1] is the sub-list for method output_type
166 1, // [1:1] is the sub-list for method input_type
167 1, // [1:1] is the sub-list for extension type_name
168 1, // [1:1] is the sub-list for extension extendee
169 0, // [0:1] is the sub-list for field type_name
170 }
171
172 func init() {
173 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_init()
174 }
175 func file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_init() {
176 if File_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto != nil {
177 return
178 }
179 if !protoimpl.UnsafeEnabled {
180 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
181 switch v := v.(*DynamiteIntegrationLogEntry); i {
182 case 0:
183 return &v.state
184 case 1:
185 return &v.sizeCache
186 case 2:
187 return &v.unknownFields
188 default:
189 return nil
190 }
191 }
192 }
193 type x struct{}
194 out := protoimpl.TypeBuilder{
195 File: protoimpl.DescBuilder{
196 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
197 RawDescriptor: file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDesc,
198 NumEnums: 0,
199 NumMessages: 1,
200 NumExtensions: 0,
201 NumServices: 0,
202 },
203 GoTypes: file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_goTypes,
204 DependencyIndexes: file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_depIdxs,
205 MessageInfos: file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_msgTypes,
206 }.Build()
207 File_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto = out.File
208 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_rawDesc = nil
209 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_goTypes = nil
210 file_google_chat_dynamite_integration_logging_v1_dynamite_integration_log_entry_proto_depIdxs = nil
211 }