@@ -182,6 +182,18 @@ public interface MetricOrBuilder
182
182
*/
183
183
com .google .protobuf .ByteString getNameBytes ();
184
184
185
+ /**
186
+ *
187
+ *
188
+ * <pre>
189
+ * For metrics with integer value.
190
+ * </pre>
191
+ *
192
+ * <code>int64 int_value = 2;</code>
193
+ *
194
+ * @return Whether the intValue field is set.
195
+ */
196
+ boolean hasIntValue ();
185
197
/**
186
198
*
187
199
*
@@ -195,6 +207,18 @@ public interface MetricOrBuilder
195
207
*/
196
208
long getIntValue ();
197
209
210
+ /**
211
+ *
212
+ *
213
+ * <pre>
214
+ * For metrics with floating point value.
215
+ * </pre>
216
+ *
217
+ * <code>double double_value = 3;</code>
218
+ *
219
+ * @return Whether the doubleValue field is set.
220
+ */
221
+ boolean hasDoubleValue ();
198
222
/**
199
223
*
200
224
*
@@ -208,6 +232,18 @@ public interface MetricOrBuilder
208
232
*/
209
233
double getDoubleValue ();
210
234
235
+ /**
236
+ *
237
+ *
238
+ * <pre>
239
+ * For metrics with custom values (ratios, visual progress, etc.).
240
+ * </pre>
241
+ *
242
+ * <code>string string_value = 4;</code>
243
+ *
244
+ * @return Whether the stringValue field is set.
245
+ */
246
+ boolean hasStringValue ();
211
247
/**
212
248
*
213
249
*
@@ -447,6 +483,21 @@ public com.google.protobuf.ByteString getNameBytes() {
447
483
}
448
484
449
485
public static final int INT_VALUE_FIELD_NUMBER = 2 ;
486
+ /**
487
+ *
488
+ *
489
+ * <pre>
490
+ * For metrics with integer value.
491
+ * </pre>
492
+ *
493
+ * <code>int64 int_value = 2;</code>
494
+ *
495
+ * @return Whether the intValue field is set.
496
+ */
497
+ @ java .lang .Override
498
+ public boolean hasIntValue () {
499
+ return valueCase_ == 2 ;
500
+ }
450
501
/**
451
502
*
452
503
*
@@ -467,6 +518,21 @@ public long getIntValue() {
467
518
}
468
519
469
520
public static final int DOUBLE_VALUE_FIELD_NUMBER = 3 ;
521
+ /**
522
+ *
523
+ *
524
+ * <pre>
525
+ * For metrics with floating point value.
526
+ * </pre>
527
+ *
528
+ * <code>double double_value = 3;</code>
529
+ *
530
+ * @return Whether the doubleValue field is set.
531
+ */
532
+ @ java .lang .Override
533
+ public boolean hasDoubleValue () {
534
+ return valueCase_ == 3 ;
535
+ }
470
536
/**
471
537
*
472
538
*
@@ -487,6 +553,20 @@ public double getDoubleValue() {
487
553
}
488
554
489
555
public static final int STRING_VALUE_FIELD_NUMBER = 4 ;
556
+ /**
557
+ *
558
+ *
559
+ * <pre>
560
+ * For metrics with custom values (ratios, visual progress, etc.).
561
+ * </pre>
562
+ *
563
+ * <code>string string_value = 4;</code>
564
+ *
565
+ * @return Whether the stringValue field is set.
566
+ */
567
+ public boolean hasStringValue () {
568
+ return valueCase_ == 4 ;
569
+ }
490
570
/**
491
571
*
492
572
*
@@ -1075,6 +1155,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
1075
1155
return this ;
1076
1156
}
1077
1157
1158
+ /**
1159
+ *
1160
+ *
1161
+ * <pre>
1162
+ * For metrics with integer value.
1163
+ * </pre>
1164
+ *
1165
+ * <code>int64 int_value = 2;</code>
1166
+ *
1167
+ * @return Whether the intValue field is set.
1168
+ */
1169
+ public boolean hasIntValue () {
1170
+ return valueCase_ == 2 ;
1171
+ }
1078
1172
/**
1079
1173
*
1080
1174
*
@@ -1130,6 +1224,20 @@ public Builder clearIntValue() {
1130
1224
return this ;
1131
1225
}
1132
1226
1227
+ /**
1228
+ *
1229
+ *
1230
+ * <pre>
1231
+ * For metrics with floating point value.
1232
+ * </pre>
1233
+ *
1234
+ * <code>double double_value = 3;</code>
1235
+ *
1236
+ * @return Whether the doubleValue field is set.
1237
+ */
1238
+ public boolean hasDoubleValue () {
1239
+ return valueCase_ == 3 ;
1240
+ }
1133
1241
/**
1134
1242
*
1135
1243
*
@@ -1185,6 +1293,21 @@ public Builder clearDoubleValue() {
1185
1293
return this ;
1186
1294
}
1187
1295
1296
+ /**
1297
+ *
1298
+ *
1299
+ * <pre>
1300
+ * For metrics with custom values (ratios, visual progress, etc.).
1301
+ * </pre>
1302
+ *
1303
+ * <code>string string_value = 4;</code>
1304
+ *
1305
+ * @return Whether the stringValue field is set.
1306
+ */
1307
+ @ java .lang .Override
1308
+ public boolean hasStringValue () {
1309
+ return valueCase_ == 4 ;
1310
+ }
1188
1311
/**
1189
1312
*
1190
1313
*
0 commit comments