public static final class Schedule.Builder extends GeneratedMessageV3.Builder<Schedule.Builder> implements ScheduleOrBuilder
The schedule of an event - the event can be recurring or one time. The event's time span is specified by start_time and end_time. If the scheduled event's timespan is larger than the cron_spec + cron_job_duration the event will be recurring. If cron_spec + cron_job_duration is only specified, the event is effective starting at the local time specified by cron_spec and is recurrent. start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time cron job: cron spec start time + durationProtobuf type
google.cloud.gaming.v1alpha.SchedulegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Schedule.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Schedule build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Schedule buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Schedule.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Schedule.Builder>public Schedule.Builder mergeFrom(Schedule other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Schedule.Builder>IOExceptionpublic boolean hasStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;hasStartTime in interface ScheduleOrBuilderpublic Timestamp getStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;getStartTime in interface ScheduleOrBuilderpublic Schedule.Builder setStartTime(Timestamp value)
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public Schedule.Builder setStartTime(Timestamp.Builder builderForValue)
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public Schedule.Builder mergeStartTime(Timestamp value)
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public Schedule.Builder clearStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public Timestamp.Builder getStartTimeBuilder()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public TimestampOrBuilder getStartTimeOrBuilder()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;getStartTimeOrBuilder in interface ScheduleOrBuilderpublic boolean hasEndTime()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;hasEndTime in interface ScheduleOrBuilderpublic Timestamp getEndTime()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface ScheduleOrBuilderpublic Schedule.Builder setEndTime(Timestamp value)
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public Schedule.Builder setEndTime(Timestamp.Builder builderForValue)
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public Schedule.Builder mergeEndTime(Timestamp value)
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public Schedule.Builder clearEndTime()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public Timestamp.Builder getEndTimeBuilder()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public TimestampOrBuilder getEndTimeOrBuilder()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;getEndTimeOrBuilder in interface ScheduleOrBuilderpublic boolean hasCronJobDuration()
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;hasCronJobDuration in interface ScheduleOrBuilderpublic Duration getCronJobDuration()
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;getCronJobDuration in interface ScheduleOrBuilderpublic Schedule.Builder setCronJobDuration(Duration value)
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;public Schedule.Builder setCronJobDuration(Duration.Builder builderForValue)
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;public Schedule.Builder mergeCronJobDuration(Duration value)
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;public Schedule.Builder clearCronJobDuration()
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;public Duration.Builder getCronJobDurationBuilder()
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;public DurationOrBuilder getCronJobDurationOrBuilder()
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
.google.protobuf.Duration cron_job_duration = 3;getCronJobDurationOrBuilder in interface ScheduleOrBuilderpublic String getCronSpec()
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.
string cron_spec = 4;getCronSpec in interface ScheduleOrBuilderpublic ByteString getCronSpecBytes()
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.
string cron_spec = 4;getCronSpecBytes in interface ScheduleOrBuilderpublic Schedule.Builder setCronSpec(String value)
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.
string cron_spec = 4;value - The cronSpec to set.public Schedule.Builder clearCronSpec()
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.
string cron_spec = 4;public Schedule.Builder setCronSpecBytes(ByteString value)
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.
string cron_spec = 4;value - The bytes for cronSpec to set.public final Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Schedule.Builder>public final Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Schedule.Builder>Copyright © 2020 Google LLC. All rights reserved.