Interface MaintenancePolicyOrBuilder (0.61.0)

publicinterface MaintenancePolicyOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaintenanceExclusions(int index)

publicabstractMaintenanceExclusionWindowgetMaintenanceExclusions(intindex)

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()

publicabstractintgetMaintenanceExclusionsCount()

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()

publicabstractList<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)

publicabstractMaintenanceExclusionWindowOrBuildergetMaintenanceExclusionsOrBuilder(intindex)

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()

publicabstractList<?extendsMaintenanceExclusionWindowOrBuilder>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()

publicabstractMaintenanceWindowgetWindow()

Specifies the maintenance window in which maintenance may be performed.

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

Returns
Type Description
MaintenanceWindow

The window.

getWindowOrBuilder()

publicabstractMaintenanceWindowOrBuildergetWindowOrBuilder()

Specifies the maintenance window in which maintenance may be performed.

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

Returns
Type Description
MaintenanceWindowOrBuilder

hasWindow()

publicabstractbooleanhasWindow()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.