Class DenyMaintenancePeriod.Builder (0.1.0)

public static final class DenyMaintenancePeriod.Builder extends GeneratedMessage.Builder<DenyMaintenancePeriod.Builder> implements DenyMaintenancePeriodOrBuilder

Deny Maintenance Periods. This specifies a date range during when all CSA rollout will be denied.

Protobuf type google.cloud.sql.v1beta4.DenyMaintenancePeriod

Static 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
Overrides

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 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 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
Overrides

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 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 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 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 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DenyMaintenancePeriod.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DenyMaintenancePeriod.Builder
Overrides

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 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 end_date = 2;

Parameter
Name Description
value String

The 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 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 end_date = 2;

Parameter
Name Description
value ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for time to set.

Returns
Type Description
DenyMaintenancePeriod.Builder

This builder for chaining.