Interface TransferTypes.LoggingConfigOrBuilder (1.24.0)

public static interface TransferTypes.LoggingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableOnpremGcsTransferLogs()

public abstract boolean getEnableOnpremGcsTransferLogs()

For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.

bool enable_onprem_gcs_transfer_logs = 3;

Returns
Type Description
boolean

The enableOnpremGcsTransferLogs.

getLogActionStates(int index)

public abstract TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index)

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
TransferTypes.LoggingConfig.LoggableActionState

The logActionStates at the given index.

getLogActionStatesCount()

public abstract int getLogActionStatesCount()

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;

Returns
Type Description
int

The count of logActionStates.

getLogActionStatesList()

public abstract List<TransferTypes.LoggingConfig.LoggableActionState> getLogActionStatesList()

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;

Returns
Type Description
List<LoggableActionState>

A list containing the logActionStates.

getLogActionStatesValue(int index)

public abstract int getLogActionStatesValue(int index)

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of logActionStates at the given index.

getLogActionStatesValueList()

public abstract List<Integer> getLogActionStatesValueList()

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for logActionStates.

getLogActions(int index)

public abstract TransferTypes.LoggingConfig.LoggableAction getLogActions(int index)

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
TransferTypes.LoggingConfig.LoggableAction

The logActions at the given index.

getLogActionsCount()

public abstract int getLogActionsCount()

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;

Returns
Type Description
int

The count of logActions.

getLogActionsList()

public abstract List<TransferTypes.LoggingConfig.LoggableAction> getLogActionsList()

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;

Returns
Type Description
List<LoggableAction>

A list containing the logActions.

getLogActionsValue(int index)

public abstract int getLogActionsValue(int index)

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of logActions at the given index.

getLogActionsValueList()

public abstract List<Integer> getLogActionsValueList()

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for logActions.