Package viam.app.v1
Interface Robot.ProcessConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.ProcessConfig
,Robot.ProcessConfig.Builder
- Enclosing class:
- Robot
public static interface Robot.ProcessConfigOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsEnv
(String key) additional environment variables passed to the processgetArgs
(int index) repeated string args = 3 [json_name = "args"];
com.google.protobuf.ByteString
getArgsBytes
(int index) repeated string args = 3 [json_name = "args"];
int
repeated string args = 3 [json_name = "args"];
repeated string args = 3 [json_name = "args"];
getCwd()
string cwd = 4 [json_name = "cwd"];
com.google.protobuf.ByteString
string cwd = 4 [json_name = "cwd"];
getEnv()
Deprecated.int
additional environment variables passed to the processadditional environment variables passed to the processgetEnvOrDefault
(String key, String defaultValue) additional environment variables passed to the processgetEnvOrThrow
(String key) additional environment variables passed to the processgetId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
boolean
getLog()
bool log = 6 [json_name = "log"];
getName()
string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
string name = 2 [json_name = "name"];
boolean
bool one_shot = 5 [json_name = "oneShot"];
int
int32 stop_signal = 7 [json_name = "stopSignal"];
com.google.protobuf.Duration
.google.protobuf.Duration stop_timeout = 8 [json_name = "stopTimeout"];
string username = 10 [json_name = "username"];
com.google.protobuf.ByteString
string username = 10 [json_name = "username"];
boolean
.google.protobuf.Duration stop_timeout = 8 [json_name = "stopTimeout"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()string id = 1 [json_name = "id"];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Returns:
- The bytes for id.
-
getName
String getName()string name = 2 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Returns:
- The bytes for name.
-
getArgsList
repeated string args = 3 [json_name = "args"];
- Returns:
- A list containing the args.
-
getArgsCount
int getArgsCount()repeated string args = 3 [json_name = "args"];
- Returns:
- The count of args.
-
getArgs
repeated string args = 3 [json_name = "args"];
- Parameters:
index
- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
com.google.protobuf.ByteString getArgsBytes(int index) repeated string args = 3 [json_name = "args"];
- Parameters:
index
- The index of the element to return.- Returns:
- The args at the given index.
-
getCwd
String getCwd()string cwd = 4 [json_name = "cwd"];
- Returns:
- The cwd.
-
getCwdBytes
com.google.protobuf.ByteString getCwdBytes()string cwd = 4 [json_name = "cwd"];
- Returns:
- The bytes for cwd.
-
getOneShot
boolean getOneShot()bool one_shot = 5 [json_name = "oneShot"];
- Returns:
- The oneShot.
-
getLog
boolean getLog()bool log = 6 [json_name = "log"];
- Returns:
- The log.
-
getStopSignal
int getStopSignal()int32 stop_signal = 7 [json_name = "stopSignal"];
- Returns:
- The stopSignal.
-
hasStopTimeout
boolean hasStopTimeout().google.protobuf.Duration stop_timeout = 8 [json_name = "stopTimeout"];
- Returns:
- Whether the stopTimeout field is set.
-
getStopTimeout
com.google.protobuf.Duration getStopTimeout().google.protobuf.Duration stop_timeout = 8 [json_name = "stopTimeout"];
- Returns:
- The stopTimeout.
-
getEnvCount
int getEnvCount()additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
-
containsEnv
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
-
getEnv
Deprecated.UsegetEnvMap()
instead. -
getEnvMap
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
-
getEnvOrDefault
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
-
getEnvOrThrow
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
-
getUsername
String getUsername()string username = 10 [json_name = "username"];
- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()string username = 10 [json_name = "username"];
- Returns:
- The bytes for username.
-