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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 NodeGroupMaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NodeGroupMaintenanceWindow build()
buildPartial()
public NodeGroupMaintenanceWindow buildPartial()
clear()
public NodeGroupMaintenanceWindow.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NodeGroupMaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeGroupMaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public NodeGroupMaintenanceWindow.Builder clone()
Overrides
getDefaultInstanceForType()
public NodeGroupMaintenanceWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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] 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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NodeGroupMaintenanceWindow other)
public NodeGroupMaintenanceWindow.Builder mergeFrom(NodeGroupMaintenanceWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeGroupMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NodeGroupMaintenanceWindow.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupMaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupMaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeGroupMaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupMaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides