Class NodePoolLoggingConfig.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePoolLoggingConfig build()
Returns
TypeDescription
NodePoolLoggingConfig

buildPartial()

public NodePoolLoggingConfig buildPartial()
Returns
TypeDescription
NodePoolLoggingConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVariantConfig()

public NodePoolLoggingConfig.Builder clearVariantConfig()

Logging variant configuration.

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

Returns
TypeDescription
NodePoolLoggingConfig.Builder

clone()

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

getDefaultInstanceForType()

public NodePoolLoggingConfig getDefaultInstanceForType()
Returns
TypeDescription
NodePoolLoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVariantConfig()

public LoggingVariantConfig getVariantConfig()

Logging variant configuration.

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

Returns
TypeDescription
LoggingVariantConfig

The variantConfig.

getVariantConfigBuilder()

public LoggingVariantConfig.Builder getVariantConfigBuilder()

Logging variant configuration.

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

Returns
TypeDescription
LoggingVariantConfig.Builder

getVariantConfigOrBuilder()

public LoggingVariantConfigOrBuilder getVariantConfigOrBuilder()

Logging variant configuration.

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

Returns
TypeDescription
LoggingVariantConfigOrBuilder

hasVariantConfig()

public boolean hasVariantConfig()

Logging variant configuration.

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

Returns
TypeDescription
boolean

Whether the variantConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodePoolLoggingConfig other)

public NodePoolLoggingConfig.Builder mergeFrom(NodePoolLoggingConfig other)
Parameter
NameDescription
otherNodePoolLoggingConfig
Returns
TypeDescription
NodePoolLoggingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVariantConfig(LoggingVariantConfig value)

public NodePoolLoggingConfig.Builder mergeVariantConfig(LoggingVariantConfig value)

Logging variant configuration.

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

Parameter
NameDescription
valueLoggingVariantConfig
Returns
TypeDescription
NodePoolLoggingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVariantConfig(LoggingVariantConfig value)

public NodePoolLoggingConfig.Builder setVariantConfig(LoggingVariantConfig value)

Logging variant configuration.

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

Parameter
NameDescription
valueLoggingVariantConfig
Returns
TypeDescription
NodePoolLoggingConfig.Builder

setVariantConfig(LoggingVariantConfig.Builder builderForValue)

public NodePoolLoggingConfig.Builder setVariantConfig(LoggingVariantConfig.Builder builderForValue)

Logging variant configuration.

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

Parameter
NameDescription
builderForValueLoggingVariantConfig.Builder
Returns
TypeDescription
NodePoolLoggingConfig.Builder