Interface HostMaintenancePolicyOrBuilder (2.46.0)

public interface HostMaintenancePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaintenanceInterval()

public abstract HostMaintenancePolicy.MaintenanceInterval getMaintenanceInterval()

Specifies the frequency of planned maintenance events.

optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;

Returns
Type Description
HostMaintenancePolicy.MaintenanceInterval

The maintenanceInterval.

getMaintenanceIntervalValue()

public abstract int getMaintenanceIntervalValue()

Specifies the frequency of planned maintenance events.

optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;

Returns
Type Description
int

The enum numeric value on the wire for maintenanceInterval.

getMaintenanceStrategyCase()

public abstract HostMaintenancePolicy.MaintenanceStrategyCase getMaintenanceStrategyCase()
Returns
Type Description
HostMaintenancePolicy.MaintenanceStrategyCase

getOpportunisticMaintenanceStrategy()

public abstract HostMaintenancePolicy.OpportunisticMaintenanceStrategy getOpportunisticMaintenanceStrategy()

Strategy that will trigger maintenance on behalf of the customer.

.google.container.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2;

Returns
Type Description
HostMaintenancePolicy.OpportunisticMaintenanceStrategy

The opportunisticMaintenanceStrategy.

getOpportunisticMaintenanceStrategyOrBuilder()

public abstract HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder getOpportunisticMaintenanceStrategyOrBuilder()

Strategy that will trigger maintenance on behalf of the customer.

.google.container.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2;

Returns
Type Description
HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder

hasMaintenanceInterval()

public abstract boolean hasMaintenanceInterval()

Specifies the frequency of planned maintenance events.

optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;

Returns
Type Description
boolean

Whether the maintenanceInterval field is set.

hasOpportunisticMaintenanceStrategy()

public abstract boolean hasOpportunisticMaintenanceStrategy()

Strategy that will trigger maintenance on behalf of the customer.

.google.container.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2;

Returns
Type Description
boolean

Whether the opportunisticMaintenanceStrategy field is set.