public Builder setSamplingRate(double value) {

      samplingRate_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Percentage of requests to be logged, expressed as a fraction in
range(0,1].
</pre>

<code>double sampling_rate = 2;</code>

@param value The samplingRate to set.
@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfig.java