public Builder setFrequency(
        com.google.cloud.storageinsights.v1.FrequencyOptions.Frequency value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      frequency_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Frequency of report generation.
</pre>

<code>.google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1;</code>

@param value The frequency to set.
@return This builder for chaining.
java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/FrequencyOptions.java