- 2.61.0 (latest)
- 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 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MitreAttack.BuilderImplements
MitreAttackOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public MitreAttack.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MitreAttack.Builder |
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 |
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 |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MitreAttack.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MitreAttack.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MitreAttack.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MitreAttack.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final MitreAttack.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MitreAttack.Builder |
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. |