Enum Class Robot.PeerConnectionType

java.lang.Object
java.lang.Enum<Robot.PeerConnectionType>
com.viam.robot.v1.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
  • Enum Constant Details

    • PEER_CONNECTION_TYPE_UNSPECIFIED

      public static final Robot.PeerConnectionType PEER_CONNECTION_TYPE_UNSPECIFIED
      PEER_CONNECTION_TYPE_UNSPECIFIED = 0;
    • PEER_CONNECTION_TYPE_GRPC

      public static final Robot.PeerConnectionType PEER_CONNECTION_TYPE_GRPC
      PEER_CONNECTION_TYPE_GRPC = 1;
    • PEER_CONNECTION_TYPE_WEBRTC

      public static final Robot.PeerConnectionType PEER_CONNECTION_TYPE_WEBRTC
      PEER_CONNECTION_TYPE_WEBRTC = 2;
    • UNRECOGNIZED

      public static final Robot.PeerConnectionType UNRECOGNIZED
  • Field Details

    • PEER_CONNECTION_TYPE_UNSPECIFIED_VALUE

      public static final int PEER_CONNECTION_TYPE_UNSPECIFIED_VALUE
      PEER_CONNECTION_TYPE_UNSPECIFIED = 0;
      See Also:
    • PEER_CONNECTION_TYPE_GRPC_VALUE

      public static final int PEER_CONNECTION_TYPE_GRPC_VALUE
      PEER_CONNECTION_TYPE_GRPC = 1;
      See Also:
    • PEER_CONNECTION_TYPE_WEBRTC_VALUE

      public static final int PEER_CONNECTION_TYPE_WEBRTC_VALUE
      PEER_CONNECTION_TYPE_WEBRTC = 2;
      See Also:
  • Method Details

    • values

      public static Robot.PeerConnectionType[] 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

      public static Robot.PeerConnectionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static Robot.PeerConnectionType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Robot.PeerConnectionType forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Robot.PeerConnectionType> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()