Interface TransferTypes.LoggingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TransferTypes.LoggingConfig, TransferTypes.LoggingConfig.Builder
Enclosing class:
TransferTypes

public static interface TransferTypes.LoggingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLogActionsList

       Specifies the actions to be logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
      Returns:
      A list containing the logActions.
    • getLogActionsCount

      int getLogActionsCount()
       Specifies the actions to be logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
      Returns:
      The count of logActions.
    • getLogActions

       Specifies the actions to be logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The logActions at the given index.
    • getLogActionsValueList

      List<Integer> getLogActionsValueList()
       Specifies the actions to be logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
      Returns:
      A list containing the enum numeric values on the wire for logActions.
    • getLogActionsValue

      int getLogActionsValue(int index)
       Specifies the actions to be logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of logActions at the given index.
    • getLogActionStatesList

       States in which `log_actions` are logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
      Returns:
      A list containing the logActionStates.
    • getLogActionStatesCount

      int getLogActionStatesCount()
       States in which `log_actions` are logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
      Returns:
      The count of logActionStates.
    • getLogActionStates

      TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index)
       States in which `log_actions` are logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The logActionStates at the given index.
    • getLogActionStatesValueList

      List<Integer> getLogActionStatesValueList()
       States in which `log_actions` are logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
      Returns:
      A list containing the enum numeric values on the wire for logActionStates.
    • getLogActionStatesValue

      int getLogActionStatesValue(int index)
       States in which `log_actions` are logged. If empty, no logs are generated.
       
      repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of logActionStates at the given index.
    • getEnableOnpremGcsTransferLogs

      boolean getEnableOnpremGcsTransferLogs()
       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.
       
      bool enable_onprem_gcs_transfer_logs = 3;
      Returns:
      The enableOnpremGcsTransferLogs.