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.Builder
addAdditionalTactics(MitreAttack.Tactic value)
Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.Builder
addAdditionalTacticsValue(int value)
Additional MITRE ATT&CK tactics related to this finding, if any.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.MitreAttack.Builder
addAdditionalTechniquesValue(int value)
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.Builder
addAllAdditionalTactics(Iterable<? extends MitreAttack.Tactic> values)
Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.Builder
addAllAdditionalTacticsValue(Iterable<Integer> values)
Additional MITRE ATT&CK tactics related to this finding, if any.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.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.MitreAttack.Builder
addAllPrimaryTechniques(Iterable<? extends MitreAttack.Technique> values)
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
addAllPrimaryTechniquesValue(Iterable<Integer> values)
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
addPrimaryTechniques(MitreAttack.Technique value)
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
addPrimaryTechniquesValue(int value)
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MitreAttack
build()
MitreAttack
buildPartial()
MitreAttack.Builder
clear()
MitreAttack.Builder
clearAdditionalTactics()
Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.Builder
clearAdditionalTechniques()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.MitreAttack.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MitreAttack.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MitreAttack.Builder
clearPrimaryTactic()
The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.Builder
clearPrimaryTechniques()
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
clearVersion()
The MITRE ATT&CK version referenced by the above fields.MitreAttack.Builder
clone()
MitreAttack.Tactic
getAdditionalTactics(int index)
Additional MITRE ATT&CK tactics related to this finding, if any.int
getAdditionalTacticsCount()
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.int
getAdditionalTacticsValue(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.Technique
getAdditionalTechniques(int index)
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.int
getAdditionalTechniquesCount()
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.int
getAdditionalTechniquesValue(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.MitreAttack
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
MitreAttack.Tactic
getPrimaryTactic()
The MITRE ATT&CK tactic most closely represented by this finding, if any.int
getPrimaryTacticValue()
The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.Technique
getPrimaryTechniques(int index)
The MITRE ATT&CK technique most closely represented by this finding, if any.int
getPrimaryTechniquesCount()
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.int
getPrimaryTechniquesValue(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.String
getVersion()
The MITRE ATT&CK version referenced by the above fields.com.google.protobuf.ByteString
getVersionBytes()
The MITRE ATT&CK version referenced by the above fields.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MitreAttack.Builder
mergeFrom(MitreAttack other)
MitreAttack.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MitreAttack.Builder
mergeFrom(com.google.protobuf.Message other)
MitreAttack.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MitreAttack.Builder
setAdditionalTactics(int index, MitreAttack.Tactic value)
Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.Builder
setAdditionalTacticsValue(int index, int value)
Additional MITRE ATT&CK tactics related to this finding, if any.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.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.MitreAttack.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MitreAttack.Builder
setPrimaryTactic(MitreAttack.Tactic value)
The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.Builder
setPrimaryTacticValue(int value)
The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.Builder
setPrimaryTechniques(int index, MitreAttack.Technique value)
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
setPrimaryTechniquesValue(int index, int value)
The MITRE ATT&CK technique most closely represented by this finding, if any.MitreAttack.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MitreAttack.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MitreAttack.Builder
setVersion(String value)
The MITRE ATT&CK version referenced by the above fields.MitreAttack.Builder
setVersionBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
clear
public MitreAttack.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
getDefaultInstanceForType
public MitreAttack getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MitreAttack build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MitreAttack buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MitreAttack.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
setField
public MitreAttack.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
clearField
public MitreAttack.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
clearOneof
public MitreAttack.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
setRepeatedField
public MitreAttack.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
addRepeatedField
public MitreAttack.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
mergeFrom
public MitreAttack.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MitreAttack.Builder>
-
mergeFrom
public MitreAttack.Builder mergeFrom(MitreAttack other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPrimaryTacticValue
in 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:
getPrimaryTactic
in 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:
getPrimaryTechniquesList
in 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:
getPrimaryTechniquesCount
in 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:
getPrimaryTechniques
in 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:
getPrimaryTechniquesValueList
in 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:
getPrimaryTechniquesValue
in 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:
getAdditionalTacticsList
in 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:
getAdditionalTacticsCount
in 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:
getAdditionalTactics
in 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:
getAdditionalTacticsValueList
in 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:
getAdditionalTacticsValue
in 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:
getAdditionalTechniquesList
in 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:
getAdditionalTechniquesCount
in 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:
getAdditionalTechniques
in 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:
getAdditionalTechniquesValueList
in 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:
getAdditionalTechniquesValue
in 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:
getVersion
in 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:
getVersionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
mergeUnknownFields
public final MitreAttack.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
-
-