public interface CommandOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAgentCommand()
public abstract AgentCommand getAgentCommand()AgentCommand specifies a one-time executable program for the agent to run.
.google.cloud.workloadmanager.v1.AgentCommand agent_command = 1;
| Returns | |
|---|---|
| Type | Description |
AgentCommand |
The agentCommand. |
getAgentCommandOrBuilder()
public abstract AgentCommandOrBuilder getAgentCommandOrBuilder()AgentCommand specifies a one-time executable program for the agent to run.
.google.cloud.workloadmanager.v1.AgentCommand agent_command = 1;
| Returns | |
|---|---|
| Type | Description |
AgentCommandOrBuilder |
|
getCommandTypeCase()
public abstract Command.CommandTypeCase getCommandTypeCase()| Returns | |
|---|---|
| Type | Description |
Command.CommandTypeCase |
|
getShellCommand()
public abstract ShellCommand getShellCommand()ShellCommand is invoked via the agent's command line executor.
.google.cloud.workloadmanager.v1.ShellCommand shell_command = 2;
| Returns | |
|---|---|
| Type | Description |
ShellCommand |
The shellCommand. |
getShellCommandOrBuilder()
public abstract ShellCommandOrBuilder getShellCommandOrBuilder()ShellCommand is invoked via the agent's command line executor.
.google.cloud.workloadmanager.v1.ShellCommand shell_command = 2;
| Returns | |
|---|---|
| Type | Description |
ShellCommandOrBuilder |
|
hasAgentCommand()
public abstract boolean hasAgentCommand()AgentCommand specifies a one-time executable program for the agent to run.
.google.cloud.workloadmanager.v1.AgentCommand agent_command = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentCommand field is set. |
hasShellCommand()
public abstract boolean hasShellCommand()ShellCommand is invoked via the agent's command line executor.
.google.cloud.workloadmanager.v1.ShellCommand shell_command = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shellCommand field is set. |