Class LogConfig (0.22.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogConfig getDefaultInstance()
Returns
TypeDescription
LogConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LogConfig.Builder newBuilder()
Returns
TypeDescription
LogConfig.Builder

newBuilder(LogConfig prototype)

public static LogConfig.Builder newBuilder(LogConfig prototype)
Parameter
NameDescription
prototypeLogConfig
Returns
TypeDescription
LogConfig.Builder

parseDelimitedFrom(InputStream input)

public static LogConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LogConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LogConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LogConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LogConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LogConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LogConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LogConfig> parser()
Returns
TypeDescription
Parser<LogConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LogConfig getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<LogConfig> getParserForType()
Returns
TypeDescription
Parser<LogConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LogConfig.Builder newBuilderForType()
Returns
TypeDescription
LogConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LogConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LogConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LogConfig.Builder toBuilder()
Returns
TypeDescription
LogConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException