private void buildPartialOneofs(
          com.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest result) {
        result.consumerModeCase_ = consumerModeCase_;
        result.consumerMode_ = this.consumerMode_;
        if (consumerModeCase_ == 3 && eagerReceiveModeBuilder_ != null) {
          result.consumerMode_ = eagerReceiveModeBuilder_.build();
        }
        if (consumerModeCase_ == 4 && controlledReceiveModeBuilder_ != null) {
          result.consumerMode_ = controlledReceiveModeBuilder_.build();
        }
      }
<pre>
The message specifying the initial settings for the ReceivePackets session.
</pre>

Protobuf type {@code google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ReceivePacketsRequest.java