public static final class Schedule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder> implements ScheduleOrBuilder
The schedule of a recurring or one time event. 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 only cron_spec + cron_job_duration are specified, the event is effective starting at the local time specified by cron_spec, and is recurring. ``` start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time cron job: cron spec start time + duration ```Protobuf type
google.cloud.gaming.v1.Schedule| Modifier and Type | Method and Description |
|---|---|
Schedule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Schedule |
build() |
Schedule |
buildPartial() |
Schedule.Builder |
clear() |
Schedule.Builder |
clearCronJobDuration()
The duration for the cron job event.
|
Schedule.Builder |
clearCronSpec()
The cron definition of the scheduled event.
|
Schedule.Builder |
clearEndTime()
The end time of the event.
|
Schedule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Schedule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Schedule.Builder |
clearStartTime()
The start time of the event.
|
Schedule.Builder |
clone() |
com.google.protobuf.Duration |
getCronJobDuration()
The duration for the cron job event.
|
com.google.protobuf.Duration.Builder |
getCronJobDurationBuilder()
The duration for the cron job event.
|
com.google.protobuf.DurationOrBuilder |
getCronJobDurationOrBuilder()
The duration for the cron job event.
|
String |
getCronSpec()
The cron definition of the scheduled event.
|
com.google.protobuf.ByteString |
getCronSpecBytes()
The cron definition of the scheduled event.
|
Schedule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The end time of the event.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The end time of the event.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of the event.
|
com.google.protobuf.Timestamp |
getStartTime()
The start time of the event.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
The start time of the event.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The start time of the event.
|
boolean |
hasCronJobDuration()
The duration for the cron job event.
|
boolean |
hasEndTime()
The end time of the event.
|
boolean |
hasStartTime()
The start time of the event.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Schedule.Builder |
mergeCronJobDuration(com.google.protobuf.Duration value)
The duration for the cron job event.
|
Schedule.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The end time of the event.
|
Schedule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Schedule.Builder |
mergeFrom(com.google.protobuf.Message other) |
Schedule.Builder |
mergeFrom(Schedule other) |
Schedule.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
The start time of the event.
|
Schedule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Schedule.Builder |
setCronJobDuration(com.google.protobuf.Duration.Builder builderForValue)
The duration for the cron job event.
|
Schedule.Builder |
setCronJobDuration(com.google.protobuf.Duration value)
The duration for the cron job event.
|
Schedule.Builder |
setCronSpec(String value)
The cron definition of the scheduled event.
|
Schedule.Builder |
setCronSpecBytes(com.google.protobuf.ByteString value)
The cron definition of the scheduled event.
|
Schedule.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end time of the event.
|
Schedule.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The end time of the event.
|
Schedule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Schedule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Schedule.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The start time of the event.
|
Schedule.Builder |
setStartTime(com.google.protobuf.Timestamp value)
The start time of the event.
|
Schedule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Schedule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Schedule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Schedule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Schedule.Builder>public Schedule.Builder mergeFrom(Schedule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public Schedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Schedule.Builder>IOExceptionpublic boolean hasStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;hasStartTime in interface ScheduleOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;getStartTime in interface ScheduleOrBuilderpublic Schedule.Builder setStartTime(com.google.protobuf.Timestamp value)
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public Schedule.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public Schedule.Builder mergeStartTime(com.google.protobuf.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 com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;public com.google.protobuf.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 com.google.protobuf.Timestamp getEndTime()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface ScheduleOrBuilderpublic Schedule.Builder setEndTime(com.google.protobuf.Timestamp value)
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public Schedule.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public Schedule.Builder mergeEndTime(com.google.protobuf.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 com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;public com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>public final Schedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Schedule.Builder>Copyright © 2023 Google LLC. All rights reserved.