public final class Schedule extends GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
Schedule.Builder
The schedule of an event - the event can be recurring or one time.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
CRON_JOB_DURATION_FIELD_NUMBER |
static int |
CRON_SPEC_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int CRON_JOB_DURATION_FIELD_NUMBER
public static final int CRON_SPEC_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 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 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 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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Schedule parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Schedule parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Schedule parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Schedule parseFrom(InputStream input) throws IOException
IOExceptionpublic static Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Schedule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Schedule parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Schedule.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Schedule.Builder newBuilder()
public static Schedule.Builder newBuilder(Schedule prototype)
public Schedule.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Schedule getDefaultInstance()
public Parser<Schedule> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Schedule getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.