Interface LoggingConfigOrBuilder (2.49.0)

public interface LoggingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultLogGenerationRule()

public abstract LoggingConfig.LogGenerationRule getDefaultLogGenerationRule()

The log generation rule that applies by default to all services supporting log generation. It can be overridden by ServiceLogGenerationRule for service level control.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule default_log_generation_rule = 2;

Returns
Type Description
LoggingConfig.LogGenerationRule

The defaultLogGenerationRule.

getDefaultLogGenerationRuleOrBuilder()

public abstract LoggingConfig.LogGenerationRuleOrBuilder getDefaultLogGenerationRuleOrBuilder()

The log generation rule that applies by default to all services supporting log generation. It can be overridden by ServiceLogGenerationRule for service level control.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule default_log_generation_rule = 2;

Returns
Type Description
LoggingConfig.LogGenerationRuleOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getServiceLogGenerationRules(int index)

public abstract LoggingConfig.ServiceLogGenerationRule getServiceLogGenerationRules(int index)

Controls logging configurations more granularly for each supported service.

This overrides the 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;

Parameter
Name Description
index int
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule

getServiceLogGenerationRulesCount()

public abstract int getServiceLogGenerationRulesCount()

Controls logging configurations more granularly for each supported service.

This overrides the 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;

Returns
Type Description
int

getServiceLogGenerationRulesList()

public abstract List<LoggingConfig.ServiceLogGenerationRule> getServiceLogGenerationRulesList()

Controls logging configurations more granularly for each supported service.

This overrides the 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;

Returns
Type Description
List<ServiceLogGenerationRule>

getServiceLogGenerationRulesOrBuilder(int index)

public abstract LoggingConfig.ServiceLogGenerationRuleOrBuilder getServiceLogGenerationRulesOrBuilder(int index)

Controls logging configurations more granularly for each supported service.

This overrides the 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;

Parameter
Name Description
index int
Returns
Type Description
LoggingConfig.ServiceLogGenerationRuleOrBuilder

getServiceLogGenerationRulesOrBuilderList()

public abstract List<? extends LoggingConfig.ServiceLogGenerationRuleOrBuilder> getServiceLogGenerationRulesOrBuilderList()

Controls logging configurations more granularly for each supported service.

This overrides the 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;

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRuleOrBuilder>

hasDefaultLogGenerationRule()

public abstract boolean hasDefaultLogGenerationRule()

The log generation rule that applies by default to all services supporting log generation. It can be overridden by ServiceLogGenerationRule for service level control.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule default_log_generation_rule = 2;

Returns
Type Description
boolean

Whether the defaultLogGenerationRule field is set.