public Builder mergeFrom(
          com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other) {
        if (other
            == com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance())
          return this;
        if (!other.logActions_.isEmpty()) {
          if (logActions_.isEmpty()) {
            logActions_ = other.logActions_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureLogActionsIsMutable();
            logActions_.addAll(other.logActions_);
          }
          onChanged();
        }
        if (!other.logActionStates_.isEmpty()) {
          if (logActionStates_.isEmpty()) {
            logActionStates_ = other.logActionStates_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureLogActionStatesIsMutable();
            logActionStates_.addAll(other.logActionStates_);
          }
          onChanged();
        }
        if (other.getEnableOnpremGcsTransferLogs() != false) {
          setEnableOnpremGcsTransferLogs(other.getEnableOnpremGcsTransferLogs());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
Specifies the logging behavior for transfer operations.

Logs can be sent to Cloud Logging for all transfer types. See
[Read transfer
logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for
details.
</pre>

Protobuf type {@code google.storagetransfer.v1.LoggingConfig}
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java