Interface AgentCommandOrBuilder (0.1.0)

public interface AgentCommandOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsParameters(String key)

public abstract boolean containsParameters(String key)

A map of key/value pairs that can be used to specify additional one-time executable settings.

map<string, string> parameters = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCommand()

public abstract String getCommand()

The name of the agent one-time executable that will be invoked.

string command = 1;

Returns
Type Description
String

The command.

getCommandBytes()

public abstract ByteString getCommandBytes()

The name of the agent one-time executable that will be invoked.

string command = 1;

Returns
Type Description
ByteString

The bytes for command.

getParameters() (deprecated)

public abstract Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public abstract int getParametersCount()

A map of key/value pairs that can be used to specify additional one-time executable settings.

map<string, string> parameters = 2;

Returns
Type Description
int

getParametersMap()

public abstract Map<String,String> getParametersMap()

A map of key/value pairs that can be used to specify additional one-time executable settings.

map<string, string> parameters = 2;

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public abstract String getParametersOrDefault(String key, String defaultValue)

A map of key/value pairs that can be used to specify additional one-time executable settings.

map<string, string> parameters = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public abstract String getParametersOrThrow(String key)

A map of key/value pairs that can be used to specify additional one-time executable settings.

map<string, string> parameters = 2;

Parameter
Name Description
key String
Returns
Type Description
String