public Builder setControlledReceiveMode(com.google.cloud.visionai.v1.ControlledMode value) {
        if (controlledReceiveModeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          consumerMode_ = value;
          onChanged();
        } else {
          controlledReceiveModeBuilder_.setMessage(value);
        }
        consumerModeCase_ = 4;
        return this;
      }
<pre>
Options for configuring controlled mode.
</pre>

<code>.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ReceivePacketsRequest.java