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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessage
public java.lang.String getName()
Name.
string name = 1 [json_name = "name"];
getName
in interface LiveEventOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name.
string name = 1 [json_name = "name"];
getNameBytes
in interface LiveEventOrBuilder
public java.lang.String getDescription()
Description.
string description = 2 [json_name = "description"];
getDescription
in interface LiveEventOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
Description.
string description = 2 [json_name = "description"];
getDescriptionBytes
in interface LiveEventOrBuilder
public java.lang.String getValue()
Event value.
string value = 3 [json_name = "value"];
getValue
in interface LiveEventOrBuilder
public com.google.protobuf.ByteString getValueBytes()
Event value.
string value = 3 [json_name = "value"];
getValueBytes
in interface LiveEventOrBuilder
public long getActiveStartTimeSec()
Start time of current event run.
int64 active_start_time_sec = 4 [json_name = "activeStartTimeSec"];
getActiveStartTimeSec
in interface LiveEventOrBuilder
public long getActiveEndTimeSec()
End time of current event run.
int64 active_end_time_sec = 5 [json_name = "activeEndTimeSec"];
getActiveEndTimeSec
in interface LiveEventOrBuilder
public java.lang.String getId()
The live event identifier.
string id = 6 [json_name = "id"];
getId
in interface LiveEventOrBuilder
public com.google.protobuf.ByteString getIdBytes()
The live event identifier.
string id = 6 [json_name = "id"];
getIdBytes
in interface LiveEventOrBuilder
public long getStartTimeSec()
Start time.
int64 start_time_sec = 7 [json_name = "startTimeSec"];
getStartTimeSec
in interface LiveEventOrBuilder
public long getEndTimeSec()
End time, 0 if it repeats forever.
int64 end_time_sec = 8 [json_name = "endTimeSec"];
getEndTimeSec
in interface LiveEventOrBuilder
public long getDurationSec()
Duration in seconds.
int64 duration_sec = 9 [json_name = "durationSec"];
getDurationSec
in interface LiveEventOrBuilder
public java.lang.String getResetCron()
Reset CRON schedule, if configured.
string reset_cron = 10 [json_name = "resetCron"];
getResetCron
in interface LiveEventOrBuilder
public com.google.protobuf.ByteString getResetCronBytes()
Reset CRON schedule, if configured.
string reset_cron = 10 [json_name = "resetCron"];
getResetCronBytes
in interface LiveEventOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LiveEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiveEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiveEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiveEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiveEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiveEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiveEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LiveEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiveEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LiveEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiveEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LiveEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LiveEvent.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LiveEvent.Builder newBuilder()
public static LiveEvent.Builder newBuilder(LiveEvent prototype)
public LiveEvent.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LiveEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static LiveEvent getDefaultInstance()
public static com.google.protobuf.Parser<LiveEvent> parser()
public com.google.protobuf.Parser<LiveEvent> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public LiveEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder