Enum Input.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Input.Type>
- Enclosing class:
- Input
public static enum Input.Type
extends Enum<Input.Type>
implements com.google.protobuf.ProtocolMessageEnum
The type of the input.Protobuf enum
google.cloud.video.livestream.v1.Input.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInput will take an rtmp input stream.Input will take an srt (Secure Reliable Transport) input stream.Input type is not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intInput will take an rtmp input stream.static final intInput will take an srt (Secure Reliable Transport) input stream.static final intInput type is not specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Input.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Input.Type>static Input.TypevalueOf(int value) Deprecated.static Input.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Input.TypeReturns the enum constant of this type with the specified name.static Input.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Input type is not specified.
TYPE_UNSPECIFIED = 0; -
RTMP_PUSH
Input will take an rtmp input stream.
RTMP_PUSH = 1; -
SRT_PUSH
Input will take an srt (Secure Reliable Transport) input stream.
SRT_PUSH = 2; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEInput type is not specified.
TYPE_UNSPECIFIED = 0;- See Also:
-
RTMP_PUSH_VALUE
public static final int RTMP_PUSH_VALUEInput will take an rtmp input stream.
RTMP_PUSH = 1;- See Also:
-
SRT_PUSH_VALUE
public static final int SRT_PUSH_VALUEInput will take an srt (Secure Reliable Transport) input stream.
SRT_PUSH = 2;- 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
-