...

Source file src/cloud.google.com/go/logging/apiv2/loggingpb/log_entry.pb.go

Documentation: cloud.google.com/go/logging/apiv2/loggingpb

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

View as plain text