public static final class DenyMaintenancePeriod.Builder extends GeneratedMessage.Builder<DenyMaintenancePeriod.Builder> implements DenyMaintenancePeriodOrBuilderDeny maintenance Periods. This specifies a date range during when all CSA rollout will be denied.
Protobuf type google.cloud.sql.v1.DenyMaintenancePeriod
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DenyMaintenancePeriod.BuilderImplements
DenyMaintenancePeriodOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DenyMaintenancePeriod build()| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod |
|
buildPartial()
public DenyMaintenancePeriod buildPartial()| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod |
|
clear()
public DenyMaintenancePeriod.Builder clear()| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
|
clearEndDate()
public DenyMaintenancePeriod.Builder clearEndDate()"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string end_date = 2;
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
clearStartDate()
public DenyMaintenancePeriod.Builder clearStartDate()"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string start_date = 1;
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
clearTime()
public DenyMaintenancePeriod.Builder clearTime()Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
string time = 3;
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DenyMaintenancePeriod getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndDate()
public String getEndDate()"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string end_date = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The endDate. |
getEndDateBytes()
public ByteString getEndDateBytes()"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string end_date = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endDate. |
getStartDate()
public String getStartDate()"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string start_date = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The startDate. |
getStartDateBytes()
public ByteString getStartDateBytes()"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string start_date = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for startDate. |
getTime()
public String getTime()Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
string time = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The time. |
getTimeBytes()
public ByteString getTimeBytes()Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
string time = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for time. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DenyMaintenancePeriod other)
public DenyMaintenancePeriod.Builder mergeFrom(DenyMaintenancePeriod other)| Parameter | |
|---|---|
| Name | Description |
other |
DenyMaintenancePeriod |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DenyMaintenancePeriod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DenyMaintenancePeriod.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
|
setEndDate(String value)
public DenyMaintenancePeriod.Builder setEndDate(String value)"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string end_date = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe endDate to set. |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
setEndDateBytes(ByteString value)
public DenyMaintenancePeriod.Builder setEndDateBytes(ByteString value)"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string end_date = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for endDate to set. |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
setStartDate(String value)
public DenyMaintenancePeriod.Builder setStartDate(String value)"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string start_date = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe startDate to set. |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
setStartDateBytes(ByteString value)
public DenyMaintenancePeriod.Builder setStartDateBytes(ByteString value)"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
string start_date = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for startDate to set. |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
setTime(String value)
public DenyMaintenancePeriod.Builder setTime(String value)Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
string time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe time to set. |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |
setTimeBytes(ByteString value)
public DenyMaintenancePeriod.Builder setTimeBytes(ByteString value)Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
string time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for time to set. |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod.Builder |
This builder for chaining. |