@miradorlabs/web-grpc 3.38.0 → 3.39.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 +3 -1
- package/google/protobuf/descriptor.ts +3 -1
- package/google/protobuf/duration.ts +3 -1
- package/google/protobuf/timestamp.ts +3 -1
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +3 -1
- package/proto/gateway/common/v1/status.ts +3 -1
- package/proto/gateway/common/v1/types.ts +3 -1
- package/proto/gateway/web/v1/account_gateway.ts +3 -1
- package/proto/gateway/web/v1/admin_gateway.ts +1138 -88
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +36 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +1752 -90
- package/proto/gateway/web/v1/ai_gateway.ts +3 -1
- package/proto/gateway/web/v1/attribute_value.ts +3 -1
- package/proto/gateway/web/v1/beta_gateway.ts +3 -1
- package/proto/gateway/web/v1/chain_gateway.ts +3 -1
- package/proto/gateway/web/v1/common.ts +3 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +3 -1
- package/proto/gateway/web/v1/github_connector.ts +3 -1
- package/proto/gateway/web/v1/integration_gateway.ts +3 -1
- package/proto/gateway/web/v1/log_gateway.ts +3 -1
- package/proto/gateway/web/v1/market_gateway.ts +3 -1
- package/proto/gateway/web/v1/metric_gateway.ts +3 -1
- package/proto/gateway/web/v1/oauth_gateway.ts +3 -1
- package/proto/gateway/web/v1/plan_gateway.ts +3 -1
- package/proto/gateway/web/v1/policy_gateway.ts +3 -1
- package/proto/gateway/web/v1/reference_gateway.ts +16 -9
- package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +7 -5
- package/proto/gateway/web/v1/rule_gateway.ts +3 -1
- package/proto/gateway/web/v1/slo_gateway.ts +3 -1
- package/proto/gateway/web/v1/trace_gateway.ts +3 -1
- package/proto/gateway/web/v1/trace_measure_gateway.ts +3 -1
|
@@ -27,7 +27,13 @@ var proto_gateway_web_v1_beta_gateway_pb = require('../../../../proto/gateway/we
|
|
|
27
27
|
goog.object.extend(proto, proto_gateway_web_v1_beta_gateway_pb);
|
|
28
28
|
var proto_gateway_web_v1_reference_gateway_pb = require('../../../../proto/gateway/web/v1/reference_gateway_pb.js');
|
|
29
29
|
goog.object.extend(proto, proto_gateway_web_v1_reference_gateway_pb);
|
|
30
|
+
var proto_gateway_web_v1_trace_gateway_pb = require('../../../../proto/gateway/web/v1/trace_gateway_pb.js');
|
|
31
|
+
goog.object.extend(proto, proto_gateway_web_v1_trace_gateway_pb);
|
|
30
32
|
goog.exportSymbol('proto.gateway.web.v1.AdminRelayHeartbeat', null, global);
|
|
33
|
+
goog.exportSymbol('proto.gateway.web.v1.AdminUsageDimension', null, global);
|
|
34
|
+
goog.exportSymbol('proto.gateway.web.v1.AdminUsageGroup', null, global);
|
|
35
|
+
goog.exportSymbol('proto.gateway.web.v1.AdminUsageGroupFilter', null, global);
|
|
36
|
+
goog.exportSymbol('proto.gateway.web.v1.AdminUsageGroupSort', null, global);
|
|
31
37
|
goog.exportSymbol('proto.gateway.web.v1.ConfirmAIBillersRequest', null, global);
|
|
32
38
|
goog.exportSymbol('proto.gateway.web.v1.ConfirmAIBillersResponse', null, global);
|
|
33
39
|
goog.exportSymbol('proto.gateway.web.v1.ConfirmAIEffortsRequest', null, global);
|
|
@@ -43,6 +49,8 @@ goog.exportSymbol('proto.gateway.web.v1.GetAdminStatusResponse', null, global);
|
|
|
43
49
|
goog.exportSymbol('proto.gateway.web.v1.InviteCode', null, global);
|
|
44
50
|
goog.exportSymbol('proto.gateway.web.v1.ListAdminRelayHeartbeatsRequest', null, global);
|
|
45
51
|
goog.exportSymbol('proto.gateway.web.v1.ListAdminRelayHeartbeatsResponse', null, global);
|
|
52
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAdminUsageGroupsRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAdminUsageGroupsResponse', null, global);
|
|
46
54
|
goog.exportSymbol('proto.gateway.web.v1.ListInviteCodesRequest', null, global);
|
|
47
55
|
goog.exportSymbol('proto.gateway.web.v1.ListInviteCodesResponse', null, global);
|
|
48
56
|
goog.exportSymbol('proto.gateway.web.v1.OrgDetails', null, global);
|
|
@@ -652,6 +660,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
652
660
|
*/
|
|
653
661
|
proto.gateway.web.v1.AdminRelayHeartbeat.displayName = 'proto.gateway.web.v1.AdminRelayHeartbeat';
|
|
654
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
* Generated by JsPbCodeGenerator.
|
|
665
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
666
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
667
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
668
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
669
|
+
* valid.
|
|
670
|
+
* @extends {jspb.Message}
|
|
671
|
+
* @constructor
|
|
672
|
+
*/
|
|
673
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest = function(opt_data) {
|
|
674
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAdminUsageGroupsRequest.repeatedFields_, null);
|
|
675
|
+
};
|
|
676
|
+
goog.inherits(proto.gateway.web.v1.ListAdminUsageGroupsRequest, jspb.Message);
|
|
677
|
+
if (goog.DEBUG && !COMPILED) {
|
|
678
|
+
/**
|
|
679
|
+
* @public
|
|
680
|
+
* @override
|
|
681
|
+
*/
|
|
682
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.displayName = 'proto.gateway.web.v1.ListAdminUsageGroupsRequest';
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* Generated by JsPbCodeGenerator.
|
|
686
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
687
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
688
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
689
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
690
|
+
* valid.
|
|
691
|
+
* @extends {jspb.Message}
|
|
692
|
+
* @constructor
|
|
693
|
+
*/
|
|
694
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse = function(opt_data) {
|
|
695
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAdminUsageGroupsResponse.repeatedFields_, null);
|
|
696
|
+
};
|
|
697
|
+
goog.inherits(proto.gateway.web.v1.ListAdminUsageGroupsResponse, jspb.Message);
|
|
698
|
+
if (goog.DEBUG && !COMPILED) {
|
|
699
|
+
/**
|
|
700
|
+
* @public
|
|
701
|
+
* @override
|
|
702
|
+
*/
|
|
703
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.displayName = 'proto.gateway.web.v1.ListAdminUsageGroupsResponse';
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* Generated by JsPbCodeGenerator.
|
|
707
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
708
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
709
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
710
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
711
|
+
* valid.
|
|
712
|
+
* @extends {jspb.Message}
|
|
713
|
+
* @constructor
|
|
714
|
+
*/
|
|
715
|
+
proto.gateway.web.v1.AdminUsageGroupFilter = function(opt_data) {
|
|
716
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AdminUsageGroupFilter.repeatedFields_, null);
|
|
717
|
+
};
|
|
718
|
+
goog.inherits(proto.gateway.web.v1.AdminUsageGroupFilter, jspb.Message);
|
|
719
|
+
if (goog.DEBUG && !COMPILED) {
|
|
720
|
+
/**
|
|
721
|
+
* @public
|
|
722
|
+
* @override
|
|
723
|
+
*/
|
|
724
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.displayName = 'proto.gateway.web.v1.AdminUsageGroupFilter';
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* Generated by JsPbCodeGenerator.
|
|
728
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
729
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
730
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
731
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
732
|
+
* valid.
|
|
733
|
+
* @extends {jspb.Message}
|
|
734
|
+
* @constructor
|
|
735
|
+
*/
|
|
736
|
+
proto.gateway.web.v1.AdminUsageGroup = function(opt_data) {
|
|
737
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
738
|
+
};
|
|
739
|
+
goog.inherits(proto.gateway.web.v1.AdminUsageGroup, jspb.Message);
|
|
740
|
+
if (goog.DEBUG && !COMPILED) {
|
|
741
|
+
/**
|
|
742
|
+
* @public
|
|
743
|
+
* @override
|
|
744
|
+
*/
|
|
745
|
+
proto.gateway.web.v1.AdminUsageGroup.displayName = 'proto.gateway.web.v1.AdminUsageGroup';
|
|
746
|
+
}
|
|
655
747
|
/**
|
|
656
748
|
* Generated by JsPbCodeGenerator.
|
|
657
749
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6753,7 +6845,7 @@ proto.gateway.web.v1.AdminRelayHeartbeat.prototype.clearCountersMap = function()
|
|
|
6753
6845
|
* @private {!Array<number>}
|
|
6754
6846
|
* @const
|
|
6755
6847
|
*/
|
|
6756
|
-
proto.gateway.web.v1.
|
|
6848
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.repeatedFields_ = [3];
|
|
6757
6849
|
|
|
6758
6850
|
|
|
6759
6851
|
|
|
@@ -6770,8 +6862,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6770
6862
|
* http://goto/soy-param-migration
|
|
6771
6863
|
* @return {!Object}
|
|
6772
6864
|
*/
|
|
6773
|
-
proto.gateway.web.v1.
|
|
6774
|
-
return proto.gateway.web.v1.
|
|
6865
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6866
|
+
return proto.gateway.web.v1.ListAdminUsageGroupsRequest.toObject(opt_includeInstance, this);
|
|
6775
6867
|
};
|
|
6776
6868
|
|
|
6777
6869
|
|
|
@@ -6780,13 +6872,19 @@ proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.toObject = function(opt_
|
|
|
6780
6872
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6781
6873
|
* the JSPB instance for transitional soy proto support:
|
|
6782
6874
|
* http://goto/soy-param-migration
|
|
6783
|
-
* @param {!proto.gateway.web.v1.
|
|
6875
|
+
* @param {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} msg The msg instance to transform.
|
|
6784
6876
|
* @return {!Object}
|
|
6785
6877
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6786
6878
|
*/
|
|
6787
|
-
proto.gateway.web.v1.
|
|
6879
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.toObject = function(includeInstance, msg) {
|
|
6788
6880
|
var f, obj = {
|
|
6789
|
-
|
|
6881
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6882
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6883
|
+
groupByList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
6884
|
+
filter: (f = msg.getFilter()) && proto.gateway.web.v1.AdminUsageGroupFilter.toObject(includeInstance, f),
|
|
6885
|
+
sort: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
6886
|
+
page: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
6887
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
6790
6888
|
};
|
|
6791
6889
|
|
|
6792
6890
|
if (includeInstance) {
|
|
@@ -6800,23 +6898,23 @@ organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undef
|
|
|
6800
6898
|
/**
|
|
6801
6899
|
* Deserializes binary data (in protobuf wire format).
|
|
6802
6900
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
6803
|
-
* @return {!proto.gateway.web.v1.
|
|
6901
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest}
|
|
6804
6902
|
*/
|
|
6805
|
-
proto.gateway.web.v1.
|
|
6903
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.deserializeBinary = function(bytes) {
|
|
6806
6904
|
var reader = new jspb.BinaryReader(bytes);
|
|
6807
|
-
var msg = new proto.gateway.web.v1.
|
|
6808
|
-
return proto.gateway.web.v1.
|
|
6905
|
+
var msg = new proto.gateway.web.v1.ListAdminUsageGroupsRequest;
|
|
6906
|
+
return proto.gateway.web.v1.ListAdminUsageGroupsRequest.deserializeBinaryFromReader(msg, reader);
|
|
6809
6907
|
};
|
|
6810
6908
|
|
|
6811
6909
|
|
|
6812
6910
|
/**
|
|
6813
6911
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6814
6912
|
* given reader into the given message object.
|
|
6815
|
-
* @param {!proto.gateway.web.v1.
|
|
6913
|
+
* @param {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} msg The message object to deserialize into.
|
|
6816
6914
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6817
|
-
* @return {!proto.gateway.web.v1.
|
|
6915
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest}
|
|
6818
6916
|
*/
|
|
6819
|
-
proto.gateway.web.v1.
|
|
6917
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6820
6918
|
while (reader.nextField()) {
|
|
6821
6919
|
if (reader.isEndGroup()) {
|
|
6822
6920
|
break;
|
|
@@ -6824,8 +6922,34 @@ proto.gateway.web.v1.ResolveOrgDetailsRequest.deserializeBinaryFromReader = func
|
|
|
6824
6922
|
var field = reader.getFieldNumber();
|
|
6825
6923
|
switch (field) {
|
|
6826
6924
|
case 1:
|
|
6827
|
-
var value =
|
|
6828
|
-
|
|
6925
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
6926
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
6927
|
+
msg.setStartTime(value);
|
|
6928
|
+
break;
|
|
6929
|
+
case 2:
|
|
6930
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
6931
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
6932
|
+
msg.setEndTime(value);
|
|
6933
|
+
break;
|
|
6934
|
+
case 3:
|
|
6935
|
+
reader.readPackableEnumInto(msg.getGroupByList());
|
|
6936
|
+
break;
|
|
6937
|
+
case 4:
|
|
6938
|
+
var value = new proto.gateway.web.v1.AdminUsageGroupFilter;
|
|
6939
|
+
reader.readMessage(value,proto.gateway.web.v1.AdminUsageGroupFilter.deserializeBinaryFromReader);
|
|
6940
|
+
msg.setFilter(value);
|
|
6941
|
+
break;
|
|
6942
|
+
case 5:
|
|
6943
|
+
var value = /** @type {!proto.gateway.web.v1.AdminUsageGroupSort} */ (reader.readEnum());
|
|
6944
|
+
msg.setSort(value);
|
|
6945
|
+
break;
|
|
6946
|
+
case 6:
|
|
6947
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6948
|
+
msg.setPage(value);
|
|
6949
|
+
break;
|
|
6950
|
+
case 7:
|
|
6951
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6952
|
+
msg.setPerPage(value);
|
|
6829
6953
|
break;
|
|
6830
6954
|
default:
|
|
6831
6955
|
reader.skipField();
|
|
@@ -6840,9 +6964,9 @@ proto.gateway.web.v1.ResolveOrgDetailsRequest.deserializeBinaryFromReader = func
|
|
|
6840
6964
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6841
6965
|
* @return {!Uint8Array}
|
|
6842
6966
|
*/
|
|
6843
|
-
proto.gateway.web.v1.
|
|
6967
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.serializeBinary = function() {
|
|
6844
6968
|
var writer = new jspb.BinaryWriter();
|
|
6845
|
-
proto.gateway.web.v1.
|
|
6969
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.serializeBinaryToWriter(this, writer);
|
|
6846
6970
|
return writer.getResultBuffer();
|
|
6847
6971
|
};
|
|
6848
6972
|
|
|
@@ -6850,16 +6974,61 @@ proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.serializeBinary = functi
|
|
|
6850
6974
|
/**
|
|
6851
6975
|
* Serializes the given message to binary data (in protobuf wire
|
|
6852
6976
|
* format), writing to the given BinaryWriter.
|
|
6853
|
-
* @param {!proto.gateway.web.v1.
|
|
6977
|
+
* @param {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} message
|
|
6854
6978
|
* @param {!jspb.BinaryWriter} writer
|
|
6855
6979
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6856
6980
|
*/
|
|
6857
|
-
proto.gateway.web.v1.
|
|
6981
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6858
6982
|
var f = undefined;
|
|
6859
|
-
f = message.
|
|
6860
|
-
if (f
|
|
6861
|
-
writer.
|
|
6983
|
+
f = message.getStartTime();
|
|
6984
|
+
if (f != null) {
|
|
6985
|
+
writer.writeMessage(
|
|
6862
6986
|
1,
|
|
6987
|
+
f,
|
|
6988
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
6989
|
+
);
|
|
6990
|
+
}
|
|
6991
|
+
f = message.getEndTime();
|
|
6992
|
+
if (f != null) {
|
|
6993
|
+
writer.writeMessage(
|
|
6994
|
+
2,
|
|
6995
|
+
f,
|
|
6996
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
6997
|
+
);
|
|
6998
|
+
}
|
|
6999
|
+
f = message.getGroupByList();
|
|
7000
|
+
if (f.length > 0) {
|
|
7001
|
+
writer.writePackedEnum(
|
|
7002
|
+
3,
|
|
7003
|
+
f
|
|
7004
|
+
);
|
|
7005
|
+
}
|
|
7006
|
+
f = message.getFilter();
|
|
7007
|
+
if (f != null) {
|
|
7008
|
+
writer.writeMessage(
|
|
7009
|
+
4,
|
|
7010
|
+
f,
|
|
7011
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.serializeBinaryToWriter
|
|
7012
|
+
);
|
|
7013
|
+
}
|
|
7014
|
+
f = message.getSort();
|
|
7015
|
+
if (f !== 0.0) {
|
|
7016
|
+
writer.writeEnum(
|
|
7017
|
+
5,
|
|
7018
|
+
f
|
|
7019
|
+
);
|
|
7020
|
+
}
|
|
7021
|
+
f = message.getPage();
|
|
7022
|
+
if (f !== 0) {
|
|
7023
|
+
writer.writeInt32(
|
|
7024
|
+
6,
|
|
7025
|
+
f
|
|
7026
|
+
);
|
|
7027
|
+
}
|
|
7028
|
+
f = message.getPerPage();
|
|
7029
|
+
if (f !== 0) {
|
|
7030
|
+
writer.writeInt32(
|
|
7031
|
+
7,
|
|
6863
7032
|
f
|
|
6864
7033
|
);
|
|
6865
7034
|
}
|
|
@@ -6867,117 +7036,1587 @@ proto.gateway.web.v1.ResolveOrgDetailsRequest.serializeBinaryToWriter = function
|
|
|
6867
7036
|
|
|
6868
7037
|
|
|
6869
7038
|
/**
|
|
6870
|
-
*
|
|
6871
|
-
* @return {
|
|
7039
|
+
* optional google.protobuf.Timestamp start_time = 1;
|
|
7040
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
6872
7041
|
*/
|
|
6873
|
-
proto.gateway.web.v1.
|
|
6874
|
-
return /** @type
|
|
7042
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getStartTime = function() {
|
|
7043
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
7044
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
6875
7045
|
};
|
|
6876
7046
|
|
|
6877
7047
|
|
|
6878
7048
|
/**
|
|
6879
|
-
* @param {
|
|
6880
|
-
* @return {!proto.gateway.web.v1.
|
|
7049
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
7050
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7051
|
+
*/
|
|
7052
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setStartTime = function(value) {
|
|
7053
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7054
|
+
};
|
|
7055
|
+
|
|
7056
|
+
|
|
7057
|
+
/**
|
|
7058
|
+
* Clears the message field making it undefined.
|
|
7059
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
6881
7060
|
*/
|
|
6882
|
-
proto.gateway.web.v1.
|
|
6883
|
-
return
|
|
7061
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.clearStartTime = function() {
|
|
7062
|
+
return this.setStartTime(undefined);
|
|
6884
7063
|
};
|
|
6885
7064
|
|
|
6886
7065
|
|
|
6887
7066
|
/**
|
|
6888
|
-
*
|
|
6889
|
-
* @
|
|
6890
|
-
* @return {!proto.gateway.web.v1.ResolveOrgDetailsRequest} returns this
|
|
7067
|
+
* Returns whether this field is set.
|
|
7068
|
+
* @return {boolean}
|
|
6891
7069
|
*/
|
|
6892
|
-
proto.gateway.web.v1.
|
|
6893
|
-
return jspb.Message.
|
|
7070
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.hasStartTime = function() {
|
|
7071
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6894
7072
|
};
|
|
6895
7073
|
|
|
6896
7074
|
|
|
6897
7075
|
/**
|
|
6898
|
-
*
|
|
6899
|
-
* @return {
|
|
7076
|
+
* optional google.protobuf.Timestamp end_time = 2;
|
|
7077
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
6900
7078
|
*/
|
|
6901
|
-
proto.gateway.web.v1.
|
|
6902
|
-
return
|
|
7079
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getEndTime = function() {
|
|
7080
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
7081
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
6903
7082
|
};
|
|
6904
7083
|
|
|
6905
7084
|
|
|
7085
|
+
/**
|
|
7086
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
7087
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7088
|
+
*/
|
|
7089
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setEndTime = function(value) {
|
|
7090
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
7091
|
+
};
|
|
7092
|
+
|
|
6906
7093
|
|
|
6907
7094
|
/**
|
|
6908
|
-
*
|
|
6909
|
-
* @
|
|
6910
|
-
* @const
|
|
7095
|
+
* Clears the message field making it undefined.
|
|
7096
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
6911
7097
|
*/
|
|
6912
|
-
proto.gateway.web.v1.
|
|
7098
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.clearEndTime = function() {
|
|
7099
|
+
return this.setEndTime(undefined);
|
|
7100
|
+
};
|
|
6913
7101
|
|
|
6914
7102
|
|
|
7103
|
+
/**
|
|
7104
|
+
* Returns whether this field is set.
|
|
7105
|
+
* @return {boolean}
|
|
7106
|
+
*/
|
|
7107
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.hasEndTime = function() {
|
|
7108
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7109
|
+
};
|
|
7110
|
+
|
|
6915
7111
|
|
|
6916
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6917
7112
|
/**
|
|
6918
|
-
*
|
|
6919
|
-
*
|
|
6920
|
-
* Optional fields that are not set will be set to undefined.
|
|
6921
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6922
|
-
* For the list of reserved names please see:
|
|
6923
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6924
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6925
|
-
* JSPB instance for transitional soy proto support:
|
|
6926
|
-
* http://goto/soy-param-migration
|
|
6927
|
-
* @return {!Object}
|
|
7113
|
+
* repeated AdminUsageDimension group_by = 3;
|
|
7114
|
+
* @return {!Array<!proto.gateway.web.v1.AdminUsageDimension>}
|
|
6928
7115
|
*/
|
|
6929
|
-
proto.gateway.web.v1.
|
|
6930
|
-
return proto.gateway.web.v1.
|
|
7116
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getGroupByList = function() {
|
|
7117
|
+
return /** @type {!Array<!proto.gateway.web.v1.AdminUsageDimension>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
6931
7118
|
};
|
|
6932
7119
|
|
|
6933
7120
|
|
|
6934
7121
|
/**
|
|
6935
|
-
*
|
|
6936
|
-
* @
|
|
6937
|
-
* the JSPB instance for transitional soy proto support:
|
|
6938
|
-
* http://goto/soy-param-migration
|
|
6939
|
-
* @param {!proto.gateway.web.v1.ResolveOrgDetailsResponse} msg The msg instance to transform.
|
|
6940
|
-
* @return {!Object}
|
|
6941
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7122
|
+
* @param {!Array<!proto.gateway.web.v1.AdminUsageDimension>} value
|
|
7123
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
6942
7124
|
*/
|
|
6943
|
-
proto.gateway.web.v1.
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(),
|
|
6947
|
-
proto.gateway.web.v1.OrgDetails.toObject, includeInstance)
|
|
6948
|
-
};
|
|
7125
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setGroupByList = function(value) {
|
|
7126
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
7127
|
+
};
|
|
6949
7128
|
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
7129
|
+
|
|
7130
|
+
/**
|
|
7131
|
+
* @param {!proto.gateway.web.v1.AdminUsageDimension} value
|
|
7132
|
+
* @param {number=} opt_index
|
|
7133
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7134
|
+
*/
|
|
7135
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.addGroupBy = function(value, opt_index) {
|
|
7136
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
6954
7137
|
};
|
|
6955
|
-
}
|
|
6956
7138
|
|
|
6957
7139
|
|
|
6958
7140
|
/**
|
|
6959
|
-
*
|
|
6960
|
-
* @
|
|
6961
|
-
* @return {!proto.gateway.web.v1.ResolveOrgDetailsResponse}
|
|
7141
|
+
* Clears the list making it empty but non-null.
|
|
7142
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
6962
7143
|
*/
|
|
6963
|
-
proto.gateway.web.v1.
|
|
6964
|
-
|
|
6965
|
-
var msg = new proto.gateway.web.v1.ResolveOrgDetailsResponse;
|
|
6966
|
-
return proto.gateway.web.v1.ResolveOrgDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7144
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.clearGroupByList = function() {
|
|
7145
|
+
return this.setGroupByList([]);
|
|
6967
7146
|
};
|
|
6968
7147
|
|
|
6969
7148
|
|
|
6970
7149
|
/**
|
|
6971
|
-
*
|
|
6972
|
-
*
|
|
6973
|
-
* @param {!proto.gateway.web.v1.ResolveOrgDetailsResponse} msg The message object to deserialize into.
|
|
6974
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6975
|
-
* @return {!proto.gateway.web.v1.ResolveOrgDetailsResponse}
|
|
7150
|
+
* optional AdminUsageGroupFilter filter = 4;
|
|
7151
|
+
* @return {?proto.gateway.web.v1.AdminUsageGroupFilter}
|
|
6976
7152
|
*/
|
|
6977
|
-
proto.gateway.web.v1.
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
7153
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getFilter = function() {
|
|
7154
|
+
return /** @type{?proto.gateway.web.v1.AdminUsageGroupFilter} */ (
|
|
7155
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AdminUsageGroupFilter, 4));
|
|
7156
|
+
};
|
|
7157
|
+
|
|
7158
|
+
|
|
7159
|
+
/**
|
|
7160
|
+
* @param {?proto.gateway.web.v1.AdminUsageGroupFilter|undefined} value
|
|
7161
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7162
|
+
*/
|
|
7163
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setFilter = function(value) {
|
|
7164
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
7165
|
+
};
|
|
7166
|
+
|
|
7167
|
+
|
|
7168
|
+
/**
|
|
7169
|
+
* Clears the message field making it undefined.
|
|
7170
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7171
|
+
*/
|
|
7172
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.clearFilter = function() {
|
|
7173
|
+
return this.setFilter(undefined);
|
|
7174
|
+
};
|
|
7175
|
+
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* Returns whether this field is set.
|
|
7179
|
+
* @return {boolean}
|
|
7180
|
+
*/
|
|
7181
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.hasFilter = function() {
|
|
7182
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7183
|
+
};
|
|
7184
|
+
|
|
7185
|
+
|
|
7186
|
+
/**
|
|
7187
|
+
* optional AdminUsageGroupSort sort = 5;
|
|
7188
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupSort}
|
|
7189
|
+
*/
|
|
7190
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getSort = function() {
|
|
7191
|
+
return /** @type {!proto.gateway.web.v1.AdminUsageGroupSort} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
7192
|
+
};
|
|
7193
|
+
|
|
7194
|
+
|
|
7195
|
+
/**
|
|
7196
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroupSort} value
|
|
7197
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7198
|
+
*/
|
|
7199
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setSort = function(value) {
|
|
7200
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
7201
|
+
};
|
|
7202
|
+
|
|
7203
|
+
|
|
7204
|
+
/**
|
|
7205
|
+
* optional int32 page = 6;
|
|
7206
|
+
* @return {number}
|
|
7207
|
+
*/
|
|
7208
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getPage = function() {
|
|
7209
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
7210
|
+
};
|
|
7211
|
+
|
|
7212
|
+
|
|
7213
|
+
/**
|
|
7214
|
+
* @param {number} value
|
|
7215
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7216
|
+
*/
|
|
7217
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setPage = function(value) {
|
|
7218
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
7219
|
+
};
|
|
7220
|
+
|
|
7221
|
+
|
|
7222
|
+
/**
|
|
7223
|
+
* optional int32 per_page = 7;
|
|
7224
|
+
* @return {number}
|
|
7225
|
+
*/
|
|
7226
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.getPerPage = function() {
|
|
7227
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
7228
|
+
};
|
|
7229
|
+
|
|
7230
|
+
|
|
7231
|
+
/**
|
|
7232
|
+
* @param {number} value
|
|
7233
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsRequest} returns this
|
|
7234
|
+
*/
|
|
7235
|
+
proto.gateway.web.v1.ListAdminUsageGroupsRequest.prototype.setPerPage = function(value) {
|
|
7236
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
7237
|
+
};
|
|
7238
|
+
|
|
7239
|
+
|
|
7240
|
+
|
|
7241
|
+
/**
|
|
7242
|
+
* List of repeated fields within this message type.
|
|
7243
|
+
* @private {!Array<number>}
|
|
7244
|
+
* @const
|
|
7245
|
+
*/
|
|
7246
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.repeatedFields_ = [2];
|
|
7247
|
+
|
|
7248
|
+
|
|
7249
|
+
|
|
7250
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7251
|
+
/**
|
|
7252
|
+
* Creates an object representation of this proto.
|
|
7253
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7254
|
+
* Optional fields that are not set will be set to undefined.
|
|
7255
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7256
|
+
* For the list of reserved names please see:
|
|
7257
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7258
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7259
|
+
* JSPB instance for transitional soy proto support:
|
|
7260
|
+
* http://goto/soy-param-migration
|
|
7261
|
+
* @return {!Object}
|
|
7262
|
+
*/
|
|
7263
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7264
|
+
return proto.gateway.web.v1.ListAdminUsageGroupsResponse.toObject(opt_includeInstance, this);
|
|
7265
|
+
};
|
|
7266
|
+
|
|
7267
|
+
|
|
7268
|
+
/**
|
|
7269
|
+
* Static version of the {@see toObject} method.
|
|
7270
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7271
|
+
* the JSPB instance for transitional soy proto support:
|
|
7272
|
+
* http://goto/soy-param-migration
|
|
7273
|
+
* @param {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} msg The msg instance to transform.
|
|
7274
|
+
* @return {!Object}
|
|
7275
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7276
|
+
*/
|
|
7277
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.toObject = function(includeInstance, msg) {
|
|
7278
|
+
var f, obj = {
|
|
7279
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
7280
|
+
groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
|
|
7281
|
+
proto.gateway.web.v1.AdminUsageGroup.toObject, includeInstance),
|
|
7282
|
+
pagination: (f = msg.getPagination()) && proto_gateway_web_v1_trace_gateway_pb.Pagination.toObject(includeInstance, f),
|
|
7283
|
+
refreshedAt: (f = msg.getRefreshedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
7284
|
+
};
|
|
7285
|
+
|
|
7286
|
+
if (includeInstance) {
|
|
7287
|
+
obj.$jspbMessageInstance = msg;
|
|
7288
|
+
}
|
|
7289
|
+
return obj;
|
|
7290
|
+
};
|
|
7291
|
+
}
|
|
7292
|
+
|
|
7293
|
+
|
|
7294
|
+
/**
|
|
7295
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7296
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
7297
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse}
|
|
7298
|
+
*/
|
|
7299
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.deserializeBinary = function(bytes) {
|
|
7300
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7301
|
+
var msg = new proto.gateway.web.v1.ListAdminUsageGroupsResponse;
|
|
7302
|
+
return proto.gateway.web.v1.ListAdminUsageGroupsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7303
|
+
};
|
|
7304
|
+
|
|
7305
|
+
|
|
7306
|
+
/**
|
|
7307
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7308
|
+
* given reader into the given message object.
|
|
7309
|
+
* @param {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} msg The message object to deserialize into.
|
|
7310
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7311
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse}
|
|
7312
|
+
*/
|
|
7313
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7314
|
+
while (reader.nextField()) {
|
|
7315
|
+
if (reader.isEndGroup()) {
|
|
7316
|
+
break;
|
|
7317
|
+
}
|
|
7318
|
+
var field = reader.getFieldNumber();
|
|
7319
|
+
switch (field) {
|
|
7320
|
+
case 1:
|
|
7321
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
7322
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
7323
|
+
msg.setStatus(value);
|
|
7324
|
+
break;
|
|
7325
|
+
case 2:
|
|
7326
|
+
var value = new proto.gateway.web.v1.AdminUsageGroup;
|
|
7327
|
+
reader.readMessage(value,proto.gateway.web.v1.AdminUsageGroup.deserializeBinaryFromReader);
|
|
7328
|
+
msg.addGroups(value);
|
|
7329
|
+
break;
|
|
7330
|
+
case 3:
|
|
7331
|
+
var value = new proto_gateway_web_v1_trace_gateway_pb.Pagination;
|
|
7332
|
+
reader.readMessage(value,proto_gateway_web_v1_trace_gateway_pb.Pagination.deserializeBinaryFromReader);
|
|
7333
|
+
msg.setPagination(value);
|
|
7334
|
+
break;
|
|
7335
|
+
case 4:
|
|
7336
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
7337
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
7338
|
+
msg.setRefreshedAt(value);
|
|
7339
|
+
break;
|
|
7340
|
+
default:
|
|
7341
|
+
reader.skipField();
|
|
7342
|
+
break;
|
|
7343
|
+
}
|
|
7344
|
+
}
|
|
7345
|
+
return msg;
|
|
7346
|
+
};
|
|
7347
|
+
|
|
7348
|
+
|
|
7349
|
+
/**
|
|
7350
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7351
|
+
* @return {!Uint8Array}
|
|
7352
|
+
*/
|
|
7353
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.serializeBinary = function() {
|
|
7354
|
+
var writer = new jspb.BinaryWriter();
|
|
7355
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.serializeBinaryToWriter(this, writer);
|
|
7356
|
+
return writer.getResultBuffer();
|
|
7357
|
+
};
|
|
7358
|
+
|
|
7359
|
+
|
|
7360
|
+
/**
|
|
7361
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7362
|
+
* format), writing to the given BinaryWriter.
|
|
7363
|
+
* @param {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} message
|
|
7364
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7365
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7366
|
+
*/
|
|
7367
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7368
|
+
var f = undefined;
|
|
7369
|
+
f = message.getStatus();
|
|
7370
|
+
if (f != null) {
|
|
7371
|
+
writer.writeMessage(
|
|
7372
|
+
1,
|
|
7373
|
+
f,
|
|
7374
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
7375
|
+
);
|
|
7376
|
+
}
|
|
7377
|
+
f = message.getGroupsList();
|
|
7378
|
+
if (f.length > 0) {
|
|
7379
|
+
writer.writeRepeatedMessage(
|
|
7380
|
+
2,
|
|
7381
|
+
f,
|
|
7382
|
+
proto.gateway.web.v1.AdminUsageGroup.serializeBinaryToWriter
|
|
7383
|
+
);
|
|
7384
|
+
}
|
|
7385
|
+
f = message.getPagination();
|
|
7386
|
+
if (f != null) {
|
|
7387
|
+
writer.writeMessage(
|
|
7388
|
+
3,
|
|
7389
|
+
f,
|
|
7390
|
+
proto_gateway_web_v1_trace_gateway_pb.Pagination.serializeBinaryToWriter
|
|
7391
|
+
);
|
|
7392
|
+
}
|
|
7393
|
+
f = message.getRefreshedAt();
|
|
7394
|
+
if (f != null) {
|
|
7395
|
+
writer.writeMessage(
|
|
7396
|
+
4,
|
|
7397
|
+
f,
|
|
7398
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
7399
|
+
);
|
|
7400
|
+
}
|
|
7401
|
+
};
|
|
7402
|
+
|
|
7403
|
+
|
|
7404
|
+
/**
|
|
7405
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
7406
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
7407
|
+
*/
|
|
7408
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.getStatus = function() {
|
|
7409
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
7410
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
7411
|
+
};
|
|
7412
|
+
|
|
7413
|
+
|
|
7414
|
+
/**
|
|
7415
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
7416
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7417
|
+
*/
|
|
7418
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.setStatus = function(value) {
|
|
7419
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7420
|
+
};
|
|
7421
|
+
|
|
7422
|
+
|
|
7423
|
+
/**
|
|
7424
|
+
* Clears the message field making it undefined.
|
|
7425
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7426
|
+
*/
|
|
7427
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.clearStatus = function() {
|
|
7428
|
+
return this.setStatus(undefined);
|
|
7429
|
+
};
|
|
7430
|
+
|
|
7431
|
+
|
|
7432
|
+
/**
|
|
7433
|
+
* Returns whether this field is set.
|
|
7434
|
+
* @return {boolean}
|
|
7435
|
+
*/
|
|
7436
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.hasStatus = function() {
|
|
7437
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7438
|
+
};
|
|
7439
|
+
|
|
7440
|
+
|
|
7441
|
+
/**
|
|
7442
|
+
* repeated AdminUsageGroup groups = 2;
|
|
7443
|
+
* @return {!Array<!proto.gateway.web.v1.AdminUsageGroup>}
|
|
7444
|
+
*/
|
|
7445
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.getGroupsList = function() {
|
|
7446
|
+
return /** @type{!Array<!proto.gateway.web.v1.AdminUsageGroup>} */ (
|
|
7447
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AdminUsageGroup, 2));
|
|
7448
|
+
};
|
|
7449
|
+
|
|
7450
|
+
|
|
7451
|
+
/**
|
|
7452
|
+
* @param {!Array<!proto.gateway.web.v1.AdminUsageGroup>} value
|
|
7453
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7454
|
+
*/
|
|
7455
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.setGroupsList = function(value) {
|
|
7456
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7457
|
+
};
|
|
7458
|
+
|
|
7459
|
+
|
|
7460
|
+
/**
|
|
7461
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroup=} opt_value
|
|
7462
|
+
* @param {number=} opt_index
|
|
7463
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup}
|
|
7464
|
+
*/
|
|
7465
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.addGroups = function(opt_value, opt_index) {
|
|
7466
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AdminUsageGroup, opt_index);
|
|
7467
|
+
};
|
|
7468
|
+
|
|
7469
|
+
|
|
7470
|
+
/**
|
|
7471
|
+
* Clears the list making it empty but non-null.
|
|
7472
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7473
|
+
*/
|
|
7474
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.clearGroupsList = function() {
|
|
7475
|
+
return this.setGroupsList([]);
|
|
7476
|
+
};
|
|
7477
|
+
|
|
7478
|
+
|
|
7479
|
+
/**
|
|
7480
|
+
* optional Pagination pagination = 3;
|
|
7481
|
+
* @return {?proto.gateway.web.v1.Pagination}
|
|
7482
|
+
*/
|
|
7483
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.getPagination = function() {
|
|
7484
|
+
return /** @type{?proto.gateway.web.v1.Pagination} */ (
|
|
7485
|
+
jspb.Message.getWrapperField(this, proto_gateway_web_v1_trace_gateway_pb.Pagination, 3));
|
|
7486
|
+
};
|
|
7487
|
+
|
|
7488
|
+
|
|
7489
|
+
/**
|
|
7490
|
+
* @param {?proto.gateway.web.v1.Pagination|undefined} value
|
|
7491
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7492
|
+
*/
|
|
7493
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.setPagination = function(value) {
|
|
7494
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
7495
|
+
};
|
|
7496
|
+
|
|
7497
|
+
|
|
7498
|
+
/**
|
|
7499
|
+
* Clears the message field making it undefined.
|
|
7500
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7501
|
+
*/
|
|
7502
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.clearPagination = function() {
|
|
7503
|
+
return this.setPagination(undefined);
|
|
7504
|
+
};
|
|
7505
|
+
|
|
7506
|
+
|
|
7507
|
+
/**
|
|
7508
|
+
* Returns whether this field is set.
|
|
7509
|
+
* @return {boolean}
|
|
7510
|
+
*/
|
|
7511
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.hasPagination = function() {
|
|
7512
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7513
|
+
};
|
|
7514
|
+
|
|
7515
|
+
|
|
7516
|
+
/**
|
|
7517
|
+
* optional google.protobuf.Timestamp refreshed_at = 4;
|
|
7518
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
7519
|
+
*/
|
|
7520
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.getRefreshedAt = function() {
|
|
7521
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
7522
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
7523
|
+
};
|
|
7524
|
+
|
|
7525
|
+
|
|
7526
|
+
/**
|
|
7527
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
7528
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7529
|
+
*/
|
|
7530
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.setRefreshedAt = function(value) {
|
|
7531
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
7532
|
+
};
|
|
7533
|
+
|
|
7534
|
+
|
|
7535
|
+
/**
|
|
7536
|
+
* Clears the message field making it undefined.
|
|
7537
|
+
* @return {!proto.gateway.web.v1.ListAdminUsageGroupsResponse} returns this
|
|
7538
|
+
*/
|
|
7539
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.clearRefreshedAt = function() {
|
|
7540
|
+
return this.setRefreshedAt(undefined);
|
|
7541
|
+
};
|
|
7542
|
+
|
|
7543
|
+
|
|
7544
|
+
/**
|
|
7545
|
+
* Returns whether this field is set.
|
|
7546
|
+
* @return {boolean}
|
|
7547
|
+
*/
|
|
7548
|
+
proto.gateway.web.v1.ListAdminUsageGroupsResponse.prototype.hasRefreshedAt = function() {
|
|
7549
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7550
|
+
};
|
|
7551
|
+
|
|
7552
|
+
|
|
7553
|
+
|
|
7554
|
+
/**
|
|
7555
|
+
* List of repeated fields within this message type.
|
|
7556
|
+
* @private {!Array<number>}
|
|
7557
|
+
* @const
|
|
7558
|
+
*/
|
|
7559
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.repeatedFields_ = [1,2];
|
|
7560
|
+
|
|
7561
|
+
|
|
7562
|
+
|
|
7563
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7564
|
+
/**
|
|
7565
|
+
* Creates an object representation of this proto.
|
|
7566
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7567
|
+
* Optional fields that are not set will be set to undefined.
|
|
7568
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7569
|
+
* For the list of reserved names please see:
|
|
7570
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7571
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7572
|
+
* JSPB instance for transitional soy proto support:
|
|
7573
|
+
* http://goto/soy-param-migration
|
|
7574
|
+
* @return {!Object}
|
|
7575
|
+
*/
|
|
7576
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.toObject = function(opt_includeInstance) {
|
|
7577
|
+
return proto.gateway.web.v1.AdminUsageGroupFilter.toObject(opt_includeInstance, this);
|
|
7578
|
+
};
|
|
7579
|
+
|
|
7580
|
+
|
|
7581
|
+
/**
|
|
7582
|
+
* Static version of the {@see toObject} method.
|
|
7583
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7584
|
+
* the JSPB instance for transitional soy proto support:
|
|
7585
|
+
* http://goto/soy-param-migration
|
|
7586
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroupFilter} msg The msg instance to transform.
|
|
7587
|
+
* @return {!Object}
|
|
7588
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7589
|
+
*/
|
|
7590
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.toObject = function(includeInstance, msg) {
|
|
7591
|
+
var f, obj = {
|
|
7592
|
+
organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
7593
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
7594
|
+
};
|
|
7595
|
+
|
|
7596
|
+
if (includeInstance) {
|
|
7597
|
+
obj.$jspbMessageInstance = msg;
|
|
7598
|
+
}
|
|
7599
|
+
return obj;
|
|
7600
|
+
};
|
|
7601
|
+
}
|
|
7602
|
+
|
|
7603
|
+
|
|
7604
|
+
/**
|
|
7605
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7606
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
7607
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter}
|
|
7608
|
+
*/
|
|
7609
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.deserializeBinary = function(bytes) {
|
|
7610
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7611
|
+
var msg = new proto.gateway.web.v1.AdminUsageGroupFilter;
|
|
7612
|
+
return proto.gateway.web.v1.AdminUsageGroupFilter.deserializeBinaryFromReader(msg, reader);
|
|
7613
|
+
};
|
|
7614
|
+
|
|
7615
|
+
|
|
7616
|
+
/**
|
|
7617
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7618
|
+
* given reader into the given message object.
|
|
7619
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroupFilter} msg The message object to deserialize into.
|
|
7620
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7621
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter}
|
|
7622
|
+
*/
|
|
7623
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
7624
|
+
while (reader.nextField()) {
|
|
7625
|
+
if (reader.isEndGroup()) {
|
|
7626
|
+
break;
|
|
7627
|
+
}
|
|
7628
|
+
var field = reader.getFieldNumber();
|
|
7629
|
+
switch (field) {
|
|
7630
|
+
case 1:
|
|
7631
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7632
|
+
msg.addOrganizationIds(value);
|
|
7633
|
+
break;
|
|
7634
|
+
case 2:
|
|
7635
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7636
|
+
msg.addUserIds(value);
|
|
7637
|
+
break;
|
|
7638
|
+
default:
|
|
7639
|
+
reader.skipField();
|
|
7640
|
+
break;
|
|
7641
|
+
}
|
|
7642
|
+
}
|
|
7643
|
+
return msg;
|
|
7644
|
+
};
|
|
7645
|
+
|
|
7646
|
+
|
|
7647
|
+
/**
|
|
7648
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7649
|
+
* @return {!Uint8Array}
|
|
7650
|
+
*/
|
|
7651
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.serializeBinary = function() {
|
|
7652
|
+
var writer = new jspb.BinaryWriter();
|
|
7653
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.serializeBinaryToWriter(this, writer);
|
|
7654
|
+
return writer.getResultBuffer();
|
|
7655
|
+
};
|
|
7656
|
+
|
|
7657
|
+
|
|
7658
|
+
/**
|
|
7659
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7660
|
+
* format), writing to the given BinaryWriter.
|
|
7661
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroupFilter} message
|
|
7662
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7664
|
+
*/
|
|
7665
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.serializeBinaryToWriter = function(message, writer) {
|
|
7666
|
+
var f = undefined;
|
|
7667
|
+
f = message.getOrganizationIdsList();
|
|
7668
|
+
if (f.length > 0) {
|
|
7669
|
+
writer.writeRepeatedString(
|
|
7670
|
+
1,
|
|
7671
|
+
f
|
|
7672
|
+
);
|
|
7673
|
+
}
|
|
7674
|
+
f = message.getUserIdsList();
|
|
7675
|
+
if (f.length > 0) {
|
|
7676
|
+
writer.writeRepeatedString(
|
|
7677
|
+
2,
|
|
7678
|
+
f
|
|
7679
|
+
);
|
|
7680
|
+
}
|
|
7681
|
+
};
|
|
7682
|
+
|
|
7683
|
+
|
|
7684
|
+
/**
|
|
7685
|
+
* repeated string organization_ids = 1;
|
|
7686
|
+
* @return {!Array<string>}
|
|
7687
|
+
*/
|
|
7688
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.getOrganizationIdsList = function() {
|
|
7689
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
7690
|
+
};
|
|
7691
|
+
|
|
7692
|
+
|
|
7693
|
+
/**
|
|
7694
|
+
* @param {!Array<string>} value
|
|
7695
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter} returns this
|
|
7696
|
+
*/
|
|
7697
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.setOrganizationIdsList = function(value) {
|
|
7698
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
7699
|
+
};
|
|
7700
|
+
|
|
7701
|
+
|
|
7702
|
+
/**
|
|
7703
|
+
* @param {string} value
|
|
7704
|
+
* @param {number=} opt_index
|
|
7705
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter} returns this
|
|
7706
|
+
*/
|
|
7707
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.addOrganizationIds = function(value, opt_index) {
|
|
7708
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
7709
|
+
};
|
|
7710
|
+
|
|
7711
|
+
|
|
7712
|
+
/**
|
|
7713
|
+
* Clears the list making it empty but non-null.
|
|
7714
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter} returns this
|
|
7715
|
+
*/
|
|
7716
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.clearOrganizationIdsList = function() {
|
|
7717
|
+
return this.setOrganizationIdsList([]);
|
|
7718
|
+
};
|
|
7719
|
+
|
|
7720
|
+
|
|
7721
|
+
/**
|
|
7722
|
+
* repeated string user_ids = 2;
|
|
7723
|
+
* @return {!Array<string>}
|
|
7724
|
+
*/
|
|
7725
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.getUserIdsList = function() {
|
|
7726
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
7727
|
+
};
|
|
7728
|
+
|
|
7729
|
+
|
|
7730
|
+
/**
|
|
7731
|
+
* @param {!Array<string>} value
|
|
7732
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter} returns this
|
|
7733
|
+
*/
|
|
7734
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.setUserIdsList = function(value) {
|
|
7735
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
7736
|
+
};
|
|
7737
|
+
|
|
7738
|
+
|
|
7739
|
+
/**
|
|
7740
|
+
* @param {string} value
|
|
7741
|
+
* @param {number=} opt_index
|
|
7742
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter} returns this
|
|
7743
|
+
*/
|
|
7744
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.addUserIds = function(value, opt_index) {
|
|
7745
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
7746
|
+
};
|
|
7747
|
+
|
|
7748
|
+
|
|
7749
|
+
/**
|
|
7750
|
+
* Clears the list making it empty but non-null.
|
|
7751
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroupFilter} returns this
|
|
7752
|
+
*/
|
|
7753
|
+
proto.gateway.web.v1.AdminUsageGroupFilter.prototype.clearUserIdsList = function() {
|
|
7754
|
+
return this.setUserIdsList([]);
|
|
7755
|
+
};
|
|
7756
|
+
|
|
7757
|
+
|
|
7758
|
+
|
|
7759
|
+
|
|
7760
|
+
|
|
7761
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7762
|
+
/**
|
|
7763
|
+
* Creates an object representation of this proto.
|
|
7764
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7765
|
+
* Optional fields that are not set will be set to undefined.
|
|
7766
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7767
|
+
* For the list of reserved names please see:
|
|
7768
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7769
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7770
|
+
* JSPB instance for transitional soy proto support:
|
|
7771
|
+
* http://goto/soy-param-migration
|
|
7772
|
+
* @return {!Object}
|
|
7773
|
+
*/
|
|
7774
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.toObject = function(opt_includeInstance) {
|
|
7775
|
+
return proto.gateway.web.v1.AdminUsageGroup.toObject(opt_includeInstance, this);
|
|
7776
|
+
};
|
|
7777
|
+
|
|
7778
|
+
|
|
7779
|
+
/**
|
|
7780
|
+
* Static version of the {@see toObject} method.
|
|
7781
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7782
|
+
* the JSPB instance for transitional soy proto support:
|
|
7783
|
+
* http://goto/soy-param-migration
|
|
7784
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroup} msg The msg instance to transform.
|
|
7785
|
+
* @return {!Object}
|
|
7786
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7787
|
+
*/
|
|
7788
|
+
proto.gateway.web.v1.AdminUsageGroup.toObject = function(includeInstance, msg) {
|
|
7789
|
+
var f, obj = {
|
|
7790
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7791
|
+
principalKind: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7792
|
+
principalId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7793
|
+
sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7794
|
+
model: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7795
|
+
day: (f = msg.getDay()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
7796
|
+
inputTokens: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
7797
|
+
outputTokens: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
7798
|
+
cacheReadTokens: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
7799
|
+
cacheWriteTokens: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
7800
|
+
costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
7801
|
+
subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
7802
|
+
modelCalls: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
7803
|
+
toolCalls: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
7804
|
+
userMessages: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
7805
|
+
sessions: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
7806
|
+
userIdCount: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
7807
|
+
};
|
|
7808
|
+
|
|
7809
|
+
if (includeInstance) {
|
|
7810
|
+
obj.$jspbMessageInstance = msg;
|
|
7811
|
+
}
|
|
7812
|
+
return obj;
|
|
7813
|
+
};
|
|
7814
|
+
}
|
|
7815
|
+
|
|
7816
|
+
|
|
7817
|
+
/**
|
|
7818
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7819
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
7820
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup}
|
|
7821
|
+
*/
|
|
7822
|
+
proto.gateway.web.v1.AdminUsageGroup.deserializeBinary = function(bytes) {
|
|
7823
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7824
|
+
var msg = new proto.gateway.web.v1.AdminUsageGroup;
|
|
7825
|
+
return proto.gateway.web.v1.AdminUsageGroup.deserializeBinaryFromReader(msg, reader);
|
|
7826
|
+
};
|
|
7827
|
+
|
|
7828
|
+
|
|
7829
|
+
/**
|
|
7830
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7831
|
+
* given reader into the given message object.
|
|
7832
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroup} msg The message object to deserialize into.
|
|
7833
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7834
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup}
|
|
7835
|
+
*/
|
|
7836
|
+
proto.gateway.web.v1.AdminUsageGroup.deserializeBinaryFromReader = function(msg, reader) {
|
|
7837
|
+
while (reader.nextField()) {
|
|
7838
|
+
if (reader.isEndGroup()) {
|
|
7839
|
+
break;
|
|
7840
|
+
}
|
|
7841
|
+
var field = reader.getFieldNumber();
|
|
7842
|
+
switch (field) {
|
|
7843
|
+
case 1:
|
|
7844
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7845
|
+
msg.setOrganizationId(value);
|
|
7846
|
+
break;
|
|
7847
|
+
case 2:
|
|
7848
|
+
var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
|
|
7849
|
+
msg.setPrincipalKind(value);
|
|
7850
|
+
break;
|
|
7851
|
+
case 3:
|
|
7852
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7853
|
+
msg.setPrincipalId(value);
|
|
7854
|
+
break;
|
|
7855
|
+
case 4:
|
|
7856
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7857
|
+
msg.setSourceSystem(value);
|
|
7858
|
+
break;
|
|
7859
|
+
case 5:
|
|
7860
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7861
|
+
msg.setModel(value);
|
|
7862
|
+
break;
|
|
7863
|
+
case 6:
|
|
7864
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
7865
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
7866
|
+
msg.setDay(value);
|
|
7867
|
+
break;
|
|
7868
|
+
case 7:
|
|
7869
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7870
|
+
msg.setInputTokens(value);
|
|
7871
|
+
break;
|
|
7872
|
+
case 8:
|
|
7873
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7874
|
+
msg.setOutputTokens(value);
|
|
7875
|
+
break;
|
|
7876
|
+
case 9:
|
|
7877
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7878
|
+
msg.setCacheReadTokens(value);
|
|
7879
|
+
break;
|
|
7880
|
+
case 10:
|
|
7881
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7882
|
+
msg.setCacheWriteTokens(value);
|
|
7883
|
+
break;
|
|
7884
|
+
case 11:
|
|
7885
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7886
|
+
msg.setCostUsd(value);
|
|
7887
|
+
break;
|
|
7888
|
+
case 12:
|
|
7889
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7890
|
+
msg.setSubscriptionCostUsd(value);
|
|
7891
|
+
break;
|
|
7892
|
+
case 13:
|
|
7893
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7894
|
+
msg.setModelCalls(value);
|
|
7895
|
+
break;
|
|
7896
|
+
case 14:
|
|
7897
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7898
|
+
msg.setToolCalls(value);
|
|
7899
|
+
break;
|
|
7900
|
+
case 15:
|
|
7901
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7902
|
+
msg.setUserMessages(value);
|
|
7903
|
+
break;
|
|
7904
|
+
case 16:
|
|
7905
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7906
|
+
msg.setSessions(value);
|
|
7907
|
+
break;
|
|
7908
|
+
case 17:
|
|
7909
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7910
|
+
msg.setUserIdCount(value);
|
|
7911
|
+
break;
|
|
7912
|
+
default:
|
|
7913
|
+
reader.skipField();
|
|
7914
|
+
break;
|
|
7915
|
+
}
|
|
7916
|
+
}
|
|
7917
|
+
return msg;
|
|
7918
|
+
};
|
|
7919
|
+
|
|
7920
|
+
|
|
7921
|
+
/**
|
|
7922
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7923
|
+
* @return {!Uint8Array}
|
|
7924
|
+
*/
|
|
7925
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.serializeBinary = function() {
|
|
7926
|
+
var writer = new jspb.BinaryWriter();
|
|
7927
|
+
proto.gateway.web.v1.AdminUsageGroup.serializeBinaryToWriter(this, writer);
|
|
7928
|
+
return writer.getResultBuffer();
|
|
7929
|
+
};
|
|
7930
|
+
|
|
7931
|
+
|
|
7932
|
+
/**
|
|
7933
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7934
|
+
* format), writing to the given BinaryWriter.
|
|
7935
|
+
* @param {!proto.gateway.web.v1.AdminUsageGroup} message
|
|
7936
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7937
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7938
|
+
*/
|
|
7939
|
+
proto.gateway.web.v1.AdminUsageGroup.serializeBinaryToWriter = function(message, writer) {
|
|
7940
|
+
var f = undefined;
|
|
7941
|
+
f = message.getOrganizationId();
|
|
7942
|
+
if (f.length > 0) {
|
|
7943
|
+
writer.writeString(
|
|
7944
|
+
1,
|
|
7945
|
+
f
|
|
7946
|
+
);
|
|
7947
|
+
}
|
|
7948
|
+
f = message.getPrincipalKind();
|
|
7949
|
+
if (f !== 0.0) {
|
|
7950
|
+
writer.writeEnum(
|
|
7951
|
+
2,
|
|
7952
|
+
f
|
|
7953
|
+
);
|
|
7954
|
+
}
|
|
7955
|
+
f = message.getPrincipalId();
|
|
7956
|
+
if (f.length > 0) {
|
|
7957
|
+
writer.writeString(
|
|
7958
|
+
3,
|
|
7959
|
+
f
|
|
7960
|
+
);
|
|
7961
|
+
}
|
|
7962
|
+
f = message.getSourceSystem();
|
|
7963
|
+
if (f.length > 0) {
|
|
7964
|
+
writer.writeString(
|
|
7965
|
+
4,
|
|
7966
|
+
f
|
|
7967
|
+
);
|
|
7968
|
+
}
|
|
7969
|
+
f = message.getModel();
|
|
7970
|
+
if (f.length > 0) {
|
|
7971
|
+
writer.writeString(
|
|
7972
|
+
5,
|
|
7973
|
+
f
|
|
7974
|
+
);
|
|
7975
|
+
}
|
|
7976
|
+
f = message.getDay();
|
|
7977
|
+
if (f != null) {
|
|
7978
|
+
writer.writeMessage(
|
|
7979
|
+
6,
|
|
7980
|
+
f,
|
|
7981
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
7982
|
+
);
|
|
7983
|
+
}
|
|
7984
|
+
f = message.getInputTokens();
|
|
7985
|
+
if (f !== 0) {
|
|
7986
|
+
writer.writeUint64(
|
|
7987
|
+
7,
|
|
7988
|
+
f
|
|
7989
|
+
);
|
|
7990
|
+
}
|
|
7991
|
+
f = message.getOutputTokens();
|
|
7992
|
+
if (f !== 0) {
|
|
7993
|
+
writer.writeUint64(
|
|
7994
|
+
8,
|
|
7995
|
+
f
|
|
7996
|
+
);
|
|
7997
|
+
}
|
|
7998
|
+
f = message.getCacheReadTokens();
|
|
7999
|
+
if (f !== 0) {
|
|
8000
|
+
writer.writeUint64(
|
|
8001
|
+
9,
|
|
8002
|
+
f
|
|
8003
|
+
);
|
|
8004
|
+
}
|
|
8005
|
+
f = message.getCacheWriteTokens();
|
|
8006
|
+
if (f !== 0) {
|
|
8007
|
+
writer.writeUint64(
|
|
8008
|
+
10,
|
|
8009
|
+
f
|
|
8010
|
+
);
|
|
8011
|
+
}
|
|
8012
|
+
f = message.getCostUsd();
|
|
8013
|
+
if (f !== 0.0) {
|
|
8014
|
+
writer.writeDouble(
|
|
8015
|
+
11,
|
|
8016
|
+
f
|
|
8017
|
+
);
|
|
8018
|
+
}
|
|
8019
|
+
f = message.getSubscriptionCostUsd();
|
|
8020
|
+
if (f !== 0.0) {
|
|
8021
|
+
writer.writeDouble(
|
|
8022
|
+
12,
|
|
8023
|
+
f
|
|
8024
|
+
);
|
|
8025
|
+
}
|
|
8026
|
+
f = message.getModelCalls();
|
|
8027
|
+
if (f !== 0) {
|
|
8028
|
+
writer.writeUint64(
|
|
8029
|
+
13,
|
|
8030
|
+
f
|
|
8031
|
+
);
|
|
8032
|
+
}
|
|
8033
|
+
f = message.getToolCalls();
|
|
8034
|
+
if (f !== 0) {
|
|
8035
|
+
writer.writeUint64(
|
|
8036
|
+
14,
|
|
8037
|
+
f
|
|
8038
|
+
);
|
|
8039
|
+
}
|
|
8040
|
+
f = message.getUserMessages();
|
|
8041
|
+
if (f !== 0) {
|
|
8042
|
+
writer.writeUint64(
|
|
8043
|
+
15,
|
|
8044
|
+
f
|
|
8045
|
+
);
|
|
8046
|
+
}
|
|
8047
|
+
f = message.getSessions();
|
|
8048
|
+
if (f !== 0) {
|
|
8049
|
+
writer.writeUint64(
|
|
8050
|
+
16,
|
|
8051
|
+
f
|
|
8052
|
+
);
|
|
8053
|
+
}
|
|
8054
|
+
f = message.getUserIdCount();
|
|
8055
|
+
if (f !== 0) {
|
|
8056
|
+
writer.writeUint64(
|
|
8057
|
+
17,
|
|
8058
|
+
f
|
|
8059
|
+
);
|
|
8060
|
+
}
|
|
8061
|
+
};
|
|
8062
|
+
|
|
8063
|
+
|
|
8064
|
+
/**
|
|
8065
|
+
* optional string organization_id = 1;
|
|
8066
|
+
* @return {string}
|
|
8067
|
+
*/
|
|
8068
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getOrganizationId = function() {
|
|
8069
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8070
|
+
};
|
|
8071
|
+
|
|
8072
|
+
|
|
8073
|
+
/**
|
|
8074
|
+
* @param {string} value
|
|
8075
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8076
|
+
*/
|
|
8077
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setOrganizationId = function(value) {
|
|
8078
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8079
|
+
};
|
|
8080
|
+
|
|
8081
|
+
|
|
8082
|
+
/**
|
|
8083
|
+
* optional AIPrincipalKind principal_kind = 2;
|
|
8084
|
+
* @return {!proto.gateway.web.v1.AIPrincipalKind}
|
|
8085
|
+
*/
|
|
8086
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getPrincipalKind = function() {
|
|
8087
|
+
return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8088
|
+
};
|
|
8089
|
+
|
|
8090
|
+
|
|
8091
|
+
/**
|
|
8092
|
+
* @param {!proto.gateway.web.v1.AIPrincipalKind} value
|
|
8093
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8094
|
+
*/
|
|
8095
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setPrincipalKind = function(value) {
|
|
8096
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
8097
|
+
};
|
|
8098
|
+
|
|
8099
|
+
|
|
8100
|
+
/**
|
|
8101
|
+
* optional string principal_id = 3;
|
|
8102
|
+
* @return {string}
|
|
8103
|
+
*/
|
|
8104
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getPrincipalId = function() {
|
|
8105
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8106
|
+
};
|
|
8107
|
+
|
|
8108
|
+
|
|
8109
|
+
/**
|
|
8110
|
+
* @param {string} value
|
|
8111
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8112
|
+
*/
|
|
8113
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setPrincipalId = function(value) {
|
|
8114
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8115
|
+
};
|
|
8116
|
+
|
|
8117
|
+
|
|
8118
|
+
/**
|
|
8119
|
+
* optional string source_system = 4;
|
|
8120
|
+
* @return {string}
|
|
8121
|
+
*/
|
|
8122
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getSourceSystem = function() {
|
|
8123
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
8124
|
+
};
|
|
8125
|
+
|
|
8126
|
+
|
|
8127
|
+
/**
|
|
8128
|
+
* @param {string} value
|
|
8129
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8130
|
+
*/
|
|
8131
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setSourceSystem = function(value) {
|
|
8132
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
8133
|
+
};
|
|
8134
|
+
|
|
8135
|
+
|
|
8136
|
+
/**
|
|
8137
|
+
* optional string model = 5;
|
|
8138
|
+
* @return {string}
|
|
8139
|
+
*/
|
|
8140
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getModel = function() {
|
|
8141
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8142
|
+
};
|
|
8143
|
+
|
|
8144
|
+
|
|
8145
|
+
/**
|
|
8146
|
+
* @param {string} value
|
|
8147
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8148
|
+
*/
|
|
8149
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setModel = function(value) {
|
|
8150
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
8151
|
+
};
|
|
8152
|
+
|
|
8153
|
+
|
|
8154
|
+
/**
|
|
8155
|
+
* optional google.protobuf.Timestamp day = 6;
|
|
8156
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
8157
|
+
*/
|
|
8158
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getDay = function() {
|
|
8159
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
8160
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
8161
|
+
};
|
|
8162
|
+
|
|
8163
|
+
|
|
8164
|
+
/**
|
|
8165
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
8166
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8167
|
+
*/
|
|
8168
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setDay = function(value) {
|
|
8169
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
8170
|
+
};
|
|
8171
|
+
|
|
8172
|
+
|
|
8173
|
+
/**
|
|
8174
|
+
* Clears the message field making it undefined.
|
|
8175
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8176
|
+
*/
|
|
8177
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.clearDay = function() {
|
|
8178
|
+
return this.setDay(undefined);
|
|
8179
|
+
};
|
|
8180
|
+
|
|
8181
|
+
|
|
8182
|
+
/**
|
|
8183
|
+
* Returns whether this field is set.
|
|
8184
|
+
* @return {boolean}
|
|
8185
|
+
*/
|
|
8186
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.hasDay = function() {
|
|
8187
|
+
return jspb.Message.getField(this, 6) != null;
|
|
8188
|
+
};
|
|
8189
|
+
|
|
8190
|
+
|
|
8191
|
+
/**
|
|
8192
|
+
* optional uint64 input_tokens = 7;
|
|
8193
|
+
* @return {number}
|
|
8194
|
+
*/
|
|
8195
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getInputTokens = function() {
|
|
8196
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
8197
|
+
};
|
|
8198
|
+
|
|
8199
|
+
|
|
8200
|
+
/**
|
|
8201
|
+
* @param {number} value
|
|
8202
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8203
|
+
*/
|
|
8204
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setInputTokens = function(value) {
|
|
8205
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
8206
|
+
};
|
|
8207
|
+
|
|
8208
|
+
|
|
8209
|
+
/**
|
|
8210
|
+
* optional uint64 output_tokens = 8;
|
|
8211
|
+
* @return {number}
|
|
8212
|
+
*/
|
|
8213
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getOutputTokens = function() {
|
|
8214
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
8215
|
+
};
|
|
8216
|
+
|
|
8217
|
+
|
|
8218
|
+
/**
|
|
8219
|
+
* @param {number} value
|
|
8220
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8221
|
+
*/
|
|
8222
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setOutputTokens = function(value) {
|
|
8223
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
8224
|
+
};
|
|
8225
|
+
|
|
8226
|
+
|
|
8227
|
+
/**
|
|
8228
|
+
* optional uint64 cache_read_tokens = 9;
|
|
8229
|
+
* @return {number}
|
|
8230
|
+
*/
|
|
8231
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getCacheReadTokens = function() {
|
|
8232
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
8233
|
+
};
|
|
8234
|
+
|
|
8235
|
+
|
|
8236
|
+
/**
|
|
8237
|
+
* @param {number} value
|
|
8238
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8239
|
+
*/
|
|
8240
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setCacheReadTokens = function(value) {
|
|
8241
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
8242
|
+
};
|
|
8243
|
+
|
|
8244
|
+
|
|
8245
|
+
/**
|
|
8246
|
+
* optional uint64 cache_write_tokens = 10;
|
|
8247
|
+
* @return {number}
|
|
8248
|
+
*/
|
|
8249
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getCacheWriteTokens = function() {
|
|
8250
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
8251
|
+
};
|
|
8252
|
+
|
|
8253
|
+
|
|
8254
|
+
/**
|
|
8255
|
+
* @param {number} value
|
|
8256
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8257
|
+
*/
|
|
8258
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setCacheWriteTokens = function(value) {
|
|
8259
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
8260
|
+
};
|
|
8261
|
+
|
|
8262
|
+
|
|
8263
|
+
/**
|
|
8264
|
+
* optional double cost_usd = 11;
|
|
8265
|
+
* @return {number}
|
|
8266
|
+
*/
|
|
8267
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getCostUsd = function() {
|
|
8268
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
8269
|
+
};
|
|
8270
|
+
|
|
8271
|
+
|
|
8272
|
+
/**
|
|
8273
|
+
* @param {number} value
|
|
8274
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8275
|
+
*/
|
|
8276
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setCostUsd = function(value) {
|
|
8277
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
8278
|
+
};
|
|
8279
|
+
|
|
8280
|
+
|
|
8281
|
+
/**
|
|
8282
|
+
* optional double subscription_cost_usd = 12;
|
|
8283
|
+
* @return {number}
|
|
8284
|
+
*/
|
|
8285
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getSubscriptionCostUsd = function() {
|
|
8286
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
|
8287
|
+
};
|
|
8288
|
+
|
|
8289
|
+
|
|
8290
|
+
/**
|
|
8291
|
+
* @param {number} value
|
|
8292
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8293
|
+
*/
|
|
8294
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setSubscriptionCostUsd = function(value) {
|
|
8295
|
+
return jspb.Message.setProto3FloatField(this, 12, value);
|
|
8296
|
+
};
|
|
8297
|
+
|
|
8298
|
+
|
|
8299
|
+
/**
|
|
8300
|
+
* optional uint64 model_calls = 13;
|
|
8301
|
+
* @return {number}
|
|
8302
|
+
*/
|
|
8303
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getModelCalls = function() {
|
|
8304
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
8305
|
+
};
|
|
8306
|
+
|
|
8307
|
+
|
|
8308
|
+
/**
|
|
8309
|
+
* @param {number} value
|
|
8310
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8311
|
+
*/
|
|
8312
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setModelCalls = function(value) {
|
|
8313
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
8314
|
+
};
|
|
8315
|
+
|
|
8316
|
+
|
|
8317
|
+
/**
|
|
8318
|
+
* optional uint64 tool_calls = 14;
|
|
8319
|
+
* @return {number}
|
|
8320
|
+
*/
|
|
8321
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getToolCalls = function() {
|
|
8322
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
8323
|
+
};
|
|
8324
|
+
|
|
8325
|
+
|
|
8326
|
+
/**
|
|
8327
|
+
* @param {number} value
|
|
8328
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8329
|
+
*/
|
|
8330
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setToolCalls = function(value) {
|
|
8331
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
8332
|
+
};
|
|
8333
|
+
|
|
8334
|
+
|
|
8335
|
+
/**
|
|
8336
|
+
* optional uint64 user_messages = 15;
|
|
8337
|
+
* @return {number}
|
|
8338
|
+
*/
|
|
8339
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getUserMessages = function() {
|
|
8340
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
8341
|
+
};
|
|
8342
|
+
|
|
8343
|
+
|
|
8344
|
+
/**
|
|
8345
|
+
* @param {number} value
|
|
8346
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8347
|
+
*/
|
|
8348
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setUserMessages = function(value) {
|
|
8349
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
8350
|
+
};
|
|
8351
|
+
|
|
8352
|
+
|
|
8353
|
+
/**
|
|
8354
|
+
* optional uint64 sessions = 16;
|
|
8355
|
+
* @return {number}
|
|
8356
|
+
*/
|
|
8357
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getSessions = function() {
|
|
8358
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
8359
|
+
};
|
|
8360
|
+
|
|
8361
|
+
|
|
8362
|
+
/**
|
|
8363
|
+
* @param {number} value
|
|
8364
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8365
|
+
*/
|
|
8366
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setSessions = function(value) {
|
|
8367
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
8368
|
+
};
|
|
8369
|
+
|
|
8370
|
+
|
|
8371
|
+
/**
|
|
8372
|
+
* optional uint64 user_id_count = 17;
|
|
8373
|
+
* @return {number}
|
|
8374
|
+
*/
|
|
8375
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.getUserIdCount = function() {
|
|
8376
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
8377
|
+
};
|
|
8378
|
+
|
|
8379
|
+
|
|
8380
|
+
/**
|
|
8381
|
+
* @param {number} value
|
|
8382
|
+
* @return {!proto.gateway.web.v1.AdminUsageGroup} returns this
|
|
8383
|
+
*/
|
|
8384
|
+
proto.gateway.web.v1.AdminUsageGroup.prototype.setUserIdCount = function(value) {
|
|
8385
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
8386
|
+
};
|
|
8387
|
+
|
|
8388
|
+
|
|
8389
|
+
|
|
8390
|
+
/**
|
|
8391
|
+
* List of repeated fields within this message type.
|
|
8392
|
+
* @private {!Array<number>}
|
|
8393
|
+
* @const
|
|
8394
|
+
*/
|
|
8395
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.repeatedFields_ = [1];
|
|
8396
|
+
|
|
8397
|
+
|
|
8398
|
+
|
|
8399
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8400
|
+
/**
|
|
8401
|
+
* Creates an object representation of this proto.
|
|
8402
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8403
|
+
* Optional fields that are not set will be set to undefined.
|
|
8404
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8405
|
+
* For the list of reserved names please see:
|
|
8406
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8407
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8408
|
+
* JSPB instance for transitional soy proto support:
|
|
8409
|
+
* http://goto/soy-param-migration
|
|
8410
|
+
* @return {!Object}
|
|
8411
|
+
*/
|
|
8412
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8413
|
+
return proto.gateway.web.v1.ResolveOrgDetailsRequest.toObject(opt_includeInstance, this);
|
|
8414
|
+
};
|
|
8415
|
+
|
|
8416
|
+
|
|
8417
|
+
/**
|
|
8418
|
+
* Static version of the {@see toObject} method.
|
|
8419
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8420
|
+
* the JSPB instance for transitional soy proto support:
|
|
8421
|
+
* http://goto/soy-param-migration
|
|
8422
|
+
* @param {!proto.gateway.web.v1.ResolveOrgDetailsRequest} msg The msg instance to transform.
|
|
8423
|
+
* @return {!Object}
|
|
8424
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8425
|
+
*/
|
|
8426
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.toObject = function(includeInstance, msg) {
|
|
8427
|
+
var f, obj = {
|
|
8428
|
+
organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
8429
|
+
};
|
|
8430
|
+
|
|
8431
|
+
if (includeInstance) {
|
|
8432
|
+
obj.$jspbMessageInstance = msg;
|
|
8433
|
+
}
|
|
8434
|
+
return obj;
|
|
8435
|
+
};
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
|
|
8439
|
+
/**
|
|
8440
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8441
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
8442
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsRequest}
|
|
8443
|
+
*/
|
|
8444
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.deserializeBinary = function(bytes) {
|
|
8445
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8446
|
+
var msg = new proto.gateway.web.v1.ResolveOrgDetailsRequest;
|
|
8447
|
+
return proto.gateway.web.v1.ResolveOrgDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
8448
|
+
};
|
|
8449
|
+
|
|
8450
|
+
|
|
8451
|
+
/**
|
|
8452
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8453
|
+
* given reader into the given message object.
|
|
8454
|
+
* @param {!proto.gateway.web.v1.ResolveOrgDetailsRequest} msg The message object to deserialize into.
|
|
8455
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8456
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsRequest}
|
|
8457
|
+
*/
|
|
8458
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8459
|
+
while (reader.nextField()) {
|
|
8460
|
+
if (reader.isEndGroup()) {
|
|
8461
|
+
break;
|
|
8462
|
+
}
|
|
8463
|
+
var field = reader.getFieldNumber();
|
|
8464
|
+
switch (field) {
|
|
8465
|
+
case 1:
|
|
8466
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
8467
|
+
msg.addOrganizationIds(value);
|
|
8468
|
+
break;
|
|
8469
|
+
default:
|
|
8470
|
+
reader.skipField();
|
|
8471
|
+
break;
|
|
8472
|
+
}
|
|
8473
|
+
}
|
|
8474
|
+
return msg;
|
|
8475
|
+
};
|
|
8476
|
+
|
|
8477
|
+
|
|
8478
|
+
/**
|
|
8479
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8480
|
+
* @return {!Uint8Array}
|
|
8481
|
+
*/
|
|
8482
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.serializeBinary = function() {
|
|
8483
|
+
var writer = new jspb.BinaryWriter();
|
|
8484
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
8485
|
+
return writer.getResultBuffer();
|
|
8486
|
+
};
|
|
8487
|
+
|
|
8488
|
+
|
|
8489
|
+
/**
|
|
8490
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8491
|
+
* format), writing to the given BinaryWriter.
|
|
8492
|
+
* @param {!proto.gateway.web.v1.ResolveOrgDetailsRequest} message
|
|
8493
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8495
|
+
*/
|
|
8496
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8497
|
+
var f = undefined;
|
|
8498
|
+
f = message.getOrganizationIdsList();
|
|
8499
|
+
if (f.length > 0) {
|
|
8500
|
+
writer.writeRepeatedString(
|
|
8501
|
+
1,
|
|
8502
|
+
f
|
|
8503
|
+
);
|
|
8504
|
+
}
|
|
8505
|
+
};
|
|
8506
|
+
|
|
8507
|
+
|
|
8508
|
+
/**
|
|
8509
|
+
* repeated string organization_ids = 1;
|
|
8510
|
+
* @return {!Array<string>}
|
|
8511
|
+
*/
|
|
8512
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.getOrganizationIdsList = function() {
|
|
8513
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
8514
|
+
};
|
|
8515
|
+
|
|
8516
|
+
|
|
8517
|
+
/**
|
|
8518
|
+
* @param {!Array<string>} value
|
|
8519
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsRequest} returns this
|
|
8520
|
+
*/
|
|
8521
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.setOrganizationIdsList = function(value) {
|
|
8522
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
8523
|
+
};
|
|
8524
|
+
|
|
8525
|
+
|
|
8526
|
+
/**
|
|
8527
|
+
* @param {string} value
|
|
8528
|
+
* @param {number=} opt_index
|
|
8529
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsRequest} returns this
|
|
8530
|
+
*/
|
|
8531
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.addOrganizationIds = function(value, opt_index) {
|
|
8532
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
8533
|
+
};
|
|
8534
|
+
|
|
8535
|
+
|
|
8536
|
+
/**
|
|
8537
|
+
* Clears the list making it empty but non-null.
|
|
8538
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsRequest} returns this
|
|
8539
|
+
*/
|
|
8540
|
+
proto.gateway.web.v1.ResolveOrgDetailsRequest.prototype.clearOrganizationIdsList = function() {
|
|
8541
|
+
return this.setOrganizationIdsList([]);
|
|
8542
|
+
};
|
|
8543
|
+
|
|
8544
|
+
|
|
8545
|
+
|
|
8546
|
+
/**
|
|
8547
|
+
* List of repeated fields within this message type.
|
|
8548
|
+
* @private {!Array<number>}
|
|
8549
|
+
* @const
|
|
8550
|
+
*/
|
|
8551
|
+
proto.gateway.web.v1.ResolveOrgDetailsResponse.repeatedFields_ = [2];
|
|
8552
|
+
|
|
8553
|
+
|
|
8554
|
+
|
|
8555
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8556
|
+
/**
|
|
8557
|
+
* Creates an object representation of this proto.
|
|
8558
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8559
|
+
* Optional fields that are not set will be set to undefined.
|
|
8560
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8561
|
+
* For the list of reserved names please see:
|
|
8562
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8563
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8564
|
+
* JSPB instance for transitional soy proto support:
|
|
8565
|
+
* http://goto/soy-param-migration
|
|
8566
|
+
* @return {!Object}
|
|
8567
|
+
*/
|
|
8568
|
+
proto.gateway.web.v1.ResolveOrgDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8569
|
+
return proto.gateway.web.v1.ResolveOrgDetailsResponse.toObject(opt_includeInstance, this);
|
|
8570
|
+
};
|
|
8571
|
+
|
|
8572
|
+
|
|
8573
|
+
/**
|
|
8574
|
+
* Static version of the {@see toObject} method.
|
|
8575
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8576
|
+
* the JSPB instance for transitional soy proto support:
|
|
8577
|
+
* http://goto/soy-param-migration
|
|
8578
|
+
* @param {!proto.gateway.web.v1.ResolveOrgDetailsResponse} msg The msg instance to transform.
|
|
8579
|
+
* @return {!Object}
|
|
8580
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8581
|
+
*/
|
|
8582
|
+
proto.gateway.web.v1.ResolveOrgDetailsResponse.toObject = function(includeInstance, msg) {
|
|
8583
|
+
var f, obj = {
|
|
8584
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
8585
|
+
organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(),
|
|
8586
|
+
proto.gateway.web.v1.OrgDetails.toObject, includeInstance)
|
|
8587
|
+
};
|
|
8588
|
+
|
|
8589
|
+
if (includeInstance) {
|
|
8590
|
+
obj.$jspbMessageInstance = msg;
|
|
8591
|
+
}
|
|
8592
|
+
return obj;
|
|
8593
|
+
};
|
|
8594
|
+
}
|
|
8595
|
+
|
|
8596
|
+
|
|
8597
|
+
/**
|
|
8598
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8599
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
8600
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsResponse}
|
|
8601
|
+
*/
|
|
8602
|
+
proto.gateway.web.v1.ResolveOrgDetailsResponse.deserializeBinary = function(bytes) {
|
|
8603
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8604
|
+
var msg = new proto.gateway.web.v1.ResolveOrgDetailsResponse;
|
|
8605
|
+
return proto.gateway.web.v1.ResolveOrgDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
8606
|
+
};
|
|
8607
|
+
|
|
8608
|
+
|
|
8609
|
+
/**
|
|
8610
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8611
|
+
* given reader into the given message object.
|
|
8612
|
+
* @param {!proto.gateway.web.v1.ResolveOrgDetailsResponse} msg The message object to deserialize into.
|
|
8613
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8614
|
+
* @return {!proto.gateway.web.v1.ResolveOrgDetailsResponse}
|
|
8615
|
+
*/
|
|
8616
|
+
proto.gateway.web.v1.ResolveOrgDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8617
|
+
while (reader.nextField()) {
|
|
8618
|
+
if (reader.isEndGroup()) {
|
|
8619
|
+
break;
|
|
6981
8620
|
}
|
|
6982
8621
|
var field = reader.getFieldNumber();
|
|
6983
8622
|
switch (field) {
|
|
@@ -8353,4 +9992,27 @@ proto.gateway.web.v1.UserDetails.prototype.setName = function(value) {
|
|
|
8353
9992
|
};
|
|
8354
9993
|
|
|
8355
9994
|
|
|
9995
|
+
/**
|
|
9996
|
+
* @enum {number}
|
|
9997
|
+
*/
|
|
9998
|
+
proto.gateway.web.v1.AdminUsageDimension = {
|
|
9999
|
+
ADMIN_USAGE_DIMENSION_UNSPECIFIED: 0,
|
|
10000
|
+
ADMIN_USAGE_DIMENSION_ORGANIZATION: 1,
|
|
10001
|
+
ADMIN_USAGE_DIMENSION_PRINCIPAL: 2,
|
|
10002
|
+
ADMIN_USAGE_DIMENSION_SOURCE: 3,
|
|
10003
|
+
ADMIN_USAGE_DIMENSION_MODEL: 4,
|
|
10004
|
+
ADMIN_USAGE_DIMENSION_DAY: 5
|
|
10005
|
+
};
|
|
10006
|
+
|
|
10007
|
+
/**
|
|
10008
|
+
* @enum {number}
|
|
10009
|
+
*/
|
|
10010
|
+
proto.gateway.web.v1.AdminUsageGroupSort = {
|
|
10011
|
+
ADMIN_USAGE_GROUP_SORT_UNSPECIFIED: 0,
|
|
10012
|
+
ADMIN_USAGE_GROUP_SORT_COST_DESC: 1,
|
|
10013
|
+
ADMIN_USAGE_GROUP_SORT_TOKENS_DESC: 2,
|
|
10014
|
+
ADMIN_USAGE_GROUP_SORT_CALLS_DESC: 3,
|
|
10015
|
+
ADMIN_USAGE_GROUP_SORT_GROUP_ASC: 4
|
|
10016
|
+
};
|
|
10017
|
+
|
|
8356
10018
|
goog.object.extend(exports, proto.gateway.web.v1);
|