@ondewo/nlu-client-typescript 6.13.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +48 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +244 -0
- package/api/ondewo/nlu/agent_pb.d.ts +196 -15
- package/api/ondewo/nlu/agent_pb.js +1627 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +0 -50
- package/api/ondewo/nlu/ccai_project_pb.d.ts +6 -93
- package/api/ondewo/nlu/ccai_project_pb.js +24 -132
- package/api/ondewo/nlu/common_pb.d.ts +140 -0
- package/api/ondewo/nlu/common_pb.js +1151 -9
- package/api/ondewo/nlu/context_pb.d.ts +8 -1
- package/api/ondewo/nlu/context_pb.js +22 -4
- package/api/ondewo/nlu/llm_evaluation_pb.d.ts +40 -5
- package/api/ondewo/nlu/llm_evaluation_pb.js +110 -20
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +241 -0
- package/api/ondewo/nlu/operations_pb.d.ts +429 -10
- package/api/ondewo/nlu/operations_pb.js +3413 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +0 -10
- package/api/ondewo/nlu/rag_pb.d.ts +191 -520
- package/api/ondewo/nlu/rag_pb.js +1246 -1058
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +120 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +610 -0
- package/api/ondewo/nlu/session_pb.d.ts +818 -118
- package/api/ondewo/nlu/session_pb.js +6396 -3
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +59 -13
- package/api/ondewo/nlu/user_grpc_web_pb.js +300 -61
- package/api/ondewo/nlu/user_pb.d.ts +0 -87
- package/api/ondewo/nlu/user_pb.js +0 -436
- package/auth/offlineTokenProvider.d.ts +195 -0
- package/auth/offlineTokenProvider.js +372 -0
- package/package.json +11 -8
- package/public-api.d.ts +31 -31
- package/public-api.js +28 -28
- package/api/google/logging/v2/log_entry_pb.d.ts +0 -172
- package/api/google/logging/v2/log_entry_pb.js +0 -1333
|
@@ -1,1333 +0,0 @@
|
|
|
1
|
-
// source: google/logging/v2/log_entry.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
|
|
14
|
-
var jspb = require('google-protobuf');
|
|
15
|
-
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
-
(typeof window !== 'undefined' && window) ||
|
|
19
|
-
(typeof global !== 'undefined' && global) ||
|
|
20
|
-
(typeof self !== 'undefined' && self) ||
|
|
21
|
-
(function () { return this; }).call(null) ||
|
|
22
|
-
Function('return this')();
|
|
23
|
-
|
|
24
|
-
var google_api_annotations_pb = require('../../../google/api/annotations_pb.js');
|
|
25
|
-
goog.object.extend(proto, google_api_annotations_pb);
|
|
26
|
-
var google_api_monitored_resource_pb = require('../../../google/api/monitored_resource_pb.js');
|
|
27
|
-
goog.object.extend(proto, google_api_monitored_resource_pb);
|
|
28
|
-
var google_logging_type_http_request_pb = require('../../../google/logging/type/http_request_pb.js');
|
|
29
|
-
goog.object.extend(proto, google_logging_type_http_request_pb);
|
|
30
|
-
var google_logging_type_log_severity_pb = require('../../../google/logging/type/log_severity_pb.js');
|
|
31
|
-
goog.object.extend(proto, google_logging_type_log_severity_pb);
|
|
32
|
-
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
33
|
-
goog.object.extend(proto, google_protobuf_any_pb);
|
|
34
|
-
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
35
|
-
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
36
|
-
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
37
|
-
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
38
|
-
goog.exportSymbol('proto.google.logging.v2.LogEntry', null, global);
|
|
39
|
-
goog.exportSymbol('proto.google.logging.v2.LogEntry.PayloadCase', null, global);
|
|
40
|
-
goog.exportSymbol('proto.google.logging.v2.LogEntryOperation', null, global);
|
|
41
|
-
goog.exportSymbol('proto.google.logging.v2.LogEntrySourceLocation', null, global);
|
|
42
|
-
/**
|
|
43
|
-
* Generated by JsPbCodeGenerator.
|
|
44
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
45
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
46
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
47
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
48
|
-
* valid.
|
|
49
|
-
* @extends {jspb.Message}
|
|
50
|
-
* @constructor
|
|
51
|
-
*/
|
|
52
|
-
proto.google.logging.v2.LogEntry = function(opt_data) {
|
|
53
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.logging.v2.LogEntry.oneofGroups_);
|
|
54
|
-
};
|
|
55
|
-
goog.inherits(proto.google.logging.v2.LogEntry, jspb.Message);
|
|
56
|
-
if (goog.DEBUG && !COMPILED) {
|
|
57
|
-
/**
|
|
58
|
-
* @public
|
|
59
|
-
* @override
|
|
60
|
-
*/
|
|
61
|
-
proto.google.logging.v2.LogEntry.displayName = 'proto.google.logging.v2.LogEntry';
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Generated by JsPbCodeGenerator.
|
|
65
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
66
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
67
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
68
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
69
|
-
* valid.
|
|
70
|
-
* @extends {jspb.Message}
|
|
71
|
-
* @constructor
|
|
72
|
-
*/
|
|
73
|
-
proto.google.logging.v2.LogEntryOperation = function(opt_data) {
|
|
74
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
75
|
-
};
|
|
76
|
-
goog.inherits(proto.google.logging.v2.LogEntryOperation, jspb.Message);
|
|
77
|
-
if (goog.DEBUG && !COMPILED) {
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
* @override
|
|
81
|
-
*/
|
|
82
|
-
proto.google.logging.v2.LogEntryOperation.displayName = 'proto.google.logging.v2.LogEntryOperation';
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Generated by JsPbCodeGenerator.
|
|
86
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
87
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
88
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
89
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
90
|
-
* valid.
|
|
91
|
-
* @extends {jspb.Message}
|
|
92
|
-
* @constructor
|
|
93
|
-
*/
|
|
94
|
-
proto.google.logging.v2.LogEntrySourceLocation = function(opt_data) {
|
|
95
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
96
|
-
};
|
|
97
|
-
goog.inherits(proto.google.logging.v2.LogEntrySourceLocation, jspb.Message);
|
|
98
|
-
if (goog.DEBUG && !COMPILED) {
|
|
99
|
-
/**
|
|
100
|
-
* @public
|
|
101
|
-
* @override
|
|
102
|
-
*/
|
|
103
|
-
proto.google.logging.v2.LogEntrySourceLocation.displayName = 'proto.google.logging.v2.LogEntrySourceLocation';
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
108
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
109
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
110
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
111
|
-
* @private {!Array<!Array<number>>}
|
|
112
|
-
* @const
|
|
113
|
-
*/
|
|
114
|
-
proto.google.logging.v2.LogEntry.oneofGroups_ = [[2,3,6]];
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @enum {number}
|
|
118
|
-
*/
|
|
119
|
-
proto.google.logging.v2.LogEntry.PayloadCase = {
|
|
120
|
-
PAYLOAD_NOT_SET: 0,
|
|
121
|
-
PROTO_PAYLOAD: 2,
|
|
122
|
-
TEXT_PAYLOAD: 3,
|
|
123
|
-
JSON_PAYLOAD: 6
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @return {proto.google.logging.v2.LogEntry.PayloadCase}
|
|
128
|
-
*/
|
|
129
|
-
proto.google.logging.v2.LogEntry.prototype.getPayloadCase = function() {
|
|
130
|
-
return /** @type {proto.google.logging.v2.LogEntry.PayloadCase} */(jspb.Message.computeOneofCase(this, proto.google.logging.v2.LogEntry.oneofGroups_[0]));
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
136
|
-
/**
|
|
137
|
-
* Creates an object representation of this proto.
|
|
138
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
139
|
-
* Optional fields that are not set will be set to undefined.
|
|
140
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
141
|
-
* For the list of reserved names please see:
|
|
142
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
143
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
144
|
-
* JSPB instance for transitional soy proto support:
|
|
145
|
-
* http://goto/soy-param-migration
|
|
146
|
-
* @return {!Object}
|
|
147
|
-
*/
|
|
148
|
-
proto.google.logging.v2.LogEntry.prototype.toObject = function(opt_includeInstance) {
|
|
149
|
-
return proto.google.logging.v2.LogEntry.toObject(opt_includeInstance, this);
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Static version of the {@see toObject} method.
|
|
155
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
156
|
-
* the JSPB instance for transitional soy proto support:
|
|
157
|
-
* http://goto/soy-param-migration
|
|
158
|
-
* @param {!proto.google.logging.v2.LogEntry} msg The msg instance to transform.
|
|
159
|
-
* @return {!Object}
|
|
160
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
161
|
-
*/
|
|
162
|
-
proto.google.logging.v2.LogEntry.toObject = function(includeInstance, msg) {
|
|
163
|
-
var f, obj = {
|
|
164
|
-
logName: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
165
|
-
resource: (f = msg.getResource()) && google_api_monitored_resource_pb.MonitoredResource.toObject(includeInstance, f),
|
|
166
|
-
protoPayload: (f = msg.getProtoPayload()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
|
|
167
|
-
textPayload: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
168
|
-
jsonPayload: (f = msg.getJsonPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
169
|
-
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
170
|
-
receiveTimestamp: (f = msg.getReceiveTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
171
|
-
severity: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
172
|
-
insertId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
173
|
-
httpRequest: (f = msg.getHttpRequest()) && google_logging_type_http_request_pb.HttpRequest.toObject(includeInstance, f),
|
|
174
|
-
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
175
|
-
metadata: (f = msg.getMetadata()) && google_api_monitored_resource_pb.MonitoredResourceMetadata.toObject(includeInstance, f),
|
|
176
|
-
operation: (f = msg.getOperation()) && proto.google.logging.v2.LogEntryOperation.toObject(includeInstance, f),
|
|
177
|
-
trace: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
178
|
-
spanId: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
179
|
-
sourceLocation: (f = msg.getSourceLocation()) && proto.google.logging.v2.LogEntrySourceLocation.toObject(includeInstance, f)
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
if (includeInstance) {
|
|
183
|
-
obj.$jspbMessageInstance = msg;
|
|
184
|
-
}
|
|
185
|
-
return obj;
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Deserializes binary data (in protobuf wire format).
|
|
192
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
193
|
-
* @return {!proto.google.logging.v2.LogEntry}
|
|
194
|
-
*/
|
|
195
|
-
proto.google.logging.v2.LogEntry.deserializeBinary = function(bytes) {
|
|
196
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
197
|
-
var msg = new proto.google.logging.v2.LogEntry;
|
|
198
|
-
return proto.google.logging.v2.LogEntry.deserializeBinaryFromReader(msg, reader);
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
204
|
-
* given reader into the given message object.
|
|
205
|
-
* @param {!proto.google.logging.v2.LogEntry} msg The message object to deserialize into.
|
|
206
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
207
|
-
* @return {!proto.google.logging.v2.LogEntry}
|
|
208
|
-
*/
|
|
209
|
-
proto.google.logging.v2.LogEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
210
|
-
while (reader.nextField()) {
|
|
211
|
-
if (reader.isEndGroup()) {
|
|
212
|
-
break;
|
|
213
|
-
}
|
|
214
|
-
var field = reader.getFieldNumber();
|
|
215
|
-
switch (field) {
|
|
216
|
-
case 12:
|
|
217
|
-
var value = /** @type {string} */ (reader.readString());
|
|
218
|
-
msg.setLogName(value);
|
|
219
|
-
break;
|
|
220
|
-
case 8:
|
|
221
|
-
var value = new google_api_monitored_resource_pb.MonitoredResource;
|
|
222
|
-
reader.readMessage(value,google_api_monitored_resource_pb.MonitoredResource.deserializeBinaryFromReader);
|
|
223
|
-
msg.setResource(value);
|
|
224
|
-
break;
|
|
225
|
-
case 2:
|
|
226
|
-
var value = new google_protobuf_any_pb.Any;
|
|
227
|
-
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
228
|
-
msg.setProtoPayload(value);
|
|
229
|
-
break;
|
|
230
|
-
case 3:
|
|
231
|
-
var value = /** @type {string} */ (reader.readString());
|
|
232
|
-
msg.setTextPayload(value);
|
|
233
|
-
break;
|
|
234
|
-
case 6:
|
|
235
|
-
var value = new google_protobuf_struct_pb.Struct;
|
|
236
|
-
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
237
|
-
msg.setJsonPayload(value);
|
|
238
|
-
break;
|
|
239
|
-
case 9:
|
|
240
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
241
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
242
|
-
msg.setTimestamp(value);
|
|
243
|
-
break;
|
|
244
|
-
case 24:
|
|
245
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
246
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
247
|
-
msg.setReceiveTimestamp(value);
|
|
248
|
-
break;
|
|
249
|
-
case 10:
|
|
250
|
-
var value = /** @type {!proto.google.logging.type.LogSeverity} */ (reader.readEnum());
|
|
251
|
-
msg.setSeverity(value);
|
|
252
|
-
break;
|
|
253
|
-
case 4:
|
|
254
|
-
var value = /** @type {string} */ (reader.readString());
|
|
255
|
-
msg.setInsertId(value);
|
|
256
|
-
break;
|
|
257
|
-
case 7:
|
|
258
|
-
var value = new google_logging_type_http_request_pb.HttpRequest;
|
|
259
|
-
reader.readMessage(value,google_logging_type_http_request_pb.HttpRequest.deserializeBinaryFromReader);
|
|
260
|
-
msg.setHttpRequest(value);
|
|
261
|
-
break;
|
|
262
|
-
case 11:
|
|
263
|
-
var value = msg.getLabelsMap();
|
|
264
|
-
reader.readMessage(value, function(message, reader) {
|
|
265
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
266
|
-
});
|
|
267
|
-
break;
|
|
268
|
-
case 25:
|
|
269
|
-
var value = new google_api_monitored_resource_pb.MonitoredResourceMetadata;
|
|
270
|
-
reader.readMessage(value,google_api_monitored_resource_pb.MonitoredResourceMetadata.deserializeBinaryFromReader);
|
|
271
|
-
msg.setMetadata(value);
|
|
272
|
-
break;
|
|
273
|
-
case 15:
|
|
274
|
-
var value = new proto.google.logging.v2.LogEntryOperation;
|
|
275
|
-
reader.readMessage(value,proto.google.logging.v2.LogEntryOperation.deserializeBinaryFromReader);
|
|
276
|
-
msg.setOperation(value);
|
|
277
|
-
break;
|
|
278
|
-
case 22:
|
|
279
|
-
var value = /** @type {string} */ (reader.readString());
|
|
280
|
-
msg.setTrace(value);
|
|
281
|
-
break;
|
|
282
|
-
case 27:
|
|
283
|
-
var value = /** @type {string} */ (reader.readString());
|
|
284
|
-
msg.setSpanId(value);
|
|
285
|
-
break;
|
|
286
|
-
case 23:
|
|
287
|
-
var value = new proto.google.logging.v2.LogEntrySourceLocation;
|
|
288
|
-
reader.readMessage(value,proto.google.logging.v2.LogEntrySourceLocation.deserializeBinaryFromReader);
|
|
289
|
-
msg.setSourceLocation(value);
|
|
290
|
-
break;
|
|
291
|
-
default:
|
|
292
|
-
reader.skipField();
|
|
293
|
-
break;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return msg;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
302
|
-
* @return {!Uint8Array}
|
|
303
|
-
*/
|
|
304
|
-
proto.google.logging.v2.LogEntry.prototype.serializeBinary = function() {
|
|
305
|
-
var writer = new jspb.BinaryWriter();
|
|
306
|
-
proto.google.logging.v2.LogEntry.serializeBinaryToWriter(this, writer);
|
|
307
|
-
return writer.getResultBuffer();
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
313
|
-
* format), writing to the given BinaryWriter.
|
|
314
|
-
* @param {!proto.google.logging.v2.LogEntry} message
|
|
315
|
-
* @param {!jspb.BinaryWriter} writer
|
|
316
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
317
|
-
*/
|
|
318
|
-
proto.google.logging.v2.LogEntry.serializeBinaryToWriter = function(message, writer) {
|
|
319
|
-
var f = undefined;
|
|
320
|
-
f = message.getLogName();
|
|
321
|
-
if (f.length > 0) {
|
|
322
|
-
writer.writeString(
|
|
323
|
-
12,
|
|
324
|
-
f
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
f = message.getResource();
|
|
328
|
-
if (f != null) {
|
|
329
|
-
writer.writeMessage(
|
|
330
|
-
8,
|
|
331
|
-
f,
|
|
332
|
-
google_api_monitored_resource_pb.MonitoredResource.serializeBinaryToWriter
|
|
333
|
-
);
|
|
334
|
-
}
|
|
335
|
-
f = message.getProtoPayload();
|
|
336
|
-
if (f != null) {
|
|
337
|
-
writer.writeMessage(
|
|
338
|
-
2,
|
|
339
|
-
f,
|
|
340
|
-
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
341
|
-
);
|
|
342
|
-
}
|
|
343
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
344
|
-
if (f != null) {
|
|
345
|
-
writer.writeString(
|
|
346
|
-
3,
|
|
347
|
-
f
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
f = message.getJsonPayload();
|
|
351
|
-
if (f != null) {
|
|
352
|
-
writer.writeMessage(
|
|
353
|
-
6,
|
|
354
|
-
f,
|
|
355
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
356
|
-
);
|
|
357
|
-
}
|
|
358
|
-
f = message.getTimestamp();
|
|
359
|
-
if (f != null) {
|
|
360
|
-
writer.writeMessage(
|
|
361
|
-
9,
|
|
362
|
-
f,
|
|
363
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
364
|
-
);
|
|
365
|
-
}
|
|
366
|
-
f = message.getReceiveTimestamp();
|
|
367
|
-
if (f != null) {
|
|
368
|
-
writer.writeMessage(
|
|
369
|
-
24,
|
|
370
|
-
f,
|
|
371
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
372
|
-
);
|
|
373
|
-
}
|
|
374
|
-
f = message.getSeverity();
|
|
375
|
-
if (f !== 0.0) {
|
|
376
|
-
writer.writeEnum(
|
|
377
|
-
10,
|
|
378
|
-
f
|
|
379
|
-
);
|
|
380
|
-
}
|
|
381
|
-
f = message.getInsertId();
|
|
382
|
-
if (f.length > 0) {
|
|
383
|
-
writer.writeString(
|
|
384
|
-
4,
|
|
385
|
-
f
|
|
386
|
-
);
|
|
387
|
-
}
|
|
388
|
-
f = message.getHttpRequest();
|
|
389
|
-
if (f != null) {
|
|
390
|
-
writer.writeMessage(
|
|
391
|
-
7,
|
|
392
|
-
f,
|
|
393
|
-
google_logging_type_http_request_pb.HttpRequest.serializeBinaryToWriter
|
|
394
|
-
);
|
|
395
|
-
}
|
|
396
|
-
f = message.getLabelsMap(true);
|
|
397
|
-
if (f && f.getLength() > 0) {
|
|
398
|
-
f.serializeBinary(11, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
399
|
-
}
|
|
400
|
-
f = message.getMetadata();
|
|
401
|
-
if (f != null) {
|
|
402
|
-
writer.writeMessage(
|
|
403
|
-
25,
|
|
404
|
-
f,
|
|
405
|
-
google_api_monitored_resource_pb.MonitoredResourceMetadata.serializeBinaryToWriter
|
|
406
|
-
);
|
|
407
|
-
}
|
|
408
|
-
f = message.getOperation();
|
|
409
|
-
if (f != null) {
|
|
410
|
-
writer.writeMessage(
|
|
411
|
-
15,
|
|
412
|
-
f,
|
|
413
|
-
proto.google.logging.v2.LogEntryOperation.serializeBinaryToWriter
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
f = message.getTrace();
|
|
417
|
-
if (f.length > 0) {
|
|
418
|
-
writer.writeString(
|
|
419
|
-
22,
|
|
420
|
-
f
|
|
421
|
-
);
|
|
422
|
-
}
|
|
423
|
-
f = message.getSpanId();
|
|
424
|
-
if (f.length > 0) {
|
|
425
|
-
writer.writeString(
|
|
426
|
-
27,
|
|
427
|
-
f
|
|
428
|
-
);
|
|
429
|
-
}
|
|
430
|
-
f = message.getSourceLocation();
|
|
431
|
-
if (f != null) {
|
|
432
|
-
writer.writeMessage(
|
|
433
|
-
23,
|
|
434
|
-
f,
|
|
435
|
-
proto.google.logging.v2.LogEntrySourceLocation.serializeBinaryToWriter
|
|
436
|
-
);
|
|
437
|
-
}
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* optional string log_name = 12;
|
|
443
|
-
* @return {string}
|
|
444
|
-
*/
|
|
445
|
-
proto.google.logging.v2.LogEntry.prototype.getLogName = function() {
|
|
446
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* @param {string} value
|
|
452
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
453
|
-
*/
|
|
454
|
-
proto.google.logging.v2.LogEntry.prototype.setLogName = function(value) {
|
|
455
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* optional google.api.MonitoredResource resource = 8;
|
|
461
|
-
* @return {?proto.google.api.MonitoredResource}
|
|
462
|
-
*/
|
|
463
|
-
proto.google.logging.v2.LogEntry.prototype.getResource = function() {
|
|
464
|
-
return /** @type{?proto.google.api.MonitoredResource} */ (
|
|
465
|
-
jspb.Message.getWrapperField(this, google_api_monitored_resource_pb.MonitoredResource, 8));
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* @param {?proto.google.api.MonitoredResource|undefined} value
|
|
471
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
472
|
-
*/
|
|
473
|
-
proto.google.logging.v2.LogEntry.prototype.setResource = function(value) {
|
|
474
|
-
return jspb.Message.setWrapperField(this, 8, value);
|
|
475
|
-
};
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* Clears the message field making it undefined.
|
|
480
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
481
|
-
*/
|
|
482
|
-
proto.google.logging.v2.LogEntry.prototype.clearResource = function() {
|
|
483
|
-
return this.setResource(undefined);
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* Returns whether this field is set.
|
|
489
|
-
* @return {boolean}
|
|
490
|
-
*/
|
|
491
|
-
proto.google.logging.v2.LogEntry.prototype.hasResource = function() {
|
|
492
|
-
return jspb.Message.getField(this, 8) != null;
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* optional google.protobuf.Any proto_payload = 2;
|
|
498
|
-
* @return {?proto.google.protobuf.Any}
|
|
499
|
-
*/
|
|
500
|
-
proto.google.logging.v2.LogEntry.prototype.getProtoPayload = function() {
|
|
501
|
-
return /** @type{?proto.google.protobuf.Any} */ (
|
|
502
|
-
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 2));
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* @param {?proto.google.protobuf.Any|undefined} value
|
|
508
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
509
|
-
*/
|
|
510
|
-
proto.google.logging.v2.LogEntry.prototype.setProtoPayload = function(value) {
|
|
511
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.google.logging.v2.LogEntry.oneofGroups_[0], value);
|
|
512
|
-
};
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Clears the message field making it undefined.
|
|
517
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
518
|
-
*/
|
|
519
|
-
proto.google.logging.v2.LogEntry.prototype.clearProtoPayload = function() {
|
|
520
|
-
return this.setProtoPayload(undefined);
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* Returns whether this field is set.
|
|
526
|
-
* @return {boolean}
|
|
527
|
-
*/
|
|
528
|
-
proto.google.logging.v2.LogEntry.prototype.hasProtoPayload = function() {
|
|
529
|
-
return jspb.Message.getField(this, 2) != null;
|
|
530
|
-
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* optional string text_payload = 3;
|
|
535
|
-
* @return {string}
|
|
536
|
-
*/
|
|
537
|
-
proto.google.logging.v2.LogEntry.prototype.getTextPayload = function() {
|
|
538
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
539
|
-
};
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
/**
|
|
543
|
-
* @param {string} value
|
|
544
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
545
|
-
*/
|
|
546
|
-
proto.google.logging.v2.LogEntry.prototype.setTextPayload = function(value) {
|
|
547
|
-
return jspb.Message.setOneofField(this, 3, proto.google.logging.v2.LogEntry.oneofGroups_[0], value);
|
|
548
|
-
};
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* Clears the field making it undefined.
|
|
553
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
554
|
-
*/
|
|
555
|
-
proto.google.logging.v2.LogEntry.prototype.clearTextPayload = function() {
|
|
556
|
-
return jspb.Message.setOneofField(this, 3, proto.google.logging.v2.LogEntry.oneofGroups_[0], undefined);
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* Returns whether this field is set.
|
|
562
|
-
* @return {boolean}
|
|
563
|
-
*/
|
|
564
|
-
proto.google.logging.v2.LogEntry.prototype.hasTextPayload = function() {
|
|
565
|
-
return jspb.Message.getField(this, 3) != null;
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* optional google.protobuf.Struct json_payload = 6;
|
|
571
|
-
* @return {?proto.google.protobuf.Struct}
|
|
572
|
-
*/
|
|
573
|
-
proto.google.logging.v2.LogEntry.prototype.getJsonPayload = function() {
|
|
574
|
-
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
575
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
581
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
582
|
-
*/
|
|
583
|
-
proto.google.logging.v2.LogEntry.prototype.setJsonPayload = function(value) {
|
|
584
|
-
return jspb.Message.setOneofWrapperField(this, 6, proto.google.logging.v2.LogEntry.oneofGroups_[0], value);
|
|
585
|
-
};
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* Clears the message field making it undefined.
|
|
590
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
591
|
-
*/
|
|
592
|
-
proto.google.logging.v2.LogEntry.prototype.clearJsonPayload = function() {
|
|
593
|
-
return this.setJsonPayload(undefined);
|
|
594
|
-
};
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* Returns whether this field is set.
|
|
599
|
-
* @return {boolean}
|
|
600
|
-
*/
|
|
601
|
-
proto.google.logging.v2.LogEntry.prototype.hasJsonPayload = function() {
|
|
602
|
-
return jspb.Message.getField(this, 6) != null;
|
|
603
|
-
};
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* optional google.protobuf.Timestamp timestamp = 9;
|
|
608
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
609
|
-
*/
|
|
610
|
-
proto.google.logging.v2.LogEntry.prototype.getTimestamp = function() {
|
|
611
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
612
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
618
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
619
|
-
*/
|
|
620
|
-
proto.google.logging.v2.LogEntry.prototype.setTimestamp = function(value) {
|
|
621
|
-
return jspb.Message.setWrapperField(this, 9, value);
|
|
622
|
-
};
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* Clears the message field making it undefined.
|
|
627
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
628
|
-
*/
|
|
629
|
-
proto.google.logging.v2.LogEntry.prototype.clearTimestamp = function() {
|
|
630
|
-
return this.setTimestamp(undefined);
|
|
631
|
-
};
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Returns whether this field is set.
|
|
636
|
-
* @return {boolean}
|
|
637
|
-
*/
|
|
638
|
-
proto.google.logging.v2.LogEntry.prototype.hasTimestamp = function() {
|
|
639
|
-
return jspb.Message.getField(this, 9) != null;
|
|
640
|
-
};
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* optional google.protobuf.Timestamp receive_timestamp = 24;
|
|
645
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
646
|
-
*/
|
|
647
|
-
proto.google.logging.v2.LogEntry.prototype.getReceiveTimestamp = function() {
|
|
648
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
649
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 24));
|
|
650
|
-
};
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
655
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
656
|
-
*/
|
|
657
|
-
proto.google.logging.v2.LogEntry.prototype.setReceiveTimestamp = function(value) {
|
|
658
|
-
return jspb.Message.setWrapperField(this, 24, value);
|
|
659
|
-
};
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* Clears the message field making it undefined.
|
|
664
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
665
|
-
*/
|
|
666
|
-
proto.google.logging.v2.LogEntry.prototype.clearReceiveTimestamp = function() {
|
|
667
|
-
return this.setReceiveTimestamp(undefined);
|
|
668
|
-
};
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* Returns whether this field is set.
|
|
673
|
-
* @return {boolean}
|
|
674
|
-
*/
|
|
675
|
-
proto.google.logging.v2.LogEntry.prototype.hasReceiveTimestamp = function() {
|
|
676
|
-
return jspb.Message.getField(this, 24) != null;
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* optional google.logging.type.LogSeverity severity = 10;
|
|
682
|
-
* @return {!proto.google.logging.type.LogSeverity}
|
|
683
|
-
*/
|
|
684
|
-
proto.google.logging.v2.LogEntry.prototype.getSeverity = function() {
|
|
685
|
-
return /** @type {!proto.google.logging.type.LogSeverity} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
686
|
-
};
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* @param {!proto.google.logging.type.LogSeverity} value
|
|
691
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
692
|
-
*/
|
|
693
|
-
proto.google.logging.v2.LogEntry.prototype.setSeverity = function(value) {
|
|
694
|
-
return jspb.Message.setProto3EnumField(this, 10, value);
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* optional string insert_id = 4;
|
|
700
|
-
* @return {string}
|
|
701
|
-
*/
|
|
702
|
-
proto.google.logging.v2.LogEntry.prototype.getInsertId = function() {
|
|
703
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
704
|
-
};
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* @param {string} value
|
|
709
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
710
|
-
*/
|
|
711
|
-
proto.google.logging.v2.LogEntry.prototype.setInsertId = function(value) {
|
|
712
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
713
|
-
};
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* optional google.logging.type.HttpRequest http_request = 7;
|
|
718
|
-
* @return {?proto.google.logging.type.HttpRequest}
|
|
719
|
-
*/
|
|
720
|
-
proto.google.logging.v2.LogEntry.prototype.getHttpRequest = function() {
|
|
721
|
-
return /** @type{?proto.google.logging.type.HttpRequest} */ (
|
|
722
|
-
jspb.Message.getWrapperField(this, google_logging_type_http_request_pb.HttpRequest, 7));
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* @param {?proto.google.logging.type.HttpRequest|undefined} value
|
|
728
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
729
|
-
*/
|
|
730
|
-
proto.google.logging.v2.LogEntry.prototype.setHttpRequest = function(value) {
|
|
731
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
732
|
-
};
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* Clears the message field making it undefined.
|
|
737
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
738
|
-
*/
|
|
739
|
-
proto.google.logging.v2.LogEntry.prototype.clearHttpRequest = function() {
|
|
740
|
-
return this.setHttpRequest(undefined);
|
|
741
|
-
};
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Returns whether this field is set.
|
|
746
|
-
* @return {boolean}
|
|
747
|
-
*/
|
|
748
|
-
proto.google.logging.v2.LogEntry.prototype.hasHttpRequest = function() {
|
|
749
|
-
return jspb.Message.getField(this, 7) != null;
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* map<string, string> labels = 11;
|
|
755
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
756
|
-
* empty, instead returning `undefined`
|
|
757
|
-
* @return {!jspb.Map<string,string>}
|
|
758
|
-
*/
|
|
759
|
-
proto.google.logging.v2.LogEntry.prototype.getLabelsMap = function(opt_noLazyCreate) {
|
|
760
|
-
return /** @type {!jspb.Map<string,string>} */ (
|
|
761
|
-
jspb.Message.getMapField(this, 11, opt_noLazyCreate,
|
|
762
|
-
null));
|
|
763
|
-
};
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* Clears values from the map. The map will be non-null.
|
|
768
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
769
|
-
*/
|
|
770
|
-
proto.google.logging.v2.LogEntry.prototype.clearLabelsMap = function() {
|
|
771
|
-
this.getLabelsMap().clear();
|
|
772
|
-
return this;
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* optional google.api.MonitoredResourceMetadata metadata = 25;
|
|
778
|
-
* @return {?proto.google.api.MonitoredResourceMetadata}
|
|
779
|
-
*/
|
|
780
|
-
proto.google.logging.v2.LogEntry.prototype.getMetadata = function() {
|
|
781
|
-
return /** @type{?proto.google.api.MonitoredResourceMetadata} */ (
|
|
782
|
-
jspb.Message.getWrapperField(this, google_api_monitored_resource_pb.MonitoredResourceMetadata, 25));
|
|
783
|
-
};
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* @param {?proto.google.api.MonitoredResourceMetadata|undefined} value
|
|
788
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
789
|
-
*/
|
|
790
|
-
proto.google.logging.v2.LogEntry.prototype.setMetadata = function(value) {
|
|
791
|
-
return jspb.Message.setWrapperField(this, 25, value);
|
|
792
|
-
};
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* Clears the message field making it undefined.
|
|
797
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
798
|
-
*/
|
|
799
|
-
proto.google.logging.v2.LogEntry.prototype.clearMetadata = function() {
|
|
800
|
-
return this.setMetadata(undefined);
|
|
801
|
-
};
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* Returns whether this field is set.
|
|
806
|
-
* @return {boolean}
|
|
807
|
-
*/
|
|
808
|
-
proto.google.logging.v2.LogEntry.prototype.hasMetadata = function() {
|
|
809
|
-
return jspb.Message.getField(this, 25) != null;
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* optional LogEntryOperation operation = 15;
|
|
815
|
-
* @return {?proto.google.logging.v2.LogEntryOperation}
|
|
816
|
-
*/
|
|
817
|
-
proto.google.logging.v2.LogEntry.prototype.getOperation = function() {
|
|
818
|
-
return /** @type{?proto.google.logging.v2.LogEntryOperation} */ (
|
|
819
|
-
jspb.Message.getWrapperField(this, proto.google.logging.v2.LogEntryOperation, 15));
|
|
820
|
-
};
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
* @param {?proto.google.logging.v2.LogEntryOperation|undefined} value
|
|
825
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
826
|
-
*/
|
|
827
|
-
proto.google.logging.v2.LogEntry.prototype.setOperation = function(value) {
|
|
828
|
-
return jspb.Message.setWrapperField(this, 15, value);
|
|
829
|
-
};
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* Clears the message field making it undefined.
|
|
834
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
835
|
-
*/
|
|
836
|
-
proto.google.logging.v2.LogEntry.prototype.clearOperation = function() {
|
|
837
|
-
return this.setOperation(undefined);
|
|
838
|
-
};
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* Returns whether this field is set.
|
|
843
|
-
* @return {boolean}
|
|
844
|
-
*/
|
|
845
|
-
proto.google.logging.v2.LogEntry.prototype.hasOperation = function() {
|
|
846
|
-
return jspb.Message.getField(this, 15) != null;
|
|
847
|
-
};
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* optional string trace = 22;
|
|
852
|
-
* @return {string}
|
|
853
|
-
*/
|
|
854
|
-
proto.google.logging.v2.LogEntry.prototype.getTrace = function() {
|
|
855
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
856
|
-
};
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* @param {string} value
|
|
861
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
862
|
-
*/
|
|
863
|
-
proto.google.logging.v2.LogEntry.prototype.setTrace = function(value) {
|
|
864
|
-
return jspb.Message.setProto3StringField(this, 22, value);
|
|
865
|
-
};
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* optional string span_id = 27;
|
|
870
|
-
* @return {string}
|
|
871
|
-
*/
|
|
872
|
-
proto.google.logging.v2.LogEntry.prototype.getSpanId = function() {
|
|
873
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
874
|
-
};
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* @param {string} value
|
|
879
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
880
|
-
*/
|
|
881
|
-
proto.google.logging.v2.LogEntry.prototype.setSpanId = function(value) {
|
|
882
|
-
return jspb.Message.setProto3StringField(this, 27, value);
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
* optional LogEntrySourceLocation source_location = 23;
|
|
888
|
-
* @return {?proto.google.logging.v2.LogEntrySourceLocation}
|
|
889
|
-
*/
|
|
890
|
-
proto.google.logging.v2.LogEntry.prototype.getSourceLocation = function() {
|
|
891
|
-
return /** @type{?proto.google.logging.v2.LogEntrySourceLocation} */ (
|
|
892
|
-
jspb.Message.getWrapperField(this, proto.google.logging.v2.LogEntrySourceLocation, 23));
|
|
893
|
-
};
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* @param {?proto.google.logging.v2.LogEntrySourceLocation|undefined} value
|
|
898
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
899
|
-
*/
|
|
900
|
-
proto.google.logging.v2.LogEntry.prototype.setSourceLocation = function(value) {
|
|
901
|
-
return jspb.Message.setWrapperField(this, 23, value);
|
|
902
|
-
};
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Clears the message field making it undefined.
|
|
907
|
-
* @return {!proto.google.logging.v2.LogEntry} returns this
|
|
908
|
-
*/
|
|
909
|
-
proto.google.logging.v2.LogEntry.prototype.clearSourceLocation = function() {
|
|
910
|
-
return this.setSourceLocation(undefined);
|
|
911
|
-
};
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* Returns whether this field is set.
|
|
916
|
-
* @return {boolean}
|
|
917
|
-
*/
|
|
918
|
-
proto.google.logging.v2.LogEntry.prototype.hasSourceLocation = function() {
|
|
919
|
-
return jspb.Message.getField(this, 23) != null;
|
|
920
|
-
};
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
927
|
-
/**
|
|
928
|
-
* Creates an object representation of this proto.
|
|
929
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
930
|
-
* Optional fields that are not set will be set to undefined.
|
|
931
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
932
|
-
* For the list of reserved names please see:
|
|
933
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
934
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
935
|
-
* JSPB instance for transitional soy proto support:
|
|
936
|
-
* http://goto/soy-param-migration
|
|
937
|
-
* @return {!Object}
|
|
938
|
-
*/
|
|
939
|
-
proto.google.logging.v2.LogEntryOperation.prototype.toObject = function(opt_includeInstance) {
|
|
940
|
-
return proto.google.logging.v2.LogEntryOperation.toObject(opt_includeInstance, this);
|
|
941
|
-
};
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* Static version of the {@see toObject} method.
|
|
946
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
947
|
-
* the JSPB instance for transitional soy proto support:
|
|
948
|
-
* http://goto/soy-param-migration
|
|
949
|
-
* @param {!proto.google.logging.v2.LogEntryOperation} msg The msg instance to transform.
|
|
950
|
-
* @return {!Object}
|
|
951
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
952
|
-
*/
|
|
953
|
-
proto.google.logging.v2.LogEntryOperation.toObject = function(includeInstance, msg) {
|
|
954
|
-
var f, obj = {
|
|
955
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
956
|
-
producer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
957
|
-
first: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
958
|
-
last: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
959
|
-
};
|
|
960
|
-
|
|
961
|
-
if (includeInstance) {
|
|
962
|
-
obj.$jspbMessageInstance = msg;
|
|
963
|
-
}
|
|
964
|
-
return obj;
|
|
965
|
-
};
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* Deserializes binary data (in protobuf wire format).
|
|
971
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
972
|
-
* @return {!proto.google.logging.v2.LogEntryOperation}
|
|
973
|
-
*/
|
|
974
|
-
proto.google.logging.v2.LogEntryOperation.deserializeBinary = function(bytes) {
|
|
975
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
976
|
-
var msg = new proto.google.logging.v2.LogEntryOperation;
|
|
977
|
-
return proto.google.logging.v2.LogEntryOperation.deserializeBinaryFromReader(msg, reader);
|
|
978
|
-
};
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
/**
|
|
982
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
983
|
-
* given reader into the given message object.
|
|
984
|
-
* @param {!proto.google.logging.v2.LogEntryOperation} msg The message object to deserialize into.
|
|
985
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
986
|
-
* @return {!proto.google.logging.v2.LogEntryOperation}
|
|
987
|
-
*/
|
|
988
|
-
proto.google.logging.v2.LogEntryOperation.deserializeBinaryFromReader = function(msg, reader) {
|
|
989
|
-
while (reader.nextField()) {
|
|
990
|
-
if (reader.isEndGroup()) {
|
|
991
|
-
break;
|
|
992
|
-
}
|
|
993
|
-
var field = reader.getFieldNumber();
|
|
994
|
-
switch (field) {
|
|
995
|
-
case 1:
|
|
996
|
-
var value = /** @type {string} */ (reader.readString());
|
|
997
|
-
msg.setId(value);
|
|
998
|
-
break;
|
|
999
|
-
case 2:
|
|
1000
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1001
|
-
msg.setProducer(value);
|
|
1002
|
-
break;
|
|
1003
|
-
case 3:
|
|
1004
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
1005
|
-
msg.setFirst(value);
|
|
1006
|
-
break;
|
|
1007
|
-
case 4:
|
|
1008
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
1009
|
-
msg.setLast(value);
|
|
1010
|
-
break;
|
|
1011
|
-
default:
|
|
1012
|
-
reader.skipField();
|
|
1013
|
-
break;
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
return msg;
|
|
1017
|
-
};
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1022
|
-
* @return {!Uint8Array}
|
|
1023
|
-
*/
|
|
1024
|
-
proto.google.logging.v2.LogEntryOperation.prototype.serializeBinary = function() {
|
|
1025
|
-
var writer = new jspb.BinaryWriter();
|
|
1026
|
-
proto.google.logging.v2.LogEntryOperation.serializeBinaryToWriter(this, writer);
|
|
1027
|
-
return writer.getResultBuffer();
|
|
1028
|
-
};
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1033
|
-
* format), writing to the given BinaryWriter.
|
|
1034
|
-
* @param {!proto.google.logging.v2.LogEntryOperation} message
|
|
1035
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1036
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1037
|
-
*/
|
|
1038
|
-
proto.google.logging.v2.LogEntryOperation.serializeBinaryToWriter = function(message, writer) {
|
|
1039
|
-
var f = undefined;
|
|
1040
|
-
f = message.getId();
|
|
1041
|
-
if (f.length > 0) {
|
|
1042
|
-
writer.writeString(
|
|
1043
|
-
1,
|
|
1044
|
-
f
|
|
1045
|
-
);
|
|
1046
|
-
}
|
|
1047
|
-
f = message.getProducer();
|
|
1048
|
-
if (f.length > 0) {
|
|
1049
|
-
writer.writeString(
|
|
1050
|
-
2,
|
|
1051
|
-
f
|
|
1052
|
-
);
|
|
1053
|
-
}
|
|
1054
|
-
f = message.getFirst();
|
|
1055
|
-
if (f) {
|
|
1056
|
-
writer.writeBool(
|
|
1057
|
-
3,
|
|
1058
|
-
f
|
|
1059
|
-
);
|
|
1060
|
-
}
|
|
1061
|
-
f = message.getLast();
|
|
1062
|
-
if (f) {
|
|
1063
|
-
writer.writeBool(
|
|
1064
|
-
4,
|
|
1065
|
-
f
|
|
1066
|
-
);
|
|
1067
|
-
}
|
|
1068
|
-
};
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* optional string id = 1;
|
|
1073
|
-
* @return {string}
|
|
1074
|
-
*/
|
|
1075
|
-
proto.google.logging.v2.LogEntryOperation.prototype.getId = function() {
|
|
1076
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1077
|
-
};
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* @param {string} value
|
|
1082
|
-
* @return {!proto.google.logging.v2.LogEntryOperation} returns this
|
|
1083
|
-
*/
|
|
1084
|
-
proto.google.logging.v2.LogEntryOperation.prototype.setId = function(value) {
|
|
1085
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1086
|
-
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* optional string producer = 2;
|
|
1091
|
-
* @return {string}
|
|
1092
|
-
*/
|
|
1093
|
-
proto.google.logging.v2.LogEntryOperation.prototype.getProducer = function() {
|
|
1094
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1095
|
-
};
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* @param {string} value
|
|
1100
|
-
* @return {!proto.google.logging.v2.LogEntryOperation} returns this
|
|
1101
|
-
*/
|
|
1102
|
-
proto.google.logging.v2.LogEntryOperation.prototype.setProducer = function(value) {
|
|
1103
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1104
|
-
};
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* optional bool first = 3;
|
|
1109
|
-
* @return {boolean}
|
|
1110
|
-
*/
|
|
1111
|
-
proto.google.logging.v2.LogEntryOperation.prototype.getFirst = function() {
|
|
1112
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* @param {boolean} value
|
|
1118
|
-
* @return {!proto.google.logging.v2.LogEntryOperation} returns this
|
|
1119
|
-
*/
|
|
1120
|
-
proto.google.logging.v2.LogEntryOperation.prototype.setFirst = function(value) {
|
|
1121
|
-
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
1122
|
-
};
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* optional bool last = 4;
|
|
1127
|
-
* @return {boolean}
|
|
1128
|
-
*/
|
|
1129
|
-
proto.google.logging.v2.LogEntryOperation.prototype.getLast = function() {
|
|
1130
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
1131
|
-
};
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* @param {boolean} value
|
|
1136
|
-
* @return {!proto.google.logging.v2.LogEntryOperation} returns this
|
|
1137
|
-
*/
|
|
1138
|
-
proto.google.logging.v2.LogEntryOperation.prototype.setLast = function(value) {
|
|
1139
|
-
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
1140
|
-
};
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1147
|
-
/**
|
|
1148
|
-
* Creates an object representation of this proto.
|
|
1149
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1150
|
-
* Optional fields that are not set will be set to undefined.
|
|
1151
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1152
|
-
* For the list of reserved names please see:
|
|
1153
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1154
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1155
|
-
* JSPB instance for transitional soy proto support:
|
|
1156
|
-
* http://goto/soy-param-migration
|
|
1157
|
-
* @return {!Object}
|
|
1158
|
-
*/
|
|
1159
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.toObject = function(opt_includeInstance) {
|
|
1160
|
-
return proto.google.logging.v2.LogEntrySourceLocation.toObject(opt_includeInstance, this);
|
|
1161
|
-
};
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* Static version of the {@see toObject} method.
|
|
1166
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1167
|
-
* the JSPB instance for transitional soy proto support:
|
|
1168
|
-
* http://goto/soy-param-migration
|
|
1169
|
-
* @param {!proto.google.logging.v2.LogEntrySourceLocation} msg The msg instance to transform.
|
|
1170
|
-
* @return {!Object}
|
|
1171
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1172
|
-
*/
|
|
1173
|
-
proto.google.logging.v2.LogEntrySourceLocation.toObject = function(includeInstance, msg) {
|
|
1174
|
-
var f, obj = {
|
|
1175
|
-
file: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1176
|
-
line: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1177
|
-
pb_function: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
|
-
if (includeInstance) {
|
|
1181
|
-
obj.$jspbMessageInstance = msg;
|
|
1182
|
-
}
|
|
1183
|
-
return obj;
|
|
1184
|
-
};
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
/**
|
|
1189
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1190
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1191
|
-
* @return {!proto.google.logging.v2.LogEntrySourceLocation}
|
|
1192
|
-
*/
|
|
1193
|
-
proto.google.logging.v2.LogEntrySourceLocation.deserializeBinary = function(bytes) {
|
|
1194
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1195
|
-
var msg = new proto.google.logging.v2.LogEntrySourceLocation;
|
|
1196
|
-
return proto.google.logging.v2.LogEntrySourceLocation.deserializeBinaryFromReader(msg, reader);
|
|
1197
|
-
};
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1202
|
-
* given reader into the given message object.
|
|
1203
|
-
* @param {!proto.google.logging.v2.LogEntrySourceLocation} msg The message object to deserialize into.
|
|
1204
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1205
|
-
* @return {!proto.google.logging.v2.LogEntrySourceLocation}
|
|
1206
|
-
*/
|
|
1207
|
-
proto.google.logging.v2.LogEntrySourceLocation.deserializeBinaryFromReader = function(msg, reader) {
|
|
1208
|
-
while (reader.nextField()) {
|
|
1209
|
-
if (reader.isEndGroup()) {
|
|
1210
|
-
break;
|
|
1211
|
-
}
|
|
1212
|
-
var field = reader.getFieldNumber();
|
|
1213
|
-
switch (field) {
|
|
1214
|
-
case 1:
|
|
1215
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1216
|
-
msg.setFile(value);
|
|
1217
|
-
break;
|
|
1218
|
-
case 2:
|
|
1219
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1220
|
-
msg.setLine(value);
|
|
1221
|
-
break;
|
|
1222
|
-
case 3:
|
|
1223
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1224
|
-
msg.setFunction(value);
|
|
1225
|
-
break;
|
|
1226
|
-
default:
|
|
1227
|
-
reader.skipField();
|
|
1228
|
-
break;
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
return msg;
|
|
1232
|
-
};
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1237
|
-
* @return {!Uint8Array}
|
|
1238
|
-
*/
|
|
1239
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.serializeBinary = function() {
|
|
1240
|
-
var writer = new jspb.BinaryWriter();
|
|
1241
|
-
proto.google.logging.v2.LogEntrySourceLocation.serializeBinaryToWriter(this, writer);
|
|
1242
|
-
return writer.getResultBuffer();
|
|
1243
|
-
};
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
/**
|
|
1247
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1248
|
-
* format), writing to the given BinaryWriter.
|
|
1249
|
-
* @param {!proto.google.logging.v2.LogEntrySourceLocation} message
|
|
1250
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1251
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1252
|
-
*/
|
|
1253
|
-
proto.google.logging.v2.LogEntrySourceLocation.serializeBinaryToWriter = function(message, writer) {
|
|
1254
|
-
var f = undefined;
|
|
1255
|
-
f = message.getFile();
|
|
1256
|
-
if (f.length > 0) {
|
|
1257
|
-
writer.writeString(
|
|
1258
|
-
1,
|
|
1259
|
-
f
|
|
1260
|
-
);
|
|
1261
|
-
}
|
|
1262
|
-
f = message.getLine();
|
|
1263
|
-
if (f !== 0) {
|
|
1264
|
-
writer.writeInt64(
|
|
1265
|
-
2,
|
|
1266
|
-
f
|
|
1267
|
-
);
|
|
1268
|
-
}
|
|
1269
|
-
f = message.getFunction();
|
|
1270
|
-
if (f.length > 0) {
|
|
1271
|
-
writer.writeString(
|
|
1272
|
-
3,
|
|
1273
|
-
f
|
|
1274
|
-
);
|
|
1275
|
-
}
|
|
1276
|
-
};
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* optional string file = 1;
|
|
1281
|
-
* @return {string}
|
|
1282
|
-
*/
|
|
1283
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.getFile = function() {
|
|
1284
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1285
|
-
};
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* @param {string} value
|
|
1290
|
-
* @return {!proto.google.logging.v2.LogEntrySourceLocation} returns this
|
|
1291
|
-
*/
|
|
1292
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.setFile = function(value) {
|
|
1293
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1294
|
-
};
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* optional int64 line = 2;
|
|
1299
|
-
* @return {number}
|
|
1300
|
-
*/
|
|
1301
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.getLine = function() {
|
|
1302
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1303
|
-
};
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* @param {number} value
|
|
1308
|
-
* @return {!proto.google.logging.v2.LogEntrySourceLocation} returns this
|
|
1309
|
-
*/
|
|
1310
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.setLine = function(value) {
|
|
1311
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1312
|
-
};
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* optional string function = 3;
|
|
1317
|
-
* @return {string}
|
|
1318
|
-
*/
|
|
1319
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.getFunction = function() {
|
|
1320
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1321
|
-
};
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* @param {string} value
|
|
1326
|
-
* @return {!proto.google.logging.v2.LogEntrySourceLocation} returns this
|
|
1327
|
-
*/
|
|
1328
|
-
proto.google.logging.v2.LogEntrySourceLocation.prototype.setFunction = function(value) {
|
|
1329
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1330
|
-
};
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
goog.object.extend(exports, proto.google.logging.v2);
|