Class LoggingConfig (0.16.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.16.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  LoggingConfig   extends   GeneratedMessageV3   implements   LoggingConfigOrBuilder  
   Specifies the Cloud Logging behavior.
 Protobuf type google.cloud.storagebatchoperations.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
   
  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   LoggingConfig   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   LoggingConfig . Builder   newBuilder ()  
  
  newBuilder(LoggingConfig prototype) 
  
    
public   static   LoggingConfig . Builder   newBuilder ( LoggingConfig   prototype )  
  
  
  
    
public   static   LoggingConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   LoggingConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   LoggingConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LoggingConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   LoggingConfig   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LoggingConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LoggingConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   LoggingConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LoggingConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   LoggingConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   LoggingConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LoggingConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<LoggingConfig>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   LoggingConfig   getDefaultInstanceForType ()  
  
  getLogActionStates(int index) 
  
    
public   LoggingConfig . LoggableActionState   getLogActionStates ( int   index )  
   Required. States in which Action are logged.If empty, no logs are
 generated.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
  getLogActionStatesCount() 
  
    
public   int   getLogActionStatesCount ()  
   Required. States in which Action are logged.If empty, no logs are
 generated.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of logActionStates.
 
     
  
  getLogActionStatesList() 
  
    
public   List<LoggingConfig . LoggableActionState >  getLogActionStatesList ()  
   Required. States in which Action are logged.If empty, no logs are
 generated.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
 
getLogActionStatesValue(int index) 
  
    
public   int   getLogActionStatesValue ( int   index )  
   Required. States in which Action are logged.If empty, no logs are
 generated.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        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 ()  
   Required. States in which Action are logged.If empty, no logs are
 generated.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        List <Integer >A list containing the enum numeric values on the wire for logActionStates.
 
     
  
  getLogActions(int index) 
  
    
public   LoggingConfig . LoggableAction   getLogActions ( int   index )  
   Required. Specifies the actions to be logged.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
  getLogActionsCount() 
  
    
public   int   getLogActionsCount ()  
   Required. Specifies the actions to be logged.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of logActions.
 
     
  
  getLogActionsList() 
  
    
public   List<LoggingConfig . LoggableAction >  getLogActionsList ()  
   Required. Specifies the actions to be logged.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
 
getLogActionsValue(int index) 
  
    
public   int   getLogActionsValue ( int   index )  
   Required. Specifies the actions to be logged.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        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 ()  
   Required. Specifies the actions to be logged.
 
 repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        List <Integer >A list containing the enum numeric values on the wire for logActions.
 
     
  
  getParserForType() 
  
    
public   Parser<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   LoggingConfig . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   LoggingConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   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-29 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-29 UTC."],[],[]]