@gitpod/ide-metrics-api-grpcweb 0.0.1-pd-logging-api.0 → 0.0.1-pd-sf-error-report.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -110,6 +110,12 @@ export class ReportErrorRequest extends jspb.Message {
110
110
 
111
111
  getPropertiesMap(): jspb.Map<string, string>;
112
112
  clearPropertiesMap(): void;
113
+ getName(): string;
114
+ setName(value: string): void;
115
+
116
+ getMessage(): string;
117
+ setMessage(value: string): void;
118
+
113
119
  serializeBinary(): Uint8Array;
114
120
  toObject(includeInstance?: boolean): ReportErrorRequest.AsObject;
115
121
  static toObject(includeInstance: boolean, msg: ReportErrorRequest): ReportErrorRequest.AsObject;
@@ -129,6 +135,8 @@ export namespace ReportErrorRequest {
129
135
  workspaceId: string,
130
136
  instanceId: string,
131
137
  propertiesMap: Array<[string, string]>,
138
+ name: string,
139
+ message: string,
132
140
  }
133
141
  }
134
142
 
@@ -773,7 +773,9 @@ proto.ide_metrics_api.ReportErrorRequest.toObject = function(includeInstance, ms
773
773
  userId: jspb.Message.getFieldWithDefault(msg, 4, ""),
774
774
  workspaceId: jspb.Message.getFieldWithDefault(msg, 5, ""),
775
775
  instanceId: jspb.Message.getFieldWithDefault(msg, 6, ""),
776
- propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : []
776
+ propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [],
777
+ name: jspb.Message.getFieldWithDefault(msg, 8, ""),
778
+ message: jspb.Message.getFieldWithDefault(msg, 9, "")
777
779
  };
778
780
 
779
781
  if (includeInstance) {
@@ -840,6 +842,14 @@ proto.ide_metrics_api.ReportErrorRequest.deserializeBinaryFromReader = function(
840
842
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
841
843
  });
842
844
  break;
845
+ case 8:
846
+ var value = /** @type {string} */ (reader.readString());
847
+ msg.setName(value);
848
+ break;
849
+ case 9:
850
+ var value = /** @type {string} */ (reader.readString());
851
+ msg.setMessage(value);
852
+ break;
843
853
  default:
844
854
  reader.skipField();
845
855
  break;
@@ -915,6 +925,20 @@ proto.ide_metrics_api.ReportErrorRequest.serializeBinaryToWriter = function(mess
915
925
  if (f && f.getLength() > 0) {
916
926
  f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
917
927
  }
928
+ f = message.getName();
929
+ if (f.length > 0) {
930
+ writer.writeString(
931
+ 8,
932
+ f
933
+ );
934
+ }
935
+ f = message.getMessage();
936
+ if (f.length > 0) {
937
+ writer.writeString(
938
+ 9,
939
+ f
940
+ );
941
+ }
918
942
  };
919
943
 
920
944
 
@@ -1048,6 +1072,42 @@ proto.ide_metrics_api.ReportErrorRequest.prototype.clearPropertiesMap = function
1048
1072
  return this;};
1049
1073
 
1050
1074
 
1075
+ /**
1076
+ * optional string name = 8;
1077
+ * @return {string}
1078
+ */
1079
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getName = function() {
1080
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1081
+ };
1082
+
1083
+
1084
+ /**
1085
+ * @param {string} value
1086
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
1087
+ */
1088
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setName = function(value) {
1089
+ return jspb.Message.setProto3StringField(this, 8, value);
1090
+ };
1091
+
1092
+
1093
+ /**
1094
+ * optional string message = 9;
1095
+ * @return {string}
1096
+ */
1097
+ proto.ide_metrics_api.ReportErrorRequest.prototype.getMessage = function() {
1098
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1099
+ };
1100
+
1101
+
1102
+ /**
1103
+ * @param {string} value
1104
+ * @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
1105
+ */
1106
+ proto.ide_metrics_api.ReportErrorRequest.prototype.setMessage = function(value) {
1107
+ return jspb.Message.setProto3StringField(this, 9, value);
1108
+ };
1109
+
1110
+
1051
1111
 
1052
1112
 
1053
1113