Package com.google.container.v1
Interface LinuxNodeConfig.SwapConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LinuxNodeConfig.SwapConfig,LinuxNodeConfig.SwapConfig.Builder
- Enclosing class:
- LinuxNodeConfig
public static interface LinuxNodeConfig.SwapConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSwap on the node's boot disk.Swap on the node's boot disk.Provisions a new, separate local NVMe SSD exclusively for swap.Provisions a new, separate local NVMe SSD exclusively for swap.booleanOptional.Optional.Optional.Swap on the local SSD shared with pod ephemeral storage.Swap on the local SSD shared with pod ephemeral storage.booleanSwap on the node's boot disk.booleanProvisions a new, separate local NVMe SSD exclusively for swap.booleanOptional.booleanOptional.booleanSwap on the local SSD shared with pod ephemeral storage.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEnabled
boolean hasEnabled()Optional. Enables or disables swap for the node pool.
optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the enabled field is set.
-
getEnabled
boolean getEnabled()Optional. Enables or disables swap for the node pool.
optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enabled.
-
hasEncryptionConfig
boolean hasEncryptionConfig()Optional. If omitted, swap space is encrypted by default.
optional .google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
LinuxNodeConfig.SwapConfig.EncryptionConfig getEncryptionConfig()Optional. If omitted, swap space is encrypted by default.
optional .google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()Optional. If omitted, swap space is encrypted by default.
optional .google.container.v1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasBootDiskProfile
boolean hasBootDiskProfile()Swap on the node's boot disk.
.google.container.v1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3;- Returns:
- Whether the bootDiskProfile field is set.
-
getBootDiskProfile
LinuxNodeConfig.SwapConfig.BootDiskProfile getBootDiskProfile()Swap on the node's boot disk.
.google.container.v1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3;- Returns:
- The bootDiskProfile.
-
getBootDiskProfileOrBuilder
LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder getBootDiskProfileOrBuilder()Swap on the node's boot disk.
.google.container.v1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; -
hasEphemeralLocalSsdProfile
boolean hasEphemeralLocalSsdProfile()Swap on the local SSD shared with pod ephemeral storage.
.google.container.v1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4;- Returns:
- Whether the ephemeralLocalSsdProfile field is set.
-
getEphemeralLocalSsdProfile
LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile getEphemeralLocalSsdProfile()Swap on the local SSD shared with pod ephemeral storage.
.google.container.v1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4;- Returns:
- The ephemeralLocalSsdProfile.
-
getEphemeralLocalSsdProfileOrBuilder
LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder getEphemeralLocalSsdProfileOrBuilder()Swap on the local SSD shared with pod ephemeral storage.
.google.container.v1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; -
hasDedicatedLocalSsdProfile
boolean hasDedicatedLocalSsdProfile()Provisions a new, separate local NVMe SSD exclusively for swap.
.google.container.v1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5;- Returns:
- Whether the dedicatedLocalSsdProfile field is set.
-
getDedicatedLocalSsdProfile
LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile getDedicatedLocalSsdProfile()Provisions a new, separate local NVMe SSD exclusively for swap.
.google.container.v1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5;- Returns:
- The dedicatedLocalSsdProfile.
-
getDedicatedLocalSsdProfileOrBuilder
LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfileOrBuilder getDedicatedLocalSsdProfileOrBuilder()Provisions a new, separate local NVMe SSD exclusively for swap.
.google.container.v1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; -
getPerformanceProfileCase
LinuxNodeConfig.SwapConfig.PerformanceProfileCase getPerformanceProfileCase()
-