Package com.viam.robot.v1
Class Robot.PeerConnectionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.PeerConnectionInfo,Robot.PeerConnectionInfo.Builder>
com.viam.robot.v1.Robot.PeerConnectionInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Robot.PeerConnectionInfoOrBuilder
- Enclosing class:
- Robot
public static final class Robot.PeerConnectionInfo
extends com.google.protobuf.GeneratedMessageLite<Robot.PeerConnectionInfo,Robot.PeerConnectionInfo.Builder>
implements Robot.PeerConnectionInfoOrBuilder
Protobuf type
viam.robot.v1.PeerConnectionInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.robot.v1.PeerConnectionInfo
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Robot.PeerConnectionInfo
optional 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"];
newBuilder
(Robot.PeerConnectionInfo prototype) static Robot.PeerConnectionInfo
parseDelimitedFrom
(InputStream input) static Robot.PeerConnectionInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfo
parseFrom
(byte[] data) static Robot.PeerConnectionInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfo
parseFrom
(com.google.protobuf.ByteString data) static Robot.PeerConnectionInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.PeerConnectionInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfo
parseFrom
(InputStream input) static Robot.PeerConnectionInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfo
parseFrom
(ByteBuffer data) static Robot.PeerConnectionInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.PeerConnectionInfo>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
REMOTE_ADDRESS_FIELD_NUMBER
public static final int REMOTE_ADDRESS_FIELD_NUMBER- See Also:
-
LOCAL_ADDRESS_FIELD_NUMBER
public static final int LOCAL_ADDRESS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getTypeValue
public int getTypeValue().viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];
- Specified by:
getTypeValue
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
.viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];
- Specified by:
getType
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- The type.
-
hasRemoteAddress
public boolean hasRemoteAddress()optional string remote_address = 2 [json_name = "remoteAddress"];
- Specified by:
hasRemoteAddress
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
optional string remote_address = 2 [json_name = "remoteAddress"];
- Specified by:
getRemoteAddress
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- The remoteAddress.
-
getRemoteAddressBytes
public com.google.protobuf.ByteString getRemoteAddressBytes()optional string remote_address = 2 [json_name = "remoteAddress"];
- Specified by:
getRemoteAddressBytes
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- The bytes for remoteAddress.
-
hasLocalAddress
public boolean hasLocalAddress()optional string local_address = 3 [json_name = "localAddress"];
- Specified by:
hasLocalAddress
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- Whether the localAddress field is set.
-
getLocalAddress
optional string local_address = 3 [json_name = "localAddress"];
- Specified by:
getLocalAddress
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- The localAddress.
-
getLocalAddressBytes
public com.google.protobuf.ByteString getLocalAddressBytes()optional string local_address = 3 [json_name = "localAddress"];
- Specified by:
getLocalAddressBytes
in interfaceRobot.PeerConnectionInfoOrBuilder
- Returns:
- The bytes for localAddress.
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.PeerConnectionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.PeerConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Robot.PeerConnectionInfo,
Robot.PeerConnectionInfo.Builder>
-
getDefaultInstance
-
parser
-