Interface HostMaintenancePolicyOrBuilder (2.40.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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for maintenanceInterval.

getMaintenanceStrategyCase()

public abstract HostMaintenancePolicy.MaintenanceStrategyCase getMaintenanceStrategyCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder

hasMaintenanceInterval()

public abstract boolean hasMaintenanceInterval()

Specifies the frequency of planned maintenance events.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the opportunisticMaintenanceStrategy field is set.