public static final class LoggingConfig.ServiceLogGenerationRule.Builder extends GeneratedMessageV3.Builder<LoggingConfig.ServiceLogGenerationRule.Builder> implements LoggingConfig.ServiceLogGenerationRuleOrBuilder
The granular logging configurations for supported services.
Protobuf type google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.ServiceLogGenerationRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LoggingConfig.ServiceLogGenerationRule build()
buildPartial()
public LoggingConfig.ServiceLogGenerationRule buildPartial()
clear()
public LoggingConfig.ServiceLogGenerationRule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LoggingConfig.ServiceLogGenerationRule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingConfig.ServiceLogGenerationRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public LoggingConfig.ServiceLogGenerationRule.Builder clone()
Overrides
getDefaultInstanceForType()
public LoggingConfig.ServiceLogGenerationRule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLogGenerationRule()
public LoggingConfig.LogGenerationRule getLogGenerationRule()
The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
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;
getLogGenerationRuleOrBuilder()
public LoggingConfig.LogGenerationRuleOrBuilder getLogGenerationRuleOrBuilder()
The log generation rule that applies to this service.
.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LoggingConfig.ServiceLogGenerationRule other)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeFrom(LoggingConfig.ServiceLogGenerationRule other)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LoggingConfig.ServiceLogGenerationRule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.ServiceLogGenerationRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.ServiceLogGenerationRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingConfig.ServiceLogGenerationRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
String
The serviceName to set.
|
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 |
ByteString
The bytes for serviceName to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.ServiceLogGenerationRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides