Package viam.app.agent.v1
Class Agent.DeviceSubsystemConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Agent.DeviceSubsystemConfig,Agent.DeviceSubsystemConfig.Builder>
viam.app.agent.v1.Agent.DeviceSubsystemConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Agent.DeviceSubsystemConfigOrBuilder
- Enclosing class:
- Agent.DeviceSubsystemConfig
public static final class Agent.DeviceSubsystemConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Agent.DeviceSubsystemConfig,Agent.DeviceSubsystemConfig.Builder>
implements Agent.DeviceSubsystemConfigOrBuilder
DEPRECATED as of January 2025Protobuf type
viam.app.agent.v1.DeviceSubsystemConfig-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionarbitrary config sectionsif this subsystem is disabled and should not be started by the agentforce_restart will restart the subsystem, even if no updates are availabledata needed to download/validate the subsystemcom.google.protobuf.Structarbitrary config sectionsbooleanif this subsystem is disabled and should not be started by the agentbooleanforce_restart will restart the subsystem, even if no updates are availabledata needed to download/validate the subsystembooleanarbitrary config sectionsbooleandata needed to download/validate the subsystemmergeAttributes(com.google.protobuf.Struct value) arbitrary config sectionsmergeUpdateInfo(Agent.UpdateInfo value) data needed to download/validate the subsystemsetAttributes(com.google.protobuf.Struct value) arbitrary config sectionssetAttributes(com.google.protobuf.Struct.Builder builderForValue) arbitrary config sectionssetDisable(boolean value) if this subsystem is disabled and should not be started by the agentsetForceRestart(boolean value) force_restart will restart the subsystem, even if no updates are availablesetUpdateInfo(Agent.UpdateInfo value) data needed to download/validate the subsystemsetUpdateInfo(Agent.UpdateInfo.Builder builderForValue) data needed to download/validate the subsystemMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasUpdateInfo
public boolean hasUpdateInfo()data needed to download/validate the subsystem
.viam.app.agent.v1.UpdateInfo update_info = 1 [json_name = "updateInfo"];- Specified by:
hasUpdateInfoin interfaceAgent.DeviceSubsystemConfigOrBuilder- Returns:
- Whether the updateInfo field is set.
-
getUpdateInfo
data needed to download/validate the subsystem
.viam.app.agent.v1.UpdateInfo update_info = 1 [json_name = "updateInfo"];- Specified by:
getUpdateInfoin interfaceAgent.DeviceSubsystemConfigOrBuilder- Returns:
- The updateInfo.
-
setUpdateInfo
data needed to download/validate the subsystem
.viam.app.agent.v1.UpdateInfo update_info = 1 [json_name = "updateInfo"]; -
setUpdateInfo
data needed to download/validate the subsystem
.viam.app.agent.v1.UpdateInfo update_info = 1 [json_name = "updateInfo"]; -
mergeUpdateInfo
data needed to download/validate the subsystem
.viam.app.agent.v1.UpdateInfo update_info = 1 [json_name = "updateInfo"]; -
clearUpdateInfo
data needed to download/validate the subsystem
.viam.app.agent.v1.UpdateInfo update_info = 1 [json_name = "updateInfo"]; -
getDisable
public boolean getDisable()if this subsystem is disabled and should not be started by the agent
bool disable = 2 [json_name = "disable"];- Specified by:
getDisablein interfaceAgent.DeviceSubsystemConfigOrBuilder- Returns:
- The disable.
-
setDisable
if this subsystem is disabled and should not be started by the agent
bool disable = 2 [json_name = "disable"];- Parameters:
value- The disable to set.- Returns:
- This builder for chaining.
-
clearDisable
if this subsystem is disabled and should not be started by the agent
bool disable = 2 [json_name = "disable"];- Returns:
- This builder for chaining.
-
getForceRestart
public boolean getForceRestart()force_restart will restart the subsystem, even if no updates are available
bool force_restart = 3 [json_name = "forceRestart"];- Specified by:
getForceRestartin interfaceAgent.DeviceSubsystemConfigOrBuilder- Returns:
- The forceRestart.
-
setForceRestart
force_restart will restart the subsystem, even if no updates are available
bool force_restart = 3 [json_name = "forceRestart"];- Parameters:
value- The forceRestart to set.- Returns:
- This builder for chaining.
-
clearForceRestart
force_restart will restart the subsystem, even if no updates are available
bool force_restart = 3 [json_name = "forceRestart"];- Returns:
- This builder for chaining.
-
hasAttributes
public boolean hasAttributes()arbitrary config sections
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];- Specified by:
hasAttributesin interfaceAgent.DeviceSubsystemConfigOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public com.google.protobuf.Struct getAttributes()arbitrary config sections
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];- Specified by:
getAttributesin interfaceAgent.DeviceSubsystemConfigOrBuilder- Returns:
- The attributes.
-
setAttributes
arbitrary config sections
.google.protobuf.Struct attributes = 4 [json_name = "attributes"]; -
setAttributes
public Agent.DeviceSubsystemConfig.Builder setAttributes(com.google.protobuf.Struct.Builder builderForValue) arbitrary config sections
.google.protobuf.Struct attributes = 4 [json_name = "attributes"]; -
mergeAttributes
arbitrary config sections
.google.protobuf.Struct attributes = 4 [json_name = "attributes"]; -
clearAttributes
arbitrary config sections
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];
-