Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionChannel is waiting for the input stream through the input.Channel is starting.Channel is stopped, finishing live streams.Channel is stopping.Channel is getting the input stream, generating the live streams to the specified output location.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).Channel is generating live streams with no input stream.Streaming state is not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intChannel is waiting for the input stream through the input.static final intChannel is starting.static final intChannel is stopped, finishing live streams.static final intChannel is stopping.static final intChannel is running, but has trouble publishing the live streams onto the specified output location (for example, the specified Cloud Storage bucket is not writable).static final intChannel is generating live streams with no input stream.static final intStreaming state is not specified.static final intChannel is getting the input stream, generating the live streams to the specified output location. -
Method Summary
Modifier and TypeMethodDescriptionstatic Channel.StreamingStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Channel.StreamingState>static Channel.StreamingStatevalueOf(int value) Deprecated.static Channel.StreamingStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Channel.StreamingStateReturns the enum constant of this type with the specified name.static Channel.StreamingState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STREAMING_STATE_UNSPECIFIED
Streaming state is not specified.
STREAMING_STATE_UNSPECIFIED = 0; -
STREAMING
Channel is getting the input stream, generating the live streams to the specified output location.
STREAMING = 1; -
AWAITING_INPUT
Channel is waiting for the input stream through the input.
AWAITING_INPUT = 2; -
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
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
Channel is stopped, finishing live streams.
STOPPED = 6; -
STARTING
Channel is starting.
STARTING = 7; -
STOPPING
Channel is stopping.
STOPPING = 8; -
UNRECOGNIZED
-
-
Field Details
-
STREAMING_STATE_UNSPECIFIED_VALUE
public static final int STREAMING_STATE_UNSPECIFIED_VALUEStreaming state is not specified.
STREAMING_STATE_UNSPECIFIED = 0;- See Also:
-
STREAMING_VALUE
public static final int STREAMING_VALUEChannel 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_VALUEChannel is waiting for the input stream through the input.
AWAITING_INPUT = 2;- See Also:
-
STREAMING_ERROR_VALUE
public static final int STREAMING_ERROR_VALUEChannel 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_VALUEChannel 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_VALUEChannel is stopped, finishing live streams.
STOPPED = 6;- See Also:
-
STARTING_VALUE
public static final int STARTING_VALUEChannel is starting.
STARTING = 7;- See Also:
-
STOPPING_VALUE
public static final int STOPPING_VALUEChannel is stopping.
STOPPING = 8;- 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
public static com.google.protobuf.Internal.EnumLiteMap<Channel.StreamingState> 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
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 nameNullPointerException- if the argument is null
-