Package com.viam.robot.v1
Interface Robot.PeerConnectionInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.PeerConnectionInfo
,Robot.PeerConnectionInfo.Builder
- Enclosing class:
- Robot
public static interface Robot.PeerConnectionInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string local_address = 3 [json_name = "localAddress"];
com.google.protobuf.ByteString
optional string local_address = 3 [json_name = "localAddress"];
optional string remote_address = 2 [json_name = "remoteAddress"];
com.google.protobuf.ByteString
optional string remote_address = 2 [json_name = "remoteAddress"];
getType()
.viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];
int
.viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];
boolean
optional string local_address = 3 [json_name = "localAddress"];
boolean
optional string remote_address = 2 [json_name = "remoteAddress"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTypeValue
int getTypeValue().viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];
- Returns:
- The enum numeric value on the wire for type.
-
getType
Robot.PeerConnectionType getType().viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];
- Returns:
- The type.
-
hasRemoteAddress
boolean hasRemoteAddress()optional string remote_address = 2 [json_name = "remoteAddress"];
- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
String getRemoteAddress()optional string remote_address = 2 [json_name = "remoteAddress"];
- Returns:
- The remoteAddress.
-
getRemoteAddressBytes
com.google.protobuf.ByteString getRemoteAddressBytes()optional string remote_address = 2 [json_name = "remoteAddress"];
- Returns:
- The bytes for remoteAddress.
-
hasLocalAddress
boolean hasLocalAddress()optional string local_address = 3 [json_name = "localAddress"];
- Returns:
- Whether the localAddress field is set.
-
getLocalAddress
String getLocalAddress()optional string local_address = 3 [json_name = "localAddress"];
- Returns:
- The localAddress.
-
getLocalAddressBytes
com.google.protobuf.ByteString getLocalAddressBytes()optional string local_address = 3 [json_name = "localAddress"];
- Returns:
- The bytes for localAddress.
-