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 Summary
Modifier and TypeMethodDescriptionbooleanFor 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.getLogActions(int index) Specifies the actions to be logged.intSpecifies the actions to be logged.Specifies the actions to be logged.getLogActionStates(int index) States in which `log_actions` are logged.intStates in which `log_actions` are logged.States in which `log_actions` are logged.intgetLogActionStatesValue(int index) States in which `log_actions` are logged.States in which `log_actions` are logged.intgetLogActionsValue(int index) Specifies the actions to be logged.Specifies the actions to be logged.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLogActionsList
List<TransferTypes.LoggingConfig.LoggableAction> 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
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
List<TransferTypes.LoggingConfig.LoggableActionState> 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
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
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.
-