Enum DvrSession.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DvrSession.State>
- Enclosing class:
- DvrSession
public static enum DvrSession.State
extends Enum<DvrSession.State>
implements com.google.protobuf.ProtocolMessageEnum
State of the DVR session.Protobuf enum
google.cloud.video.livestream.v1.DvrSession.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe session is in cooldown.The session is being deleted.The operation has failed.Outputs are available in the specified Cloud Storage bucket.The session is currently in progress and the outputs are available in the specified Cloud Storage bucket.The operation is pending to be picked up by the server.The session is being post processed.The session is scheduled and waiting for the start time.State is not specified.The session is being stopped.The session is being updated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe session is in cooldown.static final intThe session is being deleted.static final intThe operation has failed.static final intOutputs are available in the specified Cloud Storage bucket.static final intThe session is currently in progress and the outputs are available in the specified Cloud Storage bucket.static final intThe operation is pending to be picked up by the server.static final intThe session is being post processed.static final intThe session is scheduled and waiting for the start time.static final intState is not specified.static final intThe session is being stopped.static final intThe session is being updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DvrSession.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DvrSession.State>static DvrSession.StatevalueOf(int value) Deprecated.static DvrSession.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DvrSession.StateReturns the enum constant of this type with the specified name.static DvrSession.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
State is not specified.
STATE_UNSPECIFIED = 0; -
PENDING
The operation is pending to be picked up by the server.
PENDING = 1; -
UPDATING
The session is being updated.
UPDATING = 2; -
SCHEDULED
The session is scheduled and waiting for the start time.
SCHEDULED = 3; -
LIVE
The session is currently in progress and the outputs are available in the specified Cloud Storage bucket. For additional information, see the `dvr_manifests.output_uri` field.
LIVE = 4; -
FINISHED
Outputs are available in the specified Cloud Storage bucket. For additional information, see the `dvr_manifests.output_uri` field.
FINISHED = 5; -
FAILED
The operation has failed. For additional information, see the `error` field.
FAILED = 6; -
DELETING
The session is being deleted.
DELETING = 7; -
POST_PROCESSING
The session is being post processed.
POST_PROCESSING = 8; -
COOLDOWN
The session is in cooldown. The cooldown period lasts for 60 seconds. When the DVR session is updated by the user to have a new end time that is likely already in the past, the DVR manifest will end as soon as possible and the DVR session will move to this state. This is done to prevent the players to receive a manifest update that removes a segment that has already been played. After the cooldown period ends, a new manifest is generated that honors the new end time.
COOLDOWN = 9; -
STOPPING
The session is being stopped. The session will move to STOPPING state, if the parent channel is updated.
STOPPING = 10; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEState is not specified.
STATE_UNSPECIFIED = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEThe operation is pending to be picked up by the server.
PENDING = 1;- See Also:
-
UPDATING_VALUE
public static final int UPDATING_VALUEThe session is being updated.
UPDATING = 2;- See Also:
-
SCHEDULED_VALUE
public static final int SCHEDULED_VALUEThe session is scheduled and waiting for the start time.
SCHEDULED = 3;- See Also:
-
LIVE_VALUE
public static final int LIVE_VALUEThe session is currently in progress and the outputs are available in the specified Cloud Storage bucket. For additional information, see the `dvr_manifests.output_uri` field.
LIVE = 4;- See Also:
-
FINISHED_VALUE
public static final int FINISHED_VALUEOutputs are available in the specified Cloud Storage bucket. For additional information, see the `dvr_manifests.output_uri` field.
FINISHED = 5;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe operation has failed. For additional information, see the `error` field.
FAILED = 6;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEThe session is being deleted.
DELETING = 7;- See Also:
-
POST_PROCESSING_VALUE
public static final int POST_PROCESSING_VALUEThe session is being post processed.
POST_PROCESSING = 8;- See Also:
-
COOLDOWN_VALUE
public static final int COOLDOWN_VALUEThe session is in cooldown. The cooldown period lasts for 60 seconds. When the DVR session is updated by the user to have a new end time that is likely already in the past, the DVR manifest will end as soon as possible and the DVR session will move to this state. This is done to prevent the players to receive a manifest update that removes a segment that has already been played. After the cooldown period ends, a new manifest is generated that honors the new end time.
COOLDOWN = 9;- See Also:
-
STOPPING_VALUE
public static final int STOPPING_VALUEThe session is being stopped. The session will move to STOPPING state, if the parent channel is updated.
STOPPING = 10;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-