Class LoggingConfig.Builder (2.3.6)

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

LoggingConfig is cluster logging configuration.

Protobuf type google.container.v1.LoggingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LoggingConfig.Builder
Overrides

build()

public LoggingConfig build()
Returns
TypeDescription
LoggingConfig

buildPartial()

public LoggingConfig buildPartial()
Returns
TypeDescription
LoggingConfig

clear()

public LoggingConfig.Builder clear()
Returns
TypeDescription
LoggingConfig.Builder
Overrides

clearComponentConfig()

public LoggingConfig.Builder clearComponentConfig()

Logging components configuration

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

Returns
TypeDescription
LoggingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LoggingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LoggingConfig.Builder
Overrides

clone()

public LoggingConfig.Builder clone()
Returns
TypeDescription
LoggingConfig.Builder
Overrides

getComponentConfig()

public LoggingComponentConfig getComponentConfig()

Logging components configuration

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

Returns
TypeDescription
LoggingComponentConfig

The componentConfig.

getComponentConfigBuilder()

public LoggingComponentConfig.Builder getComponentConfigBuilder()

Logging components configuration

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

Returns
TypeDescription
LoggingComponentConfig.Builder

getComponentConfigOrBuilder()

public LoggingComponentConfigOrBuilder getComponentConfigOrBuilder()

Logging components configuration

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

Returns
TypeDescription
LoggingComponentConfigOrBuilder

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasComponentConfig()

public boolean hasComponentConfig()

Logging components configuration

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

Returns
TypeDescription
boolean

Whether the componentConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeComponentConfig(LoggingComponentConfig value)

public LoggingConfig.Builder mergeComponentConfig(LoggingComponentConfig value)

Logging components configuration

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

Parameter
NameDescription
valueLoggingComponentConfig
Returns
TypeDescription
LoggingConfig.Builder

mergeFrom(LoggingConfig other)

public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter
NameDescription
otherLoggingConfig
Returns
TypeDescription
LoggingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LoggingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LoggingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LoggingConfig.Builder
Overrides

setComponentConfig(LoggingComponentConfig value)

public LoggingConfig.Builder setComponentConfig(LoggingComponentConfig value)

Logging components configuration

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

Parameter
NameDescription
valueLoggingComponentConfig
Returns
TypeDescription
LoggingConfig.Builder

setComponentConfig(LoggingComponentConfig.Builder builderForValue)

public LoggingConfig.Builder setComponentConfig(LoggingComponentConfig.Builder builderForValue)

Logging components configuration

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

Parameter
NameDescription
builderForValueLoggingComponentConfig.Builder
Returns
TypeDescription
LoggingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LoggingConfig.Builder
Overrides

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

public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LoggingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LoggingConfig.Builder
Overrides