Class LoggingConfig.Builder (1.55.0)

public static final class LoggingConfig.Builder extends GeneratedMessageV3.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder

The configuration for Platform Telemetry logging for Eventarc Advanced resources.

Protobuf type google.cloud.eventarc.v1.LoggingConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LoggingConfig.Builder
Overrides

clearLogSeverity()

public LoggingConfig.Builder clearLogSeverity()

Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.

.google.cloud.eventarc.v1.LoggingConfig.LogSeverity log_severity = 1 [(.google.api.field_behavior) = OPTIONAL];

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
Overrides

clone()

public LoggingConfig.Builder clone()
Returns
Type Description
LoggingConfig.Builder
Overrides

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
Type Description
LoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLogSeverity()

public LoggingConfig.LogSeverity getLogSeverity()

Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.

.google.cloud.eventarc.v1.LoggingConfig.LogSeverity log_severity = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LoggingConfig.LogSeverity

The logSeverity.

getLogSeverityValue()

public int getLogSeverityValue()

Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.

.google.cloud.eventarc.v1.LoggingConfig.LogSeverity log_severity = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for logSeverity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LoggingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LoggingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoggingConfig.Builder
Overrides

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
Overrides

setLogSeverity(LoggingConfig.LogSeverity value)

public LoggingConfig.Builder setLogSeverity(LoggingConfig.LogSeverity value)

Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.

.google.cloud.eventarc.v1.LoggingConfig.LogSeverity log_severity = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LoggingConfig.LogSeverity

The logSeverity to set.

Returns
Type Description
LoggingConfig.Builder

This builder for chaining.

setLogSeverityValue(int value)

public LoggingConfig.Builder setLogSeverityValue(int value)

Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.

.google.cloud.eventarc.v1.LoggingConfig.LogSeverity log_severity = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for logSeverity 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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoggingConfig.Builder
Overrides