Interface LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder (2.81.0)

public static interface LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSwapSizeCase()

public abstract LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.SwapSizeCase getSwapSizeCase()
Returns
Type Description
LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.SwapSizeCase

getSwapSizeGib()

public abstract long getSwapSizeGib()

Specifies the size of the swap space in gibibytes (GiB).

int64 swap_size_gib = 1;

Returns
Type Description
long

The swapSizeGib.

getSwapSizePercent()

public abstract int getSwapSizePercent()

Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.

int32 swap_size_percent = 2;

Returns
Type Description
int

The swapSizePercent.

hasSwapSizeGib()

public abstract boolean hasSwapSizeGib()

Specifies the size of the swap space in gibibytes (GiB).

int64 swap_size_gib = 1;

Returns
Type Description
boolean

Whether the swapSizeGib field is set.

hasSwapSizePercent()

public abstract boolean hasSwapSizePercent()

Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.

int32 swap_size_percent = 2;

Returns
Type Description
boolean

Whether the swapSizePercent field is set.