if (subBuilder != null) { subBuilder.mergeFrom(aggregation_); aggregation_ = subBuilder.buildPartial();
/** * * * <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; } /**
if (subBuilder != null) { subBuilder.mergeFrom(aggregation_); aggregation_ = subBuilder.buildPartial();
/** * <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; } /**
public com.google.monitoring.v3.Aggregation build() { com.google.monitoring.v3.Aggregation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public com.google.monitoring.v3.Aggregation build() { com.google.monitoring.v3.Aggregation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }