Package viam.app.v1
Interface Robot.RobotConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.RobotConfig
,Robot.RobotConfig.Builder
- Enclosing class:
- Robot
public static interface Robot.RobotConfigOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAuth()
optional .viam.app.v1.AuthConfig auth = 7 [json_name = "auth"];
getCloud()
.viam.app.v1.CloudConfig cloud = 1 [json_name = "cloud"];
getComponents
(int index) repeated .viam.app.v1.ComponentConfig components = 3 [json_name = "components"];
int
repeated .viam.app.v1.ComponentConfig components = 3 [json_name = "components"];
repeated .viam.app.v1.ComponentConfig components = 3 [json_name = "components"];
boolean
getDebug()
Turns on debug mode for robot, adding an echo server and more logging and tracing.boolean
optional bool disable_partial_start = 10 [json_name = "disablePartialStart"];
boolean
Turns on pprof http server on localhost.getLog
(int index) repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
int
repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
optional .viam.app.v1.MaintenanceConfig maintenance = 16 [json_name = "maintenance"];
getModules
(int index) repeated .viam.app.v1.ModuleConfig modules = 9 [json_name = "modules"];
int
repeated .viam.app.v1.ModuleConfig modules = 9 [json_name = "modules"];
repeated .viam.app.v1.ModuleConfig modules = 9 [json_name = "modules"];
optional .viam.app.v1.NetworkConfig network = 6 [json_name = "network"];
getOverwriteFragmentStatus
(int index) repeated .viam.app.v1.AppValidationStatus overwrite_fragment_status = 12 [json_name = "overwriteFragmentStatus"];
int
repeated .viam.app.v1.AppValidationStatus overwrite_fragment_status = 12 [json_name = "overwriteFragmentStatus"];
repeated .viam.app.v1.AppValidationStatus overwrite_fragment_status = 12 [json_name = "overwriteFragmentStatus"];
getPackages
(int index) repeated .viam.app.v1.PackageConfig packages = 11 [json_name = "packages"];
int
repeated .viam.app.v1.PackageConfig packages = 11 [json_name = "packages"];
repeated .viam.app.v1.PackageConfig packages = 11 [json_name = "packages"];
getProcesses
(int index) repeated .viam.app.v1.ProcessConfig processes = 4 [json_name = "processes"];
int
repeated .viam.app.v1.ProcessConfig processes = 4 [json_name = "processes"];
repeated .viam.app.v1.ProcessConfig processes = 4 [json_name = "processes"];
getRemotes
(int index) repeated .viam.app.v1.RemoteConfig remotes = 2 [json_name = "remotes"];
int
repeated .viam.app.v1.RemoteConfig remotes = 2 [json_name = "remotes"];
repeated .viam.app.v1.RemoteConfig remotes = 2 [json_name = "remotes"];
Attributes a particular revision to the config.com.google.protobuf.ByteString
Attributes a particular revision to the config.getServices
(int index) repeated .viam.app.v1.ServiceConfig services = 5 [json_name = "services"];
int
repeated .viam.app.v1.ServiceConfig services = 5 [json_name = "services"];
repeated .viam.app.v1.ServiceConfig services = 5 [json_name = "services"];
boolean
hasAuth()
optional .viam.app.v1.AuthConfig auth = 7 [json_name = "auth"];
boolean
hasCloud()
.viam.app.v1.CloudConfig cloud = 1 [json_name = "cloud"];
boolean
hasDebug()
Turns on debug mode for robot, adding an echo server and more logging and tracing.boolean
optional bool disable_partial_start = 10 [json_name = "disablePartialStart"];
boolean
optional .viam.app.v1.MaintenanceConfig maintenance = 16 [json_name = "maintenance"];
boolean
optional .viam.app.v1.NetworkConfig network = 6 [json_name = "network"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasCloud
boolean hasCloud().viam.app.v1.CloudConfig cloud = 1 [json_name = "cloud"];
- Returns:
- Whether the cloud field is set.
-
getCloud
Robot.CloudConfig getCloud().viam.app.v1.CloudConfig cloud = 1 [json_name = "cloud"];
- Returns:
- The cloud.
-
getRemotesList
List<Robot.RemoteConfig> getRemotesList()repeated .viam.app.v1.RemoteConfig remotes = 2 [json_name = "remotes"];
-
getRemotes
repeated .viam.app.v1.RemoteConfig remotes = 2 [json_name = "remotes"];
-
getRemotesCount
int getRemotesCount()repeated .viam.app.v1.RemoteConfig remotes = 2 [json_name = "remotes"];
-
getComponentsList
List<Robot.ComponentConfig> getComponentsList()repeated .viam.app.v1.ComponentConfig components = 3 [json_name = "components"];
-
getComponents
repeated .viam.app.v1.ComponentConfig components = 3 [json_name = "components"];
-
getComponentsCount
int getComponentsCount()repeated .viam.app.v1.ComponentConfig components = 3 [json_name = "components"];
-
getProcessesList
List<Robot.ProcessConfig> getProcessesList()repeated .viam.app.v1.ProcessConfig processes = 4 [json_name = "processes"];
-
getProcesses
repeated .viam.app.v1.ProcessConfig processes = 4 [json_name = "processes"];
-
getProcessesCount
int getProcessesCount()repeated .viam.app.v1.ProcessConfig processes = 4 [json_name = "processes"];
-
getServicesList
List<Robot.ServiceConfig> getServicesList()repeated .viam.app.v1.ServiceConfig services = 5 [json_name = "services"];
-
getServices
repeated .viam.app.v1.ServiceConfig services = 5 [json_name = "services"];
-
getServicesCount
int getServicesCount()repeated .viam.app.v1.ServiceConfig services = 5 [json_name = "services"];
-
hasNetwork
boolean hasNetwork()optional .viam.app.v1.NetworkConfig network = 6 [json_name = "network"];
- Returns:
- Whether the network field is set.
-
getNetwork
Robot.NetworkConfig getNetwork()optional .viam.app.v1.NetworkConfig network = 6 [json_name = "network"];
- Returns:
- The network.
-
hasAuth
boolean hasAuth()optional .viam.app.v1.AuthConfig auth = 7 [json_name = "auth"];
- Returns:
- Whether the auth field is set.
-
getAuth
Robot.AuthConfig getAuth()optional .viam.app.v1.AuthConfig auth = 7 [json_name = "auth"];
- Returns:
- The auth.
-
hasDebug
boolean hasDebug()Turns on debug mode for robot, adding an echo server and more logging and tracing. Only works after restart
optional bool debug = 8 [json_name = "debug"];
- Returns:
- Whether the debug field is set.
-
getDebug
boolean getDebug()Turns on debug mode for robot, adding an echo server and more logging and tracing. Only works after restart
optional bool debug = 8 [json_name = "debug"];
- Returns:
- The debug.
-
getModulesList
List<Robot.ModuleConfig> getModulesList()repeated .viam.app.v1.ModuleConfig modules = 9 [json_name = "modules"];
-
getModules
repeated .viam.app.v1.ModuleConfig modules = 9 [json_name = "modules"];
-
getModulesCount
int getModulesCount()repeated .viam.app.v1.ModuleConfig modules = 9 [json_name = "modules"];
-
hasDisablePartialStart
boolean hasDisablePartialStart()optional bool disable_partial_start = 10 [json_name = "disablePartialStart"];
- Returns:
- Whether the disablePartialStart field is set.
-
getDisablePartialStart
boolean getDisablePartialStart()optional bool disable_partial_start = 10 [json_name = "disablePartialStart"];
- Returns:
- The disablePartialStart.
-
getPackagesList
List<Robot.PackageConfig> getPackagesList()repeated .viam.app.v1.PackageConfig packages = 11 [json_name = "packages"];
-
getPackages
repeated .viam.app.v1.PackageConfig packages = 11 [json_name = "packages"];
-
getPackagesCount
int getPackagesCount()repeated .viam.app.v1.PackageConfig packages = 11 [json_name = "packages"];
-
getOverwriteFragmentStatusList
List<Robot.AppValidationStatus> getOverwriteFragmentStatusList()repeated .viam.app.v1.AppValidationStatus overwrite_fragment_status = 12 [json_name = "overwriteFragmentStatus"];
-
getOverwriteFragmentStatus
repeated .viam.app.v1.AppValidationStatus overwrite_fragment_status = 12 [json_name = "overwriteFragmentStatus"];
-
getOverwriteFragmentStatusCount
int getOverwriteFragmentStatusCount()repeated .viam.app.v1.AppValidationStatus overwrite_fragment_status = 12 [json_name = "overwriteFragmentStatus"];
-
getEnableWebProfile
boolean getEnableWebProfile()Turns on pprof http server on localhost. By default false.
bool enable_web_profile = 13 [json_name = "enableWebProfile"];
- Returns:
- The enableWebProfile.
-
getLogList
List<Robot.LogPatternConfig> getLogList()repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
-
getLog
repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
-
getLogCount
int getLogCount()repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
-
getRevision
String getRevision()Attributes a particular revision to the config.
string revision = 15 [json_name = "revision"];
- Returns:
- The revision.
-
getRevisionBytes
com.google.protobuf.ByteString getRevisionBytes()Attributes a particular revision to the config.
string revision = 15 [json_name = "revision"];
- Returns:
- The bytes for revision.
-
hasMaintenance
boolean hasMaintenance()optional .viam.app.v1.MaintenanceConfig maintenance = 16 [json_name = "maintenance"];
- Returns:
- Whether the maintenance field is set.
-
getMaintenance
Robot.MaintenanceConfig getMaintenance()optional .viam.app.v1.MaintenanceConfig maintenance = 16 [json_name = "maintenance"];
- Returns:
- The maintenance.
-