public final class LiveEvent extends com.google.protobuf.GeneratedMessage implements LiveEventOrBuilder
A single live event.Protobuf type
satori.api.LiveEvent| Modifier and Type | Class and Description |
|---|---|
static class |
LiveEvent.Builder
A single live event.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_END_TIME_SEC_FIELD_NUMBER |
static int |
ACTIVE_START_TIME_SEC_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DURATION_SEC_FIELD_NUMBER |
static int |
END_TIME_SEC_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RESET_CRON_FIELD_NUMBER |
static int |
START_TIME_SEC_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getActiveEndTimeSec()
End time of current event run.
|
long |
getActiveStartTimeSec()
Start time of current event run.
|
static LiveEvent |
getDefaultInstance() |
LiveEvent |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getDurationSec()
Duration in seconds.
|
long |
getEndTimeSec()
End time, 0 if it repeats forever.
|
java.lang.String |
getId()
The live event identifier.
|
com.google.protobuf.ByteString |
getIdBytes()
The live event identifier.
|
java.lang.String |
getName()
Name.
|
com.google.protobuf.ByteString |
getNameBytes()
Name.
|
com.google.protobuf.Parser<LiveEvent> |
getParserForType() |
java.lang.String |
getResetCron()
Reset CRON schedule, if configured.
|
com.google.protobuf.ByteString |
getResetCronBytes()
Reset CRON schedule, if configured.
|
int |
getSerializedSize() |
long |
getStartTimeSec()
Start time.
|
java.lang.String |
getValue()
Event value.
|
com.google.protobuf.ByteString |
getValueBytes()
Event value.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LiveEvent.Builder |
newBuilder() |
static LiveEvent.Builder |
newBuilder(LiveEvent prototype) |
LiveEvent.Builder |
newBuilderForType() |
protected LiveEvent.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static LiveEvent |
parseDelimitedFrom(java.io.InputStream input) |
static LiveEvent |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiveEvent |
parseFrom(byte[] data) |
static LiveEvent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiveEvent |
parseFrom(java.nio.ByteBuffer data) |
static LiveEvent |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiveEvent |
parseFrom(com.google.protobuf.ByteString data) |
static LiveEvent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiveEvent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LiveEvent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiveEvent |
parseFrom(java.io.InputStream input) |
static LiveEvent |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LiveEvent> |
parser() |
LiveEvent.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int ACTIVE_START_TIME_SEC_FIELD_NUMBER
public static final int ACTIVE_END_TIME_SEC_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int START_TIME_SEC_FIELD_NUMBER
public static final int END_TIME_SEC_FIELD_NUMBER
public static final int DURATION_SEC_FIELD_NUMBER
public static final int RESET_CRON_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic java.lang.String getName()
Name.
string name = 1 [json_name = "name"];getName in interface LiveEventOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name.
string name = 1 [json_name = "name"];getNameBytes in interface LiveEventOrBuilderpublic java.lang.String getDescription()
Description.
string description = 2 [json_name = "description"];getDescription in interface LiveEventOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description.
string description = 2 [json_name = "description"];getDescriptionBytes in interface LiveEventOrBuilderpublic java.lang.String getValue()
Event value.
string value = 3 [json_name = "value"];getValue in interface LiveEventOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Event value.
string value = 3 [json_name = "value"];getValueBytes in interface LiveEventOrBuilderpublic long getActiveStartTimeSec()
Start time of current event run.
int64 active_start_time_sec = 4 [json_name = "activeStartTimeSec"];getActiveStartTimeSec in interface LiveEventOrBuilderpublic long getActiveEndTimeSec()
End time of current event run.
int64 active_end_time_sec = 5 [json_name = "activeEndTimeSec"];getActiveEndTimeSec in interface LiveEventOrBuilderpublic java.lang.String getId()
The live event identifier.
string id = 6 [json_name = "id"];getId in interface LiveEventOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
The live event identifier.
string id = 6 [json_name = "id"];getIdBytes in interface LiveEventOrBuilderpublic long getStartTimeSec()
Start time.
int64 start_time_sec = 7 [json_name = "startTimeSec"];getStartTimeSec in interface LiveEventOrBuilderpublic long getEndTimeSec()
End time, 0 if it repeats forever.
int64 end_time_sec = 8 [json_name = "endTimeSec"];getEndTimeSec in interface LiveEventOrBuilderpublic long getDurationSec()
Duration in seconds.
int64 duration_sec = 9 [json_name = "durationSec"];getDurationSec in interface LiveEventOrBuilderpublic java.lang.String getResetCron()
Reset CRON schedule, if configured.
string reset_cron = 10 [json_name = "resetCron"];getResetCron in interface LiveEventOrBuilderpublic com.google.protobuf.ByteString getResetCronBytes()
Reset CRON schedule, if configured.
string reset_cron = 10 [json_name = "resetCron"];getResetCronBytes in interface LiveEventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.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 LiveEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiveEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiveEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiveEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiveEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiveEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiveEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LiveEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LiveEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LiveEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LiveEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LiveEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LiveEvent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LiveEvent.Builder newBuilder()
public static LiveEvent.Builder newBuilder(LiveEvent prototype)
public LiveEvent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LiveEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static LiveEvent getDefaultInstance()
public static com.google.protobuf.Parser<LiveEvent> parser()
public com.google.protobuf.Parser<LiveEvent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic LiveEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder