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 TypeMethodDescriptionExecution message, if any.com.google.protobuf.ByteStringExecution message, if any.longNumber of violations.getRule()Rule name as plain text like `sap-hana-configured`.com.google.protobuf.ByteStringRule name as plain text like `sap-hana-configured`.longNumber of total scanned resources.getState()Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
RuleExecutionResult.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.
-