Class ResourceMaintenanceDenySchedule (0.6.0)

public final class ResourceMaintenanceDenySchedule extends GeneratedMessage implements ResourceMaintenanceDenyScheduleOrBuilder

Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.

Protobuf type google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ResourceMaintenanceDenySchedule

Static Fields

END_DATE_FIELD_NUMBER

public static final int END_DATE_FIELD_NUMBER
Field Value
Type Description
int

START_DATE_FIELD_NUMBER

public static final int START_DATE_FIELD_NUMBER
Field Value
Type Description
int

TIME_FIELD_NUMBER

public static final int TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceMaintenanceDenySchedule getDefaultInstance()
Returns
Type Description
ResourceMaintenanceDenySchedule

getDescriptor()

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

newBuilder()

public static ResourceMaintenanceDenySchedule.Builder newBuilder()
Returns
Type Description
ResourceMaintenanceDenySchedule.Builder

newBuilder(ResourceMaintenanceDenySchedule prototype)

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

parseDelimitedFrom(InputStream input)

public static ResourceMaintenanceDenySchedule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceMaintenanceDenySchedule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ResourceMaintenanceDenySchedule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceMaintenanceDenySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ResourceMaintenanceDenySchedule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceMaintenanceDenySchedule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ResourceMaintenanceDenySchedule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceMaintenanceDenySchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ResourceMaintenanceDenySchedule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceMaintenanceDenySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ResourceMaintenanceDenySchedule> parser()
Returns
Type Description
Parser<ResourceMaintenanceDenySchedule>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourceMaintenanceDenySchedule getDefaultInstanceForType()
Returns
Type Description
ResourceMaintenanceDenySchedule

getEndDate()

public Date getEndDate()

Optional. Deny period end date.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The endDate.

getEndDateOrBuilder()

public DateOrBuilder getEndDateOrBuilder()

Optional. Deny period end date.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getParserForType()

public Parser<ResourceMaintenanceDenySchedule> getParserForType()
Returns
Type Description
Parser<ResourceMaintenanceDenySchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartDate()

public Date getStartDate()

Optional. The start date of the deny maintenance period.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The startDate.

getStartDateOrBuilder()

public DateOrBuilder getStartDateOrBuilder()

Optional. The start date of the deny maintenance period.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getTime()

public TimeOfDay getTime()

Optional. Time in UTC when the deny period starts on start_date and ends on end_date.

.google.type.TimeOfDay time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeOfDay

The time.

getTimeOrBuilder()

public TimeOfDayOrBuilder getTimeOrBuilder()

Optional. Time in UTC when the deny period starts on start_date and ends on end_date.

.google.type.TimeOfDay time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasEndDate()

public boolean hasEndDate()

Optional. Deny period end date.

.google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endDate field is set.

hasStartDate()

public boolean hasStartDate()

Optional. The start date of the deny maintenance period.

.google.type.Date start_date = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the startDate field is set.

hasTime()

public boolean hasTime()

Optional. Time in UTC when the deny period starts on start_date and ends on end_date.

.google.type.TimeOfDay time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the time field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourceMaintenanceDenySchedule.Builder newBuilderForType()
Returns
Type Description
ResourceMaintenanceDenySchedule.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ResourceMaintenanceDenySchedule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceMaintenanceDenySchedule.Builder
Overrides

toBuilder()

public ResourceMaintenanceDenySchedule.Builder toBuilder()
Returns
Type Description
ResourceMaintenanceDenySchedule.Builder

writeTo(CodedOutputStream output)

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