Class LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder (2.86.0)

public static final class LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder extends GeneratedMessage.Builder<LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder> implements LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder

Defines encryption settings for the swap space.

Protobuf type google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig

Static Methods

getDescriptor()

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

Methods

build()

public LinuxNodeConfig.SwapConfig.EncryptionConfig build()
Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig

buildPartial()

public LinuxNodeConfig.SwapConfig.EncryptionConfig buildPartial()
Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig

clear()

public LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder clear()
Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder
Overrides

clearDisabled()

public LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder clearDisabled()

Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).

optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public LinuxNodeConfig.SwapConfig.EncryptionConfig getDefaultInstanceForType()
Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig

getDescriptorForType()

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

getDisabled()

public boolean getDisabled()

Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).

optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disabled.

hasDisabled()

public boolean hasDisabled()

Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).

optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the disabled field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LinuxNodeConfig.SwapConfig.EncryptionConfig other)

public LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder mergeFrom(LinuxNodeConfig.SwapConfig.EncryptionConfig other)
Parameter
Name Description
other LinuxNodeConfig.SwapConfig.EncryptionConfig
Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder
Overrides

setDisabled(boolean value)

public LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder setDisabled(boolean value)

Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).

optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder

This builder for chaining.