Package com.google.container.v1
Interface LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile,LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.Builder
- Enclosing class:
- LinuxNodeConfig.SwapConfig
public static interface LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongSpecifies the size of the swap space in gibibytes (GiB).intSpecifies the size of the swap space as a percentage of the ephemeral local SSD capacity.booleanSpecifies the size of the swap space in gibibytes (GiB).booleanSpecifies the size of the swap space as a percentage of the ephemeral local SSD capacity.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
-
hasSwapSizeGib
boolean hasSwapSizeGib()Specifies the size of the swap space in gibibytes (GiB).
int64 swap_size_gib = 1;- Returns:
- Whether the swapSizeGib field is set.
-
getSwapSizeGib
long getSwapSizeGib()Specifies the size of the swap space in gibibytes (GiB).
int64 swap_size_gib = 1;- Returns:
- The swapSizeGib.
-
hasSwapSizePercent
boolean hasSwapSizePercent()Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.
int32 swap_size_percent = 2;- Returns:
- Whether the swapSizePercent field is set.
-
getSwapSizePercent
int getSwapSizePercent()Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.
int32 swap_size_percent = 2;- Returns:
- The swapSizePercent.
-
getSwapSizeCase
LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.SwapSizeCase getSwapSizeCase()
-