- 1.76.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.0.4
public static final class TransferTypes.LoggingConfig.Builder extends GeneratedMessageV3.Builder<TransferTypes.LoggingConfig.Builder> implements TransferTypes.LoggingConfigOrBuilderSpecifies the logging behavior for transfer operations. For cloud-to-cloud transfers, logs are sent to Cloud Logging. See Read transfer logs for details. For transfers to or from a POSIX file system, logs are stored in the Cloud Storage bucket that is the source or sink of the transfer. See Managing Transfer for on-premises jobs for details.
Protobuf type google.storagetransfer.v1.LoggingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferTypes.LoggingConfig.BuilderImplements
TransferTypes.LoggingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllLogActionStates(Iterable<? extends TransferTypes.LoggingConfig.LoggableActionState> values)
public TransferTypes.LoggingConfig.Builder addAllLogActionStates(Iterable<? extends TransferTypes.LoggingConfig.LoggableActionState> values) 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;
| Name | Description |
| values | Iterable<? extends com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>The logActionStates to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addAllLogActionStatesValue(Iterable<Integer> values)
public TransferTypes.LoggingConfig.Builder addAllLogActionStatesValue(Iterable<Integer> values) 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;
| Name | Description |
| values | Iterable<Integer>The enum numeric values on the wire for logActionStates to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addAllLogActions(Iterable<? extends TransferTypes.LoggingConfig.LoggableAction> values)
public TransferTypes.LoggingConfig.Builder addAllLogActions(Iterable<? extends TransferTypes.LoggingConfig.LoggableAction> values)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;
| Name | Description |
| values | Iterable<? extends com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>The logActions to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addAllLogActionsValue(Iterable<Integer> values)
public TransferTypes.LoggingConfig.Builder addAllLogActionsValue(Iterable<Integer> values)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;
| Name | Description |
| values | Iterable<Integer>The enum numeric values on the wire for logActions to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addLogActionStates(TransferTypes.LoggingConfig.LoggableActionState value)
public TransferTypes.LoggingConfig.Builder addLogActionStates(TransferTypes.LoggingConfig.LoggableActionState value) 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;
| Name | Description |
| value | TransferTypes.LoggingConfig.LoggableActionStateThe logActionStates to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addLogActionStatesValue(int value)
public TransferTypes.LoggingConfig.Builder addLogActionStatesValue(int value) 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;
| Name | Description |
| value | intThe enum numeric value on the wire for logActionStates to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addLogActions(TransferTypes.LoggingConfig.LoggableAction value)
public TransferTypes.LoggingConfig.Builder addLogActions(TransferTypes.LoggingConfig.LoggableAction value)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;
| Name | Description |
| value | TransferTypes.LoggingConfig.LoggableActionThe logActions to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addLogActionsValue(int value)
public TransferTypes.LoggingConfig.Builder addLogActionsValue(int value)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;
| Name | Description |
| value | intThe enum numeric value on the wire for logActions to add. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
build()
public TransferTypes.LoggingConfig build()| Type | Description |
| TransferTypes.LoggingConfig |
buildPartial()
public TransferTypes.LoggingConfig buildPartial()| Type | Description |
| TransferTypes.LoggingConfig |
clear()
public TransferTypes.LoggingConfig.Builder clear()| Type | Description |
| TransferTypes.LoggingConfig.Builder |
clearEnableOnpremGcsTransferLogs()
public TransferTypes.LoggingConfig.Builder clearEnableOnpremGcsTransferLogs()For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
bool enable_onprem_gcs_transfer_logs = 3;
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
clearLogActionStates()
public TransferTypes.LoggingConfig.Builder clearLogActionStates() 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;
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
clearLogActions()
public TransferTypes.LoggingConfig.Builder clearLogActions()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;
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
clone()
public TransferTypes.LoggingConfig.Builder clone()| Type | Description |
| TransferTypes.LoggingConfig.Builder |
getDefaultInstanceForType()
public TransferTypes.LoggingConfig getDefaultInstanceForType()| Type | Description |
| TransferTypes.LoggingConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getEnableOnpremGcsTransferLogs()
public 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;
| Type | Description |
| boolean | The enableOnpremGcsTransferLogs. |
getLogActionStates(int index)
public 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| TransferTypes.LoggingConfig.LoggableActionState | The logActionStates at the given index. |
getLogActionStatesCount()
public 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;
| Type | Description |
| int | The count of logActionStates. |
getLogActionStatesList()
public 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;
| Type | Description |
| List<LoggableActionState> | A list containing the logActionStates. |
getLogActionStatesValue(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| int | The enum numeric value on the wire of logActionStates at the given index. |
getLogActionStatesValueList()
public 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;
| Type | Description |
| List<Integer> | A list containing the enum numeric values on the wire for logActionStates. |
getLogActions(int index)
public 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| TransferTypes.LoggingConfig.LoggableAction | The logActions at the given index. |
getLogActionsCount()
public 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;
| Type | Description |
| int | The count of logActions. |
getLogActionsList()
public 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;
| Type | Description |
| List<LoggableAction> | A list containing the logActions. |
getLogActionsValue(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| int | The enum numeric value on the wire of logActions at the given index. |
getLogActionsValueList()
public 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;
| Type | Description |
| List<Integer> | A list containing the enum numeric values on the wire for logActions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferTypes.LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public TransferTypes.LoggingConfig.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
mergeFrom(TransferTypes.LoggingConfig other)
public TransferTypes.LoggingConfig.Builder mergeFrom(TransferTypes.LoggingConfig other)| Name | Description |
| other | TransferTypes.LoggingConfig |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
setEnableOnpremGcsTransferLogs(boolean value)
public TransferTypes.LoggingConfig.Builder setEnableOnpremGcsTransferLogs(boolean value)For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
bool enable_onprem_gcs_transfer_logs = 3;
| Name | Description |
| value | booleanThe enableOnpremGcsTransferLogs to set. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
setLogActionStates(int index, TransferTypes.LoggingConfig.LoggableActionState value)
public TransferTypes.LoggingConfig.Builder setLogActionStates(int index, TransferTypes.LoggingConfig.LoggableActionState value) 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;
| Name | Description |
| index | intThe index to set the value at. |
| value | TransferTypes.LoggingConfig.LoggableActionStateThe logActionStates to set. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
setLogActionStatesValue(int index, int value)
public TransferTypes.LoggingConfig.Builder setLogActionStatesValue(int index, int value) 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;
| Name | Description |
| index | intThe index to set the value at. |
| value | intThe enum numeric value on the wire for logActionStates to set. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
setLogActions(int index, TransferTypes.LoggingConfig.LoggableAction value)
public TransferTypes.LoggingConfig.Builder setLogActions(int index, TransferTypes.LoggingConfig.LoggableAction value)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;
| Name | Description |
| index | intThe index to set the value at. |
| value | TransferTypes.LoggingConfig.LoggableActionThe logActions to set. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
setLogActionsValue(int index, int value)
public TransferTypes.LoggingConfig.Builder setLogActionsValue(int index, int value)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;
| Name | Description |
| index | intThe index to set the value at. |
| value | intThe enum numeric value on the wire for logActions to set. |
| Type | Description |
| TransferTypes.LoggingConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| TransferTypes.LoggingConfig.Builder |