Package viam.app.agent.v1
Class Agent.DeviceAgentConfigRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Agent.DeviceAgentConfigRequest,Agent.DeviceAgentConfigRequest.Builder>
viam.app.agent.v1.Agent.DeviceAgentConfigRequest
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Agent.DeviceAgentConfigRequestOrBuilder
- Enclosing class:
- Agent
public static final class Agent.DeviceAgentConfigRequest
extends com.google.protobuf.GeneratedMessageLite<Agent.DeviceAgentConfigRequest,Agent.DeviceAgentConfigRequest.Builder>
implements Agent.DeviceAgentConfigRequestOrBuilder
Device sideProtobuf type
viam.app.agent.v1.DeviceAgentConfigRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Device sideNested 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 int
static 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 TypeMethodDescriptionboolean
Deprecated.protected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) info about the host systemgetId()
robot partIDcom.google.protobuf.ByteString
robot partIDDeprecated.int
Deprecated.Deprecated.getSubsystemVersionsOrDefault
(String key, String defaultValue) Deprecated.Deprecated.Currently installed versions for agent and viam-serverboolean
info about the host systemboolean
Currently installed versions for agent and viam-servernewBuilder
(Agent.DeviceAgentConfigRequest prototype) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Agent.DeviceAgentConfigRequest>
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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
HOST_INFO_FIELD_NUMBER
public static final int HOST_INFO_FIELD_NUMBER- See Also:
-
SUBSYSTEM_VERSIONS_FIELD_NUMBER
public static final int SUBSYSTEM_VERSIONS_FIELD_NUMBER- See Also:
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
robot partID
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()robot partID
string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
- Returns:
- The bytes for id.
-
hasHostInfo
public boolean hasHostInfo()info about the host system
.viam.app.agent.v1.HostInfo host_info = 2 [json_name = "hostInfo"];
- Specified by:
hasHostInfo
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
- Returns:
- Whether the hostInfo field is set.
-
getHostInfo
info about the host system
.viam.app.agent.v1.HostInfo host_info = 2 [json_name = "hostInfo"];
- Specified by:
getHostInfo
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
- Returns:
- The hostInfo.
-
getSubsystemVersionsCount
Deprecated.Description copied from interface:Agent.DeviceAgentConfigRequestOrBuilder
current subsystems and versions DEPRECATED in favor of version_info
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions", deprecated = true];
- Specified by:
getSubsystemVersionsCount
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
containsSubsystemVersions
Deprecated.current subsystems and versions DEPRECATED in favor of version_info
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions", deprecated = true];
- Specified by:
containsSubsystemVersions
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersions
Deprecated.UsegetSubsystemVersionsMap()
instead.- Specified by:
getSubsystemVersions
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersionsMap
Deprecated.current subsystems and versions DEPRECATED in favor of version_info
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions", deprecated = true];
- Specified by:
getSubsystemVersionsMap
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersionsOrDefault
Deprecated.current subsystems and versions DEPRECATED in favor of version_info
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions", deprecated = true];
- Specified by:
getSubsystemVersionsOrDefault
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersionsOrThrow
Deprecated.current subsystems and versions DEPRECATED in favor of version_info
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions", deprecated = true];
- Specified by:
getSubsystemVersionsOrThrow
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
hasVersionInfo
public boolean hasVersionInfo()Currently installed versions for agent and viam-server
.viam.app.agent.v1.VersionInfo version_info = 4 [json_name = "versionInfo"];
- Specified by:
hasVersionInfo
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
- Returns:
- Whether the versionInfo field is set.
-
getVersionInfo
Currently installed versions for agent and viam-server
.viam.app.agent.v1.VersionInfo version_info = 4 [json_name = "versionInfo"];
- Specified by:
getVersionInfo
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
- Returns:
- The versionInfo.
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Agent.DeviceAgentConfigRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Agent.DeviceAgentConfigRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.DeviceAgentConfigRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Agent.DeviceAgentConfigRequest.Builder newBuilder(Agent.DeviceAgentConfigRequest prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Agent.DeviceAgentConfigRequest,
Agent.DeviceAgentConfigRequest.Builder>
-
getDefaultInstance
-
parser
-