Package viam.app.v1
Class Robot.ProcessConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.ProcessConfig,Robot.ProcessConfig.Builder>
viam.app.v1.Robot.ProcessConfig
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Robot.ProcessConfigOrBuilder
- Enclosing class:
- Robot
public static final class Robot.ProcessConfig
extends com.google.protobuf.GeneratedMessageLite<Robot.ProcessConfig,Robot.ProcessConfig.Builder>
implements Robot.ProcessConfigOrBuilder
A ProcessConfig describes how to manage a system process.Protobuf type
viam.app.v1.ProcessConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A ProcessConfig describes how to manage a system process.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsEnv
(String key) additional environment variables passed to the processprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getArgs
(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"];
static Robot.ProcessConfig
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"];
static Robot.ProcessConfig.Builder
static Robot.ProcessConfig.Builder
newBuilder
(Robot.ProcessConfig prototype) static Robot.ProcessConfig
parseDelimitedFrom
(InputStream input) static Robot.ProcessConfig
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ProcessConfig
parseFrom
(byte[] data) static Robot.ProcessConfig
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ProcessConfig
parseFrom
(com.google.protobuf.ByteString data) static Robot.ProcessConfig
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ProcessConfig
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.ProcessConfig
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ProcessConfig
parseFrom
(InputStream input) static Robot.ProcessConfig
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ProcessConfig
parseFrom
(ByteBuffer data) static Robot.ProcessConfig
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.ProcessConfig>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER- See Also:
-
CWD_FIELD_NUMBER
public static final int CWD_FIELD_NUMBER- See Also:
-
ONE_SHOT_FIELD_NUMBER
public static final int ONE_SHOT_FIELD_NUMBER- See Also:
-
LOG_FIELD_NUMBER
public static final int LOG_FIELD_NUMBER- See Also:
-
STOP_SIGNAL_FIELD_NUMBER
public static final int STOP_SIGNAL_FIELD_NUMBER- See Also:
-
STOP_TIMEOUT_FIELD_NUMBER
public static final int STOP_TIMEOUT_FIELD_NUMBER- See Also:
-
ENV_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The bytes for id.
-
getName
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The bytes for name.
-
getArgsList
repeated string args = 3 [json_name = "args"];
- Specified by:
getArgsList
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()repeated string args = 3 [json_name = "args"];
- Specified by:
getArgsCount
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The count of args.
-
getArgs
repeated string args = 3 [json_name = "args"];
- Specified by:
getArgs
in interfaceRobot.ProcessConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index) repeated string args = 3 [json_name = "args"];
- Specified by:
getArgsBytes
in interfaceRobot.ProcessConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
getCwd
string cwd = 4 [json_name = "cwd"];
- Specified by:
getCwd
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The cwd.
-
getCwdBytes
public com.google.protobuf.ByteString getCwdBytes()string cwd = 4 [json_name = "cwd"];
- Specified by:
getCwdBytes
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The bytes for cwd.
-
getOneShot
public boolean getOneShot()bool one_shot = 5 [json_name = "oneShot"];
- Specified by:
getOneShot
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The oneShot.
-
getLog
public boolean getLog()bool log = 6 [json_name = "log"];
- Specified by:
getLog
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The log.
-
getStopSignal
public int getStopSignal()int32 stop_signal = 7 [json_name = "stopSignal"];
- Specified by:
getStopSignal
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The stopSignal.
-
hasStopTimeout
public boolean hasStopTimeout().google.protobuf.Duration stop_timeout = 8 [json_name = "stopTimeout"];
- Specified by:
hasStopTimeout
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- Whether the stopTimeout field is set.
-
getStopTimeout
public com.google.protobuf.Duration getStopTimeout().google.protobuf.Duration stop_timeout = 8 [json_name = "stopTimeout"];
- Specified by:
getStopTimeout
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The stopTimeout.
-
getEnvCount
public int getEnvCount()Description copied from interface:Robot.ProcessConfigOrBuilder
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
- Specified by:
getEnvCount
in interfaceRobot.ProcessConfigOrBuilder
-
containsEnv
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
- Specified by:
containsEnv
in interfaceRobot.ProcessConfigOrBuilder
-
getEnv
Deprecated.UsegetEnvMap()
instead.- Specified by:
getEnv
in interfaceRobot.ProcessConfigOrBuilder
-
getEnvMap
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
- Specified by:
getEnvMap
in interfaceRobot.ProcessConfigOrBuilder
-
getEnvOrDefault
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
- Specified by:
getEnvOrDefault
in interfaceRobot.ProcessConfigOrBuilder
-
getEnvOrThrow
additional environment variables passed to the process
map<string, string> env = 9 [json_name = "env"];
- Specified by:
getEnvOrThrow
in interfaceRobot.ProcessConfigOrBuilder
-
getUsername
string username = 10 [json_name = "username"];
- Specified by:
getUsername
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()string username = 10 [json_name = "username"];
- Specified by:
getUsernameBytes
in interfaceRobot.ProcessConfigOrBuilder
- Returns:
- The bytes for username.
-
parseFrom
public static Robot.ProcessConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ProcessConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ProcessConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ProcessConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ProcessConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ProcessConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.ProcessConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.ProcessConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.ProcessConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.ProcessConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Robot.ProcessConfig,
Robot.ProcessConfig.Builder>
-
getDefaultInstance
-
parser
-