Interface MaintenancePolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MaintenancePolicy, MaintenancePolicy.Builder

@Generated public interface MaintenancePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    Optional.
    A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields).
    com.google.protobuf.ByteString
    A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields).
    Specifies the maintenance window in which maintenance may be performed.
    Specifies the maintenance window in which maintenance may be performed.
    boolean
    Optional.
    boolean
    Specifies the maintenance window in which maintenance may be performed.

    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

    • hasWindow

      boolean hasWindow()
       Specifies the maintenance window in which maintenance may be performed.
       
      .google.container.v1.MaintenanceWindow window = 1;
      Returns:
      Whether the window field is set.
    • getWindow

      MaintenanceWindow getWindow()
       Specifies the maintenance window in which maintenance may be performed.
       
      .google.container.v1.MaintenanceWindow window = 1;
      Returns:
      The window.
    • getWindowOrBuilder

      MaintenanceWindowOrBuilder getWindowOrBuilder()
       Specifies the maintenance window in which maintenance may be performed.
       
      .google.container.v1.MaintenanceWindow window = 1;
    • getResourceVersion

      String getResourceVersion()
       A hash identifying the version of this policy, so that updates to fields of
       the policy won't accidentally undo intermediate changes (and so that users
       of the API unaware of some fields won't accidentally remove other fields).
       Make a `get()` request to the cluster to get the current
       resource version and include it with requests to set the policy.
       
      string resource_version = 3;
      Returns:
      The resourceVersion.
    • getResourceVersionBytes

      com.google.protobuf.ByteString getResourceVersionBytes()
       A hash identifying the version of this policy, so that updates to fields of
       the policy won't accidentally undo intermediate changes (and so that users
       of the API unaware of some fields won't accidentally remove other fields).
       Make a `get()` request to the cluster to get the current
       resource version and include it with requests to set the policy.
       
      string resource_version = 3;
      Returns:
      The bytes for resourceVersion.
    • hasDisruptionBudget

      boolean hasDisruptionBudget()
       Optional. The upgrade disruption budget for the cluster control plane.
       
      .google.container.v1.DisruptionBudget disruption_budget = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the disruptionBudget field is set.
    • getDisruptionBudget

      DisruptionBudget getDisruptionBudget()
       Optional. The upgrade disruption budget for the cluster control plane.
       
      .google.container.v1.DisruptionBudget disruption_budget = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The disruptionBudget.
    • getDisruptionBudgetOrBuilder

      DisruptionBudgetOrBuilder getDisruptionBudgetOrBuilder()
       Optional. The upgrade disruption budget for the cluster control plane.
       
      .google.container.v1.DisruptionBudget disruption_budget = 4 [(.google.api.field_behavior) = OPTIONAL];