Class LogConfig.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogConfig.Builder
Overrides

build()

public LogConfig build()
Returns
TypeDescription
LogConfig

buildPartial()

public LogConfig buildPartial()
Returns
TypeDescription
LogConfig

clear()

public LogConfig.Builder clear()
Returns
TypeDescription
LogConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LogConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LogConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LogConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LogConfig.Builder
Overrides

clone()

public LogConfig.Builder clone()
Returns
TypeDescription
LogConfig.Builder
Overrides

getDefaultInstanceForType()

public LogConfig getDefaultInstanceForType()
Returns
TypeDescription
LogConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for logSeverity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LogConfig other)

public LogConfig.Builder mergeFrom(LogConfig other)
Parameter
NameDescription
otherLogConfig
Returns
TypeDescription
LogConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LogConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LogConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LogConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueLogConfig.LogSeverity

The logSeverity to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LogConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogConfig.Builder
Overrides