Class NodePoolLoggingConfig.Builder (2.50.0)

public static final class NodePoolLoggingConfig.Builder extends GeneratedMessageV3.Builder<NodePoolLoggingConfig.Builder> implements NodePoolLoggingConfigOrBuilder

NodePoolLoggingConfig specifies logging configuration for nodepools.

Protobuf type google.container.v1.NodePoolLoggingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePoolLoggingConfig build()
Returns
Type Description
NodePoolLoggingConfig

buildPartial()

public NodePoolLoggingConfig buildPartial()
Returns
Type Description
NodePoolLoggingConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVariantConfig()

public NodePoolLoggingConfig.Builder clearVariantConfig()

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Returns
Type Description
NodePoolLoggingConfig.Builder

clone()

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

getDefaultInstanceForType()

public NodePoolLoggingConfig getDefaultInstanceForType()
Returns
Type Description
NodePoolLoggingConfig

getDescriptorForType()

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

getVariantConfig()

public LoggingVariantConfig getVariantConfig()

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Returns
Type Description
LoggingVariantConfig

The variantConfig.

getVariantConfigBuilder()

public LoggingVariantConfig.Builder getVariantConfigBuilder()

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Returns
Type Description
LoggingVariantConfig.Builder

getVariantConfigOrBuilder()

public LoggingVariantConfigOrBuilder getVariantConfigOrBuilder()

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Returns
Type Description
LoggingVariantConfigOrBuilder

hasVariantConfig()

public boolean hasVariantConfig()

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Returns
Type Description
boolean

Whether the variantConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePoolLoggingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVariantConfig(LoggingVariantConfig value)

public NodePoolLoggingConfig.Builder mergeVariantConfig(LoggingVariantConfig value)

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Parameter
Name Description
value LoggingVariantConfig
Returns
Type Description
NodePoolLoggingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVariantConfig(LoggingVariantConfig value)

public NodePoolLoggingConfig.Builder setVariantConfig(LoggingVariantConfig value)

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Parameter
Name Description
value LoggingVariantConfig
Returns
Type Description
NodePoolLoggingConfig.Builder

setVariantConfig(LoggingVariantConfig.Builder builderForValue)

public NodePoolLoggingConfig.Builder setVariantConfig(LoggingVariantConfig.Builder builderForValue)

Logging variant configuration.

.google.container.v1.LoggingVariantConfig variant_config = 1;

Parameter
Name Description
builderForValue LoggingVariantConfig.Builder
Returns
Type Description
NodePoolLoggingConfig.Builder