Interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder

    • Method Detail

      • hasArtifactId

        boolean hasArtifactId()
         The id of the relevant artifact in the recipe.
         
        string artifact_id = 1;
        Returns:
        Whether the artifactId field is set.
      • getArtifactId

        String getArtifactId()
         The id of the relevant artifact in the recipe.
         
        string artifact_id = 1;
        Returns:
        The artifactId.
      • getArtifactIdBytes

        com.google.protobuf.ByteString getArtifactIdBytes()
         The id of the relevant artifact in the recipe.
         
        string artifact_id = 1;
        Returns:
        The bytes for artifactId.
      • hasLocalPath

        boolean hasLocalPath()
         The absolute path of the file on the local filesystem.
         
        string local_path = 2;
        Returns:
        Whether the localPath field is set.
      • getLocalPath

        String getLocalPath()
         The absolute path of the file on the local filesystem.
         
        string local_path = 2;
        Returns:
        The localPath.
      • getLocalPathBytes

        com.google.protobuf.ByteString getLocalPathBytes()
         The absolute path of the file on the local filesystem.
         
        string local_path = 2;
        Returns:
        The bytes for localPath.
      • getArgsList

        List<String> getArgsList()
         Arguments to be passed to the provided executable.
         
        repeated string args = 3;
        Returns:
        A list containing the args.
      • getArgsCount

        int getArgsCount()
         Arguments to be passed to the provided executable.
         
        repeated string args = 3;
        Returns:
        The count of args.
      • getArgs

        String getArgs​(int index)
         Arguments to be passed to the provided executable.
         
        repeated string args = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The args at the given index.
      • getArgsBytes

        com.google.protobuf.ByteString getArgsBytes​(int index)
         Arguments to be passed to the provided executable.
         
        repeated string args = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the args at the given index.
      • getAllowedExitCodesList

        List<Integer> getAllowedExitCodesList()
         Defaults to [0]. A list of possible return values that the program
         can return to indicate a success.
         
        repeated int32 allowed_exit_codes = 4;
        Returns:
        A list containing the allowedExitCodes.
      • getAllowedExitCodesCount

        int getAllowedExitCodesCount()
         Defaults to [0]. A list of possible return values that the program
         can return to indicate a success.
         
        repeated int32 allowed_exit_codes = 4;
        Returns:
        The count of allowedExitCodes.
      • getAllowedExitCodes

        int getAllowedExitCodes​(int index)
         Defaults to [0]. A list of possible return values that the program
         can return to indicate a success.
         
        repeated int32 allowed_exit_codes = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedExitCodes at the given index.