@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < logActions_.size(); i++) {
          dataSize +=
              com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActions_.get(i));
        }
        size += dataSize;
        if (!getLogActionsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
        }
        logActionsMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < logActionStates_.size(); i++) {
          dataSize +=
              com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActionStates_.get(i));
        }
        size += dataSize;
        if (!getLogActionStatesList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
        }
        logActionStatesMemoizedSerializedSize = dataSize;
      }
      if (enableOnpremGcsTransferLogs_ != false) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableOnpremGcsTransferLogs_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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