Interface ShellCommandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShellCommand,ShellCommand.Builder
@Generated
public interface ShellCommandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs()Arguments to be passed to the command.com.google.protobuf.ByteStringArguments to be passed to the command.The name of the command to be executed.com.google.protobuf.ByteStringThe name of the command to be executed.intOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCommand
String getCommand()The name of the command to be executed.
string command = 1;- Returns:
- The command.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes()The name of the command to be executed.
string command = 1;- Returns:
- The bytes for command.
-
getArgs
String getArgs()Arguments to be passed to the command.
string args = 2;- Returns:
- The args.
-
getArgsBytes
com.google.protobuf.ByteString getArgsBytes()Arguments to be passed to the command.
string args = 2;- Returns:
- The bytes for args.
-
getTimeoutSeconds
int getTimeoutSeconds()Optional. If not specified, the default timeout is 60 seconds.
int32 timeout_seconds = 3;- Returns:
- The timeoutSeconds.
-