@gitpod/ide-metrics-api-grpcweb 0.0.1-sefftinge-add-phone-verification-11339.5 → 0.0.1-sefftinge-ubp-model-free-plan-and-12741.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,22 @@
1
- import * as jspb from 'google-protobuf'
2
-
1
+ // package: ide_metrics_api
2
+ // file: idemetrics.proto
3
3
 
4
+ import * as jspb from "google-protobuf";
4
5
 
5
6
  export class AddCounterRequest extends jspb.Message {
6
7
  getName(): string;
7
- setName(value: string): AddCounterRequest;
8
+ setName(value: string): void;
8
9
 
9
10
  getLabelsMap(): jspb.Map<string, string>;
10
- clearLabelsMap(): AddCounterRequest;
11
-
11
+ clearLabelsMap(): void;
12
12
  getValue(): number;
13
- setValue(value: number): AddCounterRequest;
14
- hasValue(): boolean;
15
- clearValue(): AddCounterRequest;
13
+ setValue(value: number): void;
16
14
 
17
15
  serializeBinary(): Uint8Array;
18
16
  toObject(includeInstance?: boolean): AddCounterRequest.AsObject;
19
17
  static toObject(includeInstance: boolean, msg: AddCounterRequest): AddCounterRequest.AsObject;
18
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
19
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
20
20
  static serializeBinaryToWriter(message: AddCounterRequest, writer: jspb.BinaryWriter): void;
21
21
  static deserializeBinary(bytes: Uint8Array): AddCounterRequest;
22
22
  static deserializeBinaryFromReader(message: AddCounterRequest, reader: jspb.BinaryReader): AddCounterRequest;
@@ -26,12 +26,7 @@ export namespace AddCounterRequest {
26
26
  export type AsObject = {
27
27
  name: string,
28
28
  labelsMap: Array<[string, string]>,
29
- value?: number,
30
- }
31
-
32
- export enum ValueCase {
33
- _VALUE_NOT_SET = 0,
34
- VALUE = 3,
29
+ value: number,
35
30
  }
36
31
  }
37
32
 
@@ -39,6 +34,8 @@ export class AddCounterResponse extends jspb.Message {
39
34
  serializeBinary(): Uint8Array;
40
35
  toObject(includeInstance?: boolean): AddCounterResponse.AsObject;
41
36
  static toObject(includeInstance: boolean, msg: AddCounterResponse): AddCounterResponse.AsObject;
37
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
38
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
42
39
  static serializeBinaryToWriter(message: AddCounterResponse, writer: jspb.BinaryWriter): void;
43
40
  static deserializeBinary(bytes: Uint8Array): AddCounterResponse;
44
41
  static deserializeBinaryFromReader(message: AddCounterResponse, reader: jspb.BinaryReader): AddCounterResponse;
@@ -51,17 +48,18 @@ export namespace AddCounterResponse {
51
48
 
52
49
  export class ObserveHistogramRequest extends jspb.Message {
53
50
  getName(): string;
54
- setName(value: string): ObserveHistogramRequest;
51
+ setName(value: string): void;
55
52
 
56
53
  getLabelsMap(): jspb.Map<string, string>;
57
- clearLabelsMap(): ObserveHistogramRequest;
58
-
54
+ clearLabelsMap(): void;
59
55
  getValue(): number;
60
- setValue(value: number): ObserveHistogramRequest;
56
+ setValue(value: number): void;
61
57
 
62
58
  serializeBinary(): Uint8Array;
63
59
  toObject(includeInstance?: boolean): ObserveHistogramRequest.AsObject;
64
60
  static toObject(includeInstance: boolean, msg: ObserveHistogramRequest): ObserveHistogramRequest.AsObject;
61
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
62
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
65
63
  static serializeBinaryToWriter(message: ObserveHistogramRequest, writer: jspb.BinaryWriter): void;
66
64
  static deserializeBinary(bytes: Uint8Array): ObserveHistogramRequest;
67
65
  static deserializeBinaryFromReader(message: ObserveHistogramRequest, reader: jspb.BinaryReader): ObserveHistogramRequest;
@@ -79,6 +77,8 @@ export class ObserveHistogramResponse extends jspb.Message {
79
77
  serializeBinary(): Uint8Array;
80
78
  toObject(includeInstance?: boolean): ObserveHistogramResponse.AsObject;
81
79
  static toObject(includeInstance: boolean, msg: ObserveHistogramResponse): ObserveHistogramResponse.AsObject;
80
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
81
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
82
82
  static serializeBinaryToWriter(message: ObserveHistogramResponse, writer: jspb.BinaryWriter): void;
83
83
  static deserializeBinary(bytes: Uint8Array): ObserveHistogramResponse;
84
84
  static deserializeBinaryFromReader(message: ObserveHistogramResponse, reader: jspb.BinaryReader): ObserveHistogramResponse;
@@ -89,3 +89,62 @@ export namespace ObserveHistogramResponse {
89
89
  }
90
90
  }
91
91
 
92
+ export class ReportErrorRequest extends jspb.Message {
93
+ getErrorStack(): string;
94
+ setErrorStack(value: string): void;
95
+
96
+ getComponent(): string;
97
+ setComponent(value: string): void;
98
+
99
+ getVersion(): string;
100
+ setVersion(value: string): void;
101
+
102
+ getUserId(): string;
103
+ setUserId(value: string): void;
104
+
105
+ getWorkspaceId(): string;
106
+ setWorkspaceId(value: string): void;
107
+
108
+ getInstanceId(): string;
109
+ setInstanceId(value: string): void;
110
+
111
+ getPropertiesMap(): jspb.Map<string, string>;
112
+ clearPropertiesMap(): void;
113
+ serializeBinary(): Uint8Array;
114
+ toObject(includeInstance?: boolean): ReportErrorRequest.AsObject;
115
+ static toObject(includeInstance: boolean, msg: ReportErrorRequest): ReportErrorRequest.AsObject;
116
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
117
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
118
+ static serializeBinaryToWriter(message: ReportErrorRequest, writer: jspb.BinaryWriter): void;
119
+ static deserializeBinary(bytes: Uint8Array): ReportErrorRequest;
120
+ static deserializeBinaryFromReader(message: ReportErrorRequest, reader: jspb.BinaryReader): ReportErrorRequest;
121
+ }
122
+
123
+ export namespace ReportErrorRequest {
124
+ export type AsObject = {
125
+ errorStack: string,
126
+ component: string,
127
+ version: string,
128
+ userId: string,
129
+ workspaceId: string,
130
+ instanceId: string,
131
+ propertiesMap: Array<[string, string]>,
132
+ }
133
+ }
134
+
135
+ export class ReportErrorResponse extends jspb.Message {
136
+ serializeBinary(): Uint8Array;
137
+ toObject(includeInstance?: boolean): ReportErrorResponse.AsObject;
138
+ static toObject(includeInstance: boolean, msg: ReportErrorResponse): ReportErrorResponse.AsObject;
139
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
140
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
141
+ static serializeBinaryToWriter(message: ReportErrorResponse, writer: jspb.BinaryWriter): void;
142
+ static deserializeBinary(bytes: Uint8Array): ReportErrorResponse;
143
+ static deserializeBinaryFromReader(message: ReportErrorResponse, reader: jspb.BinaryReader): ReportErrorResponse;
144
+ }
145
+
146
+ export namespace ReportErrorResponse {
147
+ export type AsObject = {
148
+ }
149
+ }
150
+
@@ -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);