# Interface MitreAttackOrBuilder (2.101.0)

2.101.0 (latest) 2.99.0 2.96.0 2.95.0 2.93.0 2.91.0 2.90.0 2.88.0 2.86.0 2.84.0 2.83.0 2.82.0 2.81.0 2.80.0 2.78.0 2.76.0 2.75.0 2.72.0 2.71.0 2.70.0 2.68.0 2.67.0 2.66.0 2.65.0 2.64.0 2.63.0 2.62.0 2.61.0 2.60.0 2.59.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.52.0 2.51.0 2.50.0 2.49.0 2.48.0 2.47.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.1 2.10.0 2.9.0 2.8.0 2.7.1 2.6.0 2.5.6 2.3.2

    public interface MitreAttackOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAdditionalTactics(int index)

    public abstract MitreAttack.Tactic getAdditionalTactics(int index)

Additional MITRE ATT\&CK tactics related to this finding, if any.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Tactic` | The additionalTactics at the given index. |

### getAdditionalTacticsCount()

    public abstract int getAdditionalTacticsCount()

Additional MITRE ATT\&CK tactics related to this finding, if any.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;
`

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

### getAdditionalTacticsList()

    public abstract List<MitreAttack.Tactic> getAdditionalTacticsList()

Additional MITRE ATT\&CK tactics related to this finding, if any.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;
`

| **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-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Tactic>` | A list containing the additionalTactics. |

### getAdditionalTacticsValue(int index)

    public abstract int getAdditionalTacticsValue(int index)

Additional MITRE ATT\&CK tactics related to this finding, if any.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of additionalTactics at the given index. |

### getAdditionalTacticsValueList()

    public abstract List<Integer> getAdditionalTacticsValueList()

Additional MITRE ATT\&CK tactics related to this finding, if any.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for additionalTactics. |

### getAdditionalTechniques(int index)

    public abstract MitreAttack.Technique getAdditionalTechniques(int index)

Additional MITRE ATT\&CK techniques related to this finding, if any, along
with any of their respective parent techniques.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique additional_techniques = 4;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Technique` | The additionalTechniques at the given index. |

### getAdditionalTechniquesCount()

    public abstract int getAdditionalTechniquesCount()

Additional MITRE ATT\&CK techniques related to this finding, if any, along
with any of their respective parent techniques.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique additional_techniques = 4;
`

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

### getAdditionalTechniquesList()

    public abstract List<MitreAttack.Technique> getAdditionalTechniquesList()

Additional MITRE ATT\&CK techniques related to this finding, if any, along
with any of their respective parent techniques.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique additional_techniques = 4;
`

| **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-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Technique>` | A list containing the additionalTechniques. |

### getAdditionalTechniquesValue(int index)

    public abstract int getAdditionalTechniquesValue(int index)

Additional MITRE ATT\&CK techniques related to this finding, if any, along
with any of their respective parent techniques.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique additional_techniques = 4;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of additionalTechniques at the given index. |

### getAdditionalTechniquesValueList()

    public abstract List<Integer> getAdditionalTechniquesValueList()

Additional MITRE ATT\&CK techniques related to this finding, if any, along
with any of their respective parent techniques.

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique additional_techniques = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for additionalTechniques. |

### getPrimaryTactic()

    public abstract MitreAttack.Tactic getPrimaryTactic()

The MITRE ATT\&CK tactic most closely represented by this finding, if any.

`.google.cloud.securitycenter.v2.MitreAttack.Tactic primary_tactic = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Tactic` | The primaryTactic. |

### getPrimaryTacticValue()

    public abstract int getPrimaryTacticValue()

The MITRE ATT\&CK tactic most closely represented by this finding, if any.

`.google.cloud.securitycenter.v2.MitreAttack.Tactic primary_tactic = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for primaryTactic. |

### getPrimaryTechniques(int index)

    public abstract MitreAttack.Technique getPrimaryTechniques(int index)

The MITRE ATT\&CK technique most closely represented by this finding, if
any. primary_techniques is a repeated field because there are multiple
levels of MITRE ATT\&CK techniques. If the technique most closely
represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`),
both the sub-technique and its parent technique(s) will be listed (e.g.
`SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique primary_techniques = 2;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Technique` | The primaryTechniques at the given index. |

### getPrimaryTechniquesCount()

    public abstract int getPrimaryTechniquesCount()

The MITRE ATT\&CK technique most closely represented by this finding, if
any. primary_techniques is a repeated field because there are multiple
levels of MITRE ATT\&CK techniques. If the technique most closely
represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`),
both the sub-technique and its parent technique(s) will be listed (e.g.
`SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique primary_techniques = 2;
`

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

### getPrimaryTechniquesList()

    public abstract List<MitreAttack.Technique> getPrimaryTechniquesList()

The MITRE ATT\&CK technique most closely represented by this finding, if
any. primary_techniques is a repeated field because there are multiple
levels of MITRE ATT\&CK techniques. If the technique most closely
represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`),
both the sub-technique and its parent technique(s) will be listed (e.g.
`SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique primary_techniques = 2;
`

| **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-securitycenter/latest/com.google.cloud.securitycenter.v2.MitreAttack.Technique>` | A list containing the primaryTechniques. |

### getPrimaryTechniquesValue(int index)

    public abstract int getPrimaryTechniquesValue(int index)

The MITRE ATT\&CK technique most closely represented by this finding, if
any. primary_techniques is a repeated field because there are multiple
levels of MITRE ATT\&CK techniques. If the technique most closely
represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`),
both the sub-technique and its parent technique(s) will be listed (e.g.
`SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique primary_techniques = 2;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of primaryTechniques at the given index. |

### getPrimaryTechniquesValueList()

    public abstract List<Integer> getPrimaryTechniquesValueList()

The MITRE ATT\&CK technique most closely represented by this finding, if
any. primary_techniques is a repeated field because there are multiple
levels of MITRE ATT\&CK techniques. If the technique most closely
represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`),
both the sub-technique and its parent technique(s) will be listed (e.g.
`SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).

`repeated .google.cloud.securitycenter.v2.MitreAttack.Technique primary_techniques = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for primaryTechniques. |

### getVersion()

    public abstract String getVersion()

The MITRE ATT\&CK version referenced by the above fields. E.g. "8".

`string version = 5;`

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

### getVersionBytes()

    public abstract ByteString getVersionBytes()

The MITRE ATT\&CK version referenced by the above fields. E.g. "8".

`string version = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for version. |