public final class NodeGroupMaintenanceWindow extends GeneratedMessageV3 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
Fields
MAINTENANCE_DURATION_FIELD_NUMBER
public static final int MAINTENANCE_DURATION_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static NodeGroupMaintenanceWindow getDefaultInstance()
Returns
getDefaultInstanceForType()
public NodeGroupMaintenanceWindow getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.
|
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
getParserForType()
public Parser<NodeGroupMaintenanceWindow> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static NodeGroupMaintenanceWindow.Builder newBuilder()
Returns
newBuilder(NodeGroupMaintenanceWindow prototype)
public static NodeGroupMaintenanceWindow.Builder newBuilder(NodeGroupMaintenanceWindow prototype)
Parameter
Returns
newBuilderForType()
public NodeGroupMaintenanceWindow.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeGroupMaintenanceWindow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
parseDelimitedFrom(InputStream input)
public static NodeGroupMaintenanceWindow parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupMaintenanceWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeGroupMaintenanceWindow parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupMaintenanceWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeGroupMaintenanceWindow parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupMaintenanceWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static NodeGroupMaintenanceWindow parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupMaintenanceWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static NodeGroupMaintenanceWindow parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeGroupMaintenanceWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeGroupMaintenanceWindow parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupMaintenanceWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeGroupMaintenanceWindow> parser()
Returns
toBuilder()
public NodeGroupMaintenanceWindow.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions