Class DnsCacheConfig (2.30.0)

public final class DnsCacheConfig extends GeneratedMessageV3 implements DnsCacheConfigOrBuilder

Configuration for NodeLocal DNSCache

Protobuf type google.container.v1beta1.DnsCacheConfig

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DnsCacheConfig getDefaultInstance()
Returns
TypeDescription
DnsCacheConfig

getDescriptor()

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

newBuilder()

public static DnsCacheConfig.Builder newBuilder()
Returns
TypeDescription
DnsCacheConfig.Builder

newBuilder(DnsCacheConfig prototype)

public static DnsCacheConfig.Builder newBuilder(DnsCacheConfig prototype)
Parameter
NameDescription
prototypeDnsCacheConfig
Returns
TypeDescription
DnsCacheConfig.Builder

parseDelimitedFrom(InputStream input)

public static DnsCacheConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsCacheConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DnsCacheConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsCacheConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsCacheConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsCacheConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsCacheConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsCacheConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DnsCacheConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsCacheConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DnsCacheConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsCacheConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsCacheConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DnsCacheConfig> parser()
Returns
TypeDescription
Parser<DnsCacheConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DnsCacheConfig getDefaultInstanceForType()
Returns
TypeDescription
DnsCacheConfig

getEnabled()

public boolean getEnabled()

Whether NodeLocal DNSCache is enabled for this cluster.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<DnsCacheConfig> getParserForType()
Returns
TypeDescription
Parser<DnsCacheConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DnsCacheConfig.Builder newBuilderForType()
Returns
TypeDescription
DnsCacheConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsCacheConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DnsCacheConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DnsCacheConfig.Builder toBuilder()
Returns
TypeDescription
DnsCacheConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException