public static final class NodeGroupMaintenanceWindow.Builder extends GeneratedMessage.Builder<NodeGroupMaintenanceWindow.Builder> implements NodeGroupMaintenanceWindowOrBuilderTime window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
Protobuf type google.cloud.compute.v1.NodeGroupMaintenanceWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NodeGroupMaintenanceWindow.BuilderImplements
NodeGroupMaintenanceWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NodeGroupMaintenanceWindow build()| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow |
|
buildPartial()
public NodeGroupMaintenanceWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow |
|
clear()
public NodeGroupMaintenanceWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
clearMaintenanceDuration()
public NodeGroupMaintenanceWindow.Builder clearMaintenanceDuration()Output only. [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 |
NodeGroupMaintenanceWindow.Builder |
|
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 | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NodeGroupMaintenanceWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMaintenanceDuration()
public Duration getMaintenanceDuration()Output only. [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. [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.Builder |
|
getMaintenanceDurationOrBuilder()
public DurationOrBuilder getMaintenanceDurationOrBuilder()Output only. [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 |
DurationOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for startTime. |
hasMaintenanceDuration()
public boolean hasMaintenanceDuration()Output only. [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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NodeGroupMaintenanceWindow other)
public NodeGroupMaintenanceWindow.Builder mergeFrom(NodeGroupMaintenanceWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
NodeGroupMaintenanceWindow |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeGroupMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NodeGroupMaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
mergeMaintenanceDuration(Duration value)
public NodeGroupMaintenanceWindow.Builder mergeMaintenanceDuration(Duration value)Output only. [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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
setMaintenanceDuration(Duration value)
public NodeGroupMaintenanceWindow.Builder setMaintenanceDuration(Duration value)Output only. [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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
setMaintenanceDuration(Duration.Builder builderForValue)
public NodeGroupMaintenanceWindow.Builder setMaintenanceDuration(Duration.Builder builderForValue)Output only. [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 | |
|---|---|
| Name | Description |
builderForValue |
Duration.Builder |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
|
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 |
StringThe startTime to set. |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for startTime to set. |
| Returns | |
|---|---|
| Type | Description |
NodeGroupMaintenanceWindow.Builder |
This builder for chaining. |