@gitpod/ide-metrics-api-grpc 0.0.1-pd-ide-metrics-http.6 → 0.0.1-se-better-ts-api.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ import * as idemetrics_pb from "./idemetrics_pb";
10
10
  interface IMetricsServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
11
11
  addCounter: IMetricsServiceService_IAddCounter;
12
12
  observeHistogram: IMetricsServiceService_IObserveHistogram;
13
+ reportError: IMetricsServiceService_IreportError;
13
14
  }
14
15
 
15
16
  interface IMetricsServiceService_IAddCounter extends grpc.MethodDefinition<idemetrics_pb.AddCounterRequest, idemetrics_pb.AddCounterResponse> {
@@ -30,12 +31,22 @@ interface IMetricsServiceService_IObserveHistogram extends grpc.MethodDefinition
30
31
  responseSerialize: grpc.serialize<idemetrics_pb.ObserveHistogramResponse>;
31
32
  responseDeserialize: grpc.deserialize<idemetrics_pb.ObserveHistogramResponse>;
32
33
  }
34
+ interface IMetricsServiceService_IreportError extends grpc.MethodDefinition<idemetrics_pb.ReportErrorRequest, idemetrics_pb.ReportErrorResponse> {
35
+ path: "/ide_metrics_api.MetricsService/reportError";
36
+ requestStream: false;
37
+ responseStream: false;
38
+ requestSerialize: grpc.serialize<idemetrics_pb.ReportErrorRequest>;
39
+ requestDeserialize: grpc.deserialize<idemetrics_pb.ReportErrorRequest>;
40
+ responseSerialize: grpc.serialize<idemetrics_pb.ReportErrorResponse>;
41
+ responseDeserialize: grpc.deserialize<idemetrics_pb.ReportErrorResponse>;
42
+ }
33
43
 
34
44
  export const MetricsServiceService: IMetricsServiceService;
35
45
 
36
46
  export interface IMetricsServiceServer extends grpc.UntypedServiceImplementation {
37
47
  addCounter: grpc.handleUnaryCall<idemetrics_pb.AddCounterRequest, idemetrics_pb.AddCounterResponse>;
38
48
  observeHistogram: grpc.handleUnaryCall<idemetrics_pb.ObserveHistogramRequest, idemetrics_pb.ObserveHistogramResponse>;
49
+ reportError: grpc.handleUnaryCall<idemetrics_pb.ReportErrorRequest, idemetrics_pb.ReportErrorResponse>;
39
50
  }
40
51
 
41
52
  export interface IMetricsServiceClient {
@@ -45,6 +56,9 @@ export interface IMetricsServiceClient {
45
56
  observeHistogram(request: idemetrics_pb.ObserveHistogramRequest, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ObserveHistogramResponse) => void): grpc.ClientUnaryCall;
46
57
  observeHistogram(request: idemetrics_pb.ObserveHistogramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ObserveHistogramResponse) => void): grpc.ClientUnaryCall;
47
58
  observeHistogram(request: idemetrics_pb.ObserveHistogramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ObserveHistogramResponse) => void): grpc.ClientUnaryCall;
59
+ reportError(request: idemetrics_pb.ReportErrorRequest, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ReportErrorResponse) => void): grpc.ClientUnaryCall;
60
+ reportError(request: idemetrics_pb.ReportErrorRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ReportErrorResponse) => void): grpc.ClientUnaryCall;
61
+ reportError(request: idemetrics_pb.ReportErrorRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ReportErrorResponse) => void): grpc.ClientUnaryCall;
48
62
  }
49
63
 
50
64
  export class MetricsServiceClient extends grpc.Client implements IMetricsServiceClient {
@@ -55,4 +69,7 @@ export class MetricsServiceClient extends grpc.Client implements IMetricsService
55
69
  public observeHistogram(request: idemetrics_pb.ObserveHistogramRequest, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ObserveHistogramResponse) => void): grpc.ClientUnaryCall;
56
70
  public observeHistogram(request: idemetrics_pb.ObserveHistogramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ObserveHistogramResponse) => void): grpc.ClientUnaryCall;
57
71
  public observeHistogram(request: idemetrics_pb.ObserveHistogramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ObserveHistogramResponse) => void): grpc.ClientUnaryCall;
72
+ public reportError(request: idemetrics_pb.ReportErrorRequest, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ReportErrorResponse) => void): grpc.ClientUnaryCall;
73
+ public reportError(request: idemetrics_pb.ReportErrorRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ReportErrorResponse) => void): grpc.ClientUnaryCall;
74
+ public reportError(request: idemetrics_pb.ReportErrorRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: idemetrics_pb.ReportErrorResponse) => void): grpc.ClientUnaryCall;
58
75
  }
@@ -53,6 +53,28 @@ function deserialize_ide_metrics_api_ObserveHistogramResponse(buffer_arg) {
53
53
  return idemetrics_pb.ObserveHistogramResponse.deserializeBinary(new Uint8Array(buffer_arg));
54
54
  }
55
55
 
56
+ function serialize_ide_metrics_api_ReportErrorRequest(arg) {
57
+ if (!(arg instanceof idemetrics_pb.ReportErrorRequest)) {
58
+ throw new Error('Expected argument of type ide_metrics_api.ReportErrorRequest');
59
+ }
60
+ return Buffer.from(arg.serializeBinary());
61
+ }
62
+
63
+ function deserialize_ide_metrics_api_ReportErrorRequest(buffer_arg) {
64
+ return idemetrics_pb.ReportErrorRequest.deserializeBinary(new Uint8Array(buffer_arg));
65
+ }
66
+
67
+ function serialize_ide_metrics_api_ReportErrorResponse(arg) {
68
+ if (!(arg instanceof idemetrics_pb.ReportErrorResponse)) {
69
+ throw new Error('Expected argument of type ide_metrics_api.ReportErrorResponse');
70
+ }
71
+ return Buffer.from(arg.serializeBinary());
72
+ }
73
+
74
+ function deserialize_ide_metrics_api_ReportErrorResponse(buffer_arg) {
75
+ return idemetrics_pb.ReportErrorResponse.deserializeBinary(new Uint8Array(buffer_arg));
76
+ }
77
+
56
78
 
57
79
  var MetricsServiceService = exports.MetricsServiceService = {
58
80
  addCounter: {
@@ -77,6 +99,17 @@ var MetricsServiceService = exports.MetricsServiceService = {
77
99
  responseSerialize: serialize_ide_metrics_api_ObserveHistogramResponse,
78
100
  responseDeserialize: deserialize_ide_metrics_api_ObserveHistogramResponse,
79
101
  },
102
+ reportError: {
103
+ path: '/ide_metrics_api.MetricsService/reportError',
104
+ requestStream: false,
105
+ responseStream: false,
106
+ requestType: idemetrics_pb.ReportErrorRequest,
107
+ responseType: idemetrics_pb.ReportErrorResponse,
108
+ requestSerialize: serialize_ide_metrics_api_ReportErrorRequest,
109
+ requestDeserialize: deserialize_ide_metrics_api_ReportErrorRequest,
110
+ responseSerialize: serialize_ide_metrics_api_ReportErrorResponse,
111
+ responseDeserialize: deserialize_ide_metrics_api_ReportErrorResponse,
112
+ },
80
113
  };
81
114
 
82
115
  exports.MetricsServiceClient = grpc.makeGenericClientConstructor(MetricsServiceService);
@@ -12,10 +12,7 @@ export class AddCounterRequest extends jspb.Message {
12
12
 
13
13
  getLabelsMap(): jspb.Map<string, string>;
14
14
  clearLabelsMap(): void;
15
-
16
- hasValue(): boolean;
17
- clearValue(): void;
18
- getValue(): number | undefined;
15
+ getValue(): number;
19
16
  setValue(value: number): AddCounterRequest;
20
17
 
21
18
  serializeBinary(): Uint8Array;
@@ -33,7 +30,7 @@ export namespace AddCounterRequest {
33
30
  name: string,
34
31
 
35
32
  labelsMap: Array<[string, string]>,
36
- value?: number,
33
+ value: number,
37
34
  }
38
35
  }
39
36
 
@@ -98,3 +95,60 @@ export namespace ObserveHistogramResponse {
98
95
  export type AsObject = {
99
96
  }
100
97
  }
98
+
99
+ export class ReportErrorRequest extends jspb.Message {
100
+ getErrorStack(): string;
101
+ setErrorStack(value: string): ReportErrorRequest;
102
+ getComponent(): string;
103
+ setComponent(value: string): ReportErrorRequest;
104
+ getVersion(): string;
105
+ setVersion(value: string): ReportErrorRequest;
106
+ getUserId(): string;
107
+ setUserId(value: string): ReportErrorRequest;
108
+ getWorkspaceId(): string;
109
+ setWorkspaceId(value: string): ReportErrorRequest;
110
+ getInstanceId(): string;
111
+ setInstanceId(value: string): ReportErrorRequest;
112
+
113
+ getPropertiesMap(): jspb.Map<string, string>;
114
+ clearPropertiesMap(): void;
115
+
116
+ serializeBinary(): Uint8Array;
117
+ toObject(includeInstance?: boolean): ReportErrorRequest.AsObject;
118
+ static toObject(includeInstance: boolean, msg: ReportErrorRequest): ReportErrorRequest.AsObject;
119
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
120
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
121
+ static serializeBinaryToWriter(message: ReportErrorRequest, writer: jspb.BinaryWriter): void;
122
+ static deserializeBinary(bytes: Uint8Array): ReportErrorRequest;
123
+ static deserializeBinaryFromReader(message: ReportErrorRequest, reader: jspb.BinaryReader): ReportErrorRequest;
124
+ }
125
+
126
+ export namespace ReportErrorRequest {
127
+ export type AsObject = {
128
+ errorStack: string,
129
+ component: string,
130
+ version: string,
131
+ userId: string,
132
+ workspaceId: string,
133
+ instanceId: string,
134
+
135
+ propertiesMap: Array<[string, string]>,
136
+ }
137
+ }
138
+
139
+ export class ReportErrorResponse extends jspb.Message {
140
+
141
+ serializeBinary(): Uint8Array;
142
+ toObject(includeInstance?: boolean): ReportErrorResponse.AsObject;
143
+ static toObject(includeInstance: boolean, msg: ReportErrorResponse): ReportErrorResponse.AsObject;
144
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
145
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
146
+ static serializeBinaryToWriter(message: ReportErrorResponse, writer: jspb.BinaryWriter): void;
147
+ static deserializeBinary(bytes: Uint8Array): ReportErrorResponse;
148
+ static deserializeBinaryFromReader(message: ReportErrorResponse, reader: jspb.BinaryReader): ReportErrorResponse;
149
+ }
150
+
151
+ export namespace ReportErrorResponse {
152
+ export type AsObject = {
153
+ }
154
+ }
@@ -19,6 +19,8 @@ goog.exportSymbol('proto.ide_metrics_api.AddCounterRequest', null, global);
19
19
  goog.exportSymbol('proto.ide_metrics_api.AddCounterResponse', null, global);
20
20
  goog.exportSymbol('proto.ide_metrics_api.ObserveHistogramRequest', null, global);
21
21
  goog.exportSymbol('proto.ide_metrics_api.ObserveHistogramResponse', null, global);
22
+ goog.exportSymbol('proto.ide_metrics_api.ReportErrorRequest', null, global);
23
+ goog.exportSymbol('proto.ide_metrics_api.ReportErrorResponse', null, global);
22
24
  /**
23
25
  * Generated by JsPbCodeGenerator.
24
26
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -103,6 +105,48 @@ if (goog.DEBUG && !COMPILED) {
103
105
  */
104
106
  proto.ide_metrics_api.ObserveHistogramResponse.displayName = 'proto.ide_metrics_api.ObserveHistogramResponse';
105
107
  }
108
+ /**
109
+ * Generated by JsPbCodeGenerator.
110
+ * @param {Array=} opt_data Optional initial data array, typically from a
111
+ * server response, or constructed directly in Javascript. The array is used
112
+ * in place and becomes part of the constructed object. It is not cloned.
113
+ * If no data is provided, the constructed object will be empty, but still
114
+ * valid.
115
+ * @extends {jspb.Message}
116
+ * @constructor
117
+ */
118
+ proto.ide_metrics_api.ReportErrorRequest = function(opt_data) {
119
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
120
+ };
121
+ goog.inherits(proto.ide_metrics_api.ReportErrorRequest, jspb.Message);
122
+ if (goog.DEBUG && !COMPILED) {
123
+ /**
124
+ * @public
125
+ * @override
126
+ */
127
+ proto.ide_metrics_api.ReportErrorRequest.displayName = 'proto.ide_metrics_api.ReportErrorRequest';
128
+ }
129
+ /**
130
+ * Generated by JsPbCodeGenerator.
131
+ * @param {Array=} opt_data Optional initial data array, typically from a
132
+ * server response, or constructed directly in Javascript. The array is used
133
+ * in place and becomes part of the constructed object. It is not cloned.
134
+ * If no data is provided, the constructed object will be empty, but still
135
+ * valid.
136
+ * @extends {jspb.Message}
137
+ * @constructor
138
+ */
139
+ proto.ide_metrics_api.ReportErrorResponse = function(opt_data) {
140
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
141
+ };
142
+ goog.inherits(proto.ide_metrics_api.ReportErrorResponse, jspb.Message);
143
+ if (goog.DEBUG && !COMPILED) {
144
+ /**
145
+ * @public
146
+ * @override
147
+ */
148
+ proto.ide_metrics_api.ReportErrorResponse.displayName = 'proto.ide_metrics_api.ReportErrorResponse';
149
+ }
106
150
 
107
151
 
108
152
 
@@ -228,8 +272,8 @@ proto.ide_metrics_api.AddCounterRequest.serializeBinaryToWriter = function(messa
228
272
  if (f && f.getLength() > 0) {
229
273
  f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
230
274
  }
231
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
232
- if (f != null) {
275
+ f = message.getValue();
276
+ if (f !== 0) {
233
277
  writer.writeInt32(
234
278
  3,
235
279
  f
@@ -292,25 +336,7 @@ proto.ide_metrics_api.AddCounterRequest.prototype.getValue = function() {
292
336
  * @return {!proto.ide_metrics_api.AddCounterRequest} returns this
293
337
  */
294
338
  proto.ide_metrics_api.AddCounterRequest.prototype.setValue = function(value) {
295
- return jspb.Message.setField(this, 3, value);
296
- };
297
-
298
-
299
- /**
300
- * Clears the field making it undefined.
301
- * @return {!proto.ide_metrics_api.AddCounterRequest} returns this
302
- */
303
- proto.ide_metrics_api.AddCounterRequest.prototype.clearValue = function() {
304
- return jspb.Message.setField(this, 3, undefined);
305
- };
306
-
307
-
308
- /**
309
- * Returns whether this field is set.
310
- * @return {boolean}
311
- */
312
- proto.ide_metrics_api.AddCounterRequest.prototype.hasValue = function() {
313
- return jspb.Message.getField(this, 3) != null;
339
+ return jspb.Message.setProto3IntField(this, 3, value);
314
340
  };
315
341
 
316
342
 
@@ -709,4 +735,418 @@ proto.ide_metrics_api.ObserveHistogramResponse.serializeBinaryToWriter = functio
709
735
  };
710
736
 
711
737
 
738
+
739
+
740
+
741
+ if (jspb.Message.GENERATE_TO_OBJECT) {
742
+ /**
743
+ * Creates an object representation of this proto.
744
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
745
+ * Optional fields that are not set will be set to undefined.
746
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
747
+ * For the list of reserved names please see:
748
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
749
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
750
+ * JSPB instance for transitional soy proto support:
751
+ * http://goto/soy-param-migration
752
+ * @return {!Object}
753
+ */
754
+ proto.ide_metrics_api.ReportErrorRequest.prototype.toObject = function(opt_includeInstance) {
755
+ return proto.ide_metrics_api.ReportErrorRequest.toObject(opt_includeInstance, this);
756
+ };
757
+
758
+
759
+ /**
760
+ * Static version of the {@see toObject} method.
761
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
762
+ * the JSPB instance for transitional soy proto support:
763
+ * http://goto/soy-param-migration
764
+ * @param {!proto.ide_metrics_api.ReportErrorRequest} msg The msg instance to transform.
765
+ * @return {!Object}
766
+ * @suppress {unusedLocalVariables} f is only used for nested messages
767
+ */
768
+ proto.ide_metrics_api.ReportErrorRequest.toObject = function(includeInstance, msg) {
769
+ var f, obj = {
770
+ errorStack: jspb.Message.getFieldWithDefault(msg, 1, ""),
771
+ component: jspb.Message.getFieldWithDefault(msg, 2, ""),
772
+ version: jspb.Message.getFieldWithDefault(msg, 3, ""),
773
+ userId: jspb.Message.getFieldWithDefault(msg, 4, ""),
774
+ workspaceId: jspb.Message.getFieldWithDefault(msg, 5, ""),
775
+ instanceId: jspb.Message.getFieldWithDefault(msg, 6, ""),
776
+ propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : []
777
+ };
778
+
779
+ if (includeInstance) {
780
+ obj.$jspbMessageInstance = msg;
781
+ }
782
+ return obj;
783
+ };
784
+ }
785
+
786
+
787
+ /**
788
+ * Deserializes binary data (in protobuf wire format).
789
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
790
+ * @return {!proto.ide_metrics_api.ReportErrorRequest}
791
+ */
792
+ proto.ide_metrics_api.ReportErrorRequest.deserializeBinary = function(bytes) {
793
+ var reader = new jspb.BinaryReader(bytes);
794
+ var msg = new proto.ide_metrics_api.ReportErrorRequest;
795
+ return proto.ide_metrics_api.ReportErrorRequest.deserializeBinaryFromReader(msg, reader);
796
+ };
797
+
798
+
799
+ /**
800
+ * Deserializes binary data (in protobuf wire format) from the
801
+ * given reader into the given message object.
802
+ * @param {!proto.ide_metrics_api.ReportErrorRequest} msg The message object to deserialize into.
803
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
804
+ * @return {!proto.ide_metrics_api.ReportErrorRequest}
805
+ */
806
+ proto.ide_metrics_api.ReportErrorRequest.deserializeBinaryFromReader = function(msg, reader) {
807
+ while (reader.nextField()) {
808
+ if (reader.isEndGroup()) {
809
+ break;
810
+ }
811
+ var field = reader.getFieldNumber();
812
+ switch (field) {
813
+ case 1:
814
+ var value = /** @type {string} */ (reader.readString());
815
+ msg.setErrorStack(value);
816
+ break;
817
+ case 2:
818
+ var value = /** @type {string} */ (reader.readString());
819
+ msg.setComponent(value);
820
+ break;
821
+ case 3:
822
+ var value = /** @type {string} */ (reader.readString());
823
+ msg.setVersion(value);
824
+ break;
825
+ case 4:
826
+ var value = /** @type {string} */ (reader.readString());
827
+ msg.setUserId(value);
828
+ break;
829
+ case 5:
830
+ var value = /** @type {string} */ (reader.readString());
831
+ msg.setWorkspaceId(value);
832
+ break;
833
+ case 6:
834
+ var value = /** @type {string} */ (reader.readString());
835
+ msg.setInstanceId(value);
836
+ break;
837
+ case 7:
838
+ var value = msg.getPropertiesMap();
839
+ reader.readMessage(value, function(message, reader) {
840
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
841
+ });
842
+ break;
843
+ default:
844
+ reader.skipField();
845
+ break;
846
+ }
847
+ }
848
+ return msg;
849
+ };
850
+
851
+
852
+ /**
853
+ * Serializes the message to binary data (in protobuf wire format).
854
+ * @return {!Uint8Array}
855
+ */
856
+ proto.ide_metrics_api.ReportErrorRequest.prototype.serializeBinary = function() {
857
+ var writer = new jspb.BinaryWriter();
858
+ proto.ide_metrics_api.ReportErrorRequest.serializeBinaryToWriter(this, writer);
859
+ return writer.getResultBuffer();
860
+ };
861
+
862
+
863
+ /**
864
+ * Serializes the given message to binary data (in protobuf wire
865
+ * format), writing to the given BinaryWriter.
866
+ * @param {!proto.ide_metrics_api.ReportErrorRequest} message
867
+ * @param {!jspb.BinaryWriter} writer
868
+ * @suppress {unusedLocalVariables} f is only used for nested messages
869
+ */
870
+ proto.ide_metrics_api.ReportErrorRequest.serializeBinaryToWriter = function(message, writer) {
871
+ var f = undefined;
872
+ f = message.getErrorStack();
873
+ if (f.length > 0) {
874
+ writer.writeString(
875
+ 1,
876
+ f
877
+ );
878
+ }
879
+ f = message.getComponent();
880
+ if (f.length > 0) {
881
+ writer.writeString(
882
+ 2,
883
+ f
884
+ );
885
+ }
886
+ f = message.getVersion();
887
+ if (f.length > 0) {
888
+ writer.writeString(
889
+ 3,
890
+ f
891
+ );
892
+ }
893
+ f = message.getUserId();
894
+ if (f.length > 0) {
895
+ writer.writeString(
896
+ 4,
897
+ f
898
+ );
899
+ }
900
+ f = message.getWorkspaceId();
901
+ if (f.length > 0) {
902
+ writer.writeString(
903
+ 5,
904
+ f
905
+ );
906
+ }
907
+ f = message.getInstanceId();
908
+ if (f.length > 0) {
909
+ writer.writeString(
910
+ 6,
911
+ f
912
+ );
913
+ }
914
+ f = message.getPropertiesMap(true);
915
+ if (f && f.getLength() > 0) {
916
+ f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
917
+ }
918
+ };
919
+
920
+
921
+ /**
922
+ * optional string error_stack = 1;
923
+ * @return {string}
924
+ */
925
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getErrorStack = function() {
926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
927
+ };
928
+
929
+
930
+ /**
931
+ * @param {string} value
932
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
933
+ */
934
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setErrorStack = function(value) {
935
+ return jspb.Message.setProto3StringField(this, 1, value);
936
+ };
937
+
938
+
939
+ /**
940
+ * optional string component = 2;
941
+ * @return {string}
942
+ */
943
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getComponent = function() {
944
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
945
+ };
946
+
947
+
948
+ /**
949
+ * @param {string} value
950
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
951
+ */
952
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setComponent = function(value) {
953
+ return jspb.Message.setProto3StringField(this, 2, value);
954
+ };
955
+
956
+
957
+ /**
958
+ * optional string version = 3;
959
+ * @return {string}
960
+ */
961
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getVersion = function() {
962
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
963
+ };
964
+
965
+
966
+ /**
967
+ * @param {string} value
968
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
969
+ */
970
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setVersion = function(value) {
971
+ return jspb.Message.setProto3StringField(this, 3, value);
972
+ };
973
+
974
+
975
+ /**
976
+ * optional string user_id = 4;
977
+ * @return {string}
978
+ */
979
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getUserId = function() {
980
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
981
+ };
982
+
983
+
984
+ /**
985
+ * @param {string} value
986
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
987
+ */
988
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setUserId = function(value) {
989
+ return jspb.Message.setProto3StringField(this, 4, value);
990
+ };
991
+
992
+
993
+ /**
994
+ * optional string workspace_id = 5;
995
+ * @return {string}
996
+ */
997
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getWorkspaceId = function() {
998
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * @param {string} value
1004
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
1005
+ */
1006
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setWorkspaceId = function(value) {
1007
+ return jspb.Message.setProto3StringField(this, 5, value);
1008
+ };
1009
+
1010
+
1011
+ /**
1012
+ * optional string instance_id = 6;
1013
+ * @return {string}
1014
+ */
1015
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getInstanceId = function() {
1016
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1017
+ };
1018
+
1019
+
1020
+ /**
1021
+ * @param {string} value
1022
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
1023
+ */
1024
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setInstanceId = function(value) {
1025
+ return jspb.Message.setProto3StringField(this, 6, value);
1026
+ };
1027
+
1028
+
1029
+ /**
1030
+ * map<string, string> properties = 7;
1031
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
1032
+ * empty, instead returning `undefined`
1033
+ * @return {!jspb.Map<string,string>}
1034
+ */
1035
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getPropertiesMap = function(opt_noLazyCreate) {
1036
+ return /** @type {!jspb.Map<string,string>} */ (
1037
+ jspb.Message.getMapField(this, 7, opt_noLazyCreate,
1038
+ null));
1039
+ };
1040
+
1041
+
1042
+ /**
1043
+ * Clears values from the map. The map will be non-null.
1044
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
1045
+ */
1046
+ proto.ide_metrics_api.ReportErrorRequest.prototype.clearPropertiesMap = function() {
1047
+ this.getPropertiesMap().clear();
1048
+ return this;};
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1055
+ /**
1056
+ * Creates an object representation of this proto.
1057
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1058
+ * Optional fields that are not set will be set to undefined.
1059
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1060
+ * For the list of reserved names please see:
1061
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1062
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1063
+ * JSPB instance for transitional soy proto support:
1064
+ * http://goto/soy-param-migration
1065
+ * @return {!Object}
1066
+ */
1067
+ proto.ide_metrics_api.ReportErrorResponse.prototype.toObject = function(opt_includeInstance) {
1068
+ return proto.ide_metrics_api.ReportErrorResponse.toObject(opt_includeInstance, this);
1069
+ };
1070
+
1071
+
1072
+ /**
1073
+ * Static version of the {@see toObject} method.
1074
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1075
+ * the JSPB instance for transitional soy proto support:
1076
+ * http://goto/soy-param-migration
1077
+ * @param {!proto.ide_metrics_api.ReportErrorResponse} msg The msg instance to transform.
1078
+ * @return {!Object}
1079
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1080
+ */
1081
+ proto.ide_metrics_api.ReportErrorResponse.toObject = function(includeInstance, msg) {
1082
+ var f, obj = {
1083
+
1084
+ };
1085
+
1086
+ if (includeInstance) {
1087
+ obj.$jspbMessageInstance = msg;
1088
+ }
1089
+ return obj;
1090
+ };
1091
+ }
1092
+
1093
+
1094
+ /**
1095
+ * Deserializes binary data (in protobuf wire format).
1096
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1097
+ * @return {!proto.ide_metrics_api.ReportErrorResponse}
1098
+ */
1099
+ proto.ide_metrics_api.ReportErrorResponse.deserializeBinary = function(bytes) {
1100
+ var reader = new jspb.BinaryReader(bytes);
1101
+ var msg = new proto.ide_metrics_api.ReportErrorResponse;
1102
+ return proto.ide_metrics_api.ReportErrorResponse.deserializeBinaryFromReader(msg, reader);
1103
+ };
1104
+
1105
+
1106
+ /**
1107
+ * Deserializes binary data (in protobuf wire format) from the
1108
+ * given reader into the given message object.
1109
+ * @param {!proto.ide_metrics_api.ReportErrorResponse} msg The message object to deserialize into.
1110
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1111
+ * @return {!proto.ide_metrics_api.ReportErrorResponse}
1112
+ */
1113
+ proto.ide_metrics_api.ReportErrorResponse.deserializeBinaryFromReader = function(msg, reader) {
1114
+ while (reader.nextField()) {
1115
+ if (reader.isEndGroup()) {
1116
+ break;
1117
+ }
1118
+ var field = reader.getFieldNumber();
1119
+ switch (field) {
1120
+ default:
1121
+ reader.skipField();
1122
+ break;
1123
+ }
1124
+ }
1125
+ return msg;
1126
+ };
1127
+
1128
+
1129
+ /**
1130
+ * Serializes the message to binary data (in protobuf wire format).
1131
+ * @return {!Uint8Array}
1132
+ */
1133
+ proto.ide_metrics_api.ReportErrorResponse.prototype.serializeBinary = function() {
1134
+ var writer = new jspb.BinaryWriter();
1135
+ proto.ide_metrics_api.ReportErrorResponse.serializeBinaryToWriter(this, writer);
1136
+ return writer.getResultBuffer();
1137
+ };
1138
+
1139
+
1140
+ /**
1141
+ * Serializes the given message to binary data (in protobuf wire
1142
+ * format), writing to the given BinaryWriter.
1143
+ * @param {!proto.ide_metrics_api.ReportErrorResponse} message
1144
+ * @param {!jspb.BinaryWriter} writer
1145
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1146
+ */
1147
+ proto.ide_metrics_api.ReportErrorResponse.serializeBinaryToWriter = function(message, writer) {
1148
+ var f = undefined;
1149
+ };
1150
+
1151
+
712
1152
  goog.object.extend(exports, proto.ide_metrics_api);
package/package.json CHANGED
@@ -20,5 +20,5 @@
20
20
  "scripts": {
21
21
  "build": "sh build.sh"
22
22
  },
23
- "version": "0.0.1-pd-ide-metrics-http.6"
23
+ "version": "0.0.1-se-better-ts-api.2"
24
24
  }
package/pkg-yarn.lock CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  "@gitpod/ide-metrics-api-grpc@0.0.1":
6
6
  version "0.0.1"
7
- resolved "file:///tmp/cache/fff56b6469b970fe1d3cb45741962da678e6a5fb.tar.gz"
7
+ resolved "file:///tmp/cache/d96438e06a07bb2039b088a249adb91765ab8e45.tar.gz"
8
8
  dependencies:
9
9
  "@grpc/grpc-js" "^1.3.7"
10
10
  google-protobuf "^3.19.1"
@@ -1,4 +1,4 @@
1
- {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFtdLAogICJwcmVkaWNhdGUiOiB7CiAgICAiYnVpbGRlciI6IHsKICAgICAgImlkIjogImdpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheTowLjIuMTctM2ViZmIyYUBzaGEyNTY6Yjk2MjllMmQwNDMyYWRlYTFiZTdkZGRiMzYwM2UzNmQ5ZjY5YjA5ZDg5ODVmNzI1MjU3YWRhYWRlNTFkNGE0MCIKICAgIH0sCiAgICAicmVjaXBlIjogewogICAgICAidHlwZSI6ICJodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheS9idWlsZEBnZW5lcmljOjEiLAogICAgICAiZGVmaW5lZEluTWF0ZXJpYWwiOiAwLAogICAgICAiZW50cnlQb2ludCI6ICJjb21wb25lbnRzL2lkZS1tZXRyaWNzLWFwaTpwcm90byIsCiAgICAgICJhcmd1bWVudHMiOiBbCiAgICAgICAgImxlZXdheSIsCiAgICAgICAgImJ1aWxkIiwKICAgICAgICAiLS1kb2NrZXItYnVpbGQtb3B0aW9ucyIsCiAgICAgICAgIm5ldHdvcms9aG9zdCIsCiAgICAgICAgIi0td2VyZnQ9dHJ1ZSIsCiAgICAgICAgIi1jIiwKICAgICAgICAicmVtb3RlIiwK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ExNjA3MjY0WiIsCiAgICAgICJidWlsZEZpbmlzaGVkT24iOiAiMjAyMi0wOC0yMlQxNDoyODozNi4zMTI2OTg2NzVaIiwKICAgICAgImNvbXBsZXRlbmVzcyI6IHsKICAgICAgICAiYXJndW1lbnRzIjogdHJ1ZSwKICAgICAgICAiZW52aXJvbm1lbnQiOiBmYWxzZSwKICAgICAgICAibWF0ZXJpYWxzIjogdHJ1ZQogICAgICB9LAogICAgICAicmVwcm9kdWNpYmxlIjogZmFsc2UKICAgIH0sCiAgICAibWF0ZXJpYWxzIjogWwogICAgICB7CiAgICAgICAgInVyaSI6ICJnaXQraHR0cHM6Ly9naXRodWIuY29tL2dpdHBvZC1pby9naXRwb2QuZ2l0IiwKICAgICAgICAiZGlnZXN0IjogewogICAgICAgICAgInNoYTI1NiI6ICJiODc4MTdkOWVhYjdkZDljMjA1ODc3NDMwYTRlZGZlNWRjZTFhNzFmIgogICAgICAgIH0KICAgICAgfQogICAgXQogIH0KfQ==","signatures":null}
1
+ {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFtdLAogICJwcmVkaWNhdGUiOiB7CiAgICAiYnVpbGRlciI6IHsKICAgICAgImlkIjogImdpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheTowLjIuMjAtOThmMmJjOEBzaGEyNTY6MDk1YTE5NDMyM2FkZDExODlkNTBlNzkwYzVjNzVhYjljN2MyM2JjMWUyYWY4NzUwODcyMzg0MWI3NzM3N2RjZSIKICAgIH0sCiAgICAicmVjaXBlIjogewogICAgICAidHlwZSI6ICJodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheS9idWlsZEBnZW5lcmljOjEiLAogICAgICAiZGVmaW5lZEluTWF0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AgICAgICAgICJnbyI6ICJnbyB2ZXJzaW9uIGdvMS4xOSBsaW51eC9hbWQ2NCIsCiAgICAgICAgICAibm9kZSI6ICJ2MTYuMTYuMCIsCiAgICAgICAgICAib3MiOiAibGludXgiLAogICAgICAgICAgInlhcm4iOiAiMS4yMi4xOSIKICAgICAgICB9CiAgICAgIH0KICAgIH0sCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICJidWlsZFN0YXJ0ZWRPbiI6ICIyMDIyLTA5LTA2VDE3OjA0OjUzLjI0MjM4MTI4NFoiLAogICAgICAiYnVpbGRGaW5pc2hlZE9uIjogIjIwMjItMDktMDZUMTc6MDQ6NTMuMjUwMzU5ODQ3WiIsCiAgICAgICJjb21wbGV0ZW5lc3MiOiB7CiAgICAgICAgImFyZ3VtZW50cyI6IHRydWUsCiAgICAgICAgImVudmlyb25tZW50IjogZmFsc2UsCiAgICAgICAgIm1hdGVyaWFscyI6IHRydWUKICAgICAgfSwKICAgICAgInJlcHJvZHVjaWJsZSI6IGZhbHNlCiAgICB9LAogICAgIm1hdGVyaWFscyI6IFsKICAgICAgewogICAgICAgICJ1cmkiOiAiZ2l0K2h0dHBzOi8vZ2l0aHViLmNvbS9naXRwb2QtaW8vZ2l0cG9kLmdpdCIsCiAgICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAgICJzaGEyNTYiOiAiZTdjOGVmZTFhMWJlMDQwYmY3MDQxNDYzOGUxMWVjNjNmNjZkOTdlNCIKICAgICAgICB9CiAgICAgIH0KICAgIF0KICB9Cn0=","signatures":null}
2
2
 
3
- {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFsKICAgIHsKICAgICAgIm5hbWUiOiAiL2NvbXBvbmVudHMtaWRlLW1ldH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IH0KICAgICAgfQogICAgfSwKICAgICJtZXRhZGF0YSI6IHsKICAgICAgImJ1aWxkU3RhcnRlZE9uIjogIjIwMjItMDgtMjJUMTQ6NTI6MTMuNTg4OTgzNDcyWiIsCiAgICAgICJidWlsZEZpbmlzaGVkT24iOiAiMjAyMi0wOC0yMlQxNDo1MjoyMC43MDU1NTkwNjJaIiwKICAgICAgImNvbXBsZXRlbmVzcyI6IHsKICAgICAgICAiYXJndW1lbnRzIjogdHJ1ZSwKICAgICAgICAiZW52aXJvbm1lbnQiOiBmYWxzZSwKICAgICAgICAibWF0ZXJpYWxzIjogdHJ1ZQogICAgICB9LAogICAgICAicmVwcm9kdWNpYmxlIjogZmFsc2UKICAgIH0sCiAgICAibWF0ZXJpYWxzIjogWwogICAgICB7CiAgICAgICAgInVyaSI6ICJnaXQraHR0cHM6Ly9naXRodWIuY29tL2dpdHBvZC1pby9naXRwb2QuZ2l0IiwKICAgICAgICAiZGlnZXN0IjogewogICAgICAgICAgInNoYTI1NiI6ICIwMTcyZWM1MTA0YzE1M2MwYzIyNmRkMzI3YWRmOTMxOTZhM2Q3YTYxIgogICAgICAgIH0KICAgICAgfQogICAgXQogIH0KfQ==","signatures":null}
3
+ {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFsKICAgIHsKICAgICAgIm5hbWUiOiAiL2xpYi9pZGVtZXRyaWNzX2dycGNfcGIuanMiLAogICAgICAiZGlnZXN0IjogewogICAgICAgICJzaGEyNTYiOiAiY2Q3YzIxMWYwNjFlN2NiZDc0ZWVmNmQyNmNkMTU1ZTU1MjE0ZjU1YjRiYzFhOGVmMTJkZTM2MWQ1MjVmMWUyYiIKICAgICAgfQogICAgfSwKICAgIHsKICAgICAgIm5hbW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AgICAgICAgIi1EbG9jYWxBcHBWZXJzaW9uPXVua25vd24iLAogICAgICAgICItRFNFR01FTlRfSU9fVE9LRU49WDNiTmF0WVB1ZElKY0N6NmtGbFRuNTRwcnVtUUFxR2giLAogICAgICAgICItRFJFUExJQ0FURURfQVBJX1RPS0VOPWRlYTEwYzhmYjU4NzU1ZmQ1MWFiOTk2Y2NiYWFiODk2MmY1ZTkwNmFiNDQxMmFlNjc3OTk2ZWE3NGU4NWFlMzUiLAogICAgICAgICItRFJFUExJQ0FURURfQVBQPWdpdHBvZCIsCiAgICAgICAgIi1EbnBtUHVibGlzaFRyaWdnZXI9ZmFsc2UiLAogICAgICAgICItRGpiTWFya2V0cGxhY2VQdWJsaXNoVHJpZ2dlcj1mYWxzZSIKICAgICAgXSwKICAgICAgImVudmlyb25tZW50IjogewogICAgICAgICJtYW5pZmVzdCI6IHsKICAgICAgICAgICJhcmNoIjogImFtZDY0IiwKICAgICAgICAgICJnbyI6ICJnbyB2ZXJzaW9uIGdvMS4xOSBsaW51eC9hbWQ2NCIsCiAgICAgICAgICAibm9kZSI6ICJ2MTYuMTYuMCIsCiAgICAgICAgICAib3MiOiAibGludXgiLAogICAgICAgICAgInlhcm4iOiAiMS4yMi4xOSIKICAgICAgICB9CiAgICAgIH0KICAgIH0sCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICJidWlsZFN0YXJ0ZWRPbiI6ICIyMDIyLTA5LTEzVDA4OjI0OjA1LjE0MzcyNzczOVoiLAogICAgICAiYnVpbGRGaW5pc2hlZE9uIjogIjIwMjItMDktMTNUMDg6MjQ6NDMuMzM4ODcxOTNaIiwKICAgICAgImNvbXBsZXRlbmVzcyI6IHsKICAgICAgICAiYXJndW1lbnRzIjogdHJ1ZSwKICAgICAgICAiZW52aXJvbm1lbnQiOiBmYWxzZSwKICAgICAgICAibWF0ZXJpYWxzIjogdHJ1ZQogICAgICB9LAogICAgICAicmVwcm9kdWNpYmxlIjogZmFsc2UKICAgIH0sCiAgICAibWF0ZXJpYWxzIjogWwogICAgICB7CiAgICAgICAgInVyaSI6ICJnaXQraHR0cHM6Ly9naXRodWIuY29tL2dpdHBvZC1pby9naXRwb2QuZ2l0IiwKICAgICAgICAiZGlnZXN0IjogewogICAgICAgICAgInNoYTI1NiI6ICI0NTE2YTUxNjU5ZjQ3NDg4ZjRkNzlhMTVhZjcwYTNjYWNiZTk1Y2NjIgogICAgICAgIH0KICAgICAgfQogICAgXQogIH0KfQ==","signatures":null}
4
4