Class Schedule.Builder (0.2.0)

public static final class Schedule.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schedule.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Schedule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Schedule.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schedule.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Schedule.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Schedule.Builder
Overrides