Package com.viam.robot.v1
Enum Class Robot.PeerConnectionType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Robot.PeerConnectionType>
,Constable
- Enclosing class:
- Robot
public static enum Robot.PeerConnectionType
extends Enum<Robot.PeerConnectionType>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.robot.v1.PeerConnectionType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPEER_CONNECTION_TYPE_GRPC = 1;
PEER_CONNECTION_TYPE_UNSPECIFIED = 0;
PEER_CONNECTION_TYPE_WEBRTC = 2;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PEER_CONNECTION_TYPE_GRPC = 1;
static final int
PEER_CONNECTION_TYPE_UNSPECIFIED = 0;
static final int
PEER_CONNECTION_TYPE_WEBRTC = 2;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Robot.PeerConnectionType
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Robot.PeerConnectionType>
static com.google.protobuf.Internal.EnumVerifier
static Robot.PeerConnectionType
valueOf
(int value) Deprecated.static Robot.PeerConnectionType
Returns the enum constant of this class with the specified name.static Robot.PeerConnectionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PEER_CONNECTION_TYPE_UNSPECIFIED
PEER_CONNECTION_TYPE_UNSPECIFIED = 0;
-
PEER_CONNECTION_TYPE_GRPC
PEER_CONNECTION_TYPE_GRPC = 1;
-
PEER_CONNECTION_TYPE_WEBRTC
PEER_CONNECTION_TYPE_WEBRTC = 2;
-
UNRECOGNIZED
-
-
Field Details
-
PEER_CONNECTION_TYPE_UNSPECIFIED_VALUE
public static final int PEER_CONNECTION_TYPE_UNSPECIFIED_VALUEPEER_CONNECTION_TYPE_UNSPECIFIED = 0;
- See Also:
-
PEER_CONNECTION_TYPE_GRPC_VALUE
public static final int PEER_CONNECTION_TYPE_GRPC_VALUEPEER_CONNECTION_TYPE_GRPC = 1;
- See Also:
-
PEER_CONNECTION_TYPE_WEBRTC_VALUE
public static final int PEER_CONNECTION_TYPE_WEBRTC_VALUEPEER_CONNECTION_TYPE_WEBRTC = 2;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Robot.PeerConnectionType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-