Class TransferTypes.LoggingConfig (1.63.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.63.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  TransferTypes . LoggingConfig   extends   GeneratedMessageV3   implements   TransferTypes . LoggingConfigOrBuilder  
   Specifies the logging behavior for transfer operations.
 Logs can be sent to Cloud Logging for all transfer types. See
 Read transfer
 logs  for
 details.
 Protobuf type google.storagetransfer.v1.LoggingConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER 
  
    
public   static   final   int   ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LOG_ACTIONS_FIELD_NUMBER 
  
    
public   static   final   int   LOG_ACTIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LOG_ACTION_STATES_FIELD_NUMBER 
  
    
public   static   final   int   LOG_ACTION_STATES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   TransferTypes . LoggingConfig   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   TransferTypes . LoggingConfig . Builder   newBuilder ()  
  
  newBuilder(TransferTypes.LoggingConfig prototype) 
  
    
public   static   TransferTypes . LoggingConfig . Builder   newBuilder ( TransferTypes . LoggingConfig   prototype )  
  
  
  
    
public   static   TransferTypes . LoggingConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   TransferTypes . LoggingConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TransferTypes . LoggingConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<TransferTypes . LoggingConfig >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   TransferTypes . LoggingConfig   getDefaultInstanceForType ()  
  
  getEnableOnpremGcsTransferLogs() 
  
    
public   boolean   getEnableOnpremGcsTransferLogs ()  
   For PosixFilesystem transfers, enables
 file system transfer
 logs 
 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  
      
        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.
 
 repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
  getLogActionStatesCount() 
  
    
public   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  
      
        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.
 
 repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2;
 
getLogActionStatesValue(int index) 
  
    
public   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;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint 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   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  
      
        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.
 repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
  getLogActionsCount() 
  
    
public   int   getLogActionsCount ()  
   Specifies the actions to be logged. If empty, no logs are generated.
 repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
 
    
      
        Returns  
      
        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.
 repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1;
 
getLogActionsValue(int index) 
  
    
public   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;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint 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   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  
      
        Type Description  
      
        List <Integer >A list containing the enum numeric values on the wire for logActions.
 
     
  
  getParserForType() 
  
    
public   Parser<TransferTypes . LoggingConfig >  getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   TransferTypes . LoggingConfig . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   TransferTypes . LoggingConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   TransferTypes . LoggingConfig . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]