@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      getSerializedSize();
      if (getLogActionsList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(logActionsMemoizedSerializedSize);
      }
      for (int i = 0; i < logActions_.size(); i++) {
        output.writeEnumNoTag(logActions_.get(i));
      }
      if (getLogActionStatesList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(logActionStatesMemoizedSerializedSize);
      }
      for (int i = 0; i < logActionStates_.size(); i++) {
        output.writeEnumNoTag(logActionStates_.get(i));
      }
      if (enableOnpremGcsTransferLogs_ != false) {
        output.writeBool(3, enableOnpremGcsTransferLogs_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
For PosixFilesystem transfers, enables
[file system transfer
logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format)
instead of, or in addition to, Cloud Logging.

This option ignores [LoggableAction] and [LoggableActionState]. If these
are set, Cloud Logging will also be enabled for this transfer.
</pre>

<code>bool enable_onprem_gcs_transfer_logs = 3;</code>

@return The enableOnpremGcsTransferLogs.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java