@java.lang.Override public Builder newBuilderForType() { return newBuilder(); }
/** * * * <pre> * By default, the raw time series data is returned. * Use this field to combine multiple time series for different * views of the data. * </pre> * * <code>.google.monitoring.v3.Aggregation aggregation = 5;</code> */ public Builder mergeAggregation(com.google.monitoring.v3.Aggregation value) { if (aggregationBuilder_ == null) { if (aggregation_ != null) { aggregation_ = com.google.monitoring.v3.Aggregation.newBuilder(aggregation_) .mergeFrom(value) .buildPartial(); } else { aggregation_ = value; } onChanged(); } else { aggregationBuilder_.mergeFrom(value); } return this; } /**
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
.build(); Aggregation aggregation = Aggregation.newBuilder() .setAlignmentPeriod(Duration.newBuilder().setSeconds(600).build()) .setPerSeriesAligner(Aggregation.Aligner.ALIGN_MEAN)
.build(); Aggregation aggregation = Aggregation.newBuilder() .setAlignmentPeriod(Duration.newBuilder().setSeconds(600).build()) .setPerSeriesAligner(Aggregation.Aligner.ALIGN_MEAN)
/** * <pre> * By default, the raw time series data is returned. * Use this field to combine multiple time series for different * views of the data. * </pre> * * <code>optional .google.monitoring.v3.Aggregation aggregation = 5;</code> */ public Builder mergeAggregation(com.google.monitoring.v3.Aggregation value) { if (aggregationBuilder_ == null) { if (aggregation_ != null) { aggregation_ = com.google.monitoring.v3.Aggregation.newBuilder(aggregation_).mergeFrom(value).buildPartial(); } else { aggregation_ = value; } onChanged(); } else { aggregationBuilder_.mergeFrom(value); } return this; } /**