Interface ExecutionResultOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExecutionResult, ExecutionResult.Builder

@Generated public interface ExecutionResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getViolationMessage

      String getViolationMessage()
       The violation message of an execution.
       
      string violation_message = 1;
      Returns:
      The violationMessage.
    • getViolationMessageBytes

      com.google.protobuf.ByteString getViolationMessageBytes()
       The violation message of an execution.
       
      string violation_message = 1;
      Returns:
      The bytes for violationMessage.
    • getSeverity

      String getSeverity()
       The severity of violation.
       
      string severity = 2;
      Returns:
      The severity.
    • getSeverityBytes

      com.google.protobuf.ByteString getSeverityBytes()
       The severity of violation.
       
      string severity = 2;
      Returns:
      The bytes for severity.
    • getRule

      String getRule()
       The rule that is violated in an evaluation.
       
      string rule = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The rule.
    • getRuleBytes

      com.google.protobuf.ByteString getRuleBytes()
       The rule that is violated in an evaluation.
       
      string rule = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for rule.
    • getDocumentationUrl

      String getDocumentationUrl()
       The URL for the documentation of the rule.
       
      string documentation_url = 4;
      Returns:
      The documentationUrl.
    • getDocumentationUrlBytes

      com.google.protobuf.ByteString getDocumentationUrlBytes()
       The URL for the documentation of the rule.
       
      string documentation_url = 4;
      Returns:
      The bytes for documentationUrl.
    • hasResource

      boolean hasResource()
       The resource that violates the rule.
       
      .google.cloud.workloadmanager.v1.Resource resource = 5;
      Returns:
      Whether the resource field is set.
    • getResource

      Resource getResource()
       The resource that violates the rule.
       
      .google.cloud.workloadmanager.v1.Resource resource = 5;
      Returns:
      The resource.
    • getResourceOrBuilder

      ResourceOrBuilder getResourceOrBuilder()
       The resource that violates the rule.
       
      .google.cloud.workloadmanager.v1.Resource resource = 5;
    • hasViolationDetails

      boolean hasViolationDetails()
       The details of violation in an evaluation result.
       
      .google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;
      Returns:
      Whether the violationDetails field is set.
    • getViolationDetails

      ViolationDetails getViolationDetails()
       The details of violation in an evaluation result.
       
      .google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;
      Returns:
      The violationDetails.
    • getViolationDetailsOrBuilder

      ViolationDetailsOrBuilder getViolationDetailsOrBuilder()
       The details of violation in an evaluation result.
       
      .google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;
    • getCommandsList

      List<Command> getCommandsList()
       The commands to remediate the violation.
       
      repeated .google.cloud.workloadmanager.v1.Command commands = 7;
    • getCommands

      Command getCommands(int index)
       The commands to remediate the violation.
       
      repeated .google.cloud.workloadmanager.v1.Command commands = 7;
    • getCommandsCount

      int getCommandsCount()
       The commands to remediate the violation.
       
      repeated .google.cloud.workloadmanager.v1.Command commands = 7;
    • getCommandsOrBuilderList

      List<? extends CommandOrBuilder> getCommandsOrBuilderList()
       The commands to remediate the violation.
       
      repeated .google.cloud.workloadmanager.v1.Command commands = 7;
    • getCommandsOrBuilder

      CommandOrBuilder getCommandsOrBuilder(int index)
       The commands to remediate the violation.
       
      repeated .google.cloud.workloadmanager.v1.Command commands = 7;
    • getTypeValue

      int getTypeValue()
       Execution result type of the scanned resource.
       
      .google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Execution result type of the scanned resource.
       
      .google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;
      Returns:
      The type.