Class PlatformLogsSettings.Builder (1.133.1)

public static final class PlatformLogsSettings.Builder extends GeneratedMessageV3.Builder<PlatformLogsSettings.Builder> implements PlatformLogsSettingsOrBuilder

Settings for Platform Logs produced by Pub/Sub.

Protobuf type google.pubsub.v1.PlatformLogsSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlatformLogsSettings build()
Returns
Type Description
PlatformLogsSettings

buildPartial()

public PlatformLogsSettings buildPartial()
Returns
Type Description
PlatformLogsSettings

clear()

public PlatformLogsSettings.Builder clear()
Returns
Type Description
PlatformLogsSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PlatformLogsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PlatformLogsSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeverity()

public PlatformLogsSettings.Builder clearSeverity()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PlatformLogsSettings getDefaultInstanceForType()
Returns
Type Description
PlatformLogsSettings

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PlatformLogsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlatformLogsSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PlatformLogsSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PlatformLogsSettings.Builder
Overrides

mergeFrom(PlatformLogsSettings other)

public PlatformLogsSettings.Builder mergeFrom(PlatformLogsSettings other)
Parameter
Name Description
other PlatformLogsSettings
Returns
Type Description
PlatformLogsSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSeverity(PlatformLogsSettings.Severity value)

public PlatformLogsSettings.Builder setSeverity(PlatformLogsSettings.Severity value)

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

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

Parameter
Name Description
value PlatformLogsSettings.Severity

The severity to set.

Returns
Type Description
PlatformLogsSettings.Builder

This builder for chaining.

setSeverityValue(int value)

public PlatformLogsSettings.Builder setSeverityValue(int value)

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

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

Parameter
Name Description
value int

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

Returns
Type Description
PlatformLogsSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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