Class ToxicCombination.Builder (2.86.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ToxicCombination . Builder   extends   GeneratedMessageV3 . Builder<ToxicCombination . Builder >  implements   ToxicCombinationOrBuilder  
   
   Contains details about a group of security issues that, when the issues
 occur together, represent a greater risk than when the issues occur
 independently. A group of such issues is referred to as a toxic
 combination.
 Protobuf type google.cloud.securitycenter.v2.ToxicCombination
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
  Methods
   
   
  
  
    
public   ToxicCombination . Builder   addAllRelatedFindings ( Iterable<String>   values )  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        values 
        Iterable <String >The relatedFindings to add.
 
       
     
  
  
   
  
  
    
public   ToxicCombination . Builder   addRelatedFindings ( String   value )  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        String The relatedFindings to add.
 
       
     
  
  
   
  
  
    
public   ToxicCombination . Builder   addRelatedFindingsBytes ( ByteString   value )  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        ByteString The bytes of the relatedFindings to add.
 
       
     
  
  
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ToxicCombination . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  build() 
  
    
public   ToxicCombination   build ()  
   
  
   
  buildPartial() 
  
    
public   ToxicCombination   buildPartial ()  
   
  
   
  clear() 
  
    
public   ToxicCombination . Builder   clear ()  
   
  
  Overrides 
  
   
  clearAttackExposureScore() 
  
    
public   ToxicCombination . Builder   clearAttackExposureScore ()  
   
   The
 Attack exposure
 score 
 of this toxic combination. The score is a measure of how much this toxic
 combination exposes one or more high-value resources to potential attack.
 double attack_exposure_score = 1;
 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   ToxicCombination . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ToxicCombination . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  
  
    
public   ToxicCombination . Builder   clearRelatedFindings ()  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
   
  clone() 
  
    
public   ToxicCombination . Builder   clone ()  
   
  
  Overrides 
  
   
  getAttackExposureScore() 
  
    
public   double   getAttackExposureScore ()  
   
   The
 Attack exposure
 score 
 of this toxic combination. The score is a measure of how much this toxic
 combination exposes one or more high-value resources to potential attack.
 double attack_exposure_score = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        double  
        The attackExposureScore.
 
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   ToxicCombination   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  
  
    
public   String   getRelatedFindings ( int   index )  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int The index of the element to return.
 
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The relatedFindings at the given index.
 
       
     
  
   
  
  
    
public   ByteString   getRelatedFindingsBytes ( int   index )  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int The index of the value to return.
 
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes of the relatedFindings at the given index.
 
       
     
  
   
  
  
    
public   int   getRelatedFindingsCount ()  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The count of relatedFindings.
 
       
     
  
   
  
  
    
public   ProtocolStringList   getRelatedFindingsList ()  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  mergeFrom(ToxicCombination other) 
  
    
public   ToxicCombination . Builder   mergeFrom ( ToxicCombination   other )  
   
  
  
   
  
  
    
public   ToxicCombination . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  mergeFrom(Message other) 
  
    
public   ToxicCombination . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ToxicCombination . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  setAttackExposureScore(double value) 
  
    
public   ToxicCombination . Builder   setAttackExposureScore ( double   value )  
   
   The
 Attack exposure
 score 
 of this toxic combination. The score is a measure of how much this toxic
 combination exposes one or more high-value resources to potential attack.
 double attack_exposure_score = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        double The attackExposureScore to set.
 
       
     
  
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ToxicCombination . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   ToxicCombination . Builder   setRelatedFindings ( int   index ,   String   value )  
   
   List of resource names of findings associated with this toxic combination.
 For example, organizations/123/sources/456/findings/789.
 repeated string related_findings = 2;
 
  
    
      
        Parameters  
       
      
        Name  
        Description  
       
      
        index 
        int The index to set the value at.
 
       
      
        value 
        String The relatedFindings to set.
 
       
     
  
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ToxicCombination . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ToxicCombination . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]