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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaintenanceWindow build()
buildPartial()
public MaintenanceWindow buildPartial()
clear()
public MaintenanceWindow.Builder clear()
Overrides
clearDailyMaintenanceWindow()
public MaintenanceWindow.Builder clearDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
clearField(Descriptors.FieldDescriptor field)
public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaintenanceExclusions()
public MaintenanceWindow.Builder clearMaintenanceExclusions()
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicy()
public MaintenanceWindow.Builder clearPolicy()
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;
clone()
public MaintenanceWindow.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDailyMaintenanceWindow()
public DailyMaintenanceWindow getDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDailyMaintenanceWindowBuilder()
public DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDailyMaintenanceWindowOrBuilder()
public DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMaintenanceExclusions()
public Map<String,TimeWindow> getMaintenanceExclusions()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getMutableMaintenanceExclusions()
public Map<String,TimeWindow> getMutableMaintenanceExclusions()
Use alternate mutation accessors instead.
getPolicyCase()
public MaintenanceWindow.PolicyCase getPolicyCase()
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;
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;
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;
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()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(MaintenanceWindow other)
public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
---|
Name | Description |
key | String
|
setDailyMaintenanceWindow(DailyMaintenanceWindow value)
public MaintenanceWindow.Builder setDailyMaintenanceWindow(DailyMaintenanceWindow value)
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides