Class 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 type google.cloud.securitycenter.v1.MitreAttack
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • clear

        public MitreAttack.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • getDefaultInstanceForType

        public MitreAttack getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MitreAttack build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MitreAttack buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public MitreAttack.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • setField

        public MitreAttack.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • clearField

        public MitreAttack.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • clearOneof

        public MitreAttack.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • addRepeatedField

        public MitreAttack.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • mergeFrom

        public MitreAttack.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MitreAttack.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface MitreAttackOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>
      • mergeUnknownFields

        public final MitreAttack.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MitreAttack.Builder>