@@ -820,6 +820,10 @@ public Aligner findValueByNumber(int number) {
820
820
};
821
821
822
822
public final com .google .protobuf .Descriptors .EnumValueDescriptor getValueDescriptor () {
823
+ if (this == UNRECOGNIZED ) {
824
+ throw new java .lang .IllegalStateException (
825
+ "Can't get the descriptor of an unrecognized enum value." );
826
+ }
823
827
return getDescriptor ().getValues ().get (ordinal ());
824
828
}
825
829
@@ -1312,6 +1316,10 @@ public Reducer findValueByNumber(int number) {
1312
1316
};
1313
1317
1314
1318
public final com .google .protobuf .Descriptors .EnumValueDescriptor getValueDescriptor () {
1319
+ if (this == UNRECOGNIZED ) {
1320
+ throw new java .lang .IllegalStateException (
1321
+ "Can't get the descriptor of an unrecognized enum value." );
1322
+ }
1315
1323
return getDescriptor ().getValues ().get (ordinal ());
1316
1324
}
1317
1325
@@ -1365,6 +1373,7 @@ private Reducer(int value) {
1365
1373
*
1366
1374
* @return Whether the alignmentPeriod field is set.
1367
1375
*/
1376
+ @ java .lang .Override
1368
1377
public boolean hasAlignmentPeriod () {
1369
1378
return alignmentPeriod_ != null ;
1370
1379
}
@@ -1387,6 +1396,7 @@ public boolean hasAlignmentPeriod() {
1387
1396
*
1388
1397
* @return The alignmentPeriod.
1389
1398
*/
1399
+ @ java .lang .Override
1390
1400
public com .google .protobuf .Duration getAlignmentPeriod () {
1391
1401
return alignmentPeriod_ == null
1392
1402
? com .google .protobuf .Duration .getDefaultInstance ()
@@ -1409,6 +1419,7 @@ public com.google.protobuf.Duration getAlignmentPeriod() {
1409
1419
*
1410
1420
* <code>.google.protobuf.Duration alignment_period = 1;</code>
1411
1421
*/
1422
+ @ java .lang .Override
1412
1423
public com .google .protobuf .DurationOrBuilder getAlignmentPeriodOrBuilder () {
1413
1424
return getAlignmentPeriod ();
1414
1425
}
@@ -1439,6 +1450,7 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
1439
1450
*
1440
1451
* @return The enum numeric value on the wire for perSeriesAligner.
1441
1452
*/
1453
+ @ java .lang .Override
1442
1454
public int getPerSeriesAlignerValue () {
1443
1455
return perSeriesAligner_ ;
1444
1456
}
@@ -1466,6 +1478,7 @@ public int getPerSeriesAlignerValue() {
1466
1478
*
1467
1479
* @return The perSeriesAligner.
1468
1480
*/
1481
+ @ java .lang .Override
1469
1482
public com .google .monitoring .v3 .Aggregation .Aligner getPerSeriesAligner () {
1470
1483
@ SuppressWarnings ("deprecation" )
1471
1484
com .google .monitoring .v3 .Aggregation .Aligner result =
@@ -1497,6 +1510,7 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
1497
1510
*
1498
1511
* @return The enum numeric value on the wire for crossSeriesReducer.
1499
1512
*/
1513
+ @ java .lang .Override
1500
1514
public int getCrossSeriesReducerValue () {
1501
1515
return crossSeriesReducer_ ;
1502
1516
}
@@ -1522,6 +1536,7 @@ public int getCrossSeriesReducerValue() {
1522
1536
*
1523
1537
* @return The crossSeriesReducer.
1524
1538
*/
1539
+ @ java .lang .Override
1525
1540
public com .google .monitoring .v3 .Aggregation .Reducer getCrossSeriesReducer () {
1526
1541
@ SuppressWarnings ("deprecation" )
1527
1542
com .google .monitoring .v3 .Aggregation .Reducer result =
@@ -2339,6 +2354,7 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
2339
2354
*
2340
2355
* @return The enum numeric value on the wire for perSeriesAligner.
2341
2356
*/
2357
+ @ java .lang .Override
2342
2358
public int getPerSeriesAlignerValue () {
2343
2359
return perSeriesAligner_ ;
2344
2360
}
@@ -2368,6 +2384,7 @@ public int getPerSeriesAlignerValue() {
2368
2384
* @return This builder for chaining.
2369
2385
*/
2370
2386
public Builder setPerSeriesAlignerValue (int value ) {
2387
+
2371
2388
perSeriesAligner_ = value ;
2372
2389
onChanged ();
2373
2390
return this ;
@@ -2396,6 +2413,7 @@ public Builder setPerSeriesAlignerValue(int value) {
2396
2413
*
2397
2414
* @return The perSeriesAligner.
2398
2415
*/
2416
+ @ java .lang .Override
2399
2417
public com .google .monitoring .v3 .Aggregation .Aligner getPerSeriesAligner () {
2400
2418
@ SuppressWarnings ("deprecation" )
2401
2419
com .google .monitoring .v3 .Aggregation .Aligner result =
@@ -2490,6 +2508,7 @@ public Builder clearPerSeriesAligner() {
2490
2508
*
2491
2509
* @return The enum numeric value on the wire for crossSeriesReducer.
2492
2510
*/
2511
+ @ java .lang .Override
2493
2512
public int getCrossSeriesReducerValue () {
2494
2513
return crossSeriesReducer_ ;
2495
2514
}
@@ -2517,6 +2536,7 @@ public int getCrossSeriesReducerValue() {
2517
2536
* @return This builder for chaining.
2518
2537
*/
2519
2538
public Builder setCrossSeriesReducerValue (int value ) {
2539
+
2520
2540
crossSeriesReducer_ = value ;
2521
2541
onChanged ();
2522
2542
return this ;
@@ -2543,6 +2563,7 @@ public Builder setCrossSeriesReducerValue(int value) {
2543
2563
*
2544
2564
* @return The crossSeriesReducer.
2545
2565
*/
2566
+ @ java .lang .Override
2546
2567
public com .google .monitoring .v3 .Aggregation .Reducer getCrossSeriesReducer () {
2547
2568
@ SuppressWarnings ("deprecation" )
2548
2569
com .google .monitoring .v3 .Aggregation .Reducer result =
0 commit comments