Class PlatformLogsSettings (1.134.2)

public final class PlatformLogsSettings extends GeneratedMessageV3 implements PlatformLogsSettingsOrBuilder

Settings for Platform Logs produced by Pub/Sub.

Protobuf type google.pubsub.v1.PlatformLogsSettings

Static Fields

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PlatformLogsSettings getDefaultInstance()
Returns
Type Description
PlatformLogsSettings

getDescriptor()

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

newBuilder()

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

newBuilder(PlatformLogsSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PlatformLogsSettings getDefaultInstanceForType()
Returns
Type Description
PlatformLogsSettings

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public PlatformLogsSettings.Severity getSeverity()

Optional. The minimum severity level of Platform Logs that will be written.

.google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlatformLogsSettings.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Optional. The minimum severity level of Platform Logs that will be written.

.google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for severity.

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 PlatformLogsSettings.Builder newBuilderForType()
Returns
Type Description
PlatformLogsSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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