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 Summary
Modifier and TypeMethodDescriptiongetCommands(int index) The commands to remediate the violation.intThe commands to remediate the violation.The commands to remediate the violation.getCommandsOrBuilder(int index) The commands to remediate the violation.List<? extends CommandOrBuilder>The commands to remediate the violation.The URL for the documentation of the rule.com.google.protobuf.ByteStringThe URL for the documentation of the rule.The resource that violates the rule.The resource that violates the rule.getRule()The rule that is violated in an evaluation.com.google.protobuf.ByteStringThe rule that is violated in an evaluation.The severity of violation.com.google.protobuf.ByteStringThe severity of violation.getType()Execution result type of the scanned resource.intExecution result type of the scanned resource.The details of violation in an evaluation result.The details of violation in an evaluation result.The violation message of an execution.com.google.protobuf.ByteStringThe violation message of an execution.booleanThe resource that violates the rule.booleanThe details of violation in an evaluation result.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
-
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
The commands to remediate the violation.
repeated .google.cloud.workloadmanager.v1.Command commands = 7; -
getCommands
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
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
ExecutionResult.Type getType()Execution result type of the scanned resource.
.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;- Returns:
- The type.
-