Interface CommandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Command,Command.Builder
@Generated
public interface CommandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAgentCommand specifies a one-time executable program for the agent to run.AgentCommand specifies a one-time executable program for the agent to run.ShellCommand is invoked via the agent's command line executor.ShellCommand is invoked via the agent's command line executor.booleanAgentCommand specifies a one-time executable program for the agent to run.booleanShellCommand is invoked via the agent's command line executor.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
-
hasAgentCommand
boolean hasAgentCommand()AgentCommand specifies a one-time executable program for the agent to run.
.google.cloud.workloadmanager.v1.AgentCommand agent_command = 1;- Returns:
- Whether the agentCommand field is set.
-
getAgentCommand
AgentCommand getAgentCommand()AgentCommand specifies a one-time executable program for the agent to run.
.google.cloud.workloadmanager.v1.AgentCommand agent_command = 1;- Returns:
- The agentCommand.
-
getAgentCommandOrBuilder
AgentCommandOrBuilder getAgentCommandOrBuilder()AgentCommand specifies a one-time executable program for the agent to run.
.google.cloud.workloadmanager.v1.AgentCommand agent_command = 1; -
hasShellCommand
boolean hasShellCommand()ShellCommand is invoked via the agent's command line executor.
.google.cloud.workloadmanager.v1.ShellCommand shell_command = 2;- Returns:
- Whether the shellCommand field is set.
-
getShellCommand
ShellCommand getShellCommand()ShellCommand is invoked via the agent's command line executor.
.google.cloud.workloadmanager.v1.ShellCommand shell_command = 2;- Returns:
- The shellCommand.
-
getShellCommandOrBuilder
ShellCommandOrBuilder getShellCommandOrBuilder()ShellCommand is invoked via the agent's command line executor.
.google.cloud.workloadmanager.v1.ShellCommand shell_command = 2; -
getCommandTypeCase
Command.CommandTypeCase getCommandTypeCase()
-