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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.robot.v1.PeerConnectionInfoNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Robot.PeerConnectionInfooptional string local_address = 3 [json_name = "localAddress"];com.google.protobuf.ByteStringoptional string local_address = 3 [json_name = "localAddress"];optional string remote_address = 2 [json_name = "remoteAddress"];com.google.protobuf.ByteStringoptional 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"];booleanoptional string local_address = 3 [json_name = "localAddress"];booleanoptional string remote_address = 2 [json_name = "remoteAddress"];newBuilder(Robot.PeerConnectionInfo prototype) static Robot.PeerConnectionInfoparseDelimitedFrom(InputStream input) static Robot.PeerConnectionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfoparseFrom(byte[] data) static Robot.PeerConnectionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfoparseFrom(com.google.protobuf.ByteString data) static Robot.PeerConnectionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfoparseFrom(com.google.protobuf.CodedInputStream input) static Robot.PeerConnectionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfoparseFrom(InputStream input) static Robot.PeerConnectionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.PeerConnectionInfoparseFrom(ByteBuffer data) static Robot.PeerConnectionInfoparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getTypeValuein interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
.viam.robot.v1.PeerConnectionType type = 1 [json_name = "type"];- Specified by:
getTypein interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- The type.
-
hasRemoteAddress
public boolean hasRemoteAddress()optional string remote_address = 2 [json_name = "remoteAddress"];- Specified by:
hasRemoteAddressin interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
optional string remote_address = 2 [json_name = "remoteAddress"];- Specified by:
getRemoteAddressin interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- The remoteAddress.
-
getRemoteAddressBytes
public com.google.protobuf.ByteString getRemoteAddressBytes()optional string remote_address = 2 [json_name = "remoteAddress"];- Specified by:
getRemoteAddressBytesin interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- The bytes for remoteAddress.
-
hasLocalAddress
public boolean hasLocalAddress()optional string local_address = 3 [json_name = "localAddress"];- Specified by:
hasLocalAddressin interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- Whether the localAddress field is set.
-
getLocalAddress
optional string local_address = 3 [json_name = "localAddress"];- Specified by:
getLocalAddressin interfaceRobot.PeerConnectionInfoOrBuilder- Returns:
- The localAddress.
-
getLocalAddressBytes
public com.google.protobuf.ByteString getLocalAddressBytes()optional string local_address = 3 [json_name = "localAddress"];- Specified by:
getLocalAddressBytesin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Robot.PeerConnectionInfo,Robot.PeerConnectionInfo.Builder>
-
getDefaultInstance
-
parser
-