public static final class NodeGroupMaintenanceWindow.Builder extends GeneratedMessageV3.Builder<NodeGroupMaintenanceWindow.Builder> implements NodeGroupMaintenanceWindowOrBuilder
Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
Protobuf type google.cloud.compute.v1.NodeGroupMaintenanceWindow
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupMaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeGroupMaintenanceWindow build()
Returns
buildPartial()
public NodeGroupMaintenanceWindow buildPartial()
Returns
clear()
public NodeGroupMaintenanceWindow.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NodeGroupMaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMaintenanceDuration()
public NodeGroupMaintenanceWindow.Builder clearMaintenanceDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeGroupMaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStartTime()
public NodeGroupMaintenanceWindow.Builder clearStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns
clone()
public NodeGroupMaintenanceWindow.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NodeGroupMaintenanceWindow getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMaintenanceDuration()
public Duration getMaintenanceDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Returns
Type | Description |
Duration | The maintenanceDuration.
|
getMaintenanceDurationBuilder()
public Duration.Builder getMaintenanceDurationBuilder()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Returns
getMaintenanceDurationOrBuilder()
public DurationOrBuilder getMaintenanceDurationOrBuilder()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Returns
getStartTime()
public String getStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns
Type | Description |
String | The startTime.
|
getStartTimeBytes()
public ByteString getStartTimeBytes()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns
hasMaintenanceDuration()
public boolean hasMaintenanceDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Returns
Type | Description |
boolean | Whether the maintenanceDuration field is set.
|
hasStartTime()
public boolean hasStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeGroupMaintenanceWindow other)
public NodeGroupMaintenanceWindow.Builder mergeFrom(NodeGroupMaintenanceWindow other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeGroupMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeGroupMaintenanceWindow.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMaintenanceDuration(Duration value)
public NodeGroupMaintenanceWindow.Builder mergeMaintenanceDuration(Duration value)
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupMaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupMaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMaintenanceDuration(Duration value)
public NodeGroupMaintenanceWindow.Builder setMaintenanceDuration(Duration value)
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Parameter
Returns
setMaintenanceDuration(Duration.Builder builderForValue)
public NodeGroupMaintenanceWindow.Builder setMaintenanceDuration(Duration.Builder builderForValue)
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeGroupMaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStartTime(String value)
public NodeGroupMaintenanceWindow.Builder setStartTime(String value)
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Parameter
Name | Description |
value | String
The startTime to set.
|
Returns
setStartTimeBytes(ByteString value)
public NodeGroupMaintenanceWindow.Builder setStartTimeBytes(ByteString value)
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Parameter
Name | Description |
value | ByteString
The bytes for startTime to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupMaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides