Package viam.app.agent.v1
Class Agent.DeviceAgentConfigRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Agent.DeviceAgentConfigRequest,Agent.DeviceAgentConfigRequest.Builder>
viam.app.agent.v1.Agent.DeviceAgentConfigRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Agent.DeviceAgentConfigRequestOrBuilder
- Enclosing class:
- Agent.DeviceAgentConfigRequest
public static final class Agent.DeviceAgentConfigRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Agent.DeviceAgentConfigRequest,Agent.DeviceAgentConfigRequest.Builder>
implements Agent.DeviceAgentConfigRequestOrBuilder
Device sideProtobuf type
viam.app.agent.v1.DeviceAgentConfigRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptioninfo about the host systemclearId()
robot partIDboolean
current subsystems and versionsinfo about the host systemgetId()
robot partIDcom.google.protobuf.ByteString
robot partIDDeprecated.int
current subsystems and versionscurrent subsystems and versionsgetSubsystemVersionsOrDefault
(String key, String defaultValue) current subsystems and versionscurrent subsystems and versionsboolean
info about the host systemmergeHostInfo
(Agent.HostInfo value) info about the host systemputAllSubsystemVersions
(Map<String, String> values) current subsystems and versionsputSubsystemVersions
(String key, String value) current subsystems and versionscurrent subsystems and versionssetHostInfo
(Agent.HostInfo value) info about the host systemsetHostInfo
(Agent.HostInfo.Builder builderForValue) info about the host systemrobot partIDsetIdBytes
(com.google.protobuf.ByteString value) robot partIDMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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.
-
setId
robot partID
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
robot partID
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
robot partID
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setHostInfo
info about the host system
.viam.app.agent.v1.HostInfo host_info = 2 [json_name = "hostInfo"];
-
setHostInfo
info about the host system
.viam.app.agent.v1.HostInfo host_info = 2 [json_name = "hostInfo"];
-
mergeHostInfo
info about the host system
.viam.app.agent.v1.HostInfo host_info = 2 [json_name = "hostInfo"];
-
clearHostInfo
info about the host system
.viam.app.agent.v1.HostInfo host_info = 2 [json_name = "hostInfo"];
-
getSubsystemVersionsCount
public int getSubsystemVersionsCount()Description copied from interface:Agent.DeviceAgentConfigRequestOrBuilder
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
- Specified by:
getSubsystemVersionsCount
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
containsSubsystemVersions
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
- Specified by:
containsSubsystemVersions
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
clearSubsystemVersions
-
removeSubsystemVersions
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
-
getSubsystemVersions
Deprecated.UsegetSubsystemVersionsMap()
instead.- Specified by:
getSubsystemVersions
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersionsMap
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
- Specified by:
getSubsystemVersionsMap
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersionsOrDefault
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
- Specified by:
getSubsystemVersionsOrDefault
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
getSubsystemVersionsOrThrow
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
- Specified by:
getSubsystemVersionsOrThrow
in interfaceAgent.DeviceAgentConfigRequestOrBuilder
-
putSubsystemVersions
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
-
putAllSubsystemVersions
current subsystems and versions
map<string, string> subsystem_versions = 3 [json_name = "subsystemVersions"];
-