Interface LoggingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LoggingConfig, LoggingConfig.Builder

@Generated public interface LoggingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. Immutable. The name of the LoggingConfig singleton resource.
       Format: projects/*/loggingConfig
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Immutable. The name of the LoggingConfig singleton resource.
       Format: projects/*/loggingConfig
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for name.
    • hasDefaultLogGenerationRule

      boolean hasDefaultLogGenerationRule()
       The log generation rule that applies by default to all services
       supporting log generation. It can be overridden by
       [ServiceLogGenerationRule][google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule]
       for service level control.
       
      .google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule default_log_generation_rule = 2;
      Returns:
      Whether the defaultLogGenerationRule field is set.
    • getDefaultLogGenerationRule

      LoggingConfig.LogGenerationRule getDefaultLogGenerationRule()
       The log generation rule that applies by default to all services
       supporting log generation. It can be overridden by
       [ServiceLogGenerationRule][google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule]
       for service level control.
       
      .google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule default_log_generation_rule = 2;
      Returns:
      The defaultLogGenerationRule.
    • getDefaultLogGenerationRuleOrBuilder

      LoggingConfig.LogGenerationRuleOrBuilder getDefaultLogGenerationRuleOrBuilder()
       The log generation rule that applies by default to all services
       supporting log generation. It can be overridden by
       [ServiceLogGenerationRule][google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule]
       for service level control.
       
      .google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule default_log_generation_rule = 2;
    • getServiceLogGenerationRulesList

      List<LoggingConfig.ServiceLogGenerationRule> getServiceLogGenerationRulesList()
       Controls logging configurations more granularly for each supported
       service.
      
       This overrides the
       [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       for the services specified. For those not mentioned, they will fallback to
       the default log generation rule.
       
      repeated .google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule service_log_generation_rules = 4;
    • getServiceLogGenerationRules

      LoggingConfig.ServiceLogGenerationRule getServiceLogGenerationRules(int index)
       Controls logging configurations more granularly for each supported
       service.
      
       This overrides the
       [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       for the services specified. For those not mentioned, they will fallback to
       the default log generation rule.
       
      repeated .google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule service_log_generation_rules = 4;
    • getServiceLogGenerationRulesCount

      int getServiceLogGenerationRulesCount()
       Controls logging configurations more granularly for each supported
       service.
      
       This overrides the
       [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       for the services specified. For those not mentioned, they will fallback to
       the default log generation rule.
       
      repeated .google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule service_log_generation_rules = 4;
    • getServiceLogGenerationRulesOrBuilderList

      List<? extends LoggingConfig.ServiceLogGenerationRuleOrBuilder> getServiceLogGenerationRulesOrBuilderList()
       Controls logging configurations more granularly for each supported
       service.
      
       This overrides the
       [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       for the services specified. For those not mentioned, they will fallback to
       the default log generation rule.
       
      repeated .google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule service_log_generation_rules = 4;
    • getServiceLogGenerationRulesOrBuilder

      LoggingConfig.ServiceLogGenerationRuleOrBuilder getServiceLogGenerationRulesOrBuilder(int index)
       Controls logging configurations more granularly for each supported
       service.
      
       This overrides the
       [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
       for the services specified. For those not mentioned, they will fallback to
       the default log generation rule.
       
      repeated .google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule service_log_generation_rules = 4;