- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class BackendServiceLogConfig.Builder extends GeneratedMessageV3.Builder<BackendServiceLogConfig.Builder> implements BackendServiceLogConfigOrBuilder
The available logging options for the load balancer traffic served by this backend service.
Protobuf type google.cloud.compute.v1.BackendServiceLogConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackendServiceLogConfig.BuilderImplements
BackendServiceLogConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceLogConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BackendServiceLogConfig.Builder |
build()
public BackendServiceLogConfig build()
Type | Description |
BackendServiceLogConfig |
buildPartial()
public BackendServiceLogConfig buildPartial()
Type | Description |
BackendServiceLogConfig |
clear()
public BackendServiceLogConfig.Builder clear()
Type | Description |
BackendServiceLogConfig.Builder |
clearEnable()
public BackendServiceLogConfig.Builder clearEnable()
This field denotes whether to enable logging for the load balancer traffic served by this backend service.
optional bool enable = 311764355;
Type | Description |
BackendServiceLogConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BackendServiceLogConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BackendServiceLogConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceLogConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BackendServiceLogConfig.Builder |
clearSampleRate()
public BackendServiceLogConfig.Builder clearSampleRate()
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
optional float sample_rate = 153193045;
Type | Description |
BackendServiceLogConfig.Builder | This builder for chaining. |
clone()
public BackendServiceLogConfig.Builder clone()
Type | Description |
BackendServiceLogConfig.Builder |
getDefaultInstanceForType()
public BackendServiceLogConfig getDefaultInstanceForType()
Type | Description |
BackendServiceLogConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnable()
public boolean getEnable()
This field denotes whether to enable logging for the load balancer traffic served by this backend service.
optional bool enable = 311764355;
Type | Description |
boolean | The enable. |
getSampleRate()
public float getSampleRate()
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
optional float sample_rate = 153193045;
Type | Description |
float | The sampleRate. |
hasEnable()
public boolean hasEnable()
This field denotes whether to enable logging for the load balancer traffic served by this backend service.
optional bool enable = 311764355;
Type | Description |
boolean | Whether the enable field is set. |
hasSampleRate()
public boolean hasSampleRate()
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
optional float sample_rate = 153193045;
Type | Description |
boolean | Whether the sampleRate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BackendServiceLogConfig other)
public BackendServiceLogConfig.Builder mergeFrom(BackendServiceLogConfig other)
Name | Description |
other | BackendServiceLogConfig |
Type | Description |
BackendServiceLogConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackendServiceLogConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendServiceLogConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BackendServiceLogConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BackendServiceLogConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceLogConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BackendServiceLogConfig.Builder |
setEnable(boolean value)
public BackendServiceLogConfig.Builder setEnable(boolean value)
This field denotes whether to enable logging for the load balancer traffic served by this backend service.
optional bool enable = 311764355;
Name | Description |
value | boolean The enable to set. |
Type | Description |
BackendServiceLogConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceLogConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BackendServiceLogConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceLogConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BackendServiceLogConfig.Builder |
setSampleRate(float value)
public BackendServiceLogConfig.Builder setSampleRate(float value)
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
optional float sample_rate = 153193045;
Name | Description |
value | float The sampleRate to set. |
Type | Description |
BackendServiceLogConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceLogConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BackendServiceLogConfig.Builder |