Class LogConfig.Builder (0.85.0)

public static final class LogConfig.Builder extends GeneratedMessage.Builder<LogConfig.Builder> implements LogConfigOrBuilder

Configuration of platform logs. See Using and managing platform logs for more information about how to view platform logs through Cloud Logging.

Protobuf type google.cloud.video.livestream.v1.LogConfig

Implements

LogConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public LogConfig build()
Returns
Type Description
LogConfig

buildPartial()

public LogConfig buildPartial()
Returns
Type Description
LogConfig

clear()

public LogConfig.Builder clear()
Returns
Type Description
LogConfig.Builder
Overrides

clearLogSeverity()

public LogConfig.Builder clearLogSeverity()

The severity level of platform logging for this resource.

.google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1;

Returns
Type Description
LogConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public LogConfig getDefaultInstanceForType()
Returns
Type Description
LogConfig

getDescriptorForType()

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

getLogSeverity()

public LogConfig.LogSeverity getLogSeverity()

The severity level of platform logging for this resource.

.google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1;

Returns
Type Description
LogConfig.LogSeverity

The logSeverity.

getLogSeverityValue()

public int getLogSeverityValue()

The severity level of platform logging for this resource.

.google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1;

Returns
Type Description
int

The enum numeric value on the wire for logSeverity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogConfig other)

public LogConfig.Builder mergeFrom(LogConfig other)
Parameter
Name Description
other LogConfig
Returns
Type Description
LogConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setLogSeverity(LogConfig.LogSeverity value)

public LogConfig.Builder setLogSeverity(LogConfig.LogSeverity value)

The severity level of platform logging for this resource.

.google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1;

Parameter
Name Description
value LogConfig.LogSeverity

The logSeverity to set.

Returns
Type Description
LogConfig.Builder

This builder for chaining.

setLogSeverityValue(int value)

public LogConfig.Builder setLogSeverityValue(int value)

The severity level of platform logging for this resource.

.google.cloud.video.livestream.v1.LogConfig.LogSeverity log_severity = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for logSeverity to set.

Returns
Type Description
LogConfig.Builder

This builder for chaining.