Enum Channel.StreamingState

java.lang.Object
java.lang.Enum<Channel.StreamingState>
com.google.cloud.video.livestream.v1.Channel.StreamingState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Channel.StreamingState>
Enclosing class:
Channel

public static enum Channel.StreamingState extends Enum<Channel.StreamingState> implements com.google.protobuf.ProtocolMessageEnum
 State of streaming operation that the channel is running.
 
Protobuf enum google.cloud.video.livestream.v1.Channel.StreamingState
  • Enum Constant Details

    • STREAMING_STATE_UNSPECIFIED

      public static final Channel.StreamingState STREAMING_STATE_UNSPECIFIED
       Streaming state is not specified.
       
      STREAMING_STATE_UNSPECIFIED = 0;
    • STREAMING

      public static final Channel.StreamingState STREAMING
       Channel is getting the input stream, generating the live streams to the
       specified output location.
       
      STREAMING = 1;
    • AWAITING_INPUT

      public static final Channel.StreamingState AWAITING_INPUT
       Channel is waiting for the input stream through the input.
       
      AWAITING_INPUT = 2;
    • STREAMING_ERROR

      public static final Channel.StreamingState STREAMING_ERROR
       Channel is running, but has trouble publishing the live streams onto the
       specified output location (for example, the specified Cloud Storage
       bucket is not writable).
       
      STREAMING_ERROR = 4;
    • STREAMING_NO_INPUT

      public static final Channel.StreamingState STREAMING_NO_INPUT
       Channel is generating live streams with no input stream. Live streams are
       filled out with black screen, while input stream is missing.
       Not supported yet.
       
      STREAMING_NO_INPUT = 5;
    • STOPPED

      public static final Channel.StreamingState STOPPED
       Channel is stopped, finishing live streams.
       
      STOPPED = 6;
    • STARTING

      public static final Channel.StreamingState STARTING
       Channel is starting.
       
      STARTING = 7;
    • STOPPING

      public static final Channel.StreamingState STOPPING
       Channel is stopping.
       
      STOPPING = 8;
    • UNRECOGNIZED

      public static final Channel.StreamingState UNRECOGNIZED
  • Field Details

    • STREAMING_STATE_UNSPECIFIED_VALUE

      public static final int STREAMING_STATE_UNSPECIFIED_VALUE
       Streaming state is not specified.
       
      STREAMING_STATE_UNSPECIFIED = 0;
      See Also:
    • STREAMING_VALUE

      public static final int STREAMING_VALUE
       Channel is getting the input stream, generating the live streams to the
       specified output location.
       
      STREAMING = 1;
      See Also:
    • AWAITING_INPUT_VALUE

      public static final int AWAITING_INPUT_VALUE
       Channel is waiting for the input stream through the input.
       
      AWAITING_INPUT = 2;
      See Also:
    • STREAMING_ERROR_VALUE

      public static final int STREAMING_ERROR_VALUE
       Channel is running, but has trouble publishing the live streams onto the
       specified output location (for example, the specified Cloud Storage
       bucket is not writable).
       
      STREAMING_ERROR = 4;
      See Also:
    • STREAMING_NO_INPUT_VALUE

      public static final int STREAMING_NO_INPUT_VALUE
       Channel is generating live streams with no input stream. Live streams are
       filled out with black screen, while input stream is missing.
       Not supported yet.
       
      STREAMING_NO_INPUT = 5;
      See Also:
    • STOPPED_VALUE

      public static final int STOPPED_VALUE
       Channel is stopped, finishing live streams.
       
      STOPPED = 6;
      See Also:
    • STARTING_VALUE

      public static final int STARTING_VALUE
       Channel is starting.
       
      STARTING = 7;
      See Also:
    • STOPPING_VALUE

      public static final int STOPPING_VALUE
       Channel is stopping.
       
      STOPPING = 8;
      See Also:
  • Method Details

    • values

      public static Channel.StreamingState[] 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 Channel.StreamingState 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 Channel.StreamingState 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 Channel.StreamingState 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<Channel.StreamingState> 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 Channel.StreamingState 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