Class LogConfig (0.49.0)

public final class LogConfig extends GeneratedMessageV3 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 Fields

LOG_SEVERITY_FIELD_NUMBER

public static final int LOG_SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LogConfig getDefaultInstance()
Returns
Type Description
LogConfig

getDescriptor()

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

newBuilder()

public static LogConfig.Builder newBuilder()
Returns
Type Description
LogConfig.Builder

newBuilder(LogConfig prototype)

public static LogConfig.Builder newBuilder(LogConfig prototype)
Parameter
Name Description
prototype LogConfig
Returns
Type Description
LogConfig.Builder

parseDelimitedFrom(InputStream input)

public static LogConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LogConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LogConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LogConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LogConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LogConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LogConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LogConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LogConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LogConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LogConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LogConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LogConfig> parser()
Returns
Type Description
Parser<LogConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LogConfig getDefaultInstanceForType()
Returns
Type Description
LogConfig

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.

getParserForType()

public Parser<LogConfig> getParserForType()
Returns
Type Description
Parser<LogConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LogConfig.Builder newBuilderForType()
Returns
Type Description
LogConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LogConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LogConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LogConfig.Builder toBuilder()
Returns
Type Description
LogConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException