Class LogConfig.Builder (0.51.0)

public static final class LogConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public LogConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public LogConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LogConfig.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public LogConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LogConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LogConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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