Class MitreAttack.Builder (2.62.0)

public static final class MitreAttack.Builder extends GeneratedMessageV3.Builder<MitreAttack.Builder> 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 Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAdditionalTactics(MitreAttack.Tactic value)

public MitreAttack.Builder addAdditionalTactics(MitreAttack.Tactic value)

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

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

Parameter
Name Description
value MitreAttack.Tactic

The additionalTactics to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAdditionalTacticsValue(int value)

public MitreAttack.Builder addAdditionalTacticsValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for additionalTactics to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAdditionalTechniques(MitreAttack.Technique value)

public MitreAttack.Builder addAdditionalTechniques(MitreAttack.Technique value)

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
Name Description
value MitreAttack.Technique

The additionalTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAdditionalTechniquesValue(int value)

public MitreAttack.Builder addAdditionalTechniquesValue(int value)

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
Name Description
value int

The enum numeric value on the wire for additionalTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAllAdditionalTactics(Iterable<? extends MitreAttack.Tactic> values)

public MitreAttack.Builder addAllAdditionalTactics(Iterable<? extends MitreAttack.Tactic> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.MitreAttack.Tactic>

The additionalTactics to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAllAdditionalTacticsValue(Iterable<Integer> values)

public MitreAttack.Builder addAllAdditionalTacticsValue(Iterable<Integer> values)

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

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

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for additionalTactics to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAllAdditionalTechniques(Iterable<? extends MitreAttack.Technique> values)

public MitreAttack.Builder addAllAdditionalTechniques(Iterable<? extends MitreAttack.Technique> values)

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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.MitreAttack.Technique>

The additionalTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAllAdditionalTechniquesValue(Iterable<Integer> values)

public MitreAttack.Builder addAllAdditionalTechniquesValue(Iterable<Integer> values)

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
Name Description
values Iterable<Integer>

The enum numeric values on the wire for additionalTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAllPrimaryTechniques(Iterable<? extends MitreAttack.Technique> values)

public MitreAttack.Builder addAllPrimaryTechniques(Iterable<? extends MitreAttack.Technique> values)

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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.MitreAttack.Technique>

The primaryTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addAllPrimaryTechniquesValue(Iterable<Integer> values)

public MitreAttack.Builder addAllPrimaryTechniquesValue(Iterable<Integer> values)

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
Name Description
values Iterable<Integer>

The enum numeric values on the wire for primaryTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addPrimaryTechniques(MitreAttack.Technique value)

public MitreAttack.Builder addPrimaryTechniques(MitreAttack.Technique value)

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
Name Description
value MitreAttack.Technique

The primaryTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addPrimaryTechniquesValue(int value)

public MitreAttack.Builder addPrimaryTechniquesValue(int value)

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
Name Description
value int

The enum numeric value on the wire for primaryTechniques to add.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MitreAttack.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MitreAttack.Builder
Overrides

build()

public MitreAttack build()
Returns
Type Description
MitreAttack

buildPartial()

public MitreAttack buildPartial()
Returns
Type Description
MitreAttack

clear()

public MitreAttack.Builder clear()
Returns
Type Description
MitreAttack.Builder
Overrides

clearAdditionalTactics()

public MitreAttack.Builder clearAdditionalTactics()

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

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

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

clearAdditionalTechniques()

public MitreAttack.Builder clearAdditionalTechniques()

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
Type Description
MitreAttack.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MitreAttack.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MitreAttack.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MitreAttack.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MitreAttack.Builder
Overrides

clearPrimaryTactic()

public MitreAttack.Builder clearPrimaryTactic()

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

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

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

clearPrimaryTechniques()

public MitreAttack.Builder clearPrimaryTechniques()

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
Type Description
MitreAttack.Builder

This builder for chaining.

clearVersion()

public MitreAttack.Builder clearVersion()

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

string version = 5;

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

clone()

public MitreAttack.Builder clone()
Returns
Type Description
MitreAttack.Builder
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
List<Integer>

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

getDefaultInstanceForType()

public MitreAttack getDefaultInstanceForType()
Returns
Type Description
MitreAttack

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
List<Integer>

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

getVersion()

public String getVersion()

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

string version = 5;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

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

string version = 5;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MitreAttack other)

public MitreAttack.Builder mergeFrom(MitreAttack other)
Parameter
Name Description
other MitreAttack
Returns
Type Description
MitreAttack.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MitreAttack.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MitreAttack.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MitreAttack.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MitreAttack.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MitreAttack.Builder
Overrides

setAdditionalTactics(int index, MitreAttack.Tactic value)

public MitreAttack.Builder setAdditionalTactics(int index, MitreAttack.Tactic value)

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

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

Parameters
Name Description
index int

The index to set the value at.

value MitreAttack.Tactic

The additionalTactics to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setAdditionalTacticsValue(int index, int value)

public MitreAttack.Builder setAdditionalTacticsValue(int index, int value)

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

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

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for additionalTactics to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setAdditionalTechniques(int index, MitreAttack.Technique value)

public MitreAttack.Builder setAdditionalTechniques(int index, MitreAttack.Technique value)

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;

Parameters
Name Description
index int

The index to set the value at.

value MitreAttack.Technique

The additionalTechniques to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setAdditionalTechniquesValue(int index, int value)

public MitreAttack.Builder setAdditionalTechniquesValue(int index, int value)

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;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for additionalTechniques to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MitreAttack.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MitreAttack.Builder
Overrides

setPrimaryTactic(MitreAttack.Tactic value)

public MitreAttack.Builder setPrimaryTactic(MitreAttack.Tactic value)

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

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

Parameter
Name Description
value MitreAttack.Tactic

The primaryTactic to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setPrimaryTacticValue(int value)

public MitreAttack.Builder setPrimaryTacticValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for primaryTactic to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setPrimaryTechniques(int index, MitreAttack.Technique value)

public MitreAttack.Builder setPrimaryTechniques(int index, MitreAttack.Technique value)

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;

Parameters
Name Description
index int

The index to set the value at.

value MitreAttack.Technique

The primaryTechniques to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setPrimaryTechniquesValue(int index, int value)

public MitreAttack.Builder setPrimaryTechniquesValue(int index, int value)

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;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for primaryTechniques to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MitreAttack.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MitreAttack.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MitreAttack.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MitreAttack.Builder
Overrides

setVersion(String value)

public MitreAttack.Builder setVersion(String value)

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

string version = 5;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public MitreAttack.Builder setVersionBytes(ByteString value)

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

string version = 5;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
MitreAttack.Builder

This builder for chaining.