Interface HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HostMaintenancePolicy.OpportunisticMaintenanceStrategy, HostMaintenancePolicy.OpportunisticMaintenanceStrategy.Builder
Enclosing class:
HostMaintenancePolicy

public static interface HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The window of time that opportunistic maintenance can run.
    com.google.protobuf.DurationOrBuilder
    The window of time that opportunistic maintenance can run.
    long
    The minimum nodes required to be available in a pool.
    com.google.protobuf.Duration
    The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.
    com.google.protobuf.DurationOrBuilder
    The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.
    boolean
    The window of time that opportunistic maintenance can run.
    boolean
    The minimum nodes required to be available in a pool.
    boolean
    The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.

    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

    • hasNodeIdleTimeWindow

      boolean hasNodeIdleTimeWindow()
       The amount of time that a node can remain idle (no customer owned
       workloads running), before triggering maintenance.
       
      optional .google.protobuf.Duration node_idle_time_window = 1;
      Returns:
      Whether the nodeIdleTimeWindow field is set.
    • getNodeIdleTimeWindow

      com.google.protobuf.Duration getNodeIdleTimeWindow()
       The amount of time that a node can remain idle (no customer owned
       workloads running), before triggering maintenance.
       
      optional .google.protobuf.Duration node_idle_time_window = 1;
      Returns:
      The nodeIdleTimeWindow.
    • getNodeIdleTimeWindowOrBuilder

      com.google.protobuf.DurationOrBuilder getNodeIdleTimeWindowOrBuilder()
       The amount of time that a node can remain idle (no customer owned
       workloads running), before triggering maintenance.
       
      optional .google.protobuf.Duration node_idle_time_window = 1;
    • hasMaintenanceAvailabilityWindow

      boolean hasMaintenanceAvailabilityWindow()
       The window of time that opportunistic maintenance can run. Example: A
       setting of 14 days implies that opportunistic maintenance can only be ran
       in the 2 weeks leading up to the scheduled maintenance date. Setting 28
       days allows opportunistic maintenance to run at any time in the scheduled
       maintenance window (all `PERIODIC` maintenance is set 28 days in
       advance).
       
      optional .google.protobuf.Duration maintenance_availability_window = 2;
      Returns:
      Whether the maintenanceAvailabilityWindow field is set.
    • getMaintenanceAvailabilityWindow

      com.google.protobuf.Duration getMaintenanceAvailabilityWindow()
       The window of time that opportunistic maintenance can run. Example: A
       setting of 14 days implies that opportunistic maintenance can only be ran
       in the 2 weeks leading up to the scheduled maintenance date. Setting 28
       days allows opportunistic maintenance to run at any time in the scheduled
       maintenance window (all `PERIODIC` maintenance is set 28 days in
       advance).
       
      optional .google.protobuf.Duration maintenance_availability_window = 2;
      Returns:
      The maintenanceAvailabilityWindow.
    • getMaintenanceAvailabilityWindowOrBuilder

      com.google.protobuf.DurationOrBuilder getMaintenanceAvailabilityWindowOrBuilder()
       The window of time that opportunistic maintenance can run. Example: A
       setting of 14 days implies that opportunistic maintenance can only be ran
       in the 2 weeks leading up to the scheduled maintenance date. Setting 28
       days allows opportunistic maintenance to run at any time in the scheduled
       maintenance window (all `PERIODIC` maintenance is set 28 days in
       advance).
       
      optional .google.protobuf.Duration maintenance_availability_window = 2;
    • hasMinNodesPerPool

      boolean hasMinNodesPerPool()
       The minimum nodes required to be available in a pool. Blocks maintenance
       if it would cause the number of running nodes to dip below this value.
       
      optional int64 min_nodes_per_pool = 3;
      Returns:
      Whether the minNodesPerPool field is set.
    • getMinNodesPerPool

      long getMinNodesPerPool()
       The minimum nodes required to be available in a pool. Blocks maintenance
       if it would cause the number of running nodes to dip below this value.
       
      optional int64 min_nodes_per_pool = 3;
      Returns:
      The minNodesPerPool.