/** * * * <pre> * Restricts the query to the specified time range. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;</code> */ public Builder setPeriod( com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period value) { if (value == null) { throw new NullPointerException(); } period_ = value.getNumber(); onChanged(); return this; } /**
/** * * * <pre> * Restricts the query to the specified time range. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;</code> */ public Builder setPeriod( com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period value) { if (value == null) { throw new NullPointerException(); } period_ = value.getNumber(); onChanged(); return this; } /**
/** * * * <pre> * Restricts the query to the specified time range. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;</code> */ public Builder clearPeriod() { period_ = 0; onChanged(); return this; }
/** * * * <pre> * Restricts the query to the specified time range. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;</code> */ public Builder setPeriodValue(int value) { period_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.getDefaultInstance()) return this; if (other.period_ != 0) { setPeriodValue(other.getPeriodValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * Restricts the query to the specified time range. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;</code> */ public Builder setPeriodValue(int value) { period_ = value; onChanged(); return this; } /**
/** * * * <pre> * Restricts the query to the specified time range. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;</code> */ public Builder clearPeriod() { period_ = 0; onChanged(); return this; }
public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.getDefaultInstance()) return this; if (other.period_ != 0) { setPeriodValue(other.getPeriodValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }