public static final class TransferTypes.LoggingConfig extends com.google.protobuf.GeneratedMessageV3 implements TransferTypes.LoggingConfigOrBuilder
Specifies the logging behavior for transfer operations. For cloud-to-cloud transfers, logs are sent to Cloud Logging. See [Read transfer logs](https://cloud.google.com/storage-transfer/docs/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] (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) for details.Protobuf type
google.storagetransfer.v1.LoggingConfig| Modifier and Type | Class and Description |
|---|---|
static class |
TransferTypes.LoggingConfig.Builder
Specifies the logging behavior for transfer operations.
|
static class |
TransferTypes.LoggingConfig.LoggableAction
Loggable actions.
|
static class |
TransferTypes.LoggingConfig.LoggableActionState
Loggable action states.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER |
static int |
LOG_ACTION_STATES_FIELD_NUMBER |
static int |
LOG_ACTIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TransferTypes.LoggingConfig |
getDefaultInstance() |
TransferTypes.LoggingConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableOnpremGcsTransferLogs()
For transfers with a PosixFilesystem source, this option enables the Cloud
Storage transfer logs for this transfer.
|
TransferTypes.LoggingConfig.LoggableAction |
getLogActions(int index)
Specifies the actions to be logged.
|
int |
getLogActionsCount()
Specifies the actions to be logged.
|
List<TransferTypes.LoggingConfig.LoggableAction> |
getLogActionsList()
Specifies the actions to be logged.
|
TransferTypes.LoggingConfig.LoggableActionState |
getLogActionStates(int index)
States in which `log_actions` are logged.
|
int |
getLogActionStatesCount()
States in which `log_actions` are logged.
|
List<TransferTypes.LoggingConfig.LoggableActionState> |
getLogActionStatesList()
States in which `log_actions` are logged.
|
int |
getLogActionStatesValue(int index)
States in which `log_actions` are logged.
|
List<Integer> |
getLogActionStatesValueList()
States in which `log_actions` are logged.
|
int |
getLogActionsValue(int index)
Specifies the actions to be logged.
|
List<Integer> |
getLogActionsValueList()
Specifies the actions to be logged.
|
com.google.protobuf.Parser<TransferTypes.LoggingConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferTypes.LoggingConfig.Builder |
newBuilder() |
static TransferTypes.LoggingConfig.Builder |
newBuilder(TransferTypes.LoggingConfig prototype) |
TransferTypes.LoggingConfig.Builder |
newBuilderForType() |
protected TransferTypes.LoggingConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransferTypes.LoggingConfig |
parseDelimitedFrom(InputStream input) |
static TransferTypes.LoggingConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.LoggingConfig |
parseFrom(byte[] data) |
static TransferTypes.LoggingConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.LoggingConfig |
parseFrom(ByteBuffer data) |
static TransferTypes.LoggingConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.LoggingConfig |
parseFrom(com.google.protobuf.ByteString data) |
static TransferTypes.LoggingConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.LoggingConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferTypes.LoggingConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.LoggingConfig |
parseFrom(InputStream input) |
static TransferTypes.LoggingConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferTypes.LoggingConfig> |
parser() |
TransferTypes.LoggingConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LOG_ACTIONS_FIELD_NUMBER
public static final int LOG_ACTION_STATES_FIELD_NUMBER
public static final int ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
getLogActionsList in interface TransferTypes.LoggingConfigOrBuilderpublic 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
getLogActionsCount in interface TransferTypes.LoggingConfigOrBuilderpublic 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
getLogActions in interface TransferTypes.LoggingConfigOrBuilderindex - The index of the element to return.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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
getLogActionsValueList in interface TransferTypes.LoggingConfigOrBuilderpublic 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
getLogActionsValue in interface TransferTypes.LoggingConfigOrBuilderindex - The index of the value to return.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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
getLogActionStatesList in interface TransferTypes.LoggingConfigOrBuilderpublic 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
getLogActionStatesCount in interface TransferTypes.LoggingConfigOrBuilderpublic 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
getLogActionStates in interface TransferTypes.LoggingConfigOrBuilderindex - The index of the element to return.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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
getLogActionStatesValueList in interface TransferTypes.LoggingConfigOrBuilderpublic 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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
getLogActionStatesValue in interface TransferTypes.LoggingConfigOrBuilderindex - The index of the value to return.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;getEnableOnpremGcsTransferLogs in interface TransferTypes.LoggingConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransferTypes.LoggingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.LoggingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.LoggingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.LoggingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.LoggingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.LoggingConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.LoggingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.LoggingConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.LoggingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.LoggingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferTypes.LoggingConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferTypes.LoggingConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferTypes.LoggingConfig.Builder newBuilder()
public static TransferTypes.LoggingConfig.Builder newBuilder(TransferTypes.LoggingConfig prototype)
public TransferTypes.LoggingConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferTypes.LoggingConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferTypes.LoggingConfig getDefaultInstance()
public static com.google.protobuf.Parser<TransferTypes.LoggingConfig> parser()
public com.google.protobuf.Parser<TransferTypes.LoggingConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferTypes.LoggingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.