Enum DvrSession.State

java.lang.Object
java.lang.Enum<DvrSession.State>
com.google.cloud.video.livestream.v1.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 Details

    • STATE_UNSPECIFIED

      public static final DvrSession.State STATE_UNSPECIFIED
       State is not specified.
       
      STATE_UNSPECIFIED = 0;
    • PENDING

      public static final DvrSession.State PENDING
       The operation is pending to be picked up by the server.
       
      PENDING = 1;
    • UPDATING

      public static final DvrSession.State UPDATING
       The session is being updated.
       
      UPDATING = 2;
    • SCHEDULED

      public static final DvrSession.State SCHEDULED
       The session is scheduled and waiting for the start time.
       
      SCHEDULED = 3;
    • LIVE

      public static final DvrSession.State 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

      public static final DvrSession.State FINISHED
       Outputs are available in the specified Cloud Storage bucket. For
       additional information, see the `dvr_manifests.output_uri` field.
       
      FINISHED = 5;
    • FAILED

      public static final DvrSession.State FAILED
       The operation has failed. For additional information, see the `error`
       field.
       
      FAILED = 6;
    • DELETING

      public static final DvrSession.State DELETING
       The session is being deleted.
       
      DELETING = 7;
    • POST_PROCESSING

      public static final DvrSession.State POST_PROCESSING
       The session is being post processed.
       
      POST_PROCESSING = 8;
    • COOLDOWN

      public static final DvrSession.State 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

      public static final DvrSession.State STOPPING
       The session is being stopped. The session will move to STOPPING state, if
       the parent channel is updated.
       
      STOPPING = 10;
    • UNRECOGNIZED

      public static final DvrSession.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       State is not specified.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • PENDING_VALUE

      public static final int PENDING_VALUE
       The operation is pending to be picked up by the server.
       
      PENDING = 1;
      See Also:
    • UPDATING_VALUE

      public static final int UPDATING_VALUE
       The session is being updated.
       
      UPDATING = 2;
      See Also:
    • SCHEDULED_VALUE

      public static final int SCHEDULED_VALUE
       The session is scheduled and waiting for the start time.
       
      SCHEDULED = 3;
      See Also:
    • LIVE_VALUE

      public static final int LIVE_VALUE
       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;
      See Also:
    • FINISHED_VALUE

      public static final int FINISHED_VALUE
       Outputs 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_VALUE
       The operation has failed. For additional information, see the `error`
       field.
       
      FAILED = 6;
      See Also:
    • DELETING_VALUE

      public static final int DELETING_VALUE
       The session is being deleted.
       
      DELETING = 7;
      See Also:
    • POST_PROCESSING_VALUE

      public static final int POST_PROCESSING_VALUE
       The session is being post processed.
       
      POST_PROCESSING = 8;
      See Also:
    • COOLDOWN_VALUE

      public static final int COOLDOWN_VALUE
       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;
      See Also:
    • STOPPING_VALUE

      public static final int STOPPING_VALUE
       The session is being stopped. The session will move to STOPPING state, if
       the parent channel is updated.
       
      STOPPING = 10;
      See Also:
  • Method Details

    • values

      public static DvrSession.State[] 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

      public static DvrSession.State valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DvrSession.State valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static DvrSession.State forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<DvrSession.State> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DvrSession.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null