Interface LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LinuxNodeConfig.SwapConfig.BootDiskProfile, LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder
Enclosing class:
LinuxNodeConfig.SwapConfig

public static interface LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Specifies the size of the swap space in gibibytes (GiB).
    int
    Specifies the size of the swap space as a percentage of the boot disk size.
    boolean
    Specifies the size of the swap space in gibibytes (GiB).
    boolean
    Specifies the size of the swap space as a percentage of the boot disk size.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 boot disk
       size.
       
      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 boot disk
       size.
       
      int32 swap_size_percent = 2;
      Returns:
      The swapSizePercent.
    • getSwapSizeCase