public static final class MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder extends GeneratedMessage.Builder<MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder> implements MaintenanceUpdatePolicy.DenyMaintenancePeriodOrBuilderDenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
Protobuf type
google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.DenyMaintenancePeriod
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaintenanceUpdatePolicy.DenyMaintenancePeriod.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod build()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod |
|
buildPartial()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod buildPartial()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod |
|
clear()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder clear()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
clearEndDate()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder clearEndDate()Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
clearStartDate()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder clearStartDate()Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
clearTime()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder clearTime()Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
getDefaultInstanceForType()
public MaintenanceUpdatePolicy.DenyMaintenancePeriod getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndDate()
public Date getEndDate()Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date |
The endDate. |
getEndDateBuilder()
public Date.Builder getEndDateBuilder()Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date.Builder |
|
getEndDateOrBuilder()
public DateOrBuilder getEndDateOrBuilder()Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
getStartDate()
public Date getStartDate()Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date |
The startDate. |
getStartDateBuilder()
public Date.Builder getStartDateBuilder()Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date.Builder |
|
getStartDateOrBuilder()
public DateOrBuilder getStartDateOrBuilder()Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
getTime()
public TimeOfDay getTime()Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The time. |
getTimeBuilder()
public TimeOfDay.Builder getTimeBuilder()Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay.Builder |
|
getTimeOrBuilder()
public TimeOfDayOrBuilder getTimeOrBuilder()Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
hasEndDate()
public boolean hasEndDate()Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endDate field is set. |
hasStartDate()
public boolean hasStartDate()Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startDate field is set. |
hasTime()
public boolean hasTime()Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the time field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndDate(Date value)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder mergeEndDate(Date value)Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
mergeFrom(MaintenanceUpdatePolicy.DenyMaintenancePeriod other)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder mergeFrom(MaintenanceUpdatePolicy.DenyMaintenancePeriod other)| Parameter | |
|---|---|
| Name | Description |
other |
MaintenanceUpdatePolicy.DenyMaintenancePeriod |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
mergeStartDate(Date value)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder mergeStartDate(Date value)Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
mergeTime(TimeOfDay value)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder mergeTime(TimeOfDay value)Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
setEndDate(Date value)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder setEndDate(Date value)Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
setEndDate(Date.Builder builderForValue)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder setEndDate(Date.Builder builderForValue)Deny period end date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date end_date = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Date.Builder |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
setStartDate(Date value)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder setStartDate(Date value)Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
setStartDate(Date.Builder builderForValue)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder setStartDate(Date.Builder builderForValue)Deny period start date. This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
.google.type.Date start_date = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Date.Builder |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
setTime(TimeOfDay value)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder setTime(TimeOfDay value)Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|
setTime(TimeOfDay.Builder builderForValue)
public MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder setTime(TimeOfDay.Builder builderForValue)Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
.google.type.TimeOfDay time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.TimeOfDay.Builder |
| Returns | |
|---|---|
| Type | Description |
MaintenanceUpdatePolicy.DenyMaintenancePeriod.Builder |
|