- 2.54.0 (latest)
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class LoggingConfig.Builder extends GeneratedMessageV3.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder
Project level logging config to control what level of log will be generated and written to Cloud Logging.
Protobuf type google.cloud.retail.v2alpha.LoggingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LoggingConfig.BuilderImplements
LoggingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllServiceLogGenerationRules(Iterable<? extends LoggingConfig.ServiceLogGenerationRule> values)
public LoggingConfig.Builder addAllServiceLogGenerationRules(Iterable<? extends LoggingConfig.ServiceLogGenerationRule> values)
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 |
values |
Iterable<? extends com.google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule> |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
addServiceLogGenerationRules(LoggingConfig.ServiceLogGenerationRule value)
public LoggingConfig.Builder addServiceLogGenerationRules(LoggingConfig.ServiceLogGenerationRule value)
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 |
value |
LoggingConfig.ServiceLogGenerationRule |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
addServiceLogGenerationRules(LoggingConfig.ServiceLogGenerationRule.Builder builderForValue)
public LoggingConfig.Builder addServiceLogGenerationRules(LoggingConfig.ServiceLogGenerationRule.Builder builderForValue)
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 |
builderForValue |
LoggingConfig.ServiceLogGenerationRule.Builder |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
addServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule value)
public LoggingConfig.Builder addServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
LoggingConfig.ServiceLogGenerationRule |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
addServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule.Builder builderForValue)
public LoggingConfig.Builder addServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LoggingConfig.ServiceLogGenerationRule.Builder |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
addServiceLogGenerationRulesBuilder()
public LoggingConfig.ServiceLogGenerationRule.Builder addServiceLogGenerationRulesBuilder()
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 |
LoggingConfig.ServiceLogGenerationRule.Builder |
addServiceLogGenerationRulesBuilder(int index)
public LoggingConfig.ServiceLogGenerationRule.Builder addServiceLogGenerationRulesBuilder(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.Builder |
build()
public LoggingConfig build()
Returns | |
---|---|
Type | Description |
LoggingConfig |
buildPartial()
public LoggingConfig buildPartial()
Returns | |
---|---|
Type | Description |
LoggingConfig |
clear()
public LoggingConfig.Builder clear()
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
clearDefaultLogGenerationRule()
public LoggingConfig.Builder clearDefaultLogGenerationRule()
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.Builder |
clearField(Descriptors.FieldDescriptor field)
public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
clearName()
public LoggingConfig.Builder clearName()
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 |
LoggingConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
clearServiceLogGenerationRules()
public LoggingConfig.Builder clearServiceLogGenerationRules()
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 |
LoggingConfig.Builder |
clone()
public LoggingConfig.Builder clone()
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LoggingConfig |
getDefaultLogGenerationRule()
public 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. |
getDefaultLogGenerationRuleBuilder()
public LoggingConfig.LogGenerationRule.Builder getDefaultLogGenerationRuleBuilder()
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.Builder |
getDefaultLogGenerationRuleOrBuilder()
public 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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public 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 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 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 |
getServiceLogGenerationRulesBuilder(int index)
public LoggingConfig.ServiceLogGenerationRule.Builder getServiceLogGenerationRulesBuilder(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.Builder |
getServiceLogGenerationRulesBuilderList()
public List<LoggingConfig.ServiceLogGenerationRule.Builder> getServiceLogGenerationRulesBuilderList()
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<Builder> |
getServiceLogGenerationRulesCount()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDefaultLogGenerationRule(LoggingConfig.LogGenerationRule value)
public LoggingConfig.Builder mergeDefaultLogGenerationRule(LoggingConfig.LogGenerationRule value)
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;
Parameter | |
---|---|
Name | Description |
value |
LoggingConfig.LogGenerationRule |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
mergeFrom(LoggingConfig other)
public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter | |
---|---|
Name | Description |
other |
LoggingConfig |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LoggingConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
removeServiceLogGenerationRules(int index)
public LoggingConfig.Builder removeServiceLogGenerationRules(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.Builder |
setDefaultLogGenerationRule(LoggingConfig.LogGenerationRule value)
public LoggingConfig.Builder setDefaultLogGenerationRule(LoggingConfig.LogGenerationRule value)
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;
Parameter | |
---|---|
Name | Description |
value |
LoggingConfig.LogGenerationRule |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
setDefaultLogGenerationRule(LoggingConfig.LogGenerationRule.Builder builderForValue)
public LoggingConfig.Builder setDefaultLogGenerationRule(LoggingConfig.LogGenerationRule.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
LoggingConfig.LogGenerationRule.Builder |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
setName(String value)
public LoggingConfig.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public LoggingConfig.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
setServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule value)
public LoggingConfig.Builder setServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
LoggingConfig.ServiceLogGenerationRule |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
setServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule.Builder builderForValue)
public LoggingConfig.Builder setServiceLogGenerationRules(int index, LoggingConfig.ServiceLogGenerationRule.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LoggingConfig.ServiceLogGenerationRule.Builder |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LoggingConfig.Builder |