Interface GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getAllowedExitCodes​(int index)
      Return codes that indicate that the software installed or updated successfully.
      int getAllowedExitCodesCount()
      Return codes that indicate that the software installed or updated successfully.
      List<Integer> getAllowedExitCodesList()
      Return codes that indicate that the software installed or updated successfully.
      String getArtifactId()
      Required.
      com.google.protobuf.ByteString getArtifactIdBytes()
      Required.
      String getFlags​(int index)
      The flags to use when installing the MSI defaults to ["/i"] (i.e.
      com.google.protobuf.ByteString getFlagsBytes​(int index)
      The flags to use when installing the MSI defaults to ["/i"] (i.e.
      int getFlagsCount()
      The flags to use when installing the MSI defaults to ["/i"] (i.e.
      List<String> getFlagsList()
      The flags to use when installing the MSI defaults to ["/i"] (i.e.
      • 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

      • getArtifactId

        String getArtifactId()
         Required. The id of the relevant artifact in the recipe.
         
        string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The artifactId.
      • getArtifactIdBytes

        com.google.protobuf.ByteString getArtifactIdBytes()
         Required. The id of the relevant artifact in the recipe.
         
        string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for artifactId.
      • getFlagsList

        List<String> getFlagsList()
         The flags to use when installing the MSI
         defaults to ["/i"] (i.e. the install flag).
         
        repeated string flags = 2;
        Returns:
        A list containing the flags.
      • getFlagsCount

        int getFlagsCount()
         The flags to use when installing the MSI
         defaults to ["/i"] (i.e. the install flag).
         
        repeated string flags = 2;
        Returns:
        The count of flags.
      • getFlags

        String getFlags​(int index)
         The flags to use when installing the MSI
         defaults to ["/i"] (i.e. the install flag).
         
        repeated string flags = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The flags at the given index.
      • getFlagsBytes

        com.google.protobuf.ByteString getFlagsBytes​(int index)
         The flags to use when installing the MSI
         defaults to ["/i"] (i.e. the install flag).
         
        repeated string flags = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the flags at the given index.
      • getAllowedExitCodesList

        List<Integer> getAllowedExitCodesList()
         Return codes that indicate that the software installed or updated
         successfully. Behaviour defaults to [0]
         
        repeated int32 allowed_exit_codes = 3;
        Returns:
        A list containing the allowedExitCodes.
      • getAllowedExitCodesCount

        int getAllowedExitCodesCount()
         Return codes that indicate that the software installed or updated
         successfully. Behaviour defaults to [0]
         
        repeated int32 allowed_exit_codes = 3;
        Returns:
        The count of allowedExitCodes.
      • getAllowedExitCodes

        int getAllowedExitCodes​(int index)
         Return codes that indicate that the software installed or updated
         successfully. Behaviour defaults to [0]
         
        repeated int32 allowed_exit_codes = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedExitCodes at the given index.