Interface ExecutionResultOrBuilder (0.1.0)

public interface ExecutionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommands(int index)

public abstract Command getCommands(int index)

The commands to remediate the violation.

repeated .google.cloud.workloadmanager.v1.Command commands = 7;

Parameter
Name Description
index int
Returns
Type Description
Command

getCommandsCount()

public abstract int getCommandsCount()

The commands to remediate the violation.

repeated .google.cloud.workloadmanager.v1.Command commands = 7;

Returns
Type Description
int

getCommandsList()

public abstract List<Command> getCommandsList()

The commands to remediate the violation.

repeated .google.cloud.workloadmanager.v1.Command commands = 7;

Returns
Type Description
List<Command>

getCommandsOrBuilder(int index)

public abstract CommandOrBuilder getCommandsOrBuilder(int index)

The commands to remediate the violation.

repeated .google.cloud.workloadmanager.v1.Command commands = 7;

Parameter
Name Description
index int
Returns
Type Description
CommandOrBuilder

getCommandsOrBuilderList()

public abstract List<? extends CommandOrBuilder> getCommandsOrBuilderList()

The commands to remediate the violation.

repeated .google.cloud.workloadmanager.v1.Command commands = 7;

Returns
Type Description
List<? extends com.google.cloud.workloadmanager.v1.CommandOrBuilder>

getDocumentationUrl()

public abstract String getDocumentationUrl()

The URL for the documentation of the rule.

string documentation_url = 4;

Returns
Type Description
String

The documentationUrl.

getDocumentationUrlBytes()

public abstract ByteString getDocumentationUrlBytes()

The URL for the documentation of the rule.

string documentation_url = 4;

Returns
Type Description
ByteString

The bytes for documentationUrl.

getResource()

public abstract Resource getResource()

The resource that violates the rule.

.google.cloud.workloadmanager.v1.Resource resource = 5;

Returns
Type Description
Resource

The resource.

getResourceOrBuilder()

public abstract ResourceOrBuilder getResourceOrBuilder()

The resource that violates the rule.

.google.cloud.workloadmanager.v1.Resource resource = 5;

Returns
Type Description
ResourceOrBuilder

getRule()

public abstract String getRule()

The rule that is violated in an evaluation.

string rule = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The rule.

getRuleBytes()

public abstract ByteString getRuleBytes()

The rule that is violated in an evaluation.

string rule = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for rule.

getSeverity()

public abstract String getSeverity()

The severity of violation.

string severity = 2;

Returns
Type Description
String

The severity.

getSeverityBytes()

public abstract ByteString getSeverityBytes()

The severity of violation.

string severity = 2;

Returns
Type Description
ByteString

The bytes for severity.

getType()

public abstract ExecutionResult.Type getType()

Execution result type of the scanned resource.

.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;

Returns
Type Description
ExecutionResult.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Execution result type of the scanned resource.

.google.cloud.workloadmanager.v1.ExecutionResult.Type type = 8;

Returns
Type Description
int

The enum numeric value on the wire for type.

getViolationDetails()

public abstract ViolationDetails getViolationDetails()

The details of violation in an evaluation result.

.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;

Returns
Type Description
ViolationDetails

The violationDetails.

getViolationDetailsOrBuilder()

public abstract ViolationDetailsOrBuilder getViolationDetailsOrBuilder()

The details of violation in an evaluation result.

.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;

Returns
Type Description
ViolationDetailsOrBuilder

getViolationMessage()

public abstract String getViolationMessage()

The violation message of an execution.

string violation_message = 1;

Returns
Type Description
String

The violationMessage.

getViolationMessageBytes()

public abstract ByteString getViolationMessageBytes()

The violation message of an execution.

string violation_message = 1;

Returns
Type Description
ByteString

The bytes for violationMessage.

hasResource()

public abstract boolean hasResource()

The resource that violates the rule.

.google.cloud.workloadmanager.v1.Resource resource = 5;

Returns
Type Description
boolean

Whether the resource field is set.

hasViolationDetails()

public abstract boolean hasViolationDetails()

The details of violation in an evaluation result.

.google.cloud.workloadmanager.v1.ViolationDetails violation_details = 6;

Returns
Type Description
boolean

Whether the violationDetails field is set.