Class DnsCacheConfig.Builder (2.86.0)

public static final class DnsCacheConfig.Builder extends GeneratedMessage.Builder<DnsCacheConfig.Builder> implements DnsCacheConfigOrBuilder

Configuration for NodeLocal DNSCache

Protobuf type google.container.v1beta1.DnsCacheConfig

Static Methods

getDescriptor()

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

Methods

build()

public DnsCacheConfig build()
Returns
Type Description
DnsCacheConfig

buildPartial()

public DnsCacheConfig buildPartial()
Returns
Type Description
DnsCacheConfig

clear()

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

clearEnabled()

public DnsCacheConfig.Builder clearEnabled()

Whether NodeLocal DNSCache is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
DnsCacheConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public DnsCacheConfig getDefaultInstanceForType()
Returns
Type Description
DnsCacheConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether NodeLocal DNSCache is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DnsCacheConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public DnsCacheConfig.Builder setEnabled(boolean value)

Whether NodeLocal DNSCache is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
DnsCacheConfig.Builder

This builder for chaining.