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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Schedule parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Schedule parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Schedule parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Schedule parseFrom(InputStream input) throws IOException
IOException
public static Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Schedule parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Schedule parseFrom(CodedInputStream input) throws IOException
IOException
public static Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Schedule.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Schedule.Builder newBuilder()
public static Schedule.Builder newBuilder(Schedule prototype)
public Schedule.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Schedule getDefaultInstance()
public Parser<Schedule> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Schedule getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2020 Google LLC. All rights reserved.