Class MaintenanceUpdatePolicy.MaintenanceWindow (0.43.0)

public static final class MaintenanceUpdatePolicy.MaintenanceWindow extends GeneratedMessageV3 implements MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder

MaintenanceWindow specifies a preferred day and time for maintenance.

Protobuf type google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.MaintenanceWindow

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MaintenanceUpdatePolicy.MaintenanceWindow

Static Fields

DAY_FIELD_NUMBER

public static final int DAY_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MaintenanceUpdatePolicy.MaintenanceWindow getDefaultInstance()
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MaintenanceUpdatePolicy.MaintenanceWindow.Builder newBuilder()
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow.Builder

newBuilder(MaintenanceUpdatePolicy.MaintenanceWindow prototype)

public static MaintenanceUpdatePolicy.MaintenanceWindow.Builder newBuilder(MaintenanceUpdatePolicy.MaintenanceWindow prototype)
Parameter
Name Description
prototype MaintenanceUpdatePolicy.MaintenanceWindow
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow.Builder

parseDelimitedFrom(InputStream input)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MaintenanceUpdatePolicy.MaintenanceWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MaintenanceUpdatePolicy.MaintenanceWindow> parser()
Returns
Type Description
Parser<MaintenanceWindow>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDay()

public DayOfWeek getDay()

Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.

.google.type.DayOfWeek day = 1;

Returns
Type Description
com.google.type.DayOfWeek

The day.

getDayValue()

public int getDayValue()

Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.

.google.type.DayOfWeek day = 1;

Returns
Type Description
int

The enum numeric value on the wire for day.

getDefaultInstanceForType()

public MaintenanceUpdatePolicy.MaintenanceWindow getDefaultInstanceForType()
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow

getParserForType()

public Parser<MaintenanceUpdatePolicy.MaintenanceWindow> getParserForType()
Returns
Type Description
Parser<MaintenanceWindow>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public TimeOfDay getStartTime()

Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.

.google.type.TimeOfDay start_time = 2;

Returns
Type Description
com.google.type.TimeOfDay

The startTime.

getStartTimeOrBuilder()

public TimeOfDayOrBuilder getStartTimeOrBuilder()

Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.

.google.type.TimeOfDay start_time = 2;

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasStartTime()

public boolean hasStartTime()

Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.

.google.type.TimeOfDay start_time = 2;

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MaintenanceUpdatePolicy.MaintenanceWindow.Builder newBuilderForType()
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MaintenanceUpdatePolicy.MaintenanceWindow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MaintenanceUpdatePolicy.MaintenanceWindow.Builder toBuilder()
Returns
Type Description
MaintenanceUpdatePolicy.MaintenanceWindow.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException