public Builder setSamplingRatio(double value) {

      samplingRatio_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
Specifies the fraction of operations to write to
[Stackdriver Logging](https://cloud.google.com/logging/docs/).
This field may contain any value between 0.0 and 1.0, inclusive.
0.0 is the default and means that no operations are logged.
</pre>

<code>double sampling_ratio = 1;</code>

@param value The samplingRatio to set.
@return This builder for chaining.
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java