Interface RuleExecutionResultOrBuilder

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

@Generated public interface RuleExecutionResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Execution message, if any.
    com.google.protobuf.ByteString
    Execution message, if any.
    long
    Number of violations.
    Rule name as plain text like `sap-hana-configured`.
    com.google.protobuf.ByteString
    Rule name as plain text like `sap-hana-configured`.
    long
    Number of total scanned resources.
    Output only.
    int
    Output only.

    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 Details

    • getRule

      String getRule()
       Rule name as plain text like `sap-hana-configured`.
       
      string rule = 1;
      Returns:
      The rule.
    • getRuleBytes

      com.google.protobuf.ByteString getRuleBytes()
       Rule name as plain text like `sap-hana-configured`.
       
      string rule = 1;
      Returns:
      The bytes for rule.
    • getStateValue

      int getStateValue()
       Output only. The execution status.
       
      .google.cloud.workloadmanager.v1.RuleExecutionResult.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. The execution status.
       
      .google.cloud.workloadmanager.v1.RuleExecutionResult.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getMessage

      String getMessage()
       Execution message, if any.
       
      string message = 3;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       Execution message, if any.
       
      string message = 3;
      Returns:
      The bytes for message.
    • getResultCount

      long getResultCount()
       Number of violations.
       
      int64 result_count = 4;
      Returns:
      The resultCount.
    • getScannedResourceCount

      long getScannedResourceCount()
       Number of total scanned resources.
       
      int64 scanned_resource_count = 5;
      Returns:
      The scannedResourceCount.