@miradorlabs/web-grpc 3.33.0 → 3.35.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/google/api/field_behavior.ts +1 -1
- package/google/protobuf/descriptor.ts +1 -1
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +32 -10
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +1 -1
- package/proto/gateway/common/v1/status.ts +1 -1
- package/proto/gateway/common/v1/types.ts +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +1773 -132
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +146 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +2865 -0
- package/proto/gateway/web/v1/ai_gateway.ts +1016 -186
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +36 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +1593 -118
- package/proto/gateway/web/v1/attribute_value.ts +1 -1
- package/proto/gateway/web/v1/beta_gateway.ts +1 -1
- package/proto/gateway/web/v1/chain_gateway.ts +1 -1
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
- package/proto/gateway/web/v1/github_connector.ts +1 -1
- package/proto/gateway/web/v1/integration_gateway.ts +1 -1
- package/proto/gateway/web/v1/log_gateway.ts +1 -1
- package/proto/gateway/web/v1/market_gateway.ts +1 -1
- package/proto/gateway/web/v1/metric_gateway.ts +1 -1
- package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
- package/proto/gateway/web/v1/plan_gateway.ts +1 -1
- package/proto/gateway/web/v1/policy_gateway.ts +1 -1
- package/proto/gateway/web/v1/reference_gateway.ts +1 -1
- package/proto/gateway/web/v1/rule_gateway.ts +1 -1
- package/proto/gateway/web/v1/slo_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
|
@@ -100,6 +100,8 @@ goog.exportSymbol('proto.gateway.web.v1.ListModelPriceHistoryRequest', null, glo
|
|
|
100
100
|
goog.exportSymbol('proto.gateway.web.v1.ListModelPriceHistoryResponse', null, global);
|
|
101
101
|
goog.exportSymbol('proto.gateway.web.v1.ListModelPricesRequest', null, global);
|
|
102
102
|
goog.exportSymbol('proto.gateway.web.v1.ListModelPricesResponse', null, global);
|
|
103
|
+
goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsRequest', null, global);
|
|
104
|
+
goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsResponse', null, global);
|
|
103
105
|
goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
|
|
104
106
|
goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global);
|
|
105
107
|
goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
|
|
@@ -119,6 +121,9 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectSummariesRequest', null, global);
|
|
|
119
121
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSummary', null, global);
|
|
120
122
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSummaryActor', null, global);
|
|
121
123
|
goog.exportSymbol('proto.gateway.web.v1.ProjectUsageBucket', null, global);
|
|
124
|
+
goog.exportSymbol('proto.gateway.web.v1.RelayHeartbeat', null, global);
|
|
125
|
+
goog.exportSymbol('proto.gateway.web.v1.RelayHeartbeatFilter', null, global);
|
|
126
|
+
goog.exportSymbol('proto.gateway.web.v1.RelayHeartbeatSort', null, global);
|
|
122
127
|
goog.exportSymbol('proto.gateway.web.v1.ResourceRanking', null, global);
|
|
123
128
|
goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsRequest', null, global);
|
|
124
129
|
goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsResponse', null, global);
|
|
@@ -2551,6 +2556,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2551
2556
|
*/
|
|
2552
2557
|
proto.gateway.web.v1.EntitlementWindow.displayName = 'proto.gateway.web.v1.EntitlementWindow';
|
|
2553
2558
|
}
|
|
2559
|
+
/**
|
|
2560
|
+
* Generated by JsPbCodeGenerator.
|
|
2561
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2562
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2563
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2564
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2565
|
+
* valid.
|
|
2566
|
+
* @extends {jspb.Message}
|
|
2567
|
+
* @constructor
|
|
2568
|
+
*/
|
|
2569
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest = function(opt_data) {
|
|
2570
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2571
|
+
};
|
|
2572
|
+
goog.inherits(proto.gateway.web.v1.ListRelayHeartbeatsRequest, jspb.Message);
|
|
2573
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2574
|
+
/**
|
|
2575
|
+
* @public
|
|
2576
|
+
* @override
|
|
2577
|
+
*/
|
|
2578
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.displayName = 'proto.gateway.web.v1.ListRelayHeartbeatsRequest';
|
|
2579
|
+
}
|
|
2580
|
+
/**
|
|
2581
|
+
* Generated by JsPbCodeGenerator.
|
|
2582
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2583
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2584
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2585
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2586
|
+
* valid.
|
|
2587
|
+
* @extends {jspb.Message}
|
|
2588
|
+
* @constructor
|
|
2589
|
+
*/
|
|
2590
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse = function(opt_data) {
|
|
2591
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListRelayHeartbeatsResponse.repeatedFields_, null);
|
|
2592
|
+
};
|
|
2593
|
+
goog.inherits(proto.gateway.web.v1.ListRelayHeartbeatsResponse, jspb.Message);
|
|
2594
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2595
|
+
/**
|
|
2596
|
+
* @public
|
|
2597
|
+
* @override
|
|
2598
|
+
*/
|
|
2599
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.displayName = 'proto.gateway.web.v1.ListRelayHeartbeatsResponse';
|
|
2600
|
+
}
|
|
2601
|
+
/**
|
|
2602
|
+
* Generated by JsPbCodeGenerator.
|
|
2603
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2604
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2605
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2606
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2607
|
+
* valid.
|
|
2608
|
+
* @extends {jspb.Message}
|
|
2609
|
+
* @constructor
|
|
2610
|
+
*/
|
|
2611
|
+
proto.gateway.web.v1.RelayHeartbeat = function(opt_data) {
|
|
2612
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2613
|
+
};
|
|
2614
|
+
goog.inherits(proto.gateway.web.v1.RelayHeartbeat, jspb.Message);
|
|
2615
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2616
|
+
/**
|
|
2617
|
+
* @public
|
|
2618
|
+
* @override
|
|
2619
|
+
*/
|
|
2620
|
+
proto.gateway.web.v1.RelayHeartbeat.displayName = 'proto.gateway.web.v1.RelayHeartbeat';
|
|
2621
|
+
}
|
|
2622
|
+
/**
|
|
2623
|
+
* Generated by JsPbCodeGenerator.
|
|
2624
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2625
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2626
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2627
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2628
|
+
* valid.
|
|
2629
|
+
* @extends {jspb.Message}
|
|
2630
|
+
* @constructor
|
|
2631
|
+
*/
|
|
2632
|
+
proto.gateway.web.v1.RelayHeartbeatFilter = function(opt_data) {
|
|
2633
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.RelayHeartbeatFilter.repeatedFields_, null);
|
|
2634
|
+
};
|
|
2635
|
+
goog.inherits(proto.gateway.web.v1.RelayHeartbeatFilter, jspb.Message);
|
|
2636
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2637
|
+
/**
|
|
2638
|
+
* @public
|
|
2639
|
+
* @override
|
|
2640
|
+
*/
|
|
2641
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.displayName = 'proto.gateway.web.v1.RelayHeartbeatFilter';
|
|
2642
|
+
}
|
|
2554
2643
|
|
|
2555
2644
|
|
|
2556
2645
|
|
|
@@ -39417,178 +39506,1564 @@ proto.gateway.web.v1.EntitlementWindow.prototype.hasWindowSeconds = function() {
|
|
|
39417
39506
|
};
|
|
39418
39507
|
|
|
39419
39508
|
|
|
39509
|
+
|
|
39510
|
+
|
|
39511
|
+
|
|
39512
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39420
39513
|
/**
|
|
39421
|
-
*
|
|
39514
|
+
* Creates an object representation of this proto.
|
|
39515
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39516
|
+
* Optional fields that are not set will be set to undefined.
|
|
39517
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
39518
|
+
* For the list of reserved names please see:
|
|
39519
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
39520
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
39521
|
+
* JSPB instance for transitional soy proto support:
|
|
39522
|
+
* http://goto/soy-param-migration
|
|
39523
|
+
* @return {!Object}
|
|
39422
39524
|
*/
|
|
39423
|
-
proto.gateway.web.v1.
|
|
39424
|
-
|
|
39425
|
-
SESSION_SORT_COST: 1,
|
|
39426
|
-
SESSION_SORT_TOKENS: 2,
|
|
39427
|
-
SESSION_SORT_TURNS: 3,
|
|
39428
|
-
SESSION_SORT_TOOLS: 4,
|
|
39429
|
-
SESSION_SORT_RECENCY: 5,
|
|
39430
|
-
SESSION_SORT_NET_COST: 6
|
|
39525
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
39526
|
+
return proto.gateway.web.v1.ListRelayHeartbeatsRequest.toObject(opt_includeInstance, this);
|
|
39431
39527
|
};
|
|
39432
39528
|
|
|
39529
|
+
|
|
39433
39530
|
/**
|
|
39434
|
-
* @
|
|
39531
|
+
* Static version of the {@see toObject} method.
|
|
39532
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39533
|
+
* the JSPB instance for transitional soy proto support:
|
|
39534
|
+
* http://goto/soy-param-migration
|
|
39535
|
+
* @param {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} msg The msg instance to transform.
|
|
39536
|
+
* @return {!Object}
|
|
39537
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39435
39538
|
*/
|
|
39436
|
-
proto.gateway.web.v1.
|
|
39437
|
-
|
|
39438
|
-
|
|
39439
|
-
|
|
39440
|
-
|
|
39441
|
-
|
|
39442
|
-
|
|
39443
|
-
|
|
39444
|
-
|
|
39445
|
-
|
|
39446
|
-
|
|
39447
|
-
|
|
39448
|
-
|
|
39449
|
-
|
|
39450
|
-
AI_SESSION_EVENT_TYPE_FEEDBACK: 13,
|
|
39451
|
-
AI_SESSION_EVENT_TYPE_ERROR: 14,
|
|
39452
|
-
AI_SESSION_EVENT_TYPE_SUMMARY: 15
|
|
39539
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.toObject = function(includeInstance, msg) {
|
|
39540
|
+
var f, obj = {
|
|
39541
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
39542
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
39543
|
+
filter: (f = msg.getFilter()) && proto.gateway.web.v1.RelayHeartbeatFilter.toObject(includeInstance, f),
|
|
39544
|
+
sort: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
39545
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
39546
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
39547
|
+
};
|
|
39548
|
+
|
|
39549
|
+
if (includeInstance) {
|
|
39550
|
+
obj.$jspbMessageInstance = msg;
|
|
39551
|
+
}
|
|
39552
|
+
return obj;
|
|
39453
39553
|
};
|
|
39554
|
+
}
|
|
39555
|
+
|
|
39454
39556
|
|
|
39455
39557
|
/**
|
|
39456
|
-
*
|
|
39558
|
+
* Deserializes binary data (in protobuf wire format).
|
|
39559
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
39560
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest}
|
|
39457
39561
|
*/
|
|
39458
|
-
proto.gateway.web.v1.
|
|
39459
|
-
|
|
39460
|
-
|
|
39461
|
-
|
|
39462
|
-
AI_GIT_ACTION_PUSH: 3,
|
|
39463
|
-
AI_GIT_ACTION_PULL_REQUEST_CREATE: 4,
|
|
39464
|
-
AI_GIT_ACTION_PULL_REQUEST_MERGE: 5,
|
|
39465
|
-
AI_GIT_ACTION_PULL_REQUEST_COMMENT: 6,
|
|
39466
|
-
AI_GIT_ACTION_OTHER: 7
|
|
39562
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.deserializeBinary = function(bytes) {
|
|
39563
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
39564
|
+
var msg = new proto.gateway.web.v1.ListRelayHeartbeatsRequest;
|
|
39565
|
+
return proto.gateway.web.v1.ListRelayHeartbeatsRequest.deserializeBinaryFromReader(msg, reader);
|
|
39467
39566
|
};
|
|
39468
39567
|
|
|
39568
|
+
|
|
39469
39569
|
/**
|
|
39470
|
-
*
|
|
39570
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
39571
|
+
* given reader into the given message object.
|
|
39572
|
+
* @param {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} msg The message object to deserialize into.
|
|
39573
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39574
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest}
|
|
39471
39575
|
*/
|
|
39472
|
-
proto.gateway.web.v1.
|
|
39473
|
-
|
|
39474
|
-
|
|
39475
|
-
|
|
39476
|
-
|
|
39576
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
39577
|
+
while (reader.nextField()) {
|
|
39578
|
+
if (reader.isEndGroup()) {
|
|
39579
|
+
break;
|
|
39580
|
+
}
|
|
39581
|
+
var field = reader.getFieldNumber();
|
|
39582
|
+
switch (field) {
|
|
39583
|
+
case 1:
|
|
39584
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
39585
|
+
msg.setOrganizationId(value);
|
|
39586
|
+
break;
|
|
39587
|
+
case 2:
|
|
39588
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
39589
|
+
msg.setProjectId(value);
|
|
39590
|
+
break;
|
|
39591
|
+
case 3:
|
|
39592
|
+
var value = new proto.gateway.web.v1.RelayHeartbeatFilter;
|
|
39593
|
+
reader.readMessage(value,proto.gateway.web.v1.RelayHeartbeatFilter.deserializeBinaryFromReader);
|
|
39594
|
+
msg.setFilter(value);
|
|
39595
|
+
break;
|
|
39596
|
+
case 4:
|
|
39597
|
+
var value = /** @type {!proto.gateway.web.v1.RelayHeartbeatSort} */ (reader.readEnum());
|
|
39598
|
+
msg.setSort(value);
|
|
39599
|
+
break;
|
|
39600
|
+
case 5:
|
|
39601
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
39602
|
+
msg.setPageSize(value);
|
|
39603
|
+
break;
|
|
39604
|
+
case 6:
|
|
39605
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
39606
|
+
msg.setPageToken(value);
|
|
39607
|
+
break;
|
|
39608
|
+
default:
|
|
39609
|
+
reader.skipField();
|
|
39610
|
+
break;
|
|
39611
|
+
}
|
|
39612
|
+
}
|
|
39613
|
+
return msg;
|
|
39477
39614
|
};
|
|
39478
39615
|
|
|
39616
|
+
|
|
39479
39617
|
/**
|
|
39480
|
-
*
|
|
39618
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
39619
|
+
* @return {!Uint8Array}
|
|
39481
39620
|
*/
|
|
39482
|
-
proto.gateway.web.v1.
|
|
39483
|
-
|
|
39484
|
-
|
|
39485
|
-
|
|
39486
|
-
AI_GIT_ACTIVITY_DIMENSION_ACTION: 3,
|
|
39487
|
-
AI_GIT_ACTIVITY_DIMENSION_OUTCOME: 4,
|
|
39488
|
-
AI_GIT_ACTIVITY_DIMENSION_SESSION: 5
|
|
39621
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.serializeBinary = function() {
|
|
39622
|
+
var writer = new jspb.BinaryWriter();
|
|
39623
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.serializeBinaryToWriter(this, writer);
|
|
39624
|
+
return writer.getResultBuffer();
|
|
39489
39625
|
};
|
|
39490
39626
|
|
|
39627
|
+
|
|
39491
39628
|
/**
|
|
39492
|
-
*
|
|
39629
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
39630
|
+
* format), writing to the given BinaryWriter.
|
|
39631
|
+
* @param {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} message
|
|
39632
|
+
* @param {!jspb.BinaryWriter} writer
|
|
39633
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39493
39634
|
*/
|
|
39494
|
-
proto.gateway.web.v1.
|
|
39495
|
-
|
|
39496
|
-
|
|
39497
|
-
|
|
39498
|
-
|
|
39499
|
-
|
|
39500
|
-
|
|
39501
|
-
|
|
39635
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
39636
|
+
var f = undefined;
|
|
39637
|
+
f = message.getOrganizationId();
|
|
39638
|
+
if (f.length > 0) {
|
|
39639
|
+
writer.writeString(
|
|
39640
|
+
1,
|
|
39641
|
+
f
|
|
39642
|
+
);
|
|
39643
|
+
}
|
|
39644
|
+
f = message.getProjectId();
|
|
39645
|
+
if (f.length > 0) {
|
|
39646
|
+
writer.writeString(
|
|
39647
|
+
2,
|
|
39648
|
+
f
|
|
39649
|
+
);
|
|
39650
|
+
}
|
|
39651
|
+
f = message.getFilter();
|
|
39652
|
+
if (f != null) {
|
|
39653
|
+
writer.writeMessage(
|
|
39654
|
+
3,
|
|
39655
|
+
f,
|
|
39656
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.serializeBinaryToWriter
|
|
39657
|
+
);
|
|
39658
|
+
}
|
|
39659
|
+
f = message.getSort();
|
|
39660
|
+
if (f !== 0.0) {
|
|
39661
|
+
writer.writeEnum(
|
|
39662
|
+
4,
|
|
39663
|
+
f
|
|
39664
|
+
);
|
|
39665
|
+
}
|
|
39666
|
+
f = message.getPageSize();
|
|
39667
|
+
if (f !== 0) {
|
|
39668
|
+
writer.writeInt32(
|
|
39669
|
+
5,
|
|
39670
|
+
f
|
|
39671
|
+
);
|
|
39672
|
+
}
|
|
39673
|
+
f = message.getPageToken();
|
|
39674
|
+
if (f.length > 0) {
|
|
39675
|
+
writer.writeString(
|
|
39676
|
+
6,
|
|
39677
|
+
f
|
|
39678
|
+
);
|
|
39679
|
+
}
|
|
39502
39680
|
};
|
|
39503
39681
|
|
|
39682
|
+
|
|
39504
39683
|
/**
|
|
39505
|
-
*
|
|
39684
|
+
* optional string organization_id = 1;
|
|
39685
|
+
* @return {string}
|
|
39506
39686
|
*/
|
|
39507
|
-
proto.gateway.web.v1.
|
|
39508
|
-
|
|
39509
|
-
AI_SPEND_FORECAST_DIMENSION_MODEL: 1,
|
|
39510
|
-
AI_SPEND_FORECAST_DIMENSION_PROVIDER: 2,
|
|
39511
|
-
AI_SPEND_FORECAST_DIMENSION_SOURCE_SYSTEM: 3,
|
|
39512
|
-
AI_SPEND_FORECAST_DIMENSION_USER: 4,
|
|
39513
|
-
AI_SPEND_FORECAST_DIMENSION_API_KEY: 5
|
|
39687
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.getOrganizationId = function() {
|
|
39688
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
39514
39689
|
};
|
|
39515
39690
|
|
|
39691
|
+
|
|
39516
39692
|
/**
|
|
39517
|
-
* @
|
|
39693
|
+
* @param {string} value
|
|
39694
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39518
39695
|
*/
|
|
39519
|
-
proto.gateway.web.v1.
|
|
39520
|
-
|
|
39521
|
-
AI_RESOURCE_DIMENSION_SKILL: 1,
|
|
39522
|
-
AI_RESOURCE_DIMENSION_TOOL: 2,
|
|
39523
|
-
AI_RESOURCE_DIMENSION_FILE: 3,
|
|
39524
|
-
AI_RESOURCE_DIMENSION_URL: 4,
|
|
39525
|
-
AI_RESOURCE_DIMENSION_COMMAND: 5
|
|
39696
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.setOrganizationId = function(value) {
|
|
39697
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
39526
39698
|
};
|
|
39527
39699
|
|
|
39700
|
+
|
|
39528
39701
|
/**
|
|
39529
|
-
*
|
|
39702
|
+
* optional string project_id = 2;
|
|
39703
|
+
* @return {string}
|
|
39530
39704
|
*/
|
|
39531
|
-
proto.gateway.web.v1.
|
|
39532
|
-
|
|
39533
|
-
AI_FILE_LIFECYCLE_UNLANDED: 1,
|
|
39534
|
-
AI_FILE_LIFECYCLE_CHANGED_SINCE_COMMIT: 2,
|
|
39535
|
-
AI_FILE_LIFECYCLE_COMMITTED_NOT_PUSHED: 3,
|
|
39536
|
-
AI_FILE_LIFECYCLE_PUSHED: 4,
|
|
39537
|
-
AI_FILE_LIFECYCLE_DISCARDED: 5
|
|
39705
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.getProjectId = function() {
|
|
39706
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
39538
39707
|
};
|
|
39539
39708
|
|
|
39709
|
+
|
|
39540
39710
|
/**
|
|
39541
|
-
* @
|
|
39711
|
+
* @param {string} value
|
|
39712
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39542
39713
|
*/
|
|
39543
|
-
proto.gateway.web.v1.
|
|
39544
|
-
|
|
39545
|
-
AI_FILE_TIER_ACTIVE: 1,
|
|
39546
|
-
AI_FILE_TIER_OPEN: 2,
|
|
39547
|
-
AI_FILE_TIER_STALE: 3,
|
|
39548
|
-
AI_FILE_TIER_ABANDONED_HORIZON: 4
|
|
39714
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.setProjectId = function(value) {
|
|
39715
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
39549
39716
|
};
|
|
39550
39717
|
|
|
39718
|
+
|
|
39551
39719
|
/**
|
|
39552
|
-
*
|
|
39720
|
+
* optional RelayHeartbeatFilter filter = 3;
|
|
39721
|
+
* @return {?proto.gateway.web.v1.RelayHeartbeatFilter}
|
|
39553
39722
|
*/
|
|
39554
|
-
proto.gateway.web.v1.
|
|
39555
|
-
|
|
39556
|
-
|
|
39557
|
-
|
|
39558
|
-
|
|
39559
|
-
|
|
39560
|
-
|
|
39561
|
-
|
|
39723
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.getFilter = function() {
|
|
39724
|
+
return /** @type{?proto.gateway.web.v1.RelayHeartbeatFilter} */ (
|
|
39725
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.RelayHeartbeatFilter, 3));
|
|
39726
|
+
};
|
|
39727
|
+
|
|
39728
|
+
|
|
39729
|
+
/**
|
|
39730
|
+
* @param {?proto.gateway.web.v1.RelayHeartbeatFilter|undefined} value
|
|
39731
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39732
|
+
*/
|
|
39733
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.setFilter = function(value) {
|
|
39734
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
39562
39735
|
};
|
|
39563
39736
|
|
|
39737
|
+
|
|
39564
39738
|
/**
|
|
39565
|
-
*
|
|
39739
|
+
* Clears the message field making it undefined.
|
|
39740
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39566
39741
|
*/
|
|
39567
|
-
proto.gateway.web.v1.
|
|
39568
|
-
|
|
39569
|
-
AI_FILE_GROUP_BY_REPOSITORY: 1,
|
|
39570
|
-
AI_FILE_GROUP_BY_REF: 2,
|
|
39571
|
-
AI_FILE_GROUP_BY_SESSION: 3
|
|
39742
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.clearFilter = function() {
|
|
39743
|
+
return this.setFilter(undefined);
|
|
39572
39744
|
};
|
|
39573
39745
|
|
|
39746
|
+
|
|
39574
39747
|
/**
|
|
39575
|
-
*
|
|
39748
|
+
* Returns whether this field is set.
|
|
39749
|
+
* @return {boolean}
|
|
39576
39750
|
*/
|
|
39577
|
-
proto.gateway.web.v1.
|
|
39578
|
-
|
|
39579
|
-
AI_FUNDING_MODE_SUBSCRIPTION: 1,
|
|
39580
|
-
AI_FUNDING_MODE_PREPAID_CREDITS: 2,
|
|
39581
|
-
AI_FUNDING_MODE_API_METERED: 3,
|
|
39582
|
-
AI_FUNDING_MODE_UNKNOWN: 4
|
|
39751
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.hasFilter = function() {
|
|
39752
|
+
return jspb.Message.getField(this, 3) != null;
|
|
39583
39753
|
};
|
|
39584
39754
|
|
|
39755
|
+
|
|
39585
39756
|
/**
|
|
39586
|
-
*
|
|
39757
|
+
* optional RelayHeartbeatSort sort = 4;
|
|
39758
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatSort}
|
|
39587
39759
|
*/
|
|
39588
|
-
proto.gateway.web.v1.
|
|
39589
|
-
|
|
39590
|
-
|
|
39591
|
-
|
|
39760
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.getSort = function() {
|
|
39761
|
+
return /** @type {!proto.gateway.web.v1.RelayHeartbeatSort} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
39762
|
+
};
|
|
39763
|
+
|
|
39764
|
+
|
|
39765
|
+
/**
|
|
39766
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeatSort} value
|
|
39767
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39768
|
+
*/
|
|
39769
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.setSort = function(value) {
|
|
39770
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
39771
|
+
};
|
|
39772
|
+
|
|
39773
|
+
|
|
39774
|
+
/**
|
|
39775
|
+
* optional int32 page_size = 5;
|
|
39776
|
+
* @return {number}
|
|
39777
|
+
*/
|
|
39778
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.getPageSize = function() {
|
|
39779
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
39780
|
+
};
|
|
39781
|
+
|
|
39782
|
+
|
|
39783
|
+
/**
|
|
39784
|
+
* @param {number} value
|
|
39785
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39786
|
+
*/
|
|
39787
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.setPageSize = function(value) {
|
|
39788
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
39789
|
+
};
|
|
39790
|
+
|
|
39791
|
+
|
|
39792
|
+
/**
|
|
39793
|
+
* optional string page_token = 6;
|
|
39794
|
+
* @return {string}
|
|
39795
|
+
*/
|
|
39796
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.getPageToken = function() {
|
|
39797
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
39798
|
+
};
|
|
39799
|
+
|
|
39800
|
+
|
|
39801
|
+
/**
|
|
39802
|
+
* @param {string} value
|
|
39803
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsRequest} returns this
|
|
39804
|
+
*/
|
|
39805
|
+
proto.gateway.web.v1.ListRelayHeartbeatsRequest.prototype.setPageToken = function(value) {
|
|
39806
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
39807
|
+
};
|
|
39808
|
+
|
|
39809
|
+
|
|
39810
|
+
|
|
39811
|
+
/**
|
|
39812
|
+
* List of repeated fields within this message type.
|
|
39813
|
+
* @private {!Array<number>}
|
|
39814
|
+
* @const
|
|
39815
|
+
*/
|
|
39816
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.repeatedFields_ = [2];
|
|
39817
|
+
|
|
39818
|
+
|
|
39819
|
+
|
|
39820
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39821
|
+
/**
|
|
39822
|
+
* Creates an object representation of this proto.
|
|
39823
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39824
|
+
* Optional fields that are not set will be set to undefined.
|
|
39825
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
39826
|
+
* For the list of reserved names please see:
|
|
39827
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
39828
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
39829
|
+
* JSPB instance for transitional soy proto support:
|
|
39830
|
+
* http://goto/soy-param-migration
|
|
39831
|
+
* @return {!Object}
|
|
39832
|
+
*/
|
|
39833
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
39834
|
+
return proto.gateway.web.v1.ListRelayHeartbeatsResponse.toObject(opt_includeInstance, this);
|
|
39835
|
+
};
|
|
39836
|
+
|
|
39837
|
+
|
|
39838
|
+
/**
|
|
39839
|
+
* Static version of the {@see toObject} method.
|
|
39840
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39841
|
+
* the JSPB instance for transitional soy proto support:
|
|
39842
|
+
* http://goto/soy-param-migration
|
|
39843
|
+
* @param {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} msg The msg instance to transform.
|
|
39844
|
+
* @return {!Object}
|
|
39845
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39846
|
+
*/
|
|
39847
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.toObject = function(includeInstance, msg) {
|
|
39848
|
+
var f, obj = {
|
|
39849
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
39850
|
+
relayHeartbeatsList: jspb.Message.toObjectList(msg.getRelayHeartbeatsList(),
|
|
39851
|
+
proto.gateway.web.v1.RelayHeartbeat.toObject, includeInstance),
|
|
39852
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
39853
|
+
};
|
|
39854
|
+
|
|
39855
|
+
if (includeInstance) {
|
|
39856
|
+
obj.$jspbMessageInstance = msg;
|
|
39857
|
+
}
|
|
39858
|
+
return obj;
|
|
39859
|
+
};
|
|
39860
|
+
}
|
|
39861
|
+
|
|
39862
|
+
|
|
39863
|
+
/**
|
|
39864
|
+
* Deserializes binary data (in protobuf wire format).
|
|
39865
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
39866
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse}
|
|
39867
|
+
*/
|
|
39868
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.deserializeBinary = function(bytes) {
|
|
39869
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
39870
|
+
var msg = new proto.gateway.web.v1.ListRelayHeartbeatsResponse;
|
|
39871
|
+
return proto.gateway.web.v1.ListRelayHeartbeatsResponse.deserializeBinaryFromReader(msg, reader);
|
|
39872
|
+
};
|
|
39873
|
+
|
|
39874
|
+
|
|
39875
|
+
/**
|
|
39876
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
39877
|
+
* given reader into the given message object.
|
|
39878
|
+
* @param {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} msg The message object to deserialize into.
|
|
39879
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39880
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse}
|
|
39881
|
+
*/
|
|
39882
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
39883
|
+
while (reader.nextField()) {
|
|
39884
|
+
if (reader.isEndGroup()) {
|
|
39885
|
+
break;
|
|
39886
|
+
}
|
|
39887
|
+
var field = reader.getFieldNumber();
|
|
39888
|
+
switch (field) {
|
|
39889
|
+
case 1:
|
|
39890
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
39891
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
39892
|
+
msg.setStatus(value);
|
|
39893
|
+
break;
|
|
39894
|
+
case 2:
|
|
39895
|
+
var value = new proto.gateway.web.v1.RelayHeartbeat;
|
|
39896
|
+
reader.readMessage(value,proto.gateway.web.v1.RelayHeartbeat.deserializeBinaryFromReader);
|
|
39897
|
+
msg.addRelayHeartbeats(value);
|
|
39898
|
+
break;
|
|
39899
|
+
case 3:
|
|
39900
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
39901
|
+
msg.setNextPageToken(value);
|
|
39902
|
+
break;
|
|
39903
|
+
default:
|
|
39904
|
+
reader.skipField();
|
|
39905
|
+
break;
|
|
39906
|
+
}
|
|
39907
|
+
}
|
|
39908
|
+
return msg;
|
|
39909
|
+
};
|
|
39910
|
+
|
|
39911
|
+
|
|
39912
|
+
/**
|
|
39913
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
39914
|
+
* @return {!Uint8Array}
|
|
39915
|
+
*/
|
|
39916
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.serializeBinary = function() {
|
|
39917
|
+
var writer = new jspb.BinaryWriter();
|
|
39918
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.serializeBinaryToWriter(this, writer);
|
|
39919
|
+
return writer.getResultBuffer();
|
|
39920
|
+
};
|
|
39921
|
+
|
|
39922
|
+
|
|
39923
|
+
/**
|
|
39924
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
39925
|
+
* format), writing to the given BinaryWriter.
|
|
39926
|
+
* @param {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} message
|
|
39927
|
+
* @param {!jspb.BinaryWriter} writer
|
|
39928
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39929
|
+
*/
|
|
39930
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
39931
|
+
var f = undefined;
|
|
39932
|
+
f = message.getStatus();
|
|
39933
|
+
if (f != null) {
|
|
39934
|
+
writer.writeMessage(
|
|
39935
|
+
1,
|
|
39936
|
+
f,
|
|
39937
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
39938
|
+
);
|
|
39939
|
+
}
|
|
39940
|
+
f = message.getRelayHeartbeatsList();
|
|
39941
|
+
if (f.length > 0) {
|
|
39942
|
+
writer.writeRepeatedMessage(
|
|
39943
|
+
2,
|
|
39944
|
+
f,
|
|
39945
|
+
proto.gateway.web.v1.RelayHeartbeat.serializeBinaryToWriter
|
|
39946
|
+
);
|
|
39947
|
+
}
|
|
39948
|
+
f = message.getNextPageToken();
|
|
39949
|
+
if (f.length > 0) {
|
|
39950
|
+
writer.writeString(
|
|
39951
|
+
3,
|
|
39952
|
+
f
|
|
39953
|
+
);
|
|
39954
|
+
}
|
|
39955
|
+
};
|
|
39956
|
+
|
|
39957
|
+
|
|
39958
|
+
/**
|
|
39959
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
39960
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
39961
|
+
*/
|
|
39962
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.getStatus = function() {
|
|
39963
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
39964
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
39965
|
+
};
|
|
39966
|
+
|
|
39967
|
+
|
|
39968
|
+
/**
|
|
39969
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
39970
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} returns this
|
|
39971
|
+
*/
|
|
39972
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.setStatus = function(value) {
|
|
39973
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
39974
|
+
};
|
|
39975
|
+
|
|
39976
|
+
|
|
39977
|
+
/**
|
|
39978
|
+
* Clears the message field making it undefined.
|
|
39979
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} returns this
|
|
39980
|
+
*/
|
|
39981
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.clearStatus = function() {
|
|
39982
|
+
return this.setStatus(undefined);
|
|
39983
|
+
};
|
|
39984
|
+
|
|
39985
|
+
|
|
39986
|
+
/**
|
|
39987
|
+
* Returns whether this field is set.
|
|
39988
|
+
* @return {boolean}
|
|
39989
|
+
*/
|
|
39990
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.hasStatus = function() {
|
|
39991
|
+
return jspb.Message.getField(this, 1) != null;
|
|
39992
|
+
};
|
|
39993
|
+
|
|
39994
|
+
|
|
39995
|
+
/**
|
|
39996
|
+
* repeated RelayHeartbeat relay_heartbeats = 2;
|
|
39997
|
+
* @return {!Array<!proto.gateway.web.v1.RelayHeartbeat>}
|
|
39998
|
+
*/
|
|
39999
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.getRelayHeartbeatsList = function() {
|
|
40000
|
+
return /** @type{!Array<!proto.gateway.web.v1.RelayHeartbeat>} */ (
|
|
40001
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.RelayHeartbeat, 2));
|
|
40002
|
+
};
|
|
40003
|
+
|
|
40004
|
+
|
|
40005
|
+
/**
|
|
40006
|
+
* @param {!Array<!proto.gateway.web.v1.RelayHeartbeat>} value
|
|
40007
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} returns this
|
|
40008
|
+
*/
|
|
40009
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.setRelayHeartbeatsList = function(value) {
|
|
40010
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
40011
|
+
};
|
|
40012
|
+
|
|
40013
|
+
|
|
40014
|
+
/**
|
|
40015
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeat=} opt_value
|
|
40016
|
+
* @param {number=} opt_index
|
|
40017
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat}
|
|
40018
|
+
*/
|
|
40019
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.addRelayHeartbeats = function(opt_value, opt_index) {
|
|
40020
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.RelayHeartbeat, opt_index);
|
|
40021
|
+
};
|
|
40022
|
+
|
|
40023
|
+
|
|
40024
|
+
/**
|
|
40025
|
+
* Clears the list making it empty but non-null.
|
|
40026
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} returns this
|
|
40027
|
+
*/
|
|
40028
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.clearRelayHeartbeatsList = function() {
|
|
40029
|
+
return this.setRelayHeartbeatsList([]);
|
|
40030
|
+
};
|
|
40031
|
+
|
|
40032
|
+
|
|
40033
|
+
/**
|
|
40034
|
+
* optional string next_page_token = 3;
|
|
40035
|
+
* @return {string}
|
|
40036
|
+
*/
|
|
40037
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.getNextPageToken = function() {
|
|
40038
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
40039
|
+
};
|
|
40040
|
+
|
|
40041
|
+
|
|
40042
|
+
/**
|
|
40043
|
+
* @param {string} value
|
|
40044
|
+
* @return {!proto.gateway.web.v1.ListRelayHeartbeatsResponse} returns this
|
|
40045
|
+
*/
|
|
40046
|
+
proto.gateway.web.v1.ListRelayHeartbeatsResponse.prototype.setNextPageToken = function(value) {
|
|
40047
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
40048
|
+
};
|
|
40049
|
+
|
|
40050
|
+
|
|
40051
|
+
|
|
40052
|
+
|
|
40053
|
+
|
|
40054
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
40055
|
+
/**
|
|
40056
|
+
* Creates an object representation of this proto.
|
|
40057
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
40058
|
+
* Optional fields that are not set will be set to undefined.
|
|
40059
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
40060
|
+
* For the list of reserved names please see:
|
|
40061
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
40062
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
40063
|
+
* JSPB instance for transitional soy proto support:
|
|
40064
|
+
* http://goto/soy-param-migration
|
|
40065
|
+
* @return {!Object}
|
|
40066
|
+
*/
|
|
40067
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.toObject = function(opt_includeInstance) {
|
|
40068
|
+
return proto.gateway.web.v1.RelayHeartbeat.toObject(opt_includeInstance, this);
|
|
40069
|
+
};
|
|
40070
|
+
|
|
40071
|
+
|
|
40072
|
+
/**
|
|
40073
|
+
* Static version of the {@see toObject} method.
|
|
40074
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
40075
|
+
* the JSPB instance for transitional soy proto support:
|
|
40076
|
+
* http://goto/soy-param-migration
|
|
40077
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeat} msg The msg instance to transform.
|
|
40078
|
+
* @return {!Object}
|
|
40079
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40080
|
+
*/
|
|
40081
|
+
proto.gateway.web.v1.RelayHeartbeat.toObject = function(includeInstance, msg) {
|
|
40082
|
+
var f, obj = {
|
|
40083
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
40084
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
40085
|
+
accountUserId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
40086
|
+
hostName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
40087
|
+
firstSeen: (f = msg.getFirstSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
40088
|
+
lastSeen: (f = msg.getLastSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
40089
|
+
termaVersion: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
40090
|
+
miradorApiKeyId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
40091
|
+
};
|
|
40092
|
+
|
|
40093
|
+
if (includeInstance) {
|
|
40094
|
+
obj.$jspbMessageInstance = msg;
|
|
40095
|
+
}
|
|
40096
|
+
return obj;
|
|
40097
|
+
};
|
|
40098
|
+
}
|
|
40099
|
+
|
|
40100
|
+
|
|
40101
|
+
/**
|
|
40102
|
+
* Deserializes binary data (in protobuf wire format).
|
|
40103
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
40104
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat}
|
|
40105
|
+
*/
|
|
40106
|
+
proto.gateway.web.v1.RelayHeartbeat.deserializeBinary = function(bytes) {
|
|
40107
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
40108
|
+
var msg = new proto.gateway.web.v1.RelayHeartbeat;
|
|
40109
|
+
return proto.gateway.web.v1.RelayHeartbeat.deserializeBinaryFromReader(msg, reader);
|
|
40110
|
+
};
|
|
40111
|
+
|
|
40112
|
+
|
|
40113
|
+
/**
|
|
40114
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
40115
|
+
* given reader into the given message object.
|
|
40116
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeat} msg The message object to deserialize into.
|
|
40117
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
40118
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat}
|
|
40119
|
+
*/
|
|
40120
|
+
proto.gateway.web.v1.RelayHeartbeat.deserializeBinaryFromReader = function(msg, reader) {
|
|
40121
|
+
while (reader.nextField()) {
|
|
40122
|
+
if (reader.isEndGroup()) {
|
|
40123
|
+
break;
|
|
40124
|
+
}
|
|
40125
|
+
var field = reader.getFieldNumber();
|
|
40126
|
+
switch (field) {
|
|
40127
|
+
case 1:
|
|
40128
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40129
|
+
msg.setOrganizationId(value);
|
|
40130
|
+
break;
|
|
40131
|
+
case 2:
|
|
40132
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40133
|
+
msg.setProjectId(value);
|
|
40134
|
+
break;
|
|
40135
|
+
case 3:
|
|
40136
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40137
|
+
msg.setAccountUserId(value);
|
|
40138
|
+
break;
|
|
40139
|
+
case 4:
|
|
40140
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40141
|
+
msg.setHostName(value);
|
|
40142
|
+
break;
|
|
40143
|
+
case 5:
|
|
40144
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
40145
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
40146
|
+
msg.setFirstSeen(value);
|
|
40147
|
+
break;
|
|
40148
|
+
case 6:
|
|
40149
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
40150
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
40151
|
+
msg.setLastSeen(value);
|
|
40152
|
+
break;
|
|
40153
|
+
case 7:
|
|
40154
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40155
|
+
msg.setTermaVersion(value);
|
|
40156
|
+
break;
|
|
40157
|
+
case 8:
|
|
40158
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40159
|
+
msg.setMiradorApiKeyId(value);
|
|
40160
|
+
break;
|
|
40161
|
+
default:
|
|
40162
|
+
reader.skipField();
|
|
40163
|
+
break;
|
|
40164
|
+
}
|
|
40165
|
+
}
|
|
40166
|
+
return msg;
|
|
40167
|
+
};
|
|
40168
|
+
|
|
40169
|
+
|
|
40170
|
+
/**
|
|
40171
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
40172
|
+
* @return {!Uint8Array}
|
|
40173
|
+
*/
|
|
40174
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.serializeBinary = function() {
|
|
40175
|
+
var writer = new jspb.BinaryWriter();
|
|
40176
|
+
proto.gateway.web.v1.RelayHeartbeat.serializeBinaryToWriter(this, writer);
|
|
40177
|
+
return writer.getResultBuffer();
|
|
40178
|
+
};
|
|
40179
|
+
|
|
40180
|
+
|
|
40181
|
+
/**
|
|
40182
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
40183
|
+
* format), writing to the given BinaryWriter.
|
|
40184
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeat} message
|
|
40185
|
+
* @param {!jspb.BinaryWriter} writer
|
|
40186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40187
|
+
*/
|
|
40188
|
+
proto.gateway.web.v1.RelayHeartbeat.serializeBinaryToWriter = function(message, writer) {
|
|
40189
|
+
var f = undefined;
|
|
40190
|
+
f = message.getOrganizationId();
|
|
40191
|
+
if (f.length > 0) {
|
|
40192
|
+
writer.writeString(
|
|
40193
|
+
1,
|
|
40194
|
+
f
|
|
40195
|
+
);
|
|
40196
|
+
}
|
|
40197
|
+
f = message.getProjectId();
|
|
40198
|
+
if (f.length > 0) {
|
|
40199
|
+
writer.writeString(
|
|
40200
|
+
2,
|
|
40201
|
+
f
|
|
40202
|
+
);
|
|
40203
|
+
}
|
|
40204
|
+
f = message.getAccountUserId();
|
|
40205
|
+
if (f.length > 0) {
|
|
40206
|
+
writer.writeString(
|
|
40207
|
+
3,
|
|
40208
|
+
f
|
|
40209
|
+
);
|
|
40210
|
+
}
|
|
40211
|
+
f = message.getHostName();
|
|
40212
|
+
if (f.length > 0) {
|
|
40213
|
+
writer.writeString(
|
|
40214
|
+
4,
|
|
40215
|
+
f
|
|
40216
|
+
);
|
|
40217
|
+
}
|
|
40218
|
+
f = message.getFirstSeen();
|
|
40219
|
+
if (f != null) {
|
|
40220
|
+
writer.writeMessage(
|
|
40221
|
+
5,
|
|
40222
|
+
f,
|
|
40223
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
40224
|
+
);
|
|
40225
|
+
}
|
|
40226
|
+
f = message.getLastSeen();
|
|
40227
|
+
if (f != null) {
|
|
40228
|
+
writer.writeMessage(
|
|
40229
|
+
6,
|
|
40230
|
+
f,
|
|
40231
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
40232
|
+
);
|
|
40233
|
+
}
|
|
40234
|
+
f = message.getTermaVersion();
|
|
40235
|
+
if (f.length > 0) {
|
|
40236
|
+
writer.writeString(
|
|
40237
|
+
7,
|
|
40238
|
+
f
|
|
40239
|
+
);
|
|
40240
|
+
}
|
|
40241
|
+
f = message.getMiradorApiKeyId();
|
|
40242
|
+
if (f.length > 0) {
|
|
40243
|
+
writer.writeString(
|
|
40244
|
+
8,
|
|
40245
|
+
f
|
|
40246
|
+
);
|
|
40247
|
+
}
|
|
40248
|
+
};
|
|
40249
|
+
|
|
40250
|
+
|
|
40251
|
+
/**
|
|
40252
|
+
* optional string organization_id = 1;
|
|
40253
|
+
* @return {string}
|
|
40254
|
+
*/
|
|
40255
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getOrganizationId = function() {
|
|
40256
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
40257
|
+
};
|
|
40258
|
+
|
|
40259
|
+
|
|
40260
|
+
/**
|
|
40261
|
+
* @param {string} value
|
|
40262
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40263
|
+
*/
|
|
40264
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setOrganizationId = function(value) {
|
|
40265
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
40266
|
+
};
|
|
40267
|
+
|
|
40268
|
+
|
|
40269
|
+
/**
|
|
40270
|
+
* optional string project_id = 2;
|
|
40271
|
+
* @return {string}
|
|
40272
|
+
*/
|
|
40273
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getProjectId = function() {
|
|
40274
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
40275
|
+
};
|
|
40276
|
+
|
|
40277
|
+
|
|
40278
|
+
/**
|
|
40279
|
+
* @param {string} value
|
|
40280
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40281
|
+
*/
|
|
40282
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setProjectId = function(value) {
|
|
40283
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
40284
|
+
};
|
|
40285
|
+
|
|
40286
|
+
|
|
40287
|
+
/**
|
|
40288
|
+
* optional string account_user_id = 3;
|
|
40289
|
+
* @return {string}
|
|
40290
|
+
*/
|
|
40291
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getAccountUserId = function() {
|
|
40292
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
40293
|
+
};
|
|
40294
|
+
|
|
40295
|
+
|
|
40296
|
+
/**
|
|
40297
|
+
* @param {string} value
|
|
40298
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40299
|
+
*/
|
|
40300
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setAccountUserId = function(value) {
|
|
40301
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
40302
|
+
};
|
|
40303
|
+
|
|
40304
|
+
|
|
40305
|
+
/**
|
|
40306
|
+
* optional string host_name = 4;
|
|
40307
|
+
* @return {string}
|
|
40308
|
+
*/
|
|
40309
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getHostName = function() {
|
|
40310
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
40311
|
+
};
|
|
40312
|
+
|
|
40313
|
+
|
|
40314
|
+
/**
|
|
40315
|
+
* @param {string} value
|
|
40316
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40317
|
+
*/
|
|
40318
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setHostName = function(value) {
|
|
40319
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
40320
|
+
};
|
|
40321
|
+
|
|
40322
|
+
|
|
40323
|
+
/**
|
|
40324
|
+
* optional google.protobuf.Timestamp first_seen = 5;
|
|
40325
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
40326
|
+
*/
|
|
40327
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getFirstSeen = function() {
|
|
40328
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
40329
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
40330
|
+
};
|
|
40331
|
+
|
|
40332
|
+
|
|
40333
|
+
/**
|
|
40334
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
40335
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40336
|
+
*/
|
|
40337
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setFirstSeen = function(value) {
|
|
40338
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
40339
|
+
};
|
|
40340
|
+
|
|
40341
|
+
|
|
40342
|
+
/**
|
|
40343
|
+
* Clears the message field making it undefined.
|
|
40344
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40345
|
+
*/
|
|
40346
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.clearFirstSeen = function() {
|
|
40347
|
+
return this.setFirstSeen(undefined);
|
|
40348
|
+
};
|
|
40349
|
+
|
|
40350
|
+
|
|
40351
|
+
/**
|
|
40352
|
+
* Returns whether this field is set.
|
|
40353
|
+
* @return {boolean}
|
|
40354
|
+
*/
|
|
40355
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.hasFirstSeen = function() {
|
|
40356
|
+
return jspb.Message.getField(this, 5) != null;
|
|
40357
|
+
};
|
|
40358
|
+
|
|
40359
|
+
|
|
40360
|
+
/**
|
|
40361
|
+
* optional google.protobuf.Timestamp last_seen = 6;
|
|
40362
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
40363
|
+
*/
|
|
40364
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getLastSeen = function() {
|
|
40365
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
40366
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
40367
|
+
};
|
|
40368
|
+
|
|
40369
|
+
|
|
40370
|
+
/**
|
|
40371
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
40372
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40373
|
+
*/
|
|
40374
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setLastSeen = function(value) {
|
|
40375
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
40376
|
+
};
|
|
40377
|
+
|
|
40378
|
+
|
|
40379
|
+
/**
|
|
40380
|
+
* Clears the message field making it undefined.
|
|
40381
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40382
|
+
*/
|
|
40383
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.clearLastSeen = function() {
|
|
40384
|
+
return this.setLastSeen(undefined);
|
|
40385
|
+
};
|
|
40386
|
+
|
|
40387
|
+
|
|
40388
|
+
/**
|
|
40389
|
+
* Returns whether this field is set.
|
|
40390
|
+
* @return {boolean}
|
|
40391
|
+
*/
|
|
40392
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.hasLastSeen = function() {
|
|
40393
|
+
return jspb.Message.getField(this, 6) != null;
|
|
40394
|
+
};
|
|
40395
|
+
|
|
40396
|
+
|
|
40397
|
+
/**
|
|
40398
|
+
* optional string terma_version = 7;
|
|
40399
|
+
* @return {string}
|
|
40400
|
+
*/
|
|
40401
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getTermaVersion = function() {
|
|
40402
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
40403
|
+
};
|
|
40404
|
+
|
|
40405
|
+
|
|
40406
|
+
/**
|
|
40407
|
+
* @param {string} value
|
|
40408
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40409
|
+
*/
|
|
40410
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setTermaVersion = function(value) {
|
|
40411
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
40412
|
+
};
|
|
40413
|
+
|
|
40414
|
+
|
|
40415
|
+
/**
|
|
40416
|
+
* optional string mirador_api_key_id = 8;
|
|
40417
|
+
* @return {string}
|
|
40418
|
+
*/
|
|
40419
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.getMiradorApiKeyId = function() {
|
|
40420
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
40421
|
+
};
|
|
40422
|
+
|
|
40423
|
+
|
|
40424
|
+
/**
|
|
40425
|
+
* @param {string} value
|
|
40426
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeat} returns this
|
|
40427
|
+
*/
|
|
40428
|
+
proto.gateway.web.v1.RelayHeartbeat.prototype.setMiradorApiKeyId = function(value) {
|
|
40429
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
40430
|
+
};
|
|
40431
|
+
|
|
40432
|
+
|
|
40433
|
+
|
|
40434
|
+
/**
|
|
40435
|
+
* List of repeated fields within this message type.
|
|
40436
|
+
* @private {!Array<number>}
|
|
40437
|
+
* @const
|
|
40438
|
+
*/
|
|
40439
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.repeatedFields_ = [1,2,3,4,5];
|
|
40440
|
+
|
|
40441
|
+
|
|
40442
|
+
|
|
40443
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
40444
|
+
/**
|
|
40445
|
+
* Creates an object representation of this proto.
|
|
40446
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
40447
|
+
* Optional fields that are not set will be set to undefined.
|
|
40448
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
40449
|
+
* For the list of reserved names please see:
|
|
40450
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
40451
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
40452
|
+
* JSPB instance for transitional soy proto support:
|
|
40453
|
+
* http://goto/soy-param-migration
|
|
40454
|
+
* @return {!Object}
|
|
40455
|
+
*/
|
|
40456
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.toObject = function(opt_includeInstance) {
|
|
40457
|
+
return proto.gateway.web.v1.RelayHeartbeatFilter.toObject(opt_includeInstance, this);
|
|
40458
|
+
};
|
|
40459
|
+
|
|
40460
|
+
|
|
40461
|
+
/**
|
|
40462
|
+
* Static version of the {@see toObject} method.
|
|
40463
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
40464
|
+
* the JSPB instance for transitional soy proto support:
|
|
40465
|
+
* http://goto/soy-param-migration
|
|
40466
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeatFilter} msg The msg instance to transform.
|
|
40467
|
+
* @return {!Object}
|
|
40468
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40469
|
+
*/
|
|
40470
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.toObject = function(includeInstance, msg) {
|
|
40471
|
+
var f, obj = {
|
|
40472
|
+
organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
40473
|
+
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
40474
|
+
accountUserIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
40475
|
+
hostNamesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
40476
|
+
termaVersionsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
40477
|
+
lastSeenAfter: (f = msg.getLastSeenAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
40478
|
+
lastSeenBefore: (f = msg.getLastSeenBefore()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
40479
|
+
};
|
|
40480
|
+
|
|
40481
|
+
if (includeInstance) {
|
|
40482
|
+
obj.$jspbMessageInstance = msg;
|
|
40483
|
+
}
|
|
40484
|
+
return obj;
|
|
40485
|
+
};
|
|
40486
|
+
}
|
|
40487
|
+
|
|
40488
|
+
|
|
40489
|
+
/**
|
|
40490
|
+
* Deserializes binary data (in protobuf wire format).
|
|
40491
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
40492
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter}
|
|
40493
|
+
*/
|
|
40494
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.deserializeBinary = function(bytes) {
|
|
40495
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
40496
|
+
var msg = new proto.gateway.web.v1.RelayHeartbeatFilter;
|
|
40497
|
+
return proto.gateway.web.v1.RelayHeartbeatFilter.deserializeBinaryFromReader(msg, reader);
|
|
40498
|
+
};
|
|
40499
|
+
|
|
40500
|
+
|
|
40501
|
+
/**
|
|
40502
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
40503
|
+
* given reader into the given message object.
|
|
40504
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeatFilter} msg The message object to deserialize into.
|
|
40505
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
40506
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter}
|
|
40507
|
+
*/
|
|
40508
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
40509
|
+
while (reader.nextField()) {
|
|
40510
|
+
if (reader.isEndGroup()) {
|
|
40511
|
+
break;
|
|
40512
|
+
}
|
|
40513
|
+
var field = reader.getFieldNumber();
|
|
40514
|
+
switch (field) {
|
|
40515
|
+
case 1:
|
|
40516
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40517
|
+
msg.addOrganizationIds(value);
|
|
40518
|
+
break;
|
|
40519
|
+
case 2:
|
|
40520
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40521
|
+
msg.addProjectIds(value);
|
|
40522
|
+
break;
|
|
40523
|
+
case 3:
|
|
40524
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40525
|
+
msg.addAccountUserIds(value);
|
|
40526
|
+
break;
|
|
40527
|
+
case 4:
|
|
40528
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40529
|
+
msg.addHostNames(value);
|
|
40530
|
+
break;
|
|
40531
|
+
case 5:
|
|
40532
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40533
|
+
msg.addTermaVersions(value);
|
|
40534
|
+
break;
|
|
40535
|
+
case 6:
|
|
40536
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
40537
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
40538
|
+
msg.setLastSeenAfter(value);
|
|
40539
|
+
break;
|
|
40540
|
+
case 7:
|
|
40541
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
40542
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
40543
|
+
msg.setLastSeenBefore(value);
|
|
40544
|
+
break;
|
|
40545
|
+
default:
|
|
40546
|
+
reader.skipField();
|
|
40547
|
+
break;
|
|
40548
|
+
}
|
|
40549
|
+
}
|
|
40550
|
+
return msg;
|
|
40551
|
+
};
|
|
40552
|
+
|
|
40553
|
+
|
|
40554
|
+
/**
|
|
40555
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
40556
|
+
* @return {!Uint8Array}
|
|
40557
|
+
*/
|
|
40558
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.serializeBinary = function() {
|
|
40559
|
+
var writer = new jspb.BinaryWriter();
|
|
40560
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.serializeBinaryToWriter(this, writer);
|
|
40561
|
+
return writer.getResultBuffer();
|
|
40562
|
+
};
|
|
40563
|
+
|
|
40564
|
+
|
|
40565
|
+
/**
|
|
40566
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
40567
|
+
* format), writing to the given BinaryWriter.
|
|
40568
|
+
* @param {!proto.gateway.web.v1.RelayHeartbeatFilter} message
|
|
40569
|
+
* @param {!jspb.BinaryWriter} writer
|
|
40570
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40571
|
+
*/
|
|
40572
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.serializeBinaryToWriter = function(message, writer) {
|
|
40573
|
+
var f = undefined;
|
|
40574
|
+
f = message.getOrganizationIdsList();
|
|
40575
|
+
if (f.length > 0) {
|
|
40576
|
+
writer.writeRepeatedString(
|
|
40577
|
+
1,
|
|
40578
|
+
f
|
|
40579
|
+
);
|
|
40580
|
+
}
|
|
40581
|
+
f = message.getProjectIdsList();
|
|
40582
|
+
if (f.length > 0) {
|
|
40583
|
+
writer.writeRepeatedString(
|
|
40584
|
+
2,
|
|
40585
|
+
f
|
|
40586
|
+
);
|
|
40587
|
+
}
|
|
40588
|
+
f = message.getAccountUserIdsList();
|
|
40589
|
+
if (f.length > 0) {
|
|
40590
|
+
writer.writeRepeatedString(
|
|
40591
|
+
3,
|
|
40592
|
+
f
|
|
40593
|
+
);
|
|
40594
|
+
}
|
|
40595
|
+
f = message.getHostNamesList();
|
|
40596
|
+
if (f.length > 0) {
|
|
40597
|
+
writer.writeRepeatedString(
|
|
40598
|
+
4,
|
|
40599
|
+
f
|
|
40600
|
+
);
|
|
40601
|
+
}
|
|
40602
|
+
f = message.getTermaVersionsList();
|
|
40603
|
+
if (f.length > 0) {
|
|
40604
|
+
writer.writeRepeatedString(
|
|
40605
|
+
5,
|
|
40606
|
+
f
|
|
40607
|
+
);
|
|
40608
|
+
}
|
|
40609
|
+
f = message.getLastSeenAfter();
|
|
40610
|
+
if (f != null) {
|
|
40611
|
+
writer.writeMessage(
|
|
40612
|
+
6,
|
|
40613
|
+
f,
|
|
40614
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
40615
|
+
);
|
|
40616
|
+
}
|
|
40617
|
+
f = message.getLastSeenBefore();
|
|
40618
|
+
if (f != null) {
|
|
40619
|
+
writer.writeMessage(
|
|
40620
|
+
7,
|
|
40621
|
+
f,
|
|
40622
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
40623
|
+
);
|
|
40624
|
+
}
|
|
40625
|
+
};
|
|
40626
|
+
|
|
40627
|
+
|
|
40628
|
+
/**
|
|
40629
|
+
* repeated string organization_ids = 1;
|
|
40630
|
+
* @return {!Array<string>}
|
|
40631
|
+
*/
|
|
40632
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getOrganizationIdsList = function() {
|
|
40633
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
40634
|
+
};
|
|
40635
|
+
|
|
40636
|
+
|
|
40637
|
+
/**
|
|
40638
|
+
* @param {!Array<string>} value
|
|
40639
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40640
|
+
*/
|
|
40641
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setOrganizationIdsList = function(value) {
|
|
40642
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
40643
|
+
};
|
|
40644
|
+
|
|
40645
|
+
|
|
40646
|
+
/**
|
|
40647
|
+
* @param {string} value
|
|
40648
|
+
* @param {number=} opt_index
|
|
40649
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40650
|
+
*/
|
|
40651
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.addOrganizationIds = function(value, opt_index) {
|
|
40652
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
40653
|
+
};
|
|
40654
|
+
|
|
40655
|
+
|
|
40656
|
+
/**
|
|
40657
|
+
* Clears the list making it empty but non-null.
|
|
40658
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40659
|
+
*/
|
|
40660
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearOrganizationIdsList = function() {
|
|
40661
|
+
return this.setOrganizationIdsList([]);
|
|
40662
|
+
};
|
|
40663
|
+
|
|
40664
|
+
|
|
40665
|
+
/**
|
|
40666
|
+
* repeated string project_ids = 2;
|
|
40667
|
+
* @return {!Array<string>}
|
|
40668
|
+
*/
|
|
40669
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getProjectIdsList = function() {
|
|
40670
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
40671
|
+
};
|
|
40672
|
+
|
|
40673
|
+
|
|
40674
|
+
/**
|
|
40675
|
+
* @param {!Array<string>} value
|
|
40676
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40677
|
+
*/
|
|
40678
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setProjectIdsList = function(value) {
|
|
40679
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
40680
|
+
};
|
|
40681
|
+
|
|
40682
|
+
|
|
40683
|
+
/**
|
|
40684
|
+
* @param {string} value
|
|
40685
|
+
* @param {number=} opt_index
|
|
40686
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40687
|
+
*/
|
|
40688
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.addProjectIds = function(value, opt_index) {
|
|
40689
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
40690
|
+
};
|
|
40691
|
+
|
|
40692
|
+
|
|
40693
|
+
/**
|
|
40694
|
+
* Clears the list making it empty but non-null.
|
|
40695
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40696
|
+
*/
|
|
40697
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearProjectIdsList = function() {
|
|
40698
|
+
return this.setProjectIdsList([]);
|
|
40699
|
+
};
|
|
40700
|
+
|
|
40701
|
+
|
|
40702
|
+
/**
|
|
40703
|
+
* repeated string account_user_ids = 3;
|
|
40704
|
+
* @return {!Array<string>}
|
|
40705
|
+
*/
|
|
40706
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getAccountUserIdsList = function() {
|
|
40707
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
40708
|
+
};
|
|
40709
|
+
|
|
40710
|
+
|
|
40711
|
+
/**
|
|
40712
|
+
* @param {!Array<string>} value
|
|
40713
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40714
|
+
*/
|
|
40715
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setAccountUserIdsList = function(value) {
|
|
40716
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
40717
|
+
};
|
|
40718
|
+
|
|
40719
|
+
|
|
40720
|
+
/**
|
|
40721
|
+
* @param {string} value
|
|
40722
|
+
* @param {number=} opt_index
|
|
40723
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40724
|
+
*/
|
|
40725
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.addAccountUserIds = function(value, opt_index) {
|
|
40726
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
40727
|
+
};
|
|
40728
|
+
|
|
40729
|
+
|
|
40730
|
+
/**
|
|
40731
|
+
* Clears the list making it empty but non-null.
|
|
40732
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40733
|
+
*/
|
|
40734
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearAccountUserIdsList = function() {
|
|
40735
|
+
return this.setAccountUserIdsList([]);
|
|
40736
|
+
};
|
|
40737
|
+
|
|
40738
|
+
|
|
40739
|
+
/**
|
|
40740
|
+
* repeated string host_names = 4;
|
|
40741
|
+
* @return {!Array<string>}
|
|
40742
|
+
*/
|
|
40743
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getHostNamesList = function() {
|
|
40744
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
40745
|
+
};
|
|
40746
|
+
|
|
40747
|
+
|
|
40748
|
+
/**
|
|
40749
|
+
* @param {!Array<string>} value
|
|
40750
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40751
|
+
*/
|
|
40752
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setHostNamesList = function(value) {
|
|
40753
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
40754
|
+
};
|
|
40755
|
+
|
|
40756
|
+
|
|
40757
|
+
/**
|
|
40758
|
+
* @param {string} value
|
|
40759
|
+
* @param {number=} opt_index
|
|
40760
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40761
|
+
*/
|
|
40762
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.addHostNames = function(value, opt_index) {
|
|
40763
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
40764
|
+
};
|
|
40765
|
+
|
|
40766
|
+
|
|
40767
|
+
/**
|
|
40768
|
+
* Clears the list making it empty but non-null.
|
|
40769
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40770
|
+
*/
|
|
40771
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearHostNamesList = function() {
|
|
40772
|
+
return this.setHostNamesList([]);
|
|
40773
|
+
};
|
|
40774
|
+
|
|
40775
|
+
|
|
40776
|
+
/**
|
|
40777
|
+
* repeated string terma_versions = 5;
|
|
40778
|
+
* @return {!Array<string>}
|
|
40779
|
+
*/
|
|
40780
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getTermaVersionsList = function() {
|
|
40781
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
40782
|
+
};
|
|
40783
|
+
|
|
40784
|
+
|
|
40785
|
+
/**
|
|
40786
|
+
* @param {!Array<string>} value
|
|
40787
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40788
|
+
*/
|
|
40789
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setTermaVersionsList = function(value) {
|
|
40790
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
40791
|
+
};
|
|
40792
|
+
|
|
40793
|
+
|
|
40794
|
+
/**
|
|
40795
|
+
* @param {string} value
|
|
40796
|
+
* @param {number=} opt_index
|
|
40797
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40798
|
+
*/
|
|
40799
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.addTermaVersions = function(value, opt_index) {
|
|
40800
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
40801
|
+
};
|
|
40802
|
+
|
|
40803
|
+
|
|
40804
|
+
/**
|
|
40805
|
+
* Clears the list making it empty but non-null.
|
|
40806
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40807
|
+
*/
|
|
40808
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearTermaVersionsList = function() {
|
|
40809
|
+
return this.setTermaVersionsList([]);
|
|
40810
|
+
};
|
|
40811
|
+
|
|
40812
|
+
|
|
40813
|
+
/**
|
|
40814
|
+
* optional google.protobuf.Timestamp last_seen_after = 6;
|
|
40815
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
40816
|
+
*/
|
|
40817
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getLastSeenAfter = function() {
|
|
40818
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
40819
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
40820
|
+
};
|
|
40821
|
+
|
|
40822
|
+
|
|
40823
|
+
/**
|
|
40824
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
40825
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40826
|
+
*/
|
|
40827
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setLastSeenAfter = function(value) {
|
|
40828
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
40829
|
+
};
|
|
40830
|
+
|
|
40831
|
+
|
|
40832
|
+
/**
|
|
40833
|
+
* Clears the message field making it undefined.
|
|
40834
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40835
|
+
*/
|
|
40836
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearLastSeenAfter = function() {
|
|
40837
|
+
return this.setLastSeenAfter(undefined);
|
|
40838
|
+
};
|
|
40839
|
+
|
|
40840
|
+
|
|
40841
|
+
/**
|
|
40842
|
+
* Returns whether this field is set.
|
|
40843
|
+
* @return {boolean}
|
|
40844
|
+
*/
|
|
40845
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.hasLastSeenAfter = function() {
|
|
40846
|
+
return jspb.Message.getField(this, 6) != null;
|
|
40847
|
+
};
|
|
40848
|
+
|
|
40849
|
+
|
|
40850
|
+
/**
|
|
40851
|
+
* optional google.protobuf.Timestamp last_seen_before = 7;
|
|
40852
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
40853
|
+
*/
|
|
40854
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.getLastSeenBefore = function() {
|
|
40855
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
40856
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
40857
|
+
};
|
|
40858
|
+
|
|
40859
|
+
|
|
40860
|
+
/**
|
|
40861
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
40862
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40863
|
+
*/
|
|
40864
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.setLastSeenBefore = function(value) {
|
|
40865
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
40866
|
+
};
|
|
40867
|
+
|
|
40868
|
+
|
|
40869
|
+
/**
|
|
40870
|
+
* Clears the message field making it undefined.
|
|
40871
|
+
* @return {!proto.gateway.web.v1.RelayHeartbeatFilter} returns this
|
|
40872
|
+
*/
|
|
40873
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.clearLastSeenBefore = function() {
|
|
40874
|
+
return this.setLastSeenBefore(undefined);
|
|
40875
|
+
};
|
|
40876
|
+
|
|
40877
|
+
|
|
40878
|
+
/**
|
|
40879
|
+
* Returns whether this field is set.
|
|
40880
|
+
* @return {boolean}
|
|
40881
|
+
*/
|
|
40882
|
+
proto.gateway.web.v1.RelayHeartbeatFilter.prototype.hasLastSeenBefore = function() {
|
|
40883
|
+
return jspb.Message.getField(this, 7) != null;
|
|
40884
|
+
};
|
|
40885
|
+
|
|
40886
|
+
|
|
40887
|
+
/**
|
|
40888
|
+
* @enum {number}
|
|
40889
|
+
*/
|
|
40890
|
+
proto.gateway.web.v1.SessionSort = {
|
|
40891
|
+
SESSION_SORT_UNSPECIFIED: 0,
|
|
40892
|
+
SESSION_SORT_COST: 1,
|
|
40893
|
+
SESSION_SORT_TOKENS: 2,
|
|
40894
|
+
SESSION_SORT_TURNS: 3,
|
|
40895
|
+
SESSION_SORT_TOOLS: 4,
|
|
40896
|
+
SESSION_SORT_RECENCY: 5,
|
|
40897
|
+
SESSION_SORT_NET_COST: 6
|
|
40898
|
+
};
|
|
40899
|
+
|
|
40900
|
+
/**
|
|
40901
|
+
* @enum {number}
|
|
40902
|
+
*/
|
|
40903
|
+
proto.gateway.web.v1.AISessionEventType = {
|
|
40904
|
+
AI_SESSION_EVENT_TYPE_UNSPECIFIED: 0,
|
|
40905
|
+
AI_SESSION_EVENT_TYPE_SESSION: 1,
|
|
40906
|
+
AI_SESSION_EVENT_TYPE_MESSAGE: 2,
|
|
40907
|
+
AI_SESSION_EVENT_TYPE_MODEL: 3,
|
|
40908
|
+
AI_SESSION_EVENT_TYPE_TOOL: 4,
|
|
40909
|
+
AI_SESSION_EVENT_TYPE_AGENT: 5,
|
|
40910
|
+
AI_SESSION_EVENT_TYPE_COMMAND: 6,
|
|
40911
|
+
AI_SESSION_EVENT_TYPE_COMPACTION: 7,
|
|
40912
|
+
AI_SESSION_EVENT_TYPE_AUTH: 8,
|
|
40913
|
+
AI_SESSION_EVENT_TYPE_SKILL: 9,
|
|
40914
|
+
AI_SESSION_EVENT_TYPE_MCP: 10,
|
|
40915
|
+
AI_SESSION_EVENT_TYPE_MENTION: 11,
|
|
40916
|
+
AI_SESSION_EVENT_TYPE_PERMISSION: 12,
|
|
40917
|
+
AI_SESSION_EVENT_TYPE_FEEDBACK: 13,
|
|
40918
|
+
AI_SESSION_EVENT_TYPE_ERROR: 14,
|
|
40919
|
+
AI_SESSION_EVENT_TYPE_SUMMARY: 15
|
|
40920
|
+
};
|
|
40921
|
+
|
|
40922
|
+
/**
|
|
40923
|
+
* @enum {number}
|
|
40924
|
+
*/
|
|
40925
|
+
proto.gateway.web.v1.AIGitAction = {
|
|
40926
|
+
AI_GIT_ACTION_UNSPECIFIED: 0,
|
|
40927
|
+
AI_GIT_ACTION_BRANCH_CREATE: 1,
|
|
40928
|
+
AI_GIT_ACTION_COMMIT: 2,
|
|
40929
|
+
AI_GIT_ACTION_PUSH: 3,
|
|
40930
|
+
AI_GIT_ACTION_PULL_REQUEST_CREATE: 4,
|
|
40931
|
+
AI_GIT_ACTION_PULL_REQUEST_MERGE: 5,
|
|
40932
|
+
AI_GIT_ACTION_PULL_REQUEST_COMMENT: 6,
|
|
40933
|
+
AI_GIT_ACTION_OTHER: 7
|
|
40934
|
+
};
|
|
40935
|
+
|
|
40936
|
+
/**
|
|
40937
|
+
* @enum {number}
|
|
40938
|
+
*/
|
|
40939
|
+
proto.gateway.web.v1.AIGitOutcome = {
|
|
40940
|
+
AI_GIT_OUTCOME_UNSPECIFIED: 0,
|
|
40941
|
+
AI_GIT_OUTCOME_ATTEMPTED: 1,
|
|
40942
|
+
AI_GIT_OUTCOME_CONFIRMED: 2,
|
|
40943
|
+
AI_GIT_OUTCOME_FAILED: 3
|
|
40944
|
+
};
|
|
40945
|
+
|
|
40946
|
+
/**
|
|
40947
|
+
* @enum {number}
|
|
40948
|
+
*/
|
|
40949
|
+
proto.gateway.web.v1.AIGitActivityDimension = {
|
|
40950
|
+
AI_GIT_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
|
|
40951
|
+
AI_GIT_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 1,
|
|
40952
|
+
AI_GIT_ACTIVITY_DIMENSION_REPOSITORY: 2,
|
|
40953
|
+
AI_GIT_ACTIVITY_DIMENSION_ACTION: 3,
|
|
40954
|
+
AI_GIT_ACTIVITY_DIMENSION_OUTCOME: 4,
|
|
40955
|
+
AI_GIT_ACTIVITY_DIMENSION_SESSION: 5
|
|
40956
|
+
};
|
|
40957
|
+
|
|
40958
|
+
/**
|
|
40959
|
+
* @enum {number}
|
|
40960
|
+
*/
|
|
40961
|
+
proto.gateway.web.v1.AITokenActivityDimension = {
|
|
40962
|
+
AI_TOKEN_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
|
|
40963
|
+
AI_TOKEN_ACTIVITY_DIMENSION_MODEL: 1,
|
|
40964
|
+
AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
|
|
40965
|
+
AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
|
|
40966
|
+
AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
|
|
40967
|
+
AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
|
|
40968
|
+
AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
|
|
40969
|
+
};
|
|
40970
|
+
|
|
40971
|
+
/**
|
|
40972
|
+
* @enum {number}
|
|
40973
|
+
*/
|
|
40974
|
+
proto.gateway.web.v1.AISpendForecastDimension = {
|
|
40975
|
+
AI_SPEND_FORECAST_DIMENSION_UNSPECIFIED: 0,
|
|
40976
|
+
AI_SPEND_FORECAST_DIMENSION_MODEL: 1,
|
|
40977
|
+
AI_SPEND_FORECAST_DIMENSION_PROVIDER: 2,
|
|
40978
|
+
AI_SPEND_FORECAST_DIMENSION_SOURCE_SYSTEM: 3,
|
|
40979
|
+
AI_SPEND_FORECAST_DIMENSION_USER: 4,
|
|
40980
|
+
AI_SPEND_FORECAST_DIMENSION_API_KEY: 5
|
|
40981
|
+
};
|
|
40982
|
+
|
|
40983
|
+
/**
|
|
40984
|
+
* @enum {number}
|
|
40985
|
+
*/
|
|
40986
|
+
proto.gateway.web.v1.AIResourceDimension = {
|
|
40987
|
+
AI_RESOURCE_DIMENSION_UNSPECIFIED: 0,
|
|
40988
|
+
AI_RESOURCE_DIMENSION_SKILL: 1,
|
|
40989
|
+
AI_RESOURCE_DIMENSION_TOOL: 2,
|
|
40990
|
+
AI_RESOURCE_DIMENSION_FILE: 3,
|
|
40991
|
+
AI_RESOURCE_DIMENSION_URL: 4,
|
|
40992
|
+
AI_RESOURCE_DIMENSION_COMMAND: 5
|
|
40993
|
+
};
|
|
40994
|
+
|
|
40995
|
+
/**
|
|
40996
|
+
* @enum {number}
|
|
40997
|
+
*/
|
|
40998
|
+
proto.gateway.web.v1.AIFileLifecycle = {
|
|
40999
|
+
AI_FILE_LIFECYCLE_UNSPECIFIED: 0,
|
|
41000
|
+
AI_FILE_LIFECYCLE_UNLANDED: 1,
|
|
41001
|
+
AI_FILE_LIFECYCLE_CHANGED_SINCE_COMMIT: 2,
|
|
41002
|
+
AI_FILE_LIFECYCLE_COMMITTED_NOT_PUSHED: 3,
|
|
41003
|
+
AI_FILE_LIFECYCLE_PUSHED: 4,
|
|
41004
|
+
AI_FILE_LIFECYCLE_DISCARDED: 5
|
|
41005
|
+
};
|
|
41006
|
+
|
|
41007
|
+
/**
|
|
41008
|
+
* @enum {number}
|
|
41009
|
+
*/
|
|
41010
|
+
proto.gateway.web.v1.AIFileTier = {
|
|
41011
|
+
AI_FILE_TIER_UNSPECIFIED: 0,
|
|
41012
|
+
AI_FILE_TIER_ACTIVE: 1,
|
|
41013
|
+
AI_FILE_TIER_OPEN: 2,
|
|
41014
|
+
AI_FILE_TIER_STALE: 3,
|
|
41015
|
+
AI_FILE_TIER_ABANDONED_HORIZON: 4
|
|
41016
|
+
};
|
|
41017
|
+
|
|
41018
|
+
/**
|
|
41019
|
+
* @enum {number}
|
|
41020
|
+
*/
|
|
41021
|
+
proto.gateway.web.v1.AIFileSort = {
|
|
41022
|
+
AI_FILE_SORT_UNSPECIFIED: 0,
|
|
41023
|
+
AI_FILE_SORT_UNLANDED_COST: 1,
|
|
41024
|
+
AI_FILE_SORT_NET_UNLANDED_COST: 2,
|
|
41025
|
+
AI_FILE_SORT_UNLANDED_OUTPUT_TOKENS: 3,
|
|
41026
|
+
AI_FILE_SORT_EDITS: 4,
|
|
41027
|
+
AI_FILE_SORT_SESSIONS: 5,
|
|
41028
|
+
AI_FILE_SORT_LAST_EDITED: 6
|
|
41029
|
+
};
|
|
41030
|
+
|
|
41031
|
+
/**
|
|
41032
|
+
* @enum {number}
|
|
41033
|
+
*/
|
|
41034
|
+
proto.gateway.web.v1.AIFileGroupBy = {
|
|
41035
|
+
AI_FILE_GROUP_BY_UNSPECIFIED: 0,
|
|
41036
|
+
AI_FILE_GROUP_BY_REPOSITORY: 1,
|
|
41037
|
+
AI_FILE_GROUP_BY_REF: 2,
|
|
41038
|
+
AI_FILE_GROUP_BY_SESSION: 3
|
|
41039
|
+
};
|
|
41040
|
+
|
|
41041
|
+
/**
|
|
41042
|
+
* @enum {number}
|
|
41043
|
+
*/
|
|
41044
|
+
proto.gateway.web.v1.AIFundingMode = {
|
|
41045
|
+
AI_FUNDING_MODE_UNSPECIFIED: 0,
|
|
41046
|
+
AI_FUNDING_MODE_SUBSCRIPTION: 1,
|
|
41047
|
+
AI_FUNDING_MODE_PREPAID_CREDITS: 2,
|
|
41048
|
+
AI_FUNDING_MODE_API_METERED: 3,
|
|
41049
|
+
AI_FUNDING_MODE_UNKNOWN: 4
|
|
41050
|
+
};
|
|
41051
|
+
|
|
41052
|
+
/**
|
|
41053
|
+
* @enum {number}
|
|
41054
|
+
*/
|
|
41055
|
+
proto.gateway.web.v1.AIEntitlementRole = {
|
|
41056
|
+
AI_ENTITLEMENT_ROLE_UNSPECIFIED: 0,
|
|
41057
|
+
AI_ENTITLEMENT_ROLE_ALLOWANCE: 1,
|
|
41058
|
+
AI_ENTITLEMENT_ROLE_SPEND_CAP: 2
|
|
41059
|
+
};
|
|
41060
|
+
|
|
41061
|
+
/**
|
|
41062
|
+
* @enum {number}
|
|
41063
|
+
*/
|
|
41064
|
+
proto.gateway.web.v1.RelayHeartbeatSort = {
|
|
41065
|
+
RELAY_HEARTBEAT_SORT_UNSPECIFIED: 0,
|
|
41066
|
+
RELAY_HEARTBEAT_SORT_LAST_SEEN_DESC: 1
|
|
39592
41067
|
};
|
|
39593
41068
|
|
|
39594
41069
|
goog.object.extend(exports, proto.gateway.web.v1);
|