Class LoggingConfig.Builder (2.86.0)

public static final class LoggingConfig.Builder extends GeneratedMessage.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder

LoggingConfig is cluster logging configuration.

Protobuf type google.container.v1beta1.LoggingConfig

Static Methods

getDescriptor()

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

Methods

build()

public LoggingConfig build()
Returns
Type Description
LoggingConfig

buildPartial()

public LoggingConfig buildPartial()
Returns
Type Description
LoggingConfig

clear()

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

clearComponentConfig()

public LoggingConfig.Builder clearComponentConfig()

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingConfig.Builder

getComponentConfig()

public LoggingComponentConfig getComponentConfig()

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingComponentConfig

The componentConfig.

getComponentConfigBuilder()

public LoggingComponentConfig.Builder getComponentConfigBuilder()

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingComponentConfig.Builder

getComponentConfigOrBuilder()

public LoggingComponentConfigOrBuilder getComponentConfigOrBuilder()

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingComponentConfigOrBuilder

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
Type Description
LoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasComponentConfig()

public boolean hasComponentConfig()

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Returns
Type Description
boolean

Whether the componentConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeComponentConfig(LoggingComponentConfig value)

public LoggingConfig.Builder mergeComponentConfig(LoggingComponentConfig value)

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Parameter
Name Description
value LoggingComponentConfig
Returns
Type Description
LoggingConfig.Builder

mergeFrom(LoggingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setComponentConfig(LoggingComponentConfig value)

public LoggingConfig.Builder setComponentConfig(LoggingComponentConfig value)

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Parameter
Name Description
value LoggingComponentConfig
Returns
Type Description
LoggingConfig.Builder

setComponentConfig(LoggingComponentConfig.Builder builderForValue)

public LoggingConfig.Builder setComponentConfig(LoggingComponentConfig.Builder builderForValue)

Logging components configuration

.google.container.v1beta1.LoggingComponentConfig component_config = 1;

Parameter
Name Description
builderForValue LoggingComponentConfig.Builder
Returns
Type Description
LoggingConfig.Builder