0.10.0 (latest) 0.9.0 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ExecutionResultOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.Command` |   |

### getCommandsCount()

    public abstract int getCommandsCount()

The commands to remediate the violation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getCommandsList()

    public abstract List<Command> getCommandsList()

The commands to remediate the violation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The documentationUrl. |

### getDocumentationUrlBytes()

    public abstract ByteString getDocumentationUrlBytes()

The URL for the documentation of the rule.

`string documentation_url = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.Resource` | The resource. |

### getResourceOrBuilder()

    public abstract ResourceOrBuilder getResourceOrBuilder()

The resource that violates the rule.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.ResourceOrBuilder` |   |

### getRule()

    public abstract String getRule()

The rule that is violated in an evaluation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for rule. |

### getSeverity()

    public abstract String getSeverity()

The severity of violation.

`string severity = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The severity. |

### getSeverityBytes()

    public abstract ByteString getSeverityBytes()

The severity of violation.

`string severity = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.ViolationDetailsOrBuilder` |   |

### getViolationMessage()

    public abstract String getViolationMessage()

The violation message of an execution.

`string violation_message = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The violationMessage. |

### getViolationMessageBytes()

    public abstract ByteString getViolationMessageBytes()

The violation message of an execution.

`string violation_message = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the violationDetails field is set. |