Enum Distribution.State

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

public static enum Distribution.State extends Enum<Distribution.State> implements com.google.protobuf.ProtocolMessageEnum
 State of this distribution.
 
Protobuf enum google.cloud.video.livestream.v1.Distribution.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final Distribution.State STATE_UNSPECIFIED
       State is not specified.
       
      STATE_UNSPECIFIED = 0;
    • ERROR

      public static final Distribution.State ERROR
       Distribution has trouble to produce or deliver the output.
       
      ERROR = 5;
    • NOT_READY

      public static final Distribution.State NOT_READY
       Distribution is not ready to be started.
       
      NOT_READY = 6;
    • READY

      public static final Distribution.State READY
       Distribution is ready to be started.
       
      READY = 7;
    • AWAITING_INPUT

      public static final Distribution.State AWAITING_INPUT
       Distribution is already started and is waiting for input.
       
      AWAITING_INPUT = 8;
    • DISTRIBUTING

      public static final Distribution.State DISTRIBUTING
       Distribution is already started and is generating output.
       
      DISTRIBUTING = 9;
    • UNRECOGNIZED

      public static final Distribution.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

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

      public static final int ERROR_VALUE
       Distribution has trouble to produce or deliver the output.
       
      ERROR = 5;
      See Also:
    • NOT_READY_VALUE

      public static final int NOT_READY_VALUE
       Distribution is not ready to be started.
       
      NOT_READY = 6;
      See Also:
    • READY_VALUE

      public static final int READY_VALUE
       Distribution is ready to be started.
       
      READY = 7;
      See Also:
    • AWAITING_INPUT_VALUE

      public static final int AWAITING_INPUT_VALUE
       Distribution is already started and is waiting for input.
       
      AWAITING_INPUT = 8;
      See Also:
    • DISTRIBUTING_VALUE

      public static final int DISTRIBUTING_VALUE
       Distribution is already started and is generating output.
       
      DISTRIBUTING = 9;
      See Also:
  • Method Details

    • values

      public static Distribution.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 Distribution.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 Distribution.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 Distribution.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<Distribution.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 Distribution.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