Class LoggingConfig.Builder (0.48.0)

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

Parameters that describe the Logging configuration in a cluster.

Protobuf type google.cloud.gkemulticloud.v1.LoggingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getComponentConfig()

public LoggingComponentConfig getComponentConfig()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingComponentConfig

The componentConfig.

getComponentConfigBuilder()

public LoggingComponentConfig.Builder getComponentConfigBuilder()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
Type Description
LoggingComponentConfig.Builder

getComponentConfigOrBuilder()

public LoggingComponentConfigOrBuilder getComponentConfigOrBuilder()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.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()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
Type Description
boolean

Whether the componentConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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)

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setComponentConfig(LoggingComponentConfig value)

public LoggingConfig.Builder setComponentConfig(LoggingComponentConfig value)

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.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)

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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