public static final class LoggingConfig.ServiceLogGenerationRule.Builder extends GeneratedMessage.Builder<LoggingConfig.ServiceLogGenerationRule.Builder> implements LoggingConfig.ServiceLogGenerationRuleOrBuilderThe granular logging configurations for supported services.
Protobuf type google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LoggingConfig.ServiceLogGenerationRule.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LoggingConfig.ServiceLogGenerationRule build()| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule |
|
buildPartial()
public LoggingConfig.ServiceLogGenerationRule buildPartial()| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule |
|
clear()
public LoggingConfig.ServiceLogGenerationRule.Builder clear()| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
clearLogGenerationRule()
public LoggingConfig.ServiceLogGenerationRule.Builder clearLogGenerationRule()The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
clearServiceName()
public LoggingConfig.ServiceLogGenerationRule.Builder clearServiceName()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 |
LoggingConfig.ServiceLogGenerationRule.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LoggingConfig.ServiceLogGenerationRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLogGenerationRule()
public 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. |
getLogGenerationRuleBuilder()
public LoggingConfig.LogGenerationRule.Builder getLogGenerationRuleBuilder()The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.LogGenerationRule.Builder |
|
getLogGenerationRuleOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LoggingConfig.ServiceLogGenerationRule other)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeFrom(LoggingConfig.ServiceLogGenerationRule other)| Parameter | |
|---|---|
| Name | Description |
other |
LoggingConfig.ServiceLogGenerationRule |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
mergeLogGenerationRule(LoggingConfig.LogGenerationRule value)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeLogGenerationRule(LoggingConfig.LogGenerationRule value)The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
LoggingConfig.LogGenerationRule |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
setLogGenerationRule(LoggingConfig.LogGenerationRule value)
public LoggingConfig.ServiceLogGenerationRule.Builder setLogGenerationRule(LoggingConfig.LogGenerationRule value)The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
LoggingConfig.LogGenerationRule |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
setLogGenerationRule(LoggingConfig.LogGenerationRule.Builder builderForValue)
public LoggingConfig.ServiceLogGenerationRule.Builder setLogGenerationRule(LoggingConfig.LogGenerationRule.Builder builderForValue)The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LoggingConfig.LogGenerationRule.Builder |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
|
setServiceName(String value)
public LoggingConfig.ServiceLogGenerationRule.Builder setServiceName(String value)Required. Supported service names: "CatalogService", "CompletionService", "ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService", "ProductService", "ServingConfigService", "UserEventService",
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
This builder for chaining. |
setServiceNameBytes(ByteString value)
public LoggingConfig.ServiceLogGenerationRule.Builder setServiceNameBytes(ByteString value)Required. Supported service names: "CatalogService", "CompletionService", "ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService", "ProductService", "ServingConfigService", "UserEventService",
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.ServiceLogGenerationRule.Builder |
This builder for chaining. |