Package com.google.cloud.retail.v2alpha
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 Summary
Modifier and TypeMethodDescriptionThe log generation rule that applies by default to all services supporting log generation.The log generation rule that applies by default to all services supporting log generation.getName()Required.com.google.protobuf.ByteStringRequired.getServiceLogGenerationRules(int index) Controls logging configurations more granularly for each supported service.intControls logging configurations more granularly for each supported service.Controls logging configurations more granularly for each supported service.getServiceLogGenerationRulesOrBuilder(int index) Controls logging configurations more granularly for each supported service.Controls logging configurations more granularly for each supported service.booleanThe log generation rule that applies by default to all services supporting log generation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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;
-