public final class MaintenanceWindow extends GeneratedMessageV3 implements MaintenanceWindowOrBuilder
MaintenanceWindow defines the maintenance window to be used for the cluster.
Protobuf type google.container.v1beta1.MaintenanceWindow
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER
public static final int DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAINTENANCE_EXCLUSIONS_FIELD_NUMBER
public static final int MAINTENANCE_EXCLUSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RECURRING_WINDOW_FIELD_NUMBER
public static final int RECURRING_WINDOW_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MaintenanceWindow getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MaintenanceWindow.Builder newBuilder()
newBuilder(MaintenanceWindow prototype)
public static MaintenanceWindow.Builder newBuilder(MaintenanceWindow prototype)
parseDelimitedFrom(InputStream input)
public static MaintenanceWindow parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MaintenanceWindow parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MaintenanceWindow parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static MaintenanceWindow parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static MaintenanceWindow parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MaintenanceWindow parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MaintenanceWindow> parser()
Methods
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.v1beta1.TimeWindow> maintenance_exclusions = 4;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDailyMaintenanceWindow()
public DailyMaintenanceWindow getDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDailyMaintenanceWindowOrBuilder()
public DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDefaultInstanceForType()
public MaintenanceWindow getDefaultInstanceForType()
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.TimeWindow> maintenance_exclusions = 4;
Parameter |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<MaintenanceWindow> getParserForType()
Overrides
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.v1beta1.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.v1beta1.RecurringTimeWindow recurring_window = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasDailyMaintenanceWindow()
public boolean hasDailyMaintenanceWindow()
DailyMaintenanceWindow specifies a daily maintenance operation window.
.google.container.v1beta1.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.v1beta1.RecurringTimeWindow recurring_window = 3;
Returns |
---|
Type | Description |
boolean | Whether the recurringWindow field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MaintenanceWindow.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MaintenanceWindow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MaintenanceWindow.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides