Class Schedule.Builder (0.15.0)

public static final class Schedule.Builder extends GeneratedMessage.Builder<Schedule.Builder> implements ScheduleOrBuilder

A time specification to schedule the maintenance.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule

Implements

ScheduleOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Schedule build()
Returns
Type Description
Schedule

buildPartial()

public Schedule buildPartial()
Returns
Type Description
Schedule

clear()

public Schedule.Builder clear()
Returns
Type Description
Schedule.Builder
Overrides

clearStartTime()

public Schedule.Builder clearStartTime()

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schedule.Builder

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
Type Description
Schedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStartTime()

public Timestamp getStartTime()

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Schedule other)

public Schedule.Builder mergeFrom(Schedule other)
Parameter
Name Description
other Schedule
Returns
Type Description
Schedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public Schedule.Builder mergeStartTime(Timestamp value)

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
Schedule.Builder

setStartTime(Timestamp value)

public Schedule.Builder setStartTime(Timestamp value)

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
Schedule.Builder

setStartTime(Timestamp.Builder builderForValue)

public Schedule.Builder setStartTime(Timestamp.Builder builderForValue)

Optional. Start of operation. If not set, will be set to the start of the next window. (optional)

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Schedule.Builder