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.Schedule
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Schedule build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Schedule buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Schedule.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Schedule.Builder>
public Schedule.Builder mergeFrom(Schedule other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Schedule.Builder>
public Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Schedule.Builder>
IOException
public boolean hasStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;
hasStartTime
in interface ScheduleOrBuilder
public Timestamp getStartTime()
The start time of the event.
.google.protobuf.Timestamp start_time = 1;
getStartTime
in interface ScheduleOrBuilder
public 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 ScheduleOrBuilder
public boolean hasEndTime()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;
hasEndTime
in interface ScheduleOrBuilder
public Timestamp getEndTime()
The end time of the event.
.google.protobuf.Timestamp end_time = 2;
getEndTime
in interface ScheduleOrBuilder
public 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 ScheduleOrBuilder
public 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 ScheduleOrBuilder
public 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 ScheduleOrBuilder
public 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 ScheduleOrBuilder
public 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 ScheduleOrBuilder
public 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 ScheduleOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Schedule.Builder>
public final Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Schedule.Builder>
Copyright © 2020 Google LLC. All rights reserved.