public static final class MaintenanceWindow.Builder extends GeneratedMessageV3.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilder
MaintenanceWindow defines the maintenance window to be used for the cluster.
Protobuf type google.container.v1.MaintenanceWindow
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MaintenanceWindow build()
Returns
buildPartial()
public MaintenanceWindow buildPartial()
Returns
clear()
public MaintenanceWindow.Builder clear()
Returns
Overrides
clearDailyMaintenanceWindow()
public MaintenanceWindow.Builder clearDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMaintenanceExclusions()
public MaintenanceWindow.Builder clearMaintenanceExclusions()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPolicy()
public MaintenanceWindow.Builder clearPolicy()
Returns
clearRecurringWindow()
public MaintenanceWindow.Builder clearRecurringWindow()
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Returns
clone()
public MaintenanceWindow.Builder clone()
Returns
Overrides
containsMaintenanceExclusions(String key)
public boolean containsMaintenanceExclusions(String key)
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Parameter
Returns
getDailyMaintenanceWindow()
public DailyMaintenanceWindow getDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Returns
getDailyMaintenanceWindowBuilder()
public DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Returns
getDailyMaintenanceWindowOrBuilder()
public DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Returns
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMaintenanceExclusions()
public Map<String,TimeWindow> getMaintenanceExclusions()
Returns
getMaintenanceExclusionsCount()
public int getMaintenanceExclusionsCount()
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Returns
getMaintenanceExclusionsMap()
public Map<String,TimeWindow> getMaintenanceExclusionsMap()
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Returns
getMaintenanceExclusionsOrDefault(String key, TimeWindow defaultValue)
public TimeWindow getMaintenanceExclusionsOrDefault(String key, TimeWindow defaultValue)
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Parameters
Returns
getMaintenanceExclusionsOrThrow(String key)
public TimeWindow getMaintenanceExclusionsOrThrow(String key)
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Parameter
Returns
getMutableMaintenanceExclusions()
public Map<String,TimeWindow> getMutableMaintenanceExclusions()
Use alternate mutation accessors instead.
Returns
getPolicyCase()
public MaintenanceWindow.PolicyCase getPolicyCase()
Returns
getRecurringWindow()
public RecurringTimeWindow getRecurringWindow()
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Returns
getRecurringWindowBuilder()
public RecurringTimeWindow.Builder getRecurringWindowBuilder()
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Returns
getRecurringWindowOrBuilder()
public RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder()
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Returns
hasDailyMaintenanceWindow()
public boolean hasDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Returns
Type | Description |
boolean | Whether the dailyMaintenanceWindow field is set.
|
hasRecurringWindow()
public boolean hasRecurringWindow()
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Returns
Type | Description |
boolean | Whether the recurringWindow field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDailyMaintenanceWindow(DailyMaintenanceWindow value)
public MaintenanceWindow.Builder mergeDailyMaintenanceWindow(DailyMaintenanceWindow value)
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Parameter
Returns
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRecurringWindow(RecurringTimeWindow value)
public MaintenanceWindow.Builder mergeRecurringWindow(RecurringTimeWindow value)
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllMaintenanceExclusions(Map<String,TimeWindow> values)
public MaintenanceWindow.Builder putAllMaintenanceExclusions(Map<String,TimeWindow> values)
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Parameter
Returns
putMaintenanceExclusions(String key, TimeWindow value)
public MaintenanceWindow.Builder putMaintenanceExclusions(String key, TimeWindow value)
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Parameters
Returns
removeMaintenanceExclusions(String key)
public MaintenanceWindow.Builder removeMaintenanceExclusions(String key)
Exceptions to maintenance window. Non-emergency maintenance should not
occur in these windows.
map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Parameter
Returns
setDailyMaintenanceWindow(DailyMaintenanceWindow value)
public MaintenanceWindow.Builder setDailyMaintenanceWindow(DailyMaintenanceWindow value)
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Parameter
Returns
setDailyMaintenanceWindow(DailyMaintenanceWindow.Builder builderForValue)
public MaintenanceWindow.Builder setDailyMaintenanceWindow(DailyMaintenanceWindow.Builder builderForValue)
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRecurringWindow(RecurringTimeWindow value)
public MaintenanceWindow.Builder setRecurringWindow(RecurringTimeWindow value)
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Parameter
Returns
setRecurringWindow(RecurringTimeWindow.Builder builderForValue)
public MaintenanceWindow.Builder setRecurringWindow(RecurringTimeWindow.Builder builderForValue)
RecurringWindow specifies some number of recurring time periods for
maintenance to occur. The time windows may be overlapping. If no
maintenance windows are set, maintenance can occur at any time.
.google.container.v1.RecurringTimeWindow recurring_window = 3;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides