Class MitreAttack.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
- com.google.cloud.securitycenter.v1.MitreAttack.Builder
-
- All Implemented Interfaces:
MitreAttackOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MitreAttack
public static final class MitreAttack.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder> implements MitreAttackOrBuilder
MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
Protobuf typegoogle.cloud.securitycenter.v1.MitreAttack
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MitreAttack.BuilderaddAdditionalTactics(MitreAttack.Tactic value)Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuilderaddAdditionalTacticsValue(int value)Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuilderaddAdditionalTechniques(MitreAttack.Technique value)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuilderaddAdditionalTechniquesValue(int value)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuilderaddAllAdditionalTactics(Iterable<? extends MitreAttack.Tactic> values)Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuilderaddAllAdditionalTacticsValue(Iterable<Integer> values)Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuilderaddAllAdditionalTechniques(Iterable<? extends MitreAttack.Technique> values)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuilderaddAllAdditionalTechniquesValue(Iterable<Integer> values)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuilderaddAllPrimaryTechniques(Iterable<? extends MitreAttack.Technique> values)The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuilderaddAllPrimaryTechniquesValue(Iterable<Integer> values)The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuilderaddPrimaryTechniques(MitreAttack.Technique value)The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuilderaddPrimaryTechniquesValue(int value)The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MitreAttackbuild()MitreAttackbuildPartial()MitreAttack.Builderclear()MitreAttack.BuilderclearAdditionalTactics()Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuilderclearAdditionalTechniques()Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MitreAttack.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MitreAttack.BuilderclearPrimaryTactic()The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.BuilderclearPrimaryTechniques()The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuilderclearVersion()The MITRE ATT&CK version referenced by the above fields.MitreAttack.Builderclone()MitreAttack.TacticgetAdditionalTactics(int index)Additional MITRE ATT&CK tactics related to this finding, if any.intgetAdditionalTacticsCount()Additional MITRE ATT&CK tactics related to this finding, if any.List<MitreAttack.Tactic>getAdditionalTacticsList()Additional MITRE ATT&CK tactics related to this finding, if any.intgetAdditionalTacticsValue(int index)Additional MITRE ATT&CK tactics related to this finding, if any.List<Integer>getAdditionalTacticsValueList()Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.TechniquegetAdditionalTechniques(int index)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.intgetAdditionalTechniquesCount()Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.List<MitreAttack.Technique>getAdditionalTechniquesList()Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.intgetAdditionalTechniquesValue(int index)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.List<Integer>getAdditionalTechniquesValueList()Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttackgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MitreAttack.TacticgetPrimaryTactic()The MITRE ATT&CK tactic most closely represented by this finding, if any.intgetPrimaryTacticValue()The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.TechniquegetPrimaryTechniques(int index)The MITRE ATT&CK technique most closely represented by this finding, if any.intgetPrimaryTechniquesCount()The MITRE ATT&CK technique most closely represented by this finding, if any.List<MitreAttack.Technique>getPrimaryTechniquesList()The MITRE ATT&CK technique most closely represented by this finding, if any.intgetPrimaryTechniquesValue(int index)The MITRE ATT&CK technique most closely represented by this finding, if any.List<Integer>getPrimaryTechniquesValueList()The MITRE ATT&CK technique most closely represented by this finding, if any.StringgetVersion()The MITRE ATT&CK version referenced by the above fields.com.google.protobuf.ByteStringgetVersionBytes()The MITRE ATT&CK version referenced by the above fields.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MitreAttack.BuildermergeFrom(MitreAttack other)MitreAttack.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MitreAttack.BuildermergeFrom(com.google.protobuf.Message other)MitreAttack.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MitreAttack.BuildersetAdditionalTactics(int index, MitreAttack.Tactic value)Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuildersetAdditionalTacticsValue(int index, int value)Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.BuildersetAdditionalTechniques(int index, MitreAttack.Technique value)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuildersetAdditionalTechniquesValue(int index, int value)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MitreAttack.BuildersetPrimaryTactic(MitreAttack.Tactic value)The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.BuildersetPrimaryTacticValue(int value)The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.BuildersetPrimaryTechniques(int index, MitreAttack.Technique value)The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuildersetPrimaryTechniquesValue(int index, int value)The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MitreAttack.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MitreAttack.BuildersetVersion(String value)The MITRE ATT&CK version referenced by the above fields.MitreAttack.BuildersetVersionBytes(com.google.protobuf.ByteString value)The MITRE ATT&CK version referenced by the above fields.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
clear
public MitreAttack.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
getDefaultInstanceForType
public MitreAttack getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MitreAttack build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MitreAttack buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MitreAttack.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
setField
public MitreAttack.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
clearField
public MitreAttack.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
clearOneof
public MitreAttack.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
setRepeatedField
public MitreAttack.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
addRepeatedField
public MitreAttack.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
mergeFrom
public MitreAttack.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MitreAttack.Builder>
-
mergeFrom
public MitreAttack.Builder mergeFrom(MitreAttack other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
mergeFrom
public MitreAttack.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MitreAttack.Builder>- Throws:
IOException
-
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;- Specified by:
getPrimaryTacticValuein interfaceMitreAttackOrBuilder- Returns:
- The enum numeric value on the wire for primaryTactic.
-
setPrimaryTacticValue
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;- Parameters:
value- The enum numeric value on the wire for primaryTactic to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getPrimaryTacticin interfaceMitreAttackOrBuilder- Returns:
- The primaryTactic.
-
setPrimaryTactic
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;- Parameters:
value- The primaryTactic to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getPrimaryTechniquesListin interfaceMitreAttackOrBuilder- Returns:
- A list containing the primaryTechniques.
-
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;- Specified by:
getPrimaryTechniquesCountin interfaceMitreAttackOrBuilder- Returns:
- The count of primaryTechniques.
-
getPrimaryTechniques
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;- Specified by:
getPrimaryTechniquesin interfaceMitreAttackOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The primaryTechniques at the given index.
-
setPrimaryTechniques
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:
index- The index to set the value at.value- The primaryTechniques to set.- Returns:
- This builder for chaining.
-
addPrimaryTechniques
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;- Parameters:
value- The primaryTechniques to add.- Returns:
- This builder for chaining.
-
addAllPrimaryTechniques
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;- Parameters:
values- The primaryTechniques to add.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
getPrimaryTechniquesValueListin interfaceMitreAttackOrBuilder- Returns:
- A list containing the enum numeric values on the wire for primaryTechniques.
-
getPrimaryTechniquesValue
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;- Specified by:
getPrimaryTechniquesValuein interfaceMitreAttackOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryTechniques at the given index.
-
setPrimaryTechniquesValue
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:
index- The index to set the value at.value- The enum numeric value on the wire for primaryTechniques to set.- Returns:
- This builder for chaining.
-
addPrimaryTechniquesValue
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;- Parameters:
value- The enum numeric value on the wire for primaryTechniques to add.- Returns:
- This builder for chaining.
-
addAllPrimaryTechniquesValue
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;- Parameters:
values- The enum numeric values on the wire for primaryTechniques to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAdditionalTacticsListin interfaceMitreAttackOrBuilder- Returns:
- A list containing the additionalTactics.
-
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;- Specified by:
getAdditionalTacticsCountin interfaceMitreAttackOrBuilder- Returns:
- The count of additionalTactics.
-
getAdditionalTactics
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;- Specified by:
getAdditionalTacticsin interfaceMitreAttackOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalTactics at the given index.
-
setAdditionalTactics
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:
index- The index to set the value at.value- The additionalTactics to set.- Returns:
- This builder for chaining.
-
addAdditionalTactics
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;- Parameters:
value- The additionalTactics to add.- Returns:
- This builder for chaining.
-
addAllAdditionalTactics
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;- Parameters:
values- The additionalTactics to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getAdditionalTacticsValueListin interfaceMitreAttackOrBuilder- Returns:
- A list containing the enum numeric values on the wire for additionalTactics.
-
getAdditionalTacticsValue
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;- Specified by:
getAdditionalTacticsValuein interfaceMitreAttackOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of additionalTactics at the given index.
-
setAdditionalTacticsValue
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:
index- The index to set the value at.value- The enum numeric value on the wire for additionalTactics to set.- Returns:
- This builder for chaining.
-
addAdditionalTacticsValue
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;- Parameters:
value- The enum numeric value on the wire for additionalTactics to add.- Returns:
- This builder for chaining.
-
addAllAdditionalTacticsValue
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;- Parameters:
values- The enum numeric values on the wire for additionalTactics to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAdditionalTechniquesListin interfaceMitreAttackOrBuilder- Returns:
- A list containing the additionalTechniques.
-
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;- Specified by:
getAdditionalTechniquesCountin interfaceMitreAttackOrBuilder- Returns:
- The count of additionalTechniques.
-
getAdditionalTechniques
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;- Specified by:
getAdditionalTechniquesin interfaceMitreAttackOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalTechniques at the given index.
-
setAdditionalTechniques
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:
index- The index to set the value at.value- The additionalTechniques to set.- Returns:
- This builder for chaining.
-
addAdditionalTechniques
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;- Parameters:
value- The additionalTechniques to add.- Returns:
- This builder for chaining.
-
addAllAdditionalTechniques
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;- Parameters:
values- The additionalTechniques to add.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
getAdditionalTechniquesValueListin interfaceMitreAttackOrBuilder- Returns:
- A list containing the enum numeric values on the wire for additionalTechniques.
-
getAdditionalTechniquesValue
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;- Specified by:
getAdditionalTechniquesValuein interfaceMitreAttackOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of additionalTechniques at the given index.
-
setAdditionalTechniquesValue
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:
index- The index to set the value at.value- The enum numeric value on the wire for additionalTechniques to set.- Returns:
- This builder for chaining.
-
addAdditionalTechniquesValue
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;- Parameters:
value- The enum numeric value on the wire for additionalTechniques to add.- Returns:
- This builder for chaining.
-
addAllAdditionalTechniquesValue
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;- Parameters:
values- The enum numeric values on the wire for additionalTechniques to add.- Returns:
- This builder for chaining.
-
getVersion
public String getVersion()
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
string version = 5;- Specified by:
getVersionin interfaceMitreAttackOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
string version = 5;- Specified by:
getVersionBytesin interfaceMitreAttackOrBuilder- Returns:
- The bytes for version.
-
setVersion
public MitreAttack.Builder setVersion(String value)
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
string version = 5;- Parameters:
value- The version to set.- Returns:
- 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:
- This builder for chaining.
-
setVersionBytes
public MitreAttack.Builder setVersionBytes(com.google.protobuf.ByteString value)
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
string version = 5;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MitreAttack.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
mergeUnknownFields
public final MitreAttack.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
-