Class Agent.DeviceAgentConfigResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Agent.DeviceAgentConfigResponse,Agent.DeviceAgentConfigResponse.Builder>
viam.app.agent.v1.Agent.DeviceAgentConfigResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Agent.DeviceAgentConfigResponseOrBuilder
Enclosing class:
Agent.DeviceAgentConfigResponse

public static final class Agent.DeviceAgentConfigResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Agent.DeviceAgentConfigResponse,Agent.DeviceAgentConfigResponse.Builder> implements Agent.DeviceAgentConfigResponseOrBuilder
Protobuf type viam.app.agent.v1.DeviceAgentConfigResponse
  • Method Details

    • getSubsystemConfigsCount

      @Deprecated public int getSubsystemConfigsCount()
      Deprecated.
      Description copied from interface: Agent.DeviceAgentConfigResponseOrBuilder
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
      Specified by:
      getSubsystemConfigsCount in interface Agent.DeviceAgentConfigResponseOrBuilder
    • containsSubsystemConfigs

      @Deprecated public boolean containsSubsystemConfigs(String key)
      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
      Specified by:
      containsSubsystemConfigs in interface Agent.DeviceAgentConfigResponseOrBuilder
    • clearSubsystemConfigs

      @Deprecated public Agent.DeviceAgentConfigResponse.Builder clearSubsystemConfigs()
      Deprecated.
    • removeSubsystemConfigs

      @Deprecated public Agent.DeviceAgentConfigResponse.Builder removeSubsystemConfigs(String key)
      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
    • getSubsystemConfigs

      @Deprecated public Map<String,Agent.DeviceSubsystemConfig> getSubsystemConfigs()
      Deprecated.
      Specified by:
      getSubsystemConfigs in interface Agent.DeviceAgentConfigResponseOrBuilder
    • getSubsystemConfigsMap

      @Deprecated public Map<String,Agent.DeviceSubsystemConfig> getSubsystemConfigsMap()
      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
      Specified by:
      getSubsystemConfigsMap in interface Agent.DeviceAgentConfigResponseOrBuilder
    • getSubsystemConfigsOrDefault

      @Deprecated public Agent.DeviceSubsystemConfig getSubsystemConfigsOrDefault(String key, Agent.DeviceSubsystemConfig defaultValue)
      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
      Specified by:
      getSubsystemConfigsOrDefault in interface Agent.DeviceAgentConfigResponseOrBuilder
    • getSubsystemConfigsOrThrow

      @Deprecated public Agent.DeviceSubsystemConfig getSubsystemConfigsOrThrow(String key)
      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
      Specified by:
      getSubsystemConfigsOrThrow in interface Agent.DeviceAgentConfigResponseOrBuilder
    • putSubsystemConfigs

      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
    • putAllSubsystemConfigs

      Deprecated.
       subsystems to be installed/configured/updated
       note: previously installed subsystems will be removed from the system if removed from this list
       DEPRECATED in favor of indidivual update_info and settings fields
       
      map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
    • hasCheckInterval

      public boolean hasCheckInterval()
       how often this request should be repeated
       
      .google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
      Specified by:
      hasCheckInterval in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the checkInterval field is set.
    • getCheckInterval

      public com.google.protobuf.Duration getCheckInterval()
       how often this request should be repeated
       
      .google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
      Specified by:
      getCheckInterval in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The checkInterval.
    • setCheckInterval

      public Agent.DeviceAgentConfigResponse.Builder setCheckInterval(com.google.protobuf.Duration value)
       how often this request should be repeated
       
      .google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
    • setCheckInterval

      public Agent.DeviceAgentConfigResponse.Builder setCheckInterval(com.google.protobuf.Duration.Builder builderForValue)
       how often this request should be repeated
       
      .google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
    • mergeCheckInterval

      public Agent.DeviceAgentConfigResponse.Builder mergeCheckInterval(com.google.protobuf.Duration value)
       how often this request should be repeated
       
      .google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
    • clearCheckInterval

      public Agent.DeviceAgentConfigResponse.Builder clearCheckInterval()
       how often this request should be repeated
       
      .google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
    • hasAgentUpdateInfo

      public boolean hasAgentUpdateInfo()
       update info for agent and viam-server, parsed/processed in App
       
      .viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
      Specified by:
      hasAgentUpdateInfo in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the agentUpdateInfo field is set.
    • getAgentUpdateInfo

      public Agent.UpdateInfo getAgentUpdateInfo()
       update info for agent and viam-server, parsed/processed in App
       
      .viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
      Specified by:
      getAgentUpdateInfo in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The agentUpdateInfo.
    • setAgentUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder setAgentUpdateInfo(Agent.UpdateInfo value)
       update info for agent and viam-server, parsed/processed in App
       
      .viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
    • setAgentUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder setAgentUpdateInfo(Agent.UpdateInfo.Builder builderForValue)
       update info for agent and viam-server, parsed/processed in App
       
      .viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
    • mergeAgentUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder mergeAgentUpdateInfo(Agent.UpdateInfo value)
       update info for agent and viam-server, parsed/processed in App
       
      .viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
    • clearAgentUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder clearAgentUpdateInfo()
       update info for agent and viam-server, parsed/processed in App
       
      .viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
    • hasViamServerUpdateInfo

      public boolean hasViamServerUpdateInfo()
      .viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
      Specified by:
      hasViamServerUpdateInfo in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the viamServerUpdateInfo field is set.
    • getViamServerUpdateInfo

      public Agent.UpdateInfo getViamServerUpdateInfo()
      .viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
      Specified by:
      getViamServerUpdateInfo in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The viamServerUpdateInfo.
    • setViamServerUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder setViamServerUpdateInfo(Agent.UpdateInfo value)
      .viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
    • setViamServerUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder setViamServerUpdateInfo(Agent.UpdateInfo.Builder builderForValue)
      .viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
    • mergeViamServerUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder mergeViamServerUpdateInfo(Agent.UpdateInfo value)
      .viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
    • clearViamServerUpdateInfo

      public Agent.DeviceAgentConfigResponse.Builder clearViamServerUpdateInfo()
      .viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
    • hasAdvancedSettings

      public boolean hasAdvancedSettings()
       various settings that are passed directly to device Agent
       
      .google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
      Specified by:
      hasAdvancedSettings in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the advancedSettings field is set.
    • getAdvancedSettings

      public com.google.protobuf.Struct getAdvancedSettings()
       various settings that are passed directly to device Agent
       
      .google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
      Specified by:
      getAdvancedSettings in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The advancedSettings.
    • setAdvancedSettings

      public Agent.DeviceAgentConfigResponse.Builder setAdvancedSettings(com.google.protobuf.Struct value)
       various settings that are passed directly to device Agent
       
      .google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
    • setAdvancedSettings

      public Agent.DeviceAgentConfigResponse.Builder setAdvancedSettings(com.google.protobuf.Struct.Builder builderForValue)
       various settings that are passed directly to device Agent
       
      .google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
    • mergeAdvancedSettings

      public Agent.DeviceAgentConfigResponse.Builder mergeAdvancedSettings(com.google.protobuf.Struct value)
       various settings that are passed directly to device Agent
       
      .google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
    • clearAdvancedSettings

      public Agent.DeviceAgentConfigResponse.Builder clearAdvancedSettings()
       various settings that are passed directly to device Agent
       
      .google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
    • hasNetworkConfiguration

      public boolean hasNetworkConfiguration()
      .google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
      Specified by:
      hasNetworkConfiguration in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the networkConfiguration field is set.
    • getNetworkConfiguration

      public com.google.protobuf.Struct getNetworkConfiguration()
      .google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
      Specified by:
      getNetworkConfiguration in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The networkConfiguration.
    • setNetworkConfiguration

      public Agent.DeviceAgentConfigResponse.Builder setNetworkConfiguration(com.google.protobuf.Struct value)
      .google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
    • setNetworkConfiguration

      public Agent.DeviceAgentConfigResponse.Builder setNetworkConfiguration(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
    • mergeNetworkConfiguration

      public Agent.DeviceAgentConfigResponse.Builder mergeNetworkConfiguration(com.google.protobuf.Struct value)
      .google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
    • clearNetworkConfiguration

      public Agent.DeviceAgentConfigResponse.Builder clearNetworkConfiguration()
      .google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
    • hasAdditionalNetworks

      public boolean hasAdditionalNetworks()
      .google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
      Specified by:
      hasAdditionalNetworks in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the additionalNetworks field is set.
    • getAdditionalNetworks

      public com.google.protobuf.Struct getAdditionalNetworks()
      .google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
      Specified by:
      getAdditionalNetworks in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The additionalNetworks.
    • setAdditionalNetworks

      public Agent.DeviceAgentConfigResponse.Builder setAdditionalNetworks(com.google.protobuf.Struct value)
      .google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
    • setAdditionalNetworks

      public Agent.DeviceAgentConfigResponse.Builder setAdditionalNetworks(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
    • mergeAdditionalNetworks

      public Agent.DeviceAgentConfigResponse.Builder mergeAdditionalNetworks(com.google.protobuf.Struct value)
      .google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
    • clearAdditionalNetworks

      public Agent.DeviceAgentConfigResponse.Builder clearAdditionalNetworks()
      .google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
    • hasSystemConfiguration

      public boolean hasSystemConfiguration()
      .google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
      Specified by:
      hasSystemConfiguration in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      Whether the systemConfiguration field is set.
    • getSystemConfiguration

      public com.google.protobuf.Struct getSystemConfiguration()
      .google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
      Specified by:
      getSystemConfiguration in interface Agent.DeviceAgentConfigResponseOrBuilder
      Returns:
      The systemConfiguration.
    • setSystemConfiguration

      public Agent.DeviceAgentConfigResponse.Builder setSystemConfiguration(com.google.protobuf.Struct value)
      .google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
    • setSystemConfiguration

      public Agent.DeviceAgentConfigResponse.Builder setSystemConfiguration(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
    • mergeSystemConfiguration

      public Agent.DeviceAgentConfigResponse.Builder mergeSystemConfiguration(com.google.protobuf.Struct value)
      .google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
    • clearSystemConfiguration

      public Agent.DeviceAgentConfigResponse.Builder clearSystemConfiguration()
      .google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];