Interface MaintenancePolicyOrBuilder (2.96.0)

public interface MaintenancePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisruptionBudget()

public abstract 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
Type Description
DisruptionBudget

The disruptionBudget.

getDisruptionBudgetOrBuilder()

public abstract DisruptionBudgetOrBuilder getDisruptionBudgetOrBuilder()

Optional. The upgrade disruption budget for the cluster control plane.

.google.container.v1.DisruptionBudget disruption_budget = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DisruptionBudgetOrBuilder

getResourceVersion()

public abstract 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
Type Description
String

The resourceVersion.

getResourceVersionBytes()

public abstract 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
Type Description
ByteString

The bytes for resourceVersion.

getWindow()

public abstract MaintenanceWindow getWindow()

Specifies the maintenance window in which maintenance may be performed.

.google.container.v1.MaintenanceWindow window = 1;

Returns
Type Description
MaintenanceWindow

The window.

getWindowOrBuilder()

public abstract MaintenanceWindowOrBuilder getWindowOrBuilder()

Specifies the maintenance window in which maintenance may be performed.

.google.container.v1.MaintenanceWindow window = 1;

Returns
Type Description
MaintenanceWindowOrBuilder

hasDisruptionBudget()

public abstract 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
Type Description
boolean

Whether the disruptionBudget field is set.

hasWindow()

public abstract boolean hasWindow()

Specifies the maintenance window in which maintenance may be performed.

.google.container.v1.MaintenanceWindow window = 1;

Returns
Type Description
boolean

Whether the window field is set.