Interface LoggingConfig.ServiceLogGenerationRuleOrBuilder (2.48.0)

public static interface LoggingConfig.ServiceLogGenerationRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLogGenerationRule()

public abstract LoggingConfig.LogGenerationRule getLogGenerationRule()

The log generation rule that applies to this service.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;

Returns
Type Description
LoggingConfig.LogGenerationRule

The logGenerationRule.

getLogGenerationRuleOrBuilder()

public abstract LoggingConfig.LogGenerationRuleOrBuilder getLogGenerationRuleOrBuilder()

The log generation rule that applies to this service.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;

Returns
Type Description
LoggingConfig.LogGenerationRuleOrBuilder

getServiceName()

public abstract String getServiceName()

Required. Supported service names: "CatalogService", "CompletionService", "ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService", "ProductService", "ServingConfigService", "UserEventService",

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public abstract ByteString getServiceNameBytes()

Required. Supported service names: "CatalogService", "CompletionService", "ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService", "ProductService", "ServingConfigService", "UserEventService",

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceName.

hasLogGenerationRule()

public abstract boolean hasLogGenerationRule()

The log generation rule that applies to this service.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;

Returns
Type Description
boolean

Whether the logGenerationRule field is set.