Class MitreAttack (2.7.0)

public final class MitreAttack extends GeneratedMessageV3 implements MitreAttackOrBuilder

MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org

Protobuf type google.cloud.securitycenter.v1.MitreAttack

Static Fields

ADDITIONAL_TACTICS_FIELD_NUMBER

public static final int ADDITIONAL_TACTICS_FIELD_NUMBER
Field Value
TypeDescription
int

ADDITIONAL_TECHNIQUES_FIELD_NUMBER

public static final int ADDITIONAL_TECHNIQUES_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_TACTIC_FIELD_NUMBER

public static final int PRIMARY_TACTIC_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_TECHNIQUES_FIELD_NUMBER

public static final int PRIMARY_TECHNIQUES_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MitreAttack getDefaultInstance()
Returns
TypeDescription
MitreAttack

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MitreAttack.Builder newBuilder()
Returns
TypeDescription
MitreAttack.Builder

newBuilder(MitreAttack prototype)

public static MitreAttack.Builder newBuilder(MitreAttack prototype)
Parameter
NameDescription
prototypeMitreAttack
Returns
TypeDescription
MitreAttack.Builder

parseDelimitedFrom(InputStream input)

public static MitreAttack parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MitreAttack parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MitreAttack parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MitreAttack parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MitreAttack parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MitreAttack parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MitreAttack
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MitreAttack> parser()
Returns
TypeDescription
Parser<MitreAttack>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAdditionalTactics(int index)

public MitreAttack.Tactic getAdditionalTactics(int index)

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

repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
MitreAttack.Tactic

The additionalTactics at the given index.

getAdditionalTacticsCount()

public int getAdditionalTacticsCount()

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

repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;

Returns
TypeDescription
int

The count of additionalTactics.

getAdditionalTacticsList()

public List<MitreAttack.Tactic> getAdditionalTacticsList()

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

repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;

Returns
TypeDescription
List<Tactic>

A list containing the additionalTactics.

getAdditionalTacticsValue(int index)

public int getAdditionalTacticsValue(int index)

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

repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of additionalTactics at the given index.

getAdditionalTacticsValueList()

public List<Integer> getAdditionalTacticsValueList()

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

repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for additionalTactics.

getAdditionalTechniques(int index)

public 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.v1.MitreAttack.Technique additional_techniques = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
MitreAttack.Technique

The additionalTechniques at the given index.

getAdditionalTechniquesCount()

public 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.v1.MitreAttack.Technique additional_techniques = 4;

Returns
TypeDescription
int

The count of additionalTechniques.

getAdditionalTechniquesList()

public 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.v1.MitreAttack.Technique additional_techniques = 4;

Returns
TypeDescription
List<Technique>

A list containing the additionalTechniques.

getAdditionalTechniquesValue(int index)

public 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.v1.MitreAttack.Technique additional_techniques = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of additionalTechniques at the given index.

getAdditionalTechniquesValueList()

public 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.v1.MitreAttack.Technique additional_techniques = 4;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for additionalTechniques.

getDefaultInstanceForType()

public MitreAttack getDefaultInstanceForType()
Returns
TypeDescription
MitreAttack

getParserForType()

public Parser<MitreAttack> getParserForType()
Returns
TypeDescription
Parser<MitreAttack>
Overrides

getPrimaryTactic()

public MitreAttack.Tactic getPrimaryTactic()

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

.google.cloud.securitycenter.v1.MitreAttack.Tactic primary_tactic = 1;

Returns
TypeDescription
MitreAttack.Tactic

The primaryTactic.

getPrimaryTacticValue()

public int getPrimaryTacticValue()

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

.google.cloud.securitycenter.v1.MitreAttack.Tactic primary_tactic = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for primaryTactic.

getPrimaryTechniques(int index)

public 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.v1.MitreAttack.Technique primary_techniques = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
MitreAttack.Technique

The primaryTechniques at the given index.

getPrimaryTechniquesCount()

public 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.v1.MitreAttack.Technique primary_techniques = 2;

Returns
TypeDescription
int

The count of primaryTechniques.

getPrimaryTechniquesList()

public 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.v1.MitreAttack.Technique primary_techniques = 2;

Returns
TypeDescription
List<Technique>

A list containing the primaryTechniques.

getPrimaryTechniquesValue(int index)

public 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.v1.MitreAttack.Technique primary_techniques = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of primaryTechniques at the given index.

getPrimaryTechniquesValueList()

public 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.v1.MitreAttack.Technique primary_techniques = 2;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for primaryTechniques.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public String getVersion()

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

string version = 5;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

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

string version = 5;

Returns
TypeDescription
ByteString

The bytes for version.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MitreAttack.Builder newBuilderForType()
Returns
TypeDescription
MitreAttack.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MitreAttack.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MitreAttack.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MitreAttack.Builder toBuilder()
Returns
TypeDescription
MitreAttack.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException