Interface Generated.ExecActionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.ExecAction, Generated.ExecAction.Builder
    Enclosing class:
    Generated

    public static interface Generated.ExecActionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCommand​(int index)
      Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
      com.google.protobuf.ByteString getCommandBytes​(int index)
      Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
      int getCommandCount()
      Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
      List<String> getCommandList()
      Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getCommandList

        List<String> getCommandList()
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Returns:
        A list containing the command.
      • getCommandCount

        int getCommandCount()
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Returns:
        The count of command.
      • getCommand

        String getCommand​(int index)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The command at the given index.
      • getCommandBytes

        com.google.protobuf.ByteString getCommandBytes​(int index)
         Command is the command line to execute inside the container, the working directory for the
         command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
         not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
         a shell, you need to explicitly call out to that shell.
         Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
         +optional
         +listType=atomic
         
        repeated string command = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the command at the given index.