@kenji71089/evaluation 0.0.1
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/.release-please-manifest.json +3 -0
- package/README.md +9 -0
- package/eslint.config.mjs +27 -0
- package/lib/clauseEvaluator.d.ts +22 -0
- package/lib/clauseEvaluator.js +299 -0
- package/lib/clauseEvaluator.mjs +214 -0
- package/lib/dependencyEvaluator.d.ts +6 -0
- package/lib/dependencyEvaluator.js +46 -0
- package/lib/dependencyEvaluator.mjs +19 -0
- package/lib/errors.d.ts +9 -0
- package/lib/errors.js +15 -0
- package/lib/errors.mjs +12 -0
- package/lib/evaluation.d.ts +25 -0
- package/lib/evaluation.js +503 -0
- package/lib/evaluation.mjs +328 -0
- package/lib/google/api/annotations_pb.d.ts +8 -0
- package/lib/google/api/annotations_pb.js +40 -0
- package/lib/google/api/annotations_pb.mjs +54 -0
- package/lib/google/api/annotations_pb_service.d.ts +3 -0
- package/lib/google/api/annotations_pb_service.js +3 -0
- package/lib/google/api/annotations_pb_service.mjs +3 -0
- package/lib/google/api/http_pb.d.ts +132 -0
- package/lib/google/api/http_pb.js +860 -0
- package/lib/google/api/http_pb.mjs +982 -0
- package/lib/google/api/http_pb_service.d.ts +3 -0
- package/lib/google/api/http_pb_service.js +3 -0
- package/lib/google/api/http_pb_service.mjs +3 -0
- package/lib/google/rpc/code_pb.d.ts +26 -0
- package/lib/google/rpc/code_pb.js +44 -0
- package/lib/google/rpc/code_pb.mjs +48 -0
- package/lib/google/rpc/code_pb_service.d.ts +3 -0
- package/lib/google/rpc/code_pb_service.js +3 -0
- package/lib/google/rpc/code_pb_service.mjs +3 -0
- package/lib/google/rpc/error_details_pb.d.ts +322 -0
- package/lib/google/rpc/error_details_pb.js +2220 -0
- package/lib/google/rpc/error_details_pb.mjs +2499 -0
- package/lib/google/rpc/error_details_pb_service.d.ts +3 -0
- package/lib/google/rpc/error_details_pb_service.js +3 -0
- package/lib/google/rpc/error_details_pb_service.mjs +3 -0
- package/lib/google/rpc/status_pb.d.ts +36 -0
- package/lib/google/rpc/status_pb.js +235 -0
- package/lib/google/rpc/status_pb.mjs +268 -0
- package/lib/google/rpc/status_pb_service.d.ts +3 -0
- package/lib/google/rpc/status_pb_service.js +3 -0
- package/lib/google/rpc/status_pb_service.mjs +3 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.js +199 -0
- package/lib/index.mjs +46 -0
- package/lib/modelFactory.d.ts +64 -0
- package/lib/modelFactory.js +206 -0
- package/lib/modelFactory.mjs +176 -0
- package/lib/proto/event/client/event_pb.d.ts +761 -0
- package/lib/proto/event/client/event_pb.js +5195 -0
- package/lib/proto/event/client/event_pb.mjs +5865 -0
- package/lib/proto/event/client/event_pb_service.d.ts +3 -0
- package/lib/proto/event/client/event_pb_service.js +3 -0
- package/lib/proto/event/client/event_pb_service.mjs +3 -0
- package/lib/proto/event/domain/event_pb.d.ts +4518 -0
- package/lib/proto/event/domain/event_pb.js +10834 -0
- package/lib/proto/event/domain/event_pb.mjs +33315 -0
- package/lib/proto/event/domain/event_pb_service.d.ts +3 -0
- package/lib/proto/event/domain/event_pb_service.js +3 -0
- package/lib/proto/event/domain/event_pb_service.mjs +3 -0
- package/lib/proto/event/domain/localized_message_pb.d.ts +29 -0
- package/lib/proto/event/domain/localized_message_pb.js +183 -0
- package/lib/proto/event/domain/localized_message_pb.mjs +206 -0
- package/lib/proto/event/domain/localized_message_pb_service.d.ts +3 -0
- package/lib/proto/event/domain/localized_message_pb_service.js +3 -0
- package/lib/proto/event/domain/localized_message_pb_service.mjs +3 -0
- package/lib/proto/event/service/feature_pb.d.ts +44 -0
- package/lib/proto/event/service/feature_pb.js +277 -0
- package/lib/proto/event/service/feature_pb.mjs +319 -0
- package/lib/proto/event/service/feature_pb_service.d.ts +3 -0
- package/lib/proto/event/service/feature_pb_service.js +3 -0
- package/lib/proto/event/service/feature_pb_service.mjs +3 -0
- package/lib/proto/event/service/segment_pb.d.ts +51 -0
- package/lib/proto/event/service/segment_pb.js +324 -0
- package/lib/proto/event/service/segment_pb.mjs +375 -0
- package/lib/proto/event/service/segment_pb_service.d.ts +3 -0
- package/lib/proto/event/service/segment_pb_service.js +3 -0
- package/lib/proto/event/service/segment_pb_service.mjs +3 -0
- package/lib/proto/event/service/user_pb.d.ts +49 -0
- package/lib/proto/event/service/user_pb.js +315 -0
- package/lib/proto/event/service/user_pb.mjs +362 -0
- package/lib/proto/event/service/user_pb_service.d.ts +3 -0
- package/lib/proto/event/service/user_pb_service.js +3 -0
- package/lib/proto/event/service/user_pb_service.mjs +3 -0
- package/lib/proto/feature/clause_pb.d.ts +57 -0
- package/lib/proto/feature/clause_pb.js +277 -0
- package/lib/proto/feature/clause_pb.mjs +312 -0
- package/lib/proto/feature/clause_pb_service.d.ts +3 -0
- package/lib/proto/feature/clause_pb_service.js +3 -0
- package/lib/proto/feature/clause_pb_service.mjs +3 -0
- package/lib/proto/feature/command_pb.d.ts +1213 -0
- package/lib/proto/feature/command_pb.js +8260 -0
- package/lib/proto/feature/command_pb.mjs +9275 -0
- package/lib/proto/feature/command_pb_service.d.ts +3 -0
- package/lib/proto/feature/command_pb_service.js +3 -0
- package/lib/proto/feature/command_pb_service.mjs +3 -0
- package/lib/proto/feature/evaluation_pb.d.ts +111 -0
- package/lib/proto/feature/evaluation_pb.js +685 -0
- package/lib/proto/feature/evaluation_pb.mjs +793 -0
- package/lib/proto/feature/evaluation_pb_service.d.ts +3 -0
- package/lib/proto/feature/evaluation_pb_service.js +3 -0
- package/lib/proto/feature/evaluation_pb_service.mjs +3 -0
- package/lib/proto/feature/feature_last_used_info_pb.d.ts +45 -0
- package/lib/proto/feature/feature_last_used_info_pb.js +283 -0
- package/lib/proto/feature/feature_last_used_info_pb.mjs +326 -0
- package/lib/proto/feature/feature_last_used_info_pb_service.d.ts +3 -0
- package/lib/proto/feature/feature_last_used_info_pb_service.js +3 -0
- package/lib/proto/feature/feature_last_used_info_pb_service.mjs +3 -0
- package/lib/proto/feature/feature_pb.d.ts +192 -0
- package/lib/proto/feature/feature_pb.js +1210 -0
- package/lib/proto/feature/feature_pb.mjs +1413 -0
- package/lib/proto/feature/feature_pb_service.d.ts +3 -0
- package/lib/proto/feature/feature_pb_service.js +3 -0
- package/lib/proto/feature/feature_pb_service.mjs +3 -0
- package/lib/proto/feature/flag_trigger_pb.d.ts +84 -0
- package/lib/proto/feature/flag_trigger_pb.js +452 -0
- package/lib/proto/feature/flag_trigger_pb.mjs +525 -0
- package/lib/proto/feature/flag_trigger_pb_service.d.ts +3 -0
- package/lib/proto/feature/flag_trigger_pb_service.js +3 -0
- package/lib/proto/feature/flag_trigger_pb_service.mjs +3 -0
- package/lib/proto/feature/prerequisite_pb.d.ts +29 -0
- package/lib/proto/feature/prerequisite_pb.js +183 -0
- package/lib/proto/feature/prerequisite_pb.mjs +206 -0
- package/lib/proto/feature/prerequisite_pb_service.d.ts +3 -0
- package/lib/proto/feature/prerequisite_pb_service.js +3 -0
- package/lib/proto/feature/prerequisite_pb_service.mjs +3 -0
- package/lib/proto/feature/reason_pb.d.ts +40 -0
- package/lib/proto/feature/reason_pb.js +196 -0
- package/lib/proto/feature/reason_pb.mjs +219 -0
- package/lib/proto/feature/reason_pb_service.d.ts +3 -0
- package/lib/proto/feature/reason_pb_service.js +3 -0
- package/lib/proto/feature/reason_pb_service.mjs +3 -0
- package/lib/proto/feature/rule_pb.d.ts +39 -0
- package/lib/proto/feature/rule_pb.js +254 -0
- package/lib/proto/feature/rule_pb.mjs +291 -0
- package/lib/proto/feature/rule_pb_service.d.ts +3 -0
- package/lib/proto/feature/rule_pb_service.js +3 -0
- package/lib/proto/feature/rule_pb_service.mjs +3 -0
- package/lib/proto/feature/segment_pb.d.ts +161 -0
- package/lib/proto/feature/segment_pb.js +974 -0
- package/lib/proto/feature/segment_pb.mjs +1127 -0
- package/lib/proto/feature/segment_pb_service.d.ts +3 -0
- package/lib/proto/feature/segment_pb_service.js +3 -0
- package/lib/proto/feature/segment_pb_service.mjs +3 -0
- package/lib/proto/feature/service_pb.d.ts +2158 -0
- package/lib/proto/feature/service_pb.js +5363 -0
- package/lib/proto/feature/service_pb.mjs +16348 -0
- package/lib/proto/feature/service_pb_service.d.ts +747 -0
- package/lib/proto/feature/service_pb_service.js +1424 -0
- package/lib/proto/feature/service_pb_service.mjs +1501 -0
- package/lib/proto/feature/strategy_pb.d.ts +110 -0
- package/lib/proto/feature/strategy_pb.js +712 -0
- package/lib/proto/feature/strategy_pb.mjs +803 -0
- package/lib/proto/feature/strategy_pb_service.d.ts +3 -0
- package/lib/proto/feature/strategy_pb_service.js +3 -0
- package/lib/proto/feature/strategy_pb_service.mjs +3 -0
- package/lib/proto/feature/target_pb.d.ts +31 -0
- package/lib/proto/feature/target_pb.js +207 -0
- package/lib/proto/feature/target_pb.mjs +232 -0
- package/lib/proto/feature/target_pb_service.d.ts +3 -0
- package/lib/proto/feature/target_pb_service.js +3 -0
- package/lib/proto/feature/target_pb_service.mjs +3 -0
- package/lib/proto/feature/variation_pb.d.ts +37 -0
- package/lib/proto/feature/variation_pb.js +233 -0
- package/lib/proto/feature/variation_pb.mjs +266 -0
- package/lib/proto/feature/variation_pb_service.d.ts +3 -0
- package/lib/proto/feature/variation_pb_service.js +3 -0
- package/lib/proto/feature/variation_pb_service.mjs +3 -0
- package/lib/proto/gateway/service_pb.d.ts +772 -0
- package/lib/proto/gateway/service_pb.js +5249 -0
- package/lib/proto/gateway/service_pb.mjs +6001 -0
- package/lib/proto/gateway/service_pb_service.d.ts +253 -0
- package/lib/proto/gateway/service_pb_service.js +436 -0
- package/lib/proto/gateway/service_pb_service.mjs +461 -0
- package/lib/proto/user/user_pb.d.ts +58 -0
- package/lib/proto/user/user_pb.js +410 -0
- package/lib/proto/user/user_pb.mjs +460 -0
- package/lib/proto/user/user_pb_service.d.ts +3 -0
- package/lib/proto/user/user_pb_service.js +3 -0
- package/lib/proto/user/user_pb_service.mjs +3 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb.d.ts +16 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb.js +100 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb.mjs +158 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.mjs +3 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +834 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.js +5456 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.mjs +6256 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.mjs +3 -0
- package/lib/ruleEvaluator.d.ts +13 -0
- package/lib/ruleEvaluator.js +80 -0
- package/lib/ruleEvaluator.mjs +41 -0
- package/lib/segmentEvaluator.d.ts +7 -0
- package/lib/segmentEvaluator.js +74 -0
- package/lib/segmentEvaluator.mjs +34 -0
- package/lib/strategyEvaluator.d.ts +10 -0
- package/lib/strategyEvaluator.js +135 -0
- package/lib/strategyEvaluator.mjs +83 -0
- package/lib/userEvaluation.d.ts +8 -0
- package/lib/userEvaluation.js +70 -0
- package/lib/userEvaluation.mjs +60 -0
- package/package.json +46 -0
- package/release-please-config.json +22 -0
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
// package: bucketeer.event.client
|
|
2
|
+
// file: proto/event/client/event.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from 'google-protobuf';
|
|
5
|
+
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
|
|
6
|
+
import * as google_protobuf_duration_pb from 'google-protobuf/google/protobuf/duration_pb';
|
|
7
|
+
import * as proto_feature_evaluation_pb from '../../../proto/feature/evaluation_pb';
|
|
8
|
+
import * as proto_feature_reason_pb from '../../../proto/feature/reason_pb';
|
|
9
|
+
import * as proto_user_user_pb from '../../../proto/user/user_pb';
|
|
10
|
+
|
|
11
|
+
export class Event extends jspb.Message {
|
|
12
|
+
getId(): string;
|
|
13
|
+
setId(value: string): void;
|
|
14
|
+
|
|
15
|
+
hasEvent(): boolean;
|
|
16
|
+
clearEvent(): void;
|
|
17
|
+
getEvent(): google_protobuf_any_pb.Any | undefined;
|
|
18
|
+
setEvent(value?: google_protobuf_any_pb.Any): void;
|
|
19
|
+
|
|
20
|
+
getEnvironmentNamespace(): string;
|
|
21
|
+
setEnvironmentNamespace(value: string): void;
|
|
22
|
+
|
|
23
|
+
serializeBinary(): Uint8Array;
|
|
24
|
+
toObject(includeInstance?: boolean): Event.AsObject;
|
|
25
|
+
static toObject(includeInstance: boolean, msg: Event): Event.AsObject;
|
|
26
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
27
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
28
|
+
static serializeBinaryToWriter(message: Event, writer: jspb.BinaryWriter): void;
|
|
29
|
+
static deserializeBinary(bytes: Uint8Array): Event;
|
|
30
|
+
static deserializeBinaryFromReader(message: Event, reader: jspb.BinaryReader): Event;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export namespace Event {
|
|
34
|
+
export type AsObject = {
|
|
35
|
+
id: string,
|
|
36
|
+
event?: google_protobuf_any_pb.Any.AsObject,
|
|
37
|
+
environmentNamespace: string,
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export class EvaluationEvent extends jspb.Message {
|
|
42
|
+
getTimestamp(): number;
|
|
43
|
+
setTimestamp(value: number): void;
|
|
44
|
+
|
|
45
|
+
getFeatureId(): string;
|
|
46
|
+
setFeatureId(value: string): void;
|
|
47
|
+
|
|
48
|
+
getFeatureVersion(): number;
|
|
49
|
+
setFeatureVersion(value: number): void;
|
|
50
|
+
|
|
51
|
+
getUserId(): string;
|
|
52
|
+
setUserId(value: string): void;
|
|
53
|
+
|
|
54
|
+
getVariationId(): string;
|
|
55
|
+
setVariationId(value: string): void;
|
|
56
|
+
|
|
57
|
+
hasUser(): boolean;
|
|
58
|
+
clearUser(): void;
|
|
59
|
+
getUser(): proto_user_user_pb.User | undefined;
|
|
60
|
+
setUser(value?: proto_user_user_pb.User): void;
|
|
61
|
+
|
|
62
|
+
hasReason(): boolean;
|
|
63
|
+
clearReason(): void;
|
|
64
|
+
getReason(): proto_feature_reason_pb.Reason | undefined;
|
|
65
|
+
setReason(value?: proto_feature_reason_pb.Reason): void;
|
|
66
|
+
|
|
67
|
+
getTag(): string;
|
|
68
|
+
setTag(value: string): void;
|
|
69
|
+
|
|
70
|
+
getSourceId(): SourceIdMap[keyof SourceIdMap];
|
|
71
|
+
setSourceId(value: SourceIdMap[keyof SourceIdMap]): void;
|
|
72
|
+
|
|
73
|
+
getSdkVersion(): string;
|
|
74
|
+
setSdkVersion(value: string): void;
|
|
75
|
+
|
|
76
|
+
getMetadataMap(): jspb.Map<string, string>;
|
|
77
|
+
clearMetadataMap(): void;
|
|
78
|
+
serializeBinary(): Uint8Array;
|
|
79
|
+
toObject(includeInstance?: boolean): EvaluationEvent.AsObject;
|
|
80
|
+
static toObject(includeInstance: boolean, msg: EvaluationEvent): EvaluationEvent.AsObject;
|
|
81
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
82
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
83
|
+
static serializeBinaryToWriter(message: EvaluationEvent, writer: jspb.BinaryWriter): void;
|
|
84
|
+
static deserializeBinary(bytes: Uint8Array): EvaluationEvent;
|
|
85
|
+
static deserializeBinaryFromReader(message: EvaluationEvent, reader: jspb.BinaryReader): EvaluationEvent;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export namespace EvaluationEvent {
|
|
89
|
+
export type AsObject = {
|
|
90
|
+
timestamp: number,
|
|
91
|
+
featureId: string,
|
|
92
|
+
featureVersion: number,
|
|
93
|
+
userId: string,
|
|
94
|
+
variationId: string,
|
|
95
|
+
user?: proto_user_user_pb.User.AsObject,
|
|
96
|
+
reason?: proto_feature_reason_pb.Reason.AsObject,
|
|
97
|
+
tag: string,
|
|
98
|
+
sourceId: SourceIdMap[keyof SourceIdMap],
|
|
99
|
+
sdkVersion: string,
|
|
100
|
+
metadataMap: Array<[string, string]>,
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export class GoalEvent extends jspb.Message {
|
|
105
|
+
getTimestamp(): number;
|
|
106
|
+
setTimestamp(value: number): void;
|
|
107
|
+
|
|
108
|
+
getGoalId(): string;
|
|
109
|
+
setGoalId(value: string): void;
|
|
110
|
+
|
|
111
|
+
getUserId(): string;
|
|
112
|
+
setUserId(value: string): void;
|
|
113
|
+
|
|
114
|
+
getValue(): number;
|
|
115
|
+
setValue(value: number): void;
|
|
116
|
+
|
|
117
|
+
hasUser(): boolean;
|
|
118
|
+
clearUser(): void;
|
|
119
|
+
getUser(): proto_user_user_pb.User | undefined;
|
|
120
|
+
setUser(value?: proto_user_user_pb.User): void;
|
|
121
|
+
|
|
122
|
+
clearEvaluationsList(): void;
|
|
123
|
+
getEvaluationsList(): Array<proto_feature_evaluation_pb.Evaluation>;
|
|
124
|
+
setEvaluationsList(value: Array<proto_feature_evaluation_pb.Evaluation>): void;
|
|
125
|
+
addEvaluations(value?: proto_feature_evaluation_pb.Evaluation, index?: number): proto_feature_evaluation_pb.Evaluation;
|
|
126
|
+
|
|
127
|
+
getTag(): string;
|
|
128
|
+
setTag(value: string): void;
|
|
129
|
+
|
|
130
|
+
getSourceId(): SourceIdMap[keyof SourceIdMap];
|
|
131
|
+
setSourceId(value: SourceIdMap[keyof SourceIdMap]): void;
|
|
132
|
+
|
|
133
|
+
getSdkVersion(): string;
|
|
134
|
+
setSdkVersion(value: string): void;
|
|
135
|
+
|
|
136
|
+
getMetadataMap(): jspb.Map<string, string>;
|
|
137
|
+
clearMetadataMap(): void;
|
|
138
|
+
serializeBinary(): Uint8Array;
|
|
139
|
+
toObject(includeInstance?: boolean): GoalEvent.AsObject;
|
|
140
|
+
static toObject(includeInstance: boolean, msg: GoalEvent): GoalEvent.AsObject;
|
|
141
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
142
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
143
|
+
static serializeBinaryToWriter(message: GoalEvent, writer: jspb.BinaryWriter): void;
|
|
144
|
+
static deserializeBinary(bytes: Uint8Array): GoalEvent;
|
|
145
|
+
static deserializeBinaryFromReader(message: GoalEvent, reader: jspb.BinaryReader): GoalEvent;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export namespace GoalEvent {
|
|
149
|
+
export type AsObject = {
|
|
150
|
+
timestamp: number,
|
|
151
|
+
goalId: string,
|
|
152
|
+
userId: string,
|
|
153
|
+
value: number,
|
|
154
|
+
user?: proto_user_user_pb.User.AsObject,
|
|
155
|
+
evaluationsList: Array<proto_feature_evaluation_pb.Evaluation.AsObject>,
|
|
156
|
+
tag: string,
|
|
157
|
+
sourceId: SourceIdMap[keyof SourceIdMap],
|
|
158
|
+
sdkVersion: string,
|
|
159
|
+
metadataMap: Array<[string, string]>,
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export class MetricsEvent extends jspb.Message {
|
|
164
|
+
getTimestamp(): number;
|
|
165
|
+
setTimestamp(value: number): void;
|
|
166
|
+
|
|
167
|
+
hasEvent(): boolean;
|
|
168
|
+
clearEvent(): void;
|
|
169
|
+
getEvent(): google_protobuf_any_pb.Any | undefined;
|
|
170
|
+
setEvent(value?: google_protobuf_any_pb.Any): void;
|
|
171
|
+
|
|
172
|
+
getSourceId(): SourceIdMap[keyof SourceIdMap];
|
|
173
|
+
setSourceId(value: SourceIdMap[keyof SourceIdMap]): void;
|
|
174
|
+
|
|
175
|
+
getSdkVersion(): string;
|
|
176
|
+
setSdkVersion(value: string): void;
|
|
177
|
+
|
|
178
|
+
getMetadataMap(): jspb.Map<string, string>;
|
|
179
|
+
clearMetadataMap(): void;
|
|
180
|
+
serializeBinary(): Uint8Array;
|
|
181
|
+
toObject(includeInstance?: boolean): MetricsEvent.AsObject;
|
|
182
|
+
static toObject(includeInstance: boolean, msg: MetricsEvent): MetricsEvent.AsObject;
|
|
183
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
184
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
185
|
+
static serializeBinaryToWriter(message: MetricsEvent, writer: jspb.BinaryWriter): void;
|
|
186
|
+
static deserializeBinary(bytes: Uint8Array): MetricsEvent;
|
|
187
|
+
static deserializeBinaryFromReader(message: MetricsEvent, reader: jspb.BinaryReader): MetricsEvent;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export namespace MetricsEvent {
|
|
191
|
+
export type AsObject = {
|
|
192
|
+
timestamp: number,
|
|
193
|
+
event?: google_protobuf_any_pb.Any.AsObject,
|
|
194
|
+
sourceId: SourceIdMap[keyof SourceIdMap],
|
|
195
|
+
sdkVersion: string,
|
|
196
|
+
metadataMap: Array<[string, string]>,
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export class GetEvaluationLatencyMetricsEvent extends jspb.Message {
|
|
201
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
202
|
+
clearLabelsMap(): void;
|
|
203
|
+
hasDuration(): boolean;
|
|
204
|
+
clearDuration(): void;
|
|
205
|
+
getDuration(): google_protobuf_duration_pb.Duration | undefined;
|
|
206
|
+
setDuration(value?: google_protobuf_duration_pb.Duration): void;
|
|
207
|
+
|
|
208
|
+
serializeBinary(): Uint8Array;
|
|
209
|
+
toObject(includeInstance?: boolean): GetEvaluationLatencyMetricsEvent.AsObject;
|
|
210
|
+
static toObject(includeInstance: boolean, msg: GetEvaluationLatencyMetricsEvent): GetEvaluationLatencyMetricsEvent.AsObject;
|
|
211
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
212
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
213
|
+
static serializeBinaryToWriter(message: GetEvaluationLatencyMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
214
|
+
static deserializeBinary(bytes: Uint8Array): GetEvaluationLatencyMetricsEvent;
|
|
215
|
+
static deserializeBinaryFromReader(message: GetEvaluationLatencyMetricsEvent, reader: jspb.BinaryReader): GetEvaluationLatencyMetricsEvent;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export namespace GetEvaluationLatencyMetricsEvent {
|
|
219
|
+
export type AsObject = {
|
|
220
|
+
labelsMap: Array<[string, string]>,
|
|
221
|
+
duration?: google_protobuf_duration_pb.Duration.AsObject,
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export class GetEvaluationSizeMetricsEvent extends jspb.Message {
|
|
226
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
227
|
+
clearLabelsMap(): void;
|
|
228
|
+
getSizeByte(): number;
|
|
229
|
+
setSizeByte(value: number): void;
|
|
230
|
+
|
|
231
|
+
serializeBinary(): Uint8Array;
|
|
232
|
+
toObject(includeInstance?: boolean): GetEvaluationSizeMetricsEvent.AsObject;
|
|
233
|
+
static toObject(includeInstance: boolean, msg: GetEvaluationSizeMetricsEvent): GetEvaluationSizeMetricsEvent.AsObject;
|
|
234
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
235
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
236
|
+
static serializeBinaryToWriter(message: GetEvaluationSizeMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
237
|
+
static deserializeBinary(bytes: Uint8Array): GetEvaluationSizeMetricsEvent;
|
|
238
|
+
static deserializeBinaryFromReader(message: GetEvaluationSizeMetricsEvent, reader: jspb.BinaryReader): GetEvaluationSizeMetricsEvent;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export namespace GetEvaluationSizeMetricsEvent {
|
|
242
|
+
export type AsObject = {
|
|
243
|
+
labelsMap: Array<[string, string]>,
|
|
244
|
+
sizeByte: number,
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export class LatencyMetricsEvent extends jspb.Message {
|
|
249
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
250
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
251
|
+
|
|
252
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
253
|
+
clearLabelsMap(): void;
|
|
254
|
+
hasDuration(): boolean;
|
|
255
|
+
clearDuration(): void;
|
|
256
|
+
getDuration(): google_protobuf_duration_pb.Duration | undefined;
|
|
257
|
+
setDuration(value?: google_protobuf_duration_pb.Duration): void;
|
|
258
|
+
|
|
259
|
+
getLatencySecond(): number;
|
|
260
|
+
setLatencySecond(value: number): void;
|
|
261
|
+
|
|
262
|
+
serializeBinary(): Uint8Array;
|
|
263
|
+
toObject(includeInstance?: boolean): LatencyMetricsEvent.AsObject;
|
|
264
|
+
static toObject(includeInstance: boolean, msg: LatencyMetricsEvent): LatencyMetricsEvent.AsObject;
|
|
265
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
266
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
267
|
+
static serializeBinaryToWriter(message: LatencyMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
268
|
+
static deserializeBinary(bytes: Uint8Array): LatencyMetricsEvent;
|
|
269
|
+
static deserializeBinaryFromReader(message: LatencyMetricsEvent, reader: jspb.BinaryReader): LatencyMetricsEvent;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export namespace LatencyMetricsEvent {
|
|
273
|
+
export type AsObject = {
|
|
274
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
275
|
+
labelsMap: Array<[string, string]>,
|
|
276
|
+
duration?: google_protobuf_duration_pb.Duration.AsObject,
|
|
277
|
+
latencySecond: number,
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export class SizeMetricsEvent extends jspb.Message {
|
|
282
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
283
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
284
|
+
|
|
285
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
286
|
+
clearLabelsMap(): void;
|
|
287
|
+
getSizeByte(): number;
|
|
288
|
+
setSizeByte(value: number): void;
|
|
289
|
+
|
|
290
|
+
serializeBinary(): Uint8Array;
|
|
291
|
+
toObject(includeInstance?: boolean): SizeMetricsEvent.AsObject;
|
|
292
|
+
static toObject(includeInstance: boolean, msg: SizeMetricsEvent): SizeMetricsEvent.AsObject;
|
|
293
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
294
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
295
|
+
static serializeBinaryToWriter(message: SizeMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
296
|
+
static deserializeBinary(bytes: Uint8Array): SizeMetricsEvent;
|
|
297
|
+
static deserializeBinaryFromReader(message: SizeMetricsEvent, reader: jspb.BinaryReader): SizeMetricsEvent;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export namespace SizeMetricsEvent {
|
|
301
|
+
export type AsObject = {
|
|
302
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
303
|
+
labelsMap: Array<[string, string]>,
|
|
304
|
+
sizeByte: number,
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export class TimeoutErrorCountMetricsEvent extends jspb.Message {
|
|
309
|
+
getTag(): string;
|
|
310
|
+
setTag(value: string): void;
|
|
311
|
+
|
|
312
|
+
serializeBinary(): Uint8Array;
|
|
313
|
+
toObject(includeInstance?: boolean): TimeoutErrorCountMetricsEvent.AsObject;
|
|
314
|
+
static toObject(includeInstance: boolean, msg: TimeoutErrorCountMetricsEvent): TimeoutErrorCountMetricsEvent.AsObject;
|
|
315
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
316
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
317
|
+
static serializeBinaryToWriter(message: TimeoutErrorCountMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
318
|
+
static deserializeBinary(bytes: Uint8Array): TimeoutErrorCountMetricsEvent;
|
|
319
|
+
static deserializeBinaryFromReader(message: TimeoutErrorCountMetricsEvent, reader: jspb.BinaryReader): TimeoutErrorCountMetricsEvent;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export namespace TimeoutErrorCountMetricsEvent {
|
|
323
|
+
export type AsObject = {
|
|
324
|
+
tag: string,
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export class InternalErrorCountMetricsEvent extends jspb.Message {
|
|
329
|
+
getTag(): string;
|
|
330
|
+
setTag(value: string): void;
|
|
331
|
+
|
|
332
|
+
serializeBinary(): Uint8Array;
|
|
333
|
+
toObject(includeInstance?: boolean): InternalErrorCountMetricsEvent.AsObject;
|
|
334
|
+
static toObject(includeInstance: boolean, msg: InternalErrorCountMetricsEvent): InternalErrorCountMetricsEvent.AsObject;
|
|
335
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
336
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
337
|
+
static serializeBinaryToWriter(message: InternalErrorCountMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
338
|
+
static deserializeBinary(bytes: Uint8Array): InternalErrorCountMetricsEvent;
|
|
339
|
+
static deserializeBinaryFromReader(message: InternalErrorCountMetricsEvent, reader: jspb.BinaryReader): InternalErrorCountMetricsEvent;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export namespace InternalErrorCountMetricsEvent {
|
|
343
|
+
export type AsObject = {
|
|
344
|
+
tag: string,
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export class RedirectionRequestExceptionEvent extends jspb.Message {
|
|
349
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
350
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
351
|
+
|
|
352
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
353
|
+
clearLabelsMap(): void;
|
|
354
|
+
serializeBinary(): Uint8Array;
|
|
355
|
+
toObject(includeInstance?: boolean): RedirectionRequestExceptionEvent.AsObject;
|
|
356
|
+
static toObject(includeInstance: boolean, msg: RedirectionRequestExceptionEvent): RedirectionRequestExceptionEvent.AsObject;
|
|
357
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
358
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
359
|
+
static serializeBinaryToWriter(message: RedirectionRequestExceptionEvent, writer: jspb.BinaryWriter): void;
|
|
360
|
+
static deserializeBinary(bytes: Uint8Array): RedirectionRequestExceptionEvent;
|
|
361
|
+
static deserializeBinaryFromReader(message: RedirectionRequestExceptionEvent, reader: jspb.BinaryReader): RedirectionRequestExceptionEvent;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export namespace RedirectionRequestExceptionEvent {
|
|
365
|
+
export type AsObject = {
|
|
366
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
367
|
+
labelsMap: Array<[string, string]>,
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export class BadRequestErrorMetricsEvent extends jspb.Message {
|
|
372
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
373
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
374
|
+
|
|
375
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
376
|
+
clearLabelsMap(): void;
|
|
377
|
+
serializeBinary(): Uint8Array;
|
|
378
|
+
toObject(includeInstance?: boolean): BadRequestErrorMetricsEvent.AsObject;
|
|
379
|
+
static toObject(includeInstance: boolean, msg: BadRequestErrorMetricsEvent): BadRequestErrorMetricsEvent.AsObject;
|
|
380
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
381
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
382
|
+
static serializeBinaryToWriter(message: BadRequestErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
383
|
+
static deserializeBinary(bytes: Uint8Array): BadRequestErrorMetricsEvent;
|
|
384
|
+
static deserializeBinaryFromReader(message: BadRequestErrorMetricsEvent, reader: jspb.BinaryReader): BadRequestErrorMetricsEvent;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export namespace BadRequestErrorMetricsEvent {
|
|
388
|
+
export type AsObject = {
|
|
389
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
390
|
+
labelsMap: Array<[string, string]>,
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export class UnauthorizedErrorMetricsEvent extends jspb.Message {
|
|
395
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
396
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
397
|
+
|
|
398
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
399
|
+
clearLabelsMap(): void;
|
|
400
|
+
serializeBinary(): Uint8Array;
|
|
401
|
+
toObject(includeInstance?: boolean): UnauthorizedErrorMetricsEvent.AsObject;
|
|
402
|
+
static toObject(includeInstance: boolean, msg: UnauthorizedErrorMetricsEvent): UnauthorizedErrorMetricsEvent.AsObject;
|
|
403
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
404
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
405
|
+
static serializeBinaryToWriter(message: UnauthorizedErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
406
|
+
static deserializeBinary(bytes: Uint8Array): UnauthorizedErrorMetricsEvent;
|
|
407
|
+
static deserializeBinaryFromReader(message: UnauthorizedErrorMetricsEvent, reader: jspb.BinaryReader): UnauthorizedErrorMetricsEvent;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export namespace UnauthorizedErrorMetricsEvent {
|
|
411
|
+
export type AsObject = {
|
|
412
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
413
|
+
labelsMap: Array<[string, string]>,
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export class ForbiddenErrorMetricsEvent extends jspb.Message {
|
|
418
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
419
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
420
|
+
|
|
421
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
422
|
+
clearLabelsMap(): void;
|
|
423
|
+
serializeBinary(): Uint8Array;
|
|
424
|
+
toObject(includeInstance?: boolean): ForbiddenErrorMetricsEvent.AsObject;
|
|
425
|
+
static toObject(includeInstance: boolean, msg: ForbiddenErrorMetricsEvent): ForbiddenErrorMetricsEvent.AsObject;
|
|
426
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
427
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
428
|
+
static serializeBinaryToWriter(message: ForbiddenErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
429
|
+
static deserializeBinary(bytes: Uint8Array): ForbiddenErrorMetricsEvent;
|
|
430
|
+
static deserializeBinaryFromReader(message: ForbiddenErrorMetricsEvent, reader: jspb.BinaryReader): ForbiddenErrorMetricsEvent;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export namespace ForbiddenErrorMetricsEvent {
|
|
434
|
+
export type AsObject = {
|
|
435
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
436
|
+
labelsMap: Array<[string, string]>,
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export class NotFoundErrorMetricsEvent extends jspb.Message {
|
|
441
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
442
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
443
|
+
|
|
444
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
445
|
+
clearLabelsMap(): void;
|
|
446
|
+
serializeBinary(): Uint8Array;
|
|
447
|
+
toObject(includeInstance?: boolean): NotFoundErrorMetricsEvent.AsObject;
|
|
448
|
+
static toObject(includeInstance: boolean, msg: NotFoundErrorMetricsEvent): NotFoundErrorMetricsEvent.AsObject;
|
|
449
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
450
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
451
|
+
static serializeBinaryToWriter(message: NotFoundErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
452
|
+
static deserializeBinary(bytes: Uint8Array): NotFoundErrorMetricsEvent;
|
|
453
|
+
static deserializeBinaryFromReader(message: NotFoundErrorMetricsEvent, reader: jspb.BinaryReader): NotFoundErrorMetricsEvent;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export namespace NotFoundErrorMetricsEvent {
|
|
457
|
+
export type AsObject = {
|
|
458
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
459
|
+
labelsMap: Array<[string, string]>,
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export class PayloadTooLargeExceptionEvent extends jspb.Message {
|
|
464
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
465
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
466
|
+
|
|
467
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
468
|
+
clearLabelsMap(): void;
|
|
469
|
+
serializeBinary(): Uint8Array;
|
|
470
|
+
toObject(includeInstance?: boolean): PayloadTooLargeExceptionEvent.AsObject;
|
|
471
|
+
static toObject(includeInstance: boolean, msg: PayloadTooLargeExceptionEvent): PayloadTooLargeExceptionEvent.AsObject;
|
|
472
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
473
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
474
|
+
static serializeBinaryToWriter(message: PayloadTooLargeExceptionEvent, writer: jspb.BinaryWriter): void;
|
|
475
|
+
static deserializeBinary(bytes: Uint8Array): PayloadTooLargeExceptionEvent;
|
|
476
|
+
static deserializeBinaryFromReader(message: PayloadTooLargeExceptionEvent, reader: jspb.BinaryReader): PayloadTooLargeExceptionEvent;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export namespace PayloadTooLargeExceptionEvent {
|
|
480
|
+
export type AsObject = {
|
|
481
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
482
|
+
labelsMap: Array<[string, string]>,
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export class ClientClosedRequestErrorMetricsEvent extends jspb.Message {
|
|
487
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
488
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
489
|
+
|
|
490
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
491
|
+
clearLabelsMap(): void;
|
|
492
|
+
serializeBinary(): Uint8Array;
|
|
493
|
+
toObject(includeInstance?: boolean): ClientClosedRequestErrorMetricsEvent.AsObject;
|
|
494
|
+
static toObject(includeInstance: boolean, msg: ClientClosedRequestErrorMetricsEvent): ClientClosedRequestErrorMetricsEvent.AsObject;
|
|
495
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
496
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
497
|
+
static serializeBinaryToWriter(message: ClientClosedRequestErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
498
|
+
static deserializeBinary(bytes: Uint8Array): ClientClosedRequestErrorMetricsEvent;
|
|
499
|
+
static deserializeBinaryFromReader(message: ClientClosedRequestErrorMetricsEvent, reader: jspb.BinaryReader): ClientClosedRequestErrorMetricsEvent;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export namespace ClientClosedRequestErrorMetricsEvent {
|
|
503
|
+
export type AsObject = {
|
|
504
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
505
|
+
labelsMap: Array<[string, string]>,
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export class InternalServerErrorMetricsEvent extends jspb.Message {
|
|
510
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
511
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
512
|
+
|
|
513
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
514
|
+
clearLabelsMap(): void;
|
|
515
|
+
serializeBinary(): Uint8Array;
|
|
516
|
+
toObject(includeInstance?: boolean): InternalServerErrorMetricsEvent.AsObject;
|
|
517
|
+
static toObject(includeInstance: boolean, msg: InternalServerErrorMetricsEvent): InternalServerErrorMetricsEvent.AsObject;
|
|
518
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
519
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
520
|
+
static serializeBinaryToWriter(message: InternalServerErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
521
|
+
static deserializeBinary(bytes: Uint8Array): InternalServerErrorMetricsEvent;
|
|
522
|
+
static deserializeBinaryFromReader(message: InternalServerErrorMetricsEvent, reader: jspb.BinaryReader): InternalServerErrorMetricsEvent;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export namespace InternalServerErrorMetricsEvent {
|
|
526
|
+
export type AsObject = {
|
|
527
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
528
|
+
labelsMap: Array<[string, string]>,
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export class ServiceUnavailableErrorMetricsEvent extends jspb.Message {
|
|
533
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
534
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
535
|
+
|
|
536
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
537
|
+
clearLabelsMap(): void;
|
|
538
|
+
serializeBinary(): Uint8Array;
|
|
539
|
+
toObject(includeInstance?: boolean): ServiceUnavailableErrorMetricsEvent.AsObject;
|
|
540
|
+
static toObject(includeInstance: boolean, msg: ServiceUnavailableErrorMetricsEvent): ServiceUnavailableErrorMetricsEvent.AsObject;
|
|
541
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
542
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
543
|
+
static serializeBinaryToWriter(message: ServiceUnavailableErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
544
|
+
static deserializeBinary(bytes: Uint8Array): ServiceUnavailableErrorMetricsEvent;
|
|
545
|
+
static deserializeBinaryFromReader(message: ServiceUnavailableErrorMetricsEvent, reader: jspb.BinaryReader): ServiceUnavailableErrorMetricsEvent;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export namespace ServiceUnavailableErrorMetricsEvent {
|
|
549
|
+
export type AsObject = {
|
|
550
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
551
|
+
labelsMap: Array<[string, string]>,
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export class TimeoutErrorMetricsEvent extends jspb.Message {
|
|
556
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
557
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
558
|
+
|
|
559
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
560
|
+
clearLabelsMap(): void;
|
|
561
|
+
serializeBinary(): Uint8Array;
|
|
562
|
+
toObject(includeInstance?: boolean): TimeoutErrorMetricsEvent.AsObject;
|
|
563
|
+
static toObject(includeInstance: boolean, msg: TimeoutErrorMetricsEvent): TimeoutErrorMetricsEvent.AsObject;
|
|
564
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
565
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
566
|
+
static serializeBinaryToWriter(message: TimeoutErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
567
|
+
static deserializeBinary(bytes: Uint8Array): TimeoutErrorMetricsEvent;
|
|
568
|
+
static deserializeBinaryFromReader(message: TimeoutErrorMetricsEvent, reader: jspb.BinaryReader): TimeoutErrorMetricsEvent;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export namespace TimeoutErrorMetricsEvent {
|
|
572
|
+
export type AsObject = {
|
|
573
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
574
|
+
labelsMap: Array<[string, string]>,
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export class InternalErrorMetricsEvent extends jspb.Message {
|
|
579
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
580
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
581
|
+
|
|
582
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
583
|
+
clearLabelsMap(): void;
|
|
584
|
+
serializeBinary(): Uint8Array;
|
|
585
|
+
toObject(includeInstance?: boolean): InternalErrorMetricsEvent.AsObject;
|
|
586
|
+
static toObject(includeInstance: boolean, msg: InternalErrorMetricsEvent): InternalErrorMetricsEvent.AsObject;
|
|
587
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
588
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
589
|
+
static serializeBinaryToWriter(message: InternalErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
590
|
+
static deserializeBinary(bytes: Uint8Array): InternalErrorMetricsEvent;
|
|
591
|
+
static deserializeBinaryFromReader(message: InternalErrorMetricsEvent, reader: jspb.BinaryReader): InternalErrorMetricsEvent;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export namespace InternalErrorMetricsEvent {
|
|
595
|
+
export type AsObject = {
|
|
596
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
597
|
+
labelsMap: Array<[string, string]>,
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export class NetworkErrorMetricsEvent extends jspb.Message {
|
|
602
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
603
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
604
|
+
|
|
605
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
606
|
+
clearLabelsMap(): void;
|
|
607
|
+
serializeBinary(): Uint8Array;
|
|
608
|
+
toObject(includeInstance?: boolean): NetworkErrorMetricsEvent.AsObject;
|
|
609
|
+
static toObject(includeInstance: boolean, msg: NetworkErrorMetricsEvent): NetworkErrorMetricsEvent.AsObject;
|
|
610
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
611
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
612
|
+
static serializeBinaryToWriter(message: NetworkErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
613
|
+
static deserializeBinary(bytes: Uint8Array): NetworkErrorMetricsEvent;
|
|
614
|
+
static deserializeBinaryFromReader(message: NetworkErrorMetricsEvent, reader: jspb.BinaryReader): NetworkErrorMetricsEvent;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export namespace NetworkErrorMetricsEvent {
|
|
618
|
+
export type AsObject = {
|
|
619
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
620
|
+
labelsMap: Array<[string, string]>,
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export class InternalSdkErrorMetricsEvent extends jspb.Message {
|
|
625
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
626
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
627
|
+
|
|
628
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
629
|
+
clearLabelsMap(): void;
|
|
630
|
+
serializeBinary(): Uint8Array;
|
|
631
|
+
toObject(includeInstance?: boolean): InternalSdkErrorMetricsEvent.AsObject;
|
|
632
|
+
static toObject(includeInstance: boolean, msg: InternalSdkErrorMetricsEvent): InternalSdkErrorMetricsEvent.AsObject;
|
|
633
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
634
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
635
|
+
static serializeBinaryToWriter(message: InternalSdkErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
636
|
+
static deserializeBinary(bytes: Uint8Array): InternalSdkErrorMetricsEvent;
|
|
637
|
+
static deserializeBinaryFromReader(message: InternalSdkErrorMetricsEvent, reader: jspb.BinaryReader): InternalSdkErrorMetricsEvent;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export namespace InternalSdkErrorMetricsEvent {
|
|
641
|
+
export type AsObject = {
|
|
642
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
643
|
+
labelsMap: Array<[string, string]>,
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
export class UnknownErrorMetricsEvent extends jspb.Message {
|
|
648
|
+
getApiId(): ApiIdMap[keyof ApiIdMap];
|
|
649
|
+
setApiId(value: ApiIdMap[keyof ApiIdMap]): void;
|
|
650
|
+
|
|
651
|
+
getLabelsMap(): jspb.Map<string, string>;
|
|
652
|
+
clearLabelsMap(): void;
|
|
653
|
+
serializeBinary(): Uint8Array;
|
|
654
|
+
toObject(includeInstance?: boolean): UnknownErrorMetricsEvent.AsObject;
|
|
655
|
+
static toObject(includeInstance: boolean, msg: UnknownErrorMetricsEvent): UnknownErrorMetricsEvent.AsObject;
|
|
656
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
657
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
658
|
+
static serializeBinaryToWriter(message: UnknownErrorMetricsEvent, writer: jspb.BinaryWriter): void;
|
|
659
|
+
static deserializeBinary(bytes: Uint8Array): UnknownErrorMetricsEvent;
|
|
660
|
+
static deserializeBinaryFromReader(message: UnknownErrorMetricsEvent, reader: jspb.BinaryReader): UnknownErrorMetricsEvent;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export namespace UnknownErrorMetricsEvent {
|
|
664
|
+
export type AsObject = {
|
|
665
|
+
apiId: ApiIdMap[keyof ApiIdMap],
|
|
666
|
+
labelsMap: Array<[string, string]>,
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export class OpsEvent extends jspb.Message {
|
|
671
|
+
getTimestamp(): number;
|
|
672
|
+
setTimestamp(value: number): void;
|
|
673
|
+
|
|
674
|
+
getFeatureId(): string;
|
|
675
|
+
setFeatureId(value: string): void;
|
|
676
|
+
|
|
677
|
+
getFeatureVersion(): number;
|
|
678
|
+
setFeatureVersion(value: number): void;
|
|
679
|
+
|
|
680
|
+
getVariationId(): string;
|
|
681
|
+
setVariationId(value: string): void;
|
|
682
|
+
|
|
683
|
+
getGoalId(): string;
|
|
684
|
+
setGoalId(value: string): void;
|
|
685
|
+
|
|
686
|
+
getUserId(): string;
|
|
687
|
+
setUserId(value: string): void;
|
|
688
|
+
|
|
689
|
+
serializeBinary(): Uint8Array;
|
|
690
|
+
toObject(includeInstance?: boolean): OpsEvent.AsObject;
|
|
691
|
+
static toObject(includeInstance: boolean, msg: OpsEvent): OpsEvent.AsObject;
|
|
692
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
693
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
694
|
+
static serializeBinaryToWriter(message: OpsEvent, writer: jspb.BinaryWriter): void;
|
|
695
|
+
static deserializeBinary(bytes: Uint8Array): OpsEvent;
|
|
696
|
+
static deserializeBinaryFromReader(message: OpsEvent, reader: jspb.BinaryReader): OpsEvent;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export namespace OpsEvent {
|
|
700
|
+
export type AsObject = {
|
|
701
|
+
timestamp: number,
|
|
702
|
+
featureId: string,
|
|
703
|
+
featureVersion: number,
|
|
704
|
+
variationId: string,
|
|
705
|
+
goalId: string,
|
|
706
|
+
userId: string,
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export class UserGoalEvent extends jspb.Message {
|
|
711
|
+
getTimestamp(): number;
|
|
712
|
+
setTimestamp(value: number): void;
|
|
713
|
+
|
|
714
|
+
getGoalId(): string;
|
|
715
|
+
setGoalId(value: string): void;
|
|
716
|
+
|
|
717
|
+
getValue(): number;
|
|
718
|
+
setValue(value: number): void;
|
|
719
|
+
|
|
720
|
+
serializeBinary(): Uint8Array;
|
|
721
|
+
toObject(includeInstance?: boolean): UserGoalEvent.AsObject;
|
|
722
|
+
static toObject(includeInstance: boolean, msg: UserGoalEvent): UserGoalEvent.AsObject;
|
|
723
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
724
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
725
|
+
static serializeBinaryToWriter(message: UserGoalEvent, writer: jspb.BinaryWriter): void;
|
|
726
|
+
static deserializeBinary(bytes: Uint8Array): UserGoalEvent;
|
|
727
|
+
static deserializeBinaryFromReader(message: UserGoalEvent, reader: jspb.BinaryReader): UserGoalEvent;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
export namespace UserGoalEvent {
|
|
731
|
+
export type AsObject = {
|
|
732
|
+
timestamp: number,
|
|
733
|
+
goalId: string,
|
|
734
|
+
value: number,
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export interface SourceIdMap {
|
|
739
|
+
UNKNOWN: 0;
|
|
740
|
+
ANDROID: 1;
|
|
741
|
+
IOS: 2;
|
|
742
|
+
WEB: 3;
|
|
743
|
+
GO_SERVER: 5;
|
|
744
|
+
NODE_SERVER: 6;
|
|
745
|
+
JAVASCRIPT: 7;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export const SourceId: SourceIdMap;
|
|
749
|
+
|
|
750
|
+
export interface ApiIdMap {
|
|
751
|
+
UNKNOWN_API: 0;
|
|
752
|
+
GET_EVALUATION: 1;
|
|
753
|
+
GET_EVALUATIONS: 2;
|
|
754
|
+
REGISTER_EVENTS: 3;
|
|
755
|
+
GET_FEATURE_FLAGS: 4;
|
|
756
|
+
GET_SEGMENT_USERS: 5;
|
|
757
|
+
SDK_GET_VARIATION: 100;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export const ApiId: ApiIdMap;
|
|
761
|
+
|