| 1 |
// Copyright 2025 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.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/logging/v2/log_entry.proto |
| 20 |
|
| 21 |
package loggingpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" |
| 26 |
_type "google.golang.org/genproto/googleapis/logging/type" |
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
anypb "google.golang.org/protobuf/types/known/anypb" |
| 30 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 31 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 32 |
reflect "reflect" |
| 33 |
sync "sync" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// An individual entry in a log. |
| 44 |
type LogEntry struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
// Required. The resource name of the log to which this log entry belongs: |
| 50 |
// |
| 51 |
// "projects/[PROJECT_ID]/logs/[LOG_ID]" |
| 52 |
// "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" |
| 53 |
// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" |
| 54 |
// "folders/[FOLDER_ID]/logs/[LOG_ID]" |
| 55 |
// |
| 56 |
// A project number may be used in place of PROJECT_ID. The project number is |
| 57 |
// translated to its corresponding PROJECT_ID internally and the `log_name` |
| 58 |
// field will contain PROJECT_ID in queries and exports. |
| 59 |
// |
| 60 |
// `[LOG_ID]` must be URL-encoded within `log_name`. Example: |
| 61 |
// `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. |
| 62 |
// |
| 63 |
// `[LOG_ID]` must be less than 512 characters long and can only include the |
| 64 |
// following characters: upper and lower case alphanumeric characters, |
| 65 |
// forward-slash, underscore, hyphen, and period. |
| 66 |
// |
| 67 |
// For backward compatibility, if `log_name` begins with a forward-slash, such |
| 68 |
// as `/projects/...`, then the log entry is ingested as usual, but the |
| 69 |
// forward-slash is removed. Listing the log entry will not show the leading |
| 70 |
// slash and filtering for a log name with a leading slash will never return |
| 71 |
// any results. |
| 72 |
LogName string `protobuf:"bytes,12,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` |
| 73 |
// Required. The monitored resource that produced this log entry. |
| 74 |
// |
| 75 |
// Example: a log entry that reports a database error would be associated with |
| 76 |
// the monitored resource designating the particular database that reported |
| 77 |
// the error. |
| 78 |
Resource *monitoredres.MonitoredResource `protobuf:"bytes,8,opt,name=resource,proto3" json:"resource,omitempty"` |
| 79 |
// The log entry payload, which can be one of multiple types. |
| 80 |
// |
| 81 |
// Types that are assignable to Payload: |
| 82 |
// |
| 83 |
// *LogEntry_ProtoPayload |
| 84 |
// *LogEntry_TextPayload |
| 85 |
// *LogEntry_JsonPayload |
| 86 |
Payload isLogEntry_Payload `protobuf_oneof:"payload"` |
| 87 |
// Optional. The time the event described by the log entry occurred. This time |
| 88 |
// is used to compute the log entry's age and to enforce the logs retention |
| 89 |
// period. If this field is omitted in a new log entry, then Logging assigns |
| 90 |
// it the current time. Timestamps have nanosecond accuracy, but trailing |
| 91 |
// zeros in the fractional seconds might be omitted when the timestamp is |
| 92 |
// displayed. |
| 93 |
// |
| 94 |
// Incoming log entries must have timestamps that don't exceed the |
| 95 |
// [logs retention |
| 96 |
// period](https://cloud.google.com/logging/quotas#logs_retention_periods) in |
| 97 |
// the past, and that don't exceed 24 hours in the future. Log entries outside |
| 98 |
// those time boundaries aren't ingested by Logging. |
| 99 |
Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| 100 |
// Output only. The time the log entry was received by Logging. |
| 101 |
ReceiveTimestamp *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=receive_timestamp,json=receiveTimestamp,proto3" json:"receive_timestamp,omitempty"` |
| 102 |
// Optional. The severity of the log entry. The default value is |
| 103 |
// `LogSeverity.DEFAULT`. |
| 104 |
Severity _type.LogSeverity `protobuf:"varint,10,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"` |
| 105 |
// Optional. A unique identifier for the log entry. If you provide a value, |
| 106 |
// then Logging considers other log entries in the same project, with the same |
| 107 |
// `timestamp`, and with the same `insert_id` to be duplicates which are |
| 108 |
// removed in a single query result. However, there are no guarantees of |
| 109 |
// de-duplication in the export of logs. |
| 110 |
// |
| 111 |
// If the `insert_id` is omitted when writing a log entry, the Logging API |
| 112 |
// assigns its own unique identifier in this field. |
| 113 |
// |
| 114 |
// In queries, the `insert_id` is also used to order log entries that have |
| 115 |
// the same `log_name` and `timestamp` values. |
| 116 |
InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"` |
| 117 |
// Optional. Information about the HTTP request associated with this log |
| 118 |
// entry, if applicable. |
| 119 |
HttpRequest *_type.HttpRequest `protobuf:"bytes,7,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"` |
| 120 |
// Optional. A map of key, value pairs that provides additional information |
| 121 |
// about the log entry. The labels can be user-defined or system-defined. |
| 122 |
// |
| 123 |
// User-defined labels are arbitrary key, value pairs that you can use to |
| 124 |
// classify logs. |
| 125 |
// |
| 126 |
// System-defined labels are defined by GCP services for platform logs. |
| 127 |
// They have two components - a service namespace component and the |
| 128 |
// attribute name. For example: `compute.googleapis.com/resource_name`. |
| 129 |
// |
| 130 |
// Cloud Logging truncates label keys that exceed 512 B and label |
| 131 |
// values that exceed 64 KB upon their associated log entry being |
| 132 |
// written. The truncation is indicated by an ellipsis at the |
| 133 |
// end of the character string. |
| 134 |
Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 135 |
// Optional. Information about an operation associated with the log entry, if |
| 136 |
// applicable. |
| 137 |
Operation *LogEntryOperation `protobuf:"bytes,15,opt,name=operation,proto3" json:"operation,omitempty"` |
| 138 |
// Optional. The REST resource name of the trace being written to |
| 139 |
// [Cloud Trace](https://cloud.google.com/trace) in |
| 140 |
// association with this log entry. For example, if your trace data is stored |
| 141 |
// in the Cloud project "my-trace-project" and if the service that is creating |
| 142 |
// the log entry receives a trace header that includes the trace ID "12345", |
| 143 |
// then the service should use "projects/my-tracing-project/traces/12345". |
| 144 |
// |
| 145 |
// The `trace` field provides the link between logs and traces. By using |
| 146 |
// this field, you can navigate from a log entry to a trace. |
| 147 |
Trace string `protobuf:"bytes,22,opt,name=trace,proto3" json:"trace,omitempty"` |
| 148 |
// Optional. The ID of the [Cloud Trace](https://cloud.google.com/trace) span |
| 149 |
// associated with the current operation in which the log is being written. |
| 150 |
// For example, if a span has the REST resource name of |
| 151 |
// "projects/some-project/traces/some-trace/spans/some-span-id", then the |
| 152 |
// `span_id` field is "some-span-id". |
| 153 |
// |
| 154 |
// A |
| 155 |
// [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) |
| 156 |
// represents a single operation within a trace. Whereas a trace may involve |
| 157 |
// multiple different microservices running on multiple different machines, |
| 158 |
// a span generally corresponds to a single logical operation being performed |
| 159 |
// in a single instance of a microservice on one specific machine. Spans |
| 160 |
// are the nodes within the tree that is a trace. |
| 161 |
// |
| 162 |
// Applications that are [instrumented for |
| 163 |
// tracing](https://cloud.google.com/trace/docs/setup) will generally assign a |
| 164 |
// new, unique span ID on each incoming request. It is also common to create |
| 165 |
// and record additional spans corresponding to internal processing elements |
| 166 |
// as well as issuing requests to dependencies. |
| 167 |
// |
| 168 |
// The span ID is expected to be a 16-character, hexadecimal encoding of an |
| 169 |
// 8-byte array and should not be zero. It should be unique within the trace |
| 170 |
// and should, ideally, be generated in a manner that is uniformly random. |
| 171 |
// |
| 172 |
// Example values: |
| 173 |
// |
| 174 |
// - `000000000000004a` |
| 175 |
// - `7a2190356c3fc94b` |
| 176 |
// - `0000f00300090021` |
| 177 |
// - `d39223e101960076` |
| 178 |
SpanId string `protobuf:"bytes,27,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` |
| 179 |
// Optional. The sampling decision of the trace associated with the log entry. |
| 180 |
// |
| 181 |
// True means that the trace resource name in the `trace` field was sampled |
| 182 |
// for storage in a trace backend. False means that the trace was not sampled |
| 183 |
// for storage when this log entry was written, or the sampling decision was |
| 184 |
// unknown at the time. A non-sampled `trace` value is still useful as a |
| 185 |
// request correlation identifier. The default is False. |
| 186 |
TraceSampled bool `protobuf:"varint,30,opt,name=trace_sampled,json=traceSampled,proto3" json:"trace_sampled,omitempty"` |
| 187 |
// Optional. Source code location information associated with the log entry, |
| 188 |
// if any. |
| 189 |
SourceLocation *LogEntrySourceLocation `protobuf:"bytes,23,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` |
| 190 |
// Optional. Information indicating this LogEntry is part of a sequence of |
| 191 |
// multiple log entries split from a single LogEntry. |
| 192 |
Split *LogSplit `protobuf:"bytes,35,opt,name=split,proto3" json:"split,omitempty"` |
| 193 |
} |
| 194 |
|
| 195 |
func (x *LogEntry) Reset() { |
| 196 |
*x = LogEntry{} |
| 197 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[0] |
| 198 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 199 |
ms.StoreMessageInfo(mi) |
| 200 |
} |
| 201 |
|
| 202 |
func (x *LogEntry) String() string { |
| 203 |
return protoimpl.X.MessageStringOf(x) |
| 204 |
} |
| 205 |
|
| 206 |
func (*LogEntry) ProtoMessage() {} |
| 207 |
|
| 208 |
func (x *LogEntry) ProtoReflect() protoreflect.Message { |
| 209 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[0] |
| 210 |
if x != nil { |
| 211 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 212 |
if ms.LoadMessageInfo() == nil { |
| 213 |
ms.StoreMessageInfo(mi) |
| 214 |
} |
| 215 |
return ms |
| 216 |
} |
| 217 |
return mi.MessageOf(x) |
| 218 |
} |
| 219 |
|
| 220 |
// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead. |
| 221 |
func (*LogEntry) Descriptor() ([]byte, []int) { |
| 222 |
return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{0} |
| 223 |
} |
| 224 |
|
| 225 |
func (x *LogEntry) GetLogName() string { |
| 226 |
if x != nil { |
| 227 |
return x.LogName |
| 228 |
} |
| 229 |
return "" |
| 230 |
} |
| 231 |
|
| 232 |
func (x *LogEntry) GetResource() *monitoredres.MonitoredResource { |
| 233 |
if x != nil { |
| 234 |
return x.Resource |
| 235 |
} |
| 236 |
return nil |
| 237 |
} |
| 238 |
|
| 239 |
func (m *LogEntry) GetPayload() isLogEntry_Payload { |
| 240 |
if m != nil { |
| 241 |
return m.Payload |
| 242 |
} |
| 243 |
return nil |
| 244 |
} |
| 245 |
|
| 246 |
func (x *LogEntry) GetProtoPayload() *anypb.Any { |
| 247 |
if x, ok := x.GetPayload().(*LogEntry_ProtoPayload); ok { |
| 248 |
return x.ProtoPayload |
| 249 |
} |
| 250 |
return nil |
| 251 |
} |
| 252 |
|
| 253 |
func (x *LogEntry) GetTextPayload() string { |
| 254 |
if x, ok := x.GetPayload().(*LogEntry_TextPayload); ok { |
| 255 |
return x.TextPayload |
| 256 |
} |
| 257 |
return "" |
| 258 |
} |
| 259 |
|
| 260 |
func (x *LogEntry) GetJsonPayload() *structpb.Struct { |
| 261 |
if x, ok := x.GetPayload().(*LogEntry_JsonPayload); ok { |
| 262 |
return x.JsonPayload |
| 263 |
} |
| 264 |
return nil |
| 265 |
} |
| 266 |
|
| 267 |
func (x *LogEntry) GetTimestamp() *timestamppb.Timestamp { |
| 268 |
if x != nil { |
| 269 |
return x.Timestamp |
| 270 |
} |
| 271 |
return nil |
| 272 |
} |
| 273 |
|
| 274 |
func (x *LogEntry) GetReceiveTimestamp() *timestamppb.Timestamp { |
| 275 |
if x != nil { |
| 276 |
return x.ReceiveTimestamp |
| 277 |
} |
| 278 |
return nil |
| 279 |
} |
| 280 |
|
| 281 |
func (x *LogEntry) GetSeverity() _type.LogSeverity { |
| 282 |
if x != nil { |
| 283 |
return x.Severity |
| 284 |
} |
| 285 |
return _type.LogSeverity(0) |
| 286 |
} |
| 287 |
|
| 288 |
func (x *LogEntry) GetInsertId() string { |
| 289 |
if x != nil { |
| 290 |
return x.InsertId |
| 291 |
} |
| 292 |
return "" |
| 293 |
} |
| 294 |
|
| 295 |
func (x *LogEntry) GetHttpRequest() *_type.HttpRequest { |
| 296 |
if x != nil { |
| 297 |
return x.HttpRequest |
| 298 |
} |
| 299 |
return nil |
| 300 |
} |
| 301 |
|
| 302 |
func (x *LogEntry) GetLabels() map[string]string { |
| 303 |
if x != nil { |
| 304 |
return x.Labels |
| 305 |
} |
| 306 |
return nil |
| 307 |
} |
| 308 |
|
| 309 |
func (x *LogEntry) GetOperation() *LogEntryOperation { |
| 310 |
if x != nil { |
| 311 |
return x.Operation |
| 312 |
} |
| 313 |
return nil |
| 314 |
} |
| 315 |
|
| 316 |
func (x *LogEntry) GetTrace() string { |
| 317 |
if x != nil { |
| 318 |
return x.Trace |
| 319 |
} |
| 320 |
return "" |
| 321 |
} |
| 322 |
|
| 323 |
func (x *LogEntry) GetSpanId() string { |
| 324 |
if x != nil { |
| 325 |
return x.SpanId |
| 326 |
} |
| 327 |
return "" |
| 328 |
} |
| 329 |
|
| 330 |
func (x *LogEntry) GetTraceSampled() bool { |
| 331 |
if x != nil { |
| 332 |
return x.TraceSampled |
| 333 |
} |
| 334 |
return false |
| 335 |
} |
| 336 |
|
| 337 |
func (x *LogEntry) GetSourceLocation() *LogEntrySourceLocation { |
| 338 |
if x != nil { |
| 339 |
return x.SourceLocation |
| 340 |
} |
| 341 |
return nil |
| 342 |
} |
| 343 |
|
| 344 |
func (x *LogEntry) GetSplit() *LogSplit { |
| 345 |
if x != nil { |
| 346 |
return x.Split |
| 347 |
} |
| 348 |
return nil |
| 349 |
} |
| 350 |
|
| 351 |
type isLogEntry_Payload interface { |
| 352 |
isLogEntry_Payload() |
| 353 |
} |
| 354 |
|
| 355 |
type LogEntry_ProtoPayload struct { |
| 356 |
// The log entry payload, represented as a protocol buffer. Some Google |
| 357 |
// Cloud Platform services use this field for their log entry payloads. |
| 358 |
// |
| 359 |
// The following protocol buffer types are supported; user-defined types |
| 360 |
// are not supported: |
| 361 |
// |
| 362 |
// "type.googleapis.com/google.cloud.audit.AuditLog" |
| 363 |
// "type.googleapis.com/google.appengine.logging.v1.RequestLog" |
| 364 |
ProtoPayload *anypb.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,proto3,oneof"` |
| 365 |
} |
| 366 |
|
| 367 |
type LogEntry_TextPayload struct { |
| 368 |
// The log entry payload, represented as a Unicode string (UTF-8). |
| 369 |
TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"` |
| 370 |
} |
| 371 |
|
| 372 |
type LogEntry_JsonPayload struct { |
| 373 |
// The log entry payload, represented as a structure that is |
| 374 |
// expressed as a JSON object. |
| 375 |
JsonPayload *structpb.Struct `protobuf:"bytes,6,opt,name=json_payload,json=jsonPayload,proto3,oneof"` |
| 376 |
} |
| 377 |
|
| 378 |
func (*LogEntry_ProtoPayload) isLogEntry_Payload() {} |
| 379 |
|
| 380 |
func (*LogEntry_TextPayload) isLogEntry_Payload() {} |
| 381 |
|
| 382 |
func (*LogEntry_JsonPayload) isLogEntry_Payload() {} |
| 383 |
|
| 384 |
// Additional information about a potentially long-running operation with which |
| 385 |
// a log entry is associated. |
| 386 |
type LogEntryOperation struct { |
| 387 |
state protoimpl.MessageState |
| 388 |
sizeCache protoimpl.SizeCache |
| 389 |
unknownFields protoimpl.UnknownFields |
| 390 |
|
| 391 |
// Optional. An arbitrary operation identifier. Log entries with the same |
| 392 |
// identifier are assumed to be part of the same operation. |
| 393 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 394 |
// Optional. An arbitrary producer identifier. The combination of `id` and |
| 395 |
// `producer` must be globally unique. Examples for `producer`: |
| 396 |
// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. |
| 397 |
Producer string `protobuf:"bytes,2,opt,name=producer,proto3" json:"producer,omitempty"` |
| 398 |
// Optional. Set this to True if this is the first log entry in the operation. |
| 399 |
First bool `protobuf:"varint,3,opt,name=first,proto3" json:"first,omitempty"` |
| 400 |
// Optional. Set this to True if this is the last log entry in the operation. |
| 401 |
Last bool `protobuf:"varint,4,opt,name=last,proto3" json:"last,omitempty"` |
| 402 |
} |
| 403 |
|
| 404 |
func (x *LogEntryOperation) Reset() { |
| 405 |
*x = LogEntryOperation{} |
| 406 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[1] |
| 407 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 408 |
ms.StoreMessageInfo(mi) |
| 409 |
} |
| 410 |
|
| 411 |
func (x *LogEntryOperation) String() string { |
| 412 |
return protoimpl.X.MessageStringOf(x) |
| 413 |
} |
| 414 |
|
| 415 |
func (*LogEntryOperation) ProtoMessage() {} |
| 416 |
|
| 417 |
func (x *LogEntryOperation) ProtoReflect() protoreflect.Message { |
| 418 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[1] |
| 419 |
if x != nil { |
| 420 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 421 |
if ms.LoadMessageInfo() == nil { |
| 422 |
ms.StoreMessageInfo(mi) |
| 423 |
} |
| 424 |
return ms |
| 425 |
} |
| 426 |
return mi.MessageOf(x) |
| 427 |
} |
| 428 |
|
| 429 |
// Deprecated: Use LogEntryOperation.ProtoReflect.Descriptor instead. |
| 430 |
func (*LogEntryOperation) Descriptor() ([]byte, []int) { |
| 431 |
return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{1} |
| 432 |
} |
| 433 |
|
| 434 |
func (x *LogEntryOperation) GetId() string { |
| 435 |
if x != nil { |
| 436 |
return x.Id |
| 437 |
} |
| 438 |
return "" |
| 439 |
} |
| 440 |
|
| 441 |
func (x *LogEntryOperation) GetProducer() string { |
| 442 |
if x != nil { |
| 443 |
return x.Producer |
| 444 |
} |
| 445 |
return "" |
| 446 |
} |
| 447 |
|
| 448 |
func (x *LogEntryOperation) GetFirst() bool { |
| 449 |
if x != nil { |
| 450 |
return x.First |
| 451 |
} |
| 452 |
return false |
| 453 |
} |
| 454 |
|
| 455 |
func (x *LogEntryOperation) GetLast() bool { |
| 456 |
if x != nil { |
| 457 |
return x.Last |
| 458 |
} |
| 459 |
return false |
| 460 |
} |
| 461 |
|
| 462 |
// Additional information about the source code location that produced the log |
| 463 |
// entry. |
| 464 |
type LogEntrySourceLocation struct { |
| 465 |
state protoimpl.MessageState |
| 466 |
sizeCache protoimpl.SizeCache |
| 467 |
unknownFields protoimpl.UnknownFields |
| 468 |
|
| 469 |
// Optional. Source file name. Depending on the runtime environment, this |
| 470 |
// might be a simple name or a fully-qualified name. |
| 471 |
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` |
| 472 |
// Optional. Line within the source file. 1-based; 0 indicates no line number |
| 473 |
// available. |
| 474 |
Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` |
| 475 |
// Optional. Human-readable name of the function or method being invoked, with |
| 476 |
// optional context such as the class or package name. This information may be |
| 477 |
// used in contexts such as the logs viewer, where a file and line number are |
| 478 |
// less meaningful. The format can vary by language. For example: |
| 479 |
// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` |
| 480 |
// (Python). |
| 481 |
Function string `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` |
| 482 |
} |
| 483 |
|
| 484 |
func (x *LogEntrySourceLocation) Reset() { |
| 485 |
*x = LogEntrySourceLocation{} |
| 486 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[2] |
| 487 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 488 |
ms.StoreMessageInfo(mi) |
| 489 |
} |
| 490 |
|
| 491 |
func (x *LogEntrySourceLocation) String() string { |
| 492 |
return protoimpl.X.MessageStringOf(x) |
| 493 |
} |
| 494 |
|
| 495 |
func (*LogEntrySourceLocation) ProtoMessage() {} |
| 496 |
|
| 497 |
func (x *LogEntrySourceLocation) ProtoReflect() protoreflect.Message { |
| 498 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[2] |
| 499 |
if x != nil { |
| 500 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 501 |
if ms.LoadMessageInfo() == nil { |
| 502 |
ms.StoreMessageInfo(mi) |
| 503 |
} |
| 504 |
return ms |
| 505 |
} |
| 506 |
return mi.MessageOf(x) |
| 507 |
} |
| 508 |
|
| 509 |
// Deprecated: Use LogEntrySourceLocation.ProtoReflect.Descriptor instead. |
| 510 |
func (*LogEntrySourceLocation) Descriptor() ([]byte, []int) { |
| 511 |
return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{2} |
| 512 |
} |
| 513 |
|
| 514 |
func (x *LogEntrySourceLocation) GetFile() string { |
| 515 |
if x != nil { |
| 516 |
return x.File |
| 517 |
} |
| 518 |
return "" |
| 519 |
} |
| 520 |
|
| 521 |
func (x *LogEntrySourceLocation) GetLine() int64 { |
| 522 |
if x != nil { |
| 523 |
return x.Line |
| 524 |
} |
| 525 |
return 0 |
| 526 |
} |
| 527 |
|
| 528 |
func (x *LogEntrySourceLocation) GetFunction() string { |
| 529 |
if x != nil { |
| 530 |
return x.Function |
| 531 |
} |
| 532 |
return "" |
| 533 |
} |
| 534 |
|
| 535 |
// Additional information used to correlate multiple log entries. Used when a |
| 536 |
// single LogEntry would exceed the Google Cloud Logging size limit and is |
| 537 |
// split across multiple log entries. |
| 538 |
type LogSplit struct { |
| 539 |
state protoimpl.MessageState |
| 540 |
sizeCache protoimpl.SizeCache |
| 541 |
unknownFields protoimpl.UnknownFields |
| 542 |
|
| 543 |
// A globally unique identifier for all log entries in a sequence of split log |
| 544 |
// entries. All log entries with the same |LogSplit.uid| are assumed to be |
| 545 |
// part of the same sequence of split log entries. |
| 546 |
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` |
| 547 |
// The index of this LogEntry in the sequence of split log entries. Log |
| 548 |
// entries are given |index| values 0, 1, ..., n-1 for a sequence of n log |
| 549 |
// entries. |
| 550 |
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` |
| 551 |
// The total number of log entries that the original LogEntry was split into. |
| 552 |
TotalSplits int32 `protobuf:"varint,3,opt,name=total_splits,json=totalSplits,proto3" json:"total_splits,omitempty"` |
| 553 |
} |
| 554 |
|
| 555 |
func (x *LogSplit) Reset() { |
| 556 |
*x = LogSplit{} |
| 557 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[3] |
| 558 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 559 |
ms.StoreMessageInfo(mi) |
| 560 |
} |
| 561 |
|
| 562 |
func (x *LogSplit) String() string { |
| 563 |
return protoimpl.X.MessageStringOf(x) |
| 564 |
} |
| 565 |
|
| 566 |
func (*LogSplit) ProtoMessage() {} |
| 567 |
|
| 568 |
func (x *LogSplit) ProtoReflect() protoreflect.Message { |
| 569 |
mi := &file_google_logging_v2_log_entry_proto_msgTypes[3] |
| 570 |
if x != nil { |
| 571 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 572 |
if ms.LoadMessageInfo() == nil { |
| 573 |
ms.StoreMessageInfo(mi) |
| 574 |
} |
| 575 |
return ms |
| 576 |
} |
| 577 |
return mi.MessageOf(x) |
| 578 |
} |
| 579 |
|
| 580 |
// Deprecated: Use LogSplit.ProtoReflect.Descriptor instead. |
| 581 |
func (*LogSplit) Descriptor() ([]byte, []int) { |
| 582 |
return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{3} |
| 583 |
} |
| 584 |
|
| 585 |
func (x *LogSplit) GetUid() string { |
| 586 |
if x != nil { |
| 587 |
return x.Uid |
| 588 |
} |
| 589 |
return "" |
| 590 |
} |
| 591 |
|
| 592 |
func (x *LogSplit) GetIndex() int32 { |
| 593 |
if x != nil { |
| 594 |
return x.Index |
| 595 |
} |
| 596 |
return 0 |
| 597 |
} |
| 598 |
|
| 599 |
func (x *LogSplit) GetTotalSplits() int32 { |
| 600 |
if x != nil { |
| 601 |
return x.TotalSplits |
| 602 |
} |
| 603 |
return 0 |
| 604 |
} |
| 605 |
|
| 606 |
var File_google_logging_v2_log_entry_proto protoreflect.FileDescriptor |
| 607 |
|
| 608 |
var file_google_logging_v2_log_entry_proto_rawDesc = []byte{ |
| 609 |
0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, |
| 610 |
0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, |
| 611 |
0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, |
| 612 |
0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 613 |
0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, |
| 614 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 615 |
0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, |
| 616 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, |
| 617 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 618 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 619 |
0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x68, 0x74, 0x74, |
| 620 |
0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 621 |
0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, |
| 622 |
0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, |
| 623 |
0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 624 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, |
| 625 |
0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 626 |
0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 627 |
0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 628 |
0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 629 |
0x6f, 0x22, 0xcf, 0x09, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e, |
| 630 |
0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, |
| 631 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, |
| 632 |
0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, |
| 633 |
0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, |
| 634 |
0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, |
| 635 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3b, |
| 636 |
0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, |
| 637 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 638 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x70, |
| 639 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74, |
| 640 |
0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 641 |
0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, |
| 642 |
0x12, 0x3c, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, |
| 643 |
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 644 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, |
| 645 |
0x00, 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3d, |
| 646 |
0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, |
| 647 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 648 |
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, |
| 649 |
0x41, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4c, 0x0a, |
| 650 |
0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 651 |
0x6d, 0x70, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 652 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, |
| 653 |
0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, |
| 654 |
0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x41, 0x0a, 0x08, 0x73, |
| 655 |
0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, |
| 656 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x74, |
| 657 |
0x79, 0x70, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x42, |
| 658 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x20, |
| 659 |
0x0a, 0x09, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 660 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x49, 0x64, |
| 661 |
0x12, 0x48, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 662 |
0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 663 |
0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x48, 0x74, 0x74, |
| 664 |
0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x68, |
| 665 |
0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, |
| 666 |
0x62, 0x65, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, |
| 667 |
0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, |
| 668 |
0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, |
| 669 |
0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, |
| 670 |
0x12, 0x47, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, |
| 671 |
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, |
| 672 |
0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 673 |
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, |
| 674 |
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x72, 0x61, |
| 675 |
0x63, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x74, |
| 676 |
0x72, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, |
| 677 |
0x1b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, |
| 678 |
0x49, 0x64, 0x12, 0x28, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x61, 0x6d, 0x70, |
| 679 |
0x6c, 0x65, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, |
| 680 |
0x74, 0x72, 0x61, 0x63, 0x65, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x64, 0x12, 0x57, 0x0a, 0x0f, |
| 681 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 682 |
0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, |
| 683 |
0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, |
| 684 |
0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 685 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, |
| 686 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x18, 0x23, |
| 687 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, |
| 688 |
0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x70, 0x6c, 0x69, |
| 689 |
0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x1a, 0x39, 0x0a, |
| 690 |
0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, |
| 691 |
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, |
| 692 |
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, |
| 693 |
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0xbd, 0x01, 0xea, 0x41, 0xb9, 0x01, 0x0a, |
| 694 |
0x1a, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 695 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x67, 0x12, 0x1d, 0x70, 0x72, 0x6f, |
| 696 |
0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, |
| 697 |
0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x67, 0x7d, 0x12, 0x27, 0x6f, 0x72, 0x67, 0x61, |
| 698 |
0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, |
| 699 |
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, |
| 700 |
0x6f, 0x67, 0x7d, 0x12, 0x1b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, |
| 701 |
0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x67, 0x7d, |
| 702 |
0x12, 0x2c, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 703 |
0x73, 0x2f, 0x7b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 704 |
0x6e, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x67, 0x7d, 0x1a, 0x08, |
| 705 |
0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, |
| 706 |
0x6f, 0x61, 0x64, 0x22, 0x7d, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4f, |
| 707 |
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, |
| 708 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, |
| 709 |
0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 710 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x12, 0x19, |
| 711 |
0x0a, 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, |
| 712 |
0x41, 0x01, 0x52, 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6c, 0x61, 0x73, |
| 713 |
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x61, |
| 714 |
0x73, 0x74, 0x22, 0x6b, 0x0a, 0x16, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x6f, |
| 715 |
0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, |
| 716 |
0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 717 |
0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, |
| 718 |
0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x1f, |
| 719 |
0x0a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, |
| 720 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, |
| 721 |
0x55, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, |
| 722 |
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, |
| 723 |
0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, |
| 724 |
0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x70, 0x6c, |
| 725 |
0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, |
| 726 |
0x53, 0x70, 0x6c, 0x69, 0x74, 0x73, 0x42, 0xb3, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 727 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, |
| 728 |
0x42, 0x0d, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 729 |
0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 730 |
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x61, |
| 731 |
0x70, 0x69, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b, 0x6c, |
| 732 |
0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x17, 0x47, 0x6f, |
| 733 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, |
| 734 |
0x6e, 0x67, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, |
| 735 |
0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x32, 0xea, |
| 736 |
0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, |
| 737 |
0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, |
| 738 |
0x6f, 0x74, 0x6f, 0x33, |
| 739 |
} |
| 740 |
|
| 741 |
var ( |
| 742 |
file_google_logging_v2_log_entry_proto_rawDescOnce sync.Once |
| 743 |
file_google_logging_v2_log_entry_proto_rawDescData = file_google_logging_v2_log_entry_proto_rawDesc |
| 744 |
) |
| 745 |
|
| 746 |
func file_google_logging_v2_log_entry_proto_rawDescGZIP() []byte { |
| 747 |
file_google_logging_v2_log_entry_proto_rawDescOnce.Do(func() { |
| 748 |
file_google_logging_v2_log_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_logging_v2_log_entry_proto_rawDescData) |
| 749 |
}) |
| 750 |
return file_google_logging_v2_log_entry_proto_rawDescData |
| 751 |
} |
| 752 |
|
| 753 |
var file_google_logging_v2_log_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 754 |
var file_google_logging_v2_log_entry_proto_goTypes = []any{ |
| 755 |
(*LogEntry)(nil), // 0: google.logging.v2.LogEntry |
| 756 |
(*LogEntryOperation)(nil), // 1: google.logging.v2.LogEntryOperation |
| 757 |
(*LogEntrySourceLocation)(nil), // 2: google.logging.v2.LogEntrySourceLocation |
| 758 |
(*LogSplit)(nil), // 3: google.logging.v2.LogSplit |
| 759 |
nil, // 4: google.logging.v2.LogEntry.LabelsEntry |
| 760 |
(*monitoredres.MonitoredResource)(nil), // 5: google.api.MonitoredResource |
| 761 |
(*anypb.Any)(nil), // 6: google.protobuf.Any |
| 762 |
(*structpb.Struct)(nil), // 7: google.protobuf.Struct |
| 763 |
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp |
| 764 |
(_type.LogSeverity)(0), // 9: google.logging.type.LogSeverity |
| 765 |
(*_type.HttpRequest)(nil), // 10: google.logging.type.HttpRequest |
| 766 |
} |
| 767 |
var file_google_logging_v2_log_entry_proto_depIdxs = []int32{ |
| 768 |
5, // 0: google.logging.v2.LogEntry.resource:type_name -> google.api.MonitoredResource |
| 769 |
6, // 1: google.logging.v2.LogEntry.proto_payload:type_name -> google.protobuf.Any |
| 770 |
7, // 2: google.logging.v2.LogEntry.json_payload:type_name -> google.protobuf.Struct |
| 771 |
8, // 3: google.logging.v2.LogEntry.timestamp:type_name -> google.protobuf.Timestamp |
| 772 |
8, // 4: google.logging.v2.LogEntry.receive_timestamp:type_name -> google.protobuf.Timestamp |
| 773 |
9, // 5: google.logging.v2.LogEntry.severity:type_name -> google.logging.type.LogSeverity |
| 774 |
10, // 6: google.logging.v2.LogEntry.http_request:type_name -> google.logging.type.HttpRequest |
| 775 |
4, // 7: google.logging.v2.LogEntry.labels:type_name -> google.logging.v2.LogEntry.LabelsEntry |
| 776 |
1, // 8: google.logging.v2.LogEntry.operation:type_name -> google.logging.v2.LogEntryOperation |
| 777 |
2, // 9: google.logging.v2.LogEntry.source_location:type_name -> google.logging.v2.LogEntrySourceLocation |
| 778 |
3, // 10: google.logging.v2.LogEntry.split:type_name -> google.logging.v2.LogSplit |
| 779 |
11, // [11:11] is the sub-list for method output_type |
| 780 |
11, // [11:11] is the sub-list for method input_type |
| 781 |
11, // [11:11] is the sub-list for extension type_name |
| 782 |
11, // [11:11] is the sub-list for extension extendee |
| 783 |
0, // [0:11] is the sub-list for field type_name |
| 784 |
} |
| 785 |
|
| 786 |
func init() { file_google_logging_v2_log_entry_proto_init() } |
| 787 |
func file_google_logging_v2_log_entry_proto_init() { |
| 788 |
if File_google_logging_v2_log_entry_proto != nil { |
| 789 |
return |
| 790 |
} |
| 791 |
file_google_logging_v2_log_entry_proto_msgTypes[0].OneofWrappers = []any{ |
| 792 |
(*LogEntry_ProtoPayload)(nil), |
| 793 |
(*LogEntry_TextPayload)(nil), |
| 794 |
(*LogEntry_JsonPayload)(nil), |
| 795 |
} |
| 796 |
type x struct{} |
| 797 |
out := protoimpl.TypeBuilder{ |
| 798 |
File: protoimpl.DescBuilder{ |
| 799 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 800 |
RawDescriptor: file_google_logging_v2_log_entry_proto_rawDesc, |
| 801 |
NumEnums: 0, |
| 802 |
NumMessages: 5, |
| 803 |
NumExtensions: 0, |
| 804 |
NumServices: 0, |
| 805 |
}, |
| 806 |
GoTypes: file_google_logging_v2_log_entry_proto_goTypes, |
| 807 |
DependencyIndexes: file_google_logging_v2_log_entry_proto_depIdxs, |
| 808 |
MessageInfos: file_google_logging_v2_log_entry_proto_msgTypes, |
| 809 |
}.Build() |
| 810 |
File_google_logging_v2_log_entry_proto = out.File |
| 811 |
file_google_logging_v2_log_entry_proto_rawDesc = nil |
| 812 |
file_google_logging_v2_log_entry_proto_goTypes = nil |
| 813 |
file_google_logging_v2_log_entry_proto_depIdxs = nil |
| 814 |
} |