public final class Schedule extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Schedule.Builder
The schedule of a recurring or one time event.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Duration |
getCronJobDuration()
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.
|
static Schedule |
getDefaultInstance() |
Schedule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
The end time of the event.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of the event.
|
com.google.protobuf.Parser<Schedule> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
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.
|
int |
hashCode() |
boolean |
hasStartTime()
The start time of the event.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Schedule.Builder |
newBuilder() |
static Schedule.Builder |
newBuilder(Schedule prototype) |
Schedule.Builder |
newBuilderForType() |
protected Schedule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Schedule |
parseDelimitedFrom(InputStream input) |
static Schedule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Schedule |
parseFrom(byte[] data) |
static Schedule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Schedule |
parseFrom(ByteBuffer data) |
static Schedule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Schedule |
parseFrom(com.google.protobuf.ByteString data) |
static Schedule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Schedule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Schedule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Schedule |
parseFrom(InputStream input) |
static Schedule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Schedule> |
parser() |
Schedule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, waitpublic 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(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Schedule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Schedule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Schedule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Schedule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Schedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Schedule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Schedule parseFrom(InputStream input) throws IOException
IOExceptionpublic static Schedule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Schedule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Schedule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Schedule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Schedule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Schedule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Schedule.Builder newBuilder()
public static Schedule.Builder newBuilder(Schedule prototype)
public Schedule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Schedule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Schedule getDefaultInstance()
public static com.google.protobuf.Parser<Schedule> parser()
public com.google.protobuf.Parser<Schedule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Schedule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.