Interface MaintenancePolicyOrBuilder (0.52.0)

public interface MaintenancePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaintenanceExclusions(int index)

public abstract MaintenanceExclusionWindow getMaintenanceExclusions(int index)

Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.

repeated .google.cloud.edgecontainer.v1.MaintenanceExclusionWindow maintenance_exclusions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceExclusionWindow

getMaintenanceExclusionsCount()

public abstract int getMaintenanceExclusionsCount()

Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.

repeated .google.cloud.edgecontainer.v1.MaintenanceExclusionWindow maintenance_exclusions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getMaintenanceExclusionsList()

public abstract List<MaintenanceExclusionWindow> getMaintenanceExclusionsList()

Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.

repeated .google.cloud.edgecontainer.v1.MaintenanceExclusionWindow maintenance_exclusions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<MaintenanceExclusionWindow>

getMaintenanceExclusionsOrBuilder(int index)

public abstract MaintenanceExclusionWindowOrBuilder getMaintenanceExclusionsOrBuilder(int index)

Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.

repeated .google.cloud.edgecontainer.v1.MaintenanceExclusionWindow maintenance_exclusions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceExclusionWindowOrBuilder

getMaintenanceExclusionsOrBuilderList()

public abstract List<? extends MaintenanceExclusionWindowOrBuilder> getMaintenanceExclusionsOrBuilderList()

Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.

repeated .google.cloud.edgecontainer.v1.MaintenanceExclusionWindow maintenance_exclusions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.edgecontainer.v1.MaintenanceExclusionWindowOrBuilder>

getWindow()

public abstract MaintenanceWindow getWindow()

Specifies the maintenance window in which maintenance may be performed.

.google.cloud.edgecontainer.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.cloud.edgecontainer.v1.MaintenanceWindow window = 1;

Returns
Type Description
MaintenanceWindowOrBuilder

hasWindow()

public abstract boolean hasWindow()

Specifies the maintenance window in which maintenance may be performed.

.google.cloud.edgecontainer.v1.MaintenanceWindow window = 1;

Returns
Type Description
boolean

Whether the window field is set.