public static final class AttackPath.Builder extends GeneratedMessageV3.Builder<AttackPath.Builder> implements AttackPathOrBuilder
   
   A path that an attacker could take to reach an exposed resource.
 Protobuf type google.cloud.securitycenter.v2.AttackPath
 
  
  
  
    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
  
  
  addAllEdges(Iterable<? extends AttackPath.AttackPathEdge> values)
  
    public AttackPath.Builder addAllEdges(Iterable<? extends AttackPath.AttackPathEdge> values)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        values | 
        Iterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathEdge>
  | 
      
    
  
  
  
  addAllPathNodes(Iterable<? extends AttackPath.AttackPathNode> values)
  
    public AttackPath.Builder addAllPathNodes(Iterable<? extends AttackPath.AttackPathNode> values)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        values | 
        Iterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode>
  | 
      
    
  
  
  
  addEdges(AttackPath.AttackPathEdge value)
  
    public AttackPath.Builder addEdges(AttackPath.AttackPathEdge value)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  
  addEdges(AttackPath.AttackPathEdge.Builder builderForValue)
  
    public AttackPath.Builder addEdges(AttackPath.AttackPathEdge.Builder builderForValue)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  
  addEdges(int index, AttackPath.AttackPathEdge value)
  
    public AttackPath.Builder addEdges(int index, AttackPath.AttackPathEdge value)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  
  addEdges(int index, AttackPath.AttackPathEdge.Builder builderForValue)
  
    public AttackPath.Builder addEdges(int index, AttackPath.AttackPathEdge.Builder builderForValue)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  
  addEdgesBuilder()
  
    public AttackPath.AttackPathEdge.Builder addEdgesBuilder()
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  addEdgesBuilder(int index)
  
    public AttackPath.AttackPathEdge.Builder addEdgesBuilder(int index)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  addPathNodes(AttackPath.AttackPathNode value)
  
    public AttackPath.Builder addPathNodes(AttackPath.AttackPathNode value)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  
  addPathNodes(AttackPath.AttackPathNode.Builder builderForValue)
  
    public AttackPath.Builder addPathNodes(AttackPath.AttackPathNode.Builder builderForValue)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  
  addPathNodes(int index, AttackPath.AttackPathNode value)
  
    public AttackPath.Builder addPathNodes(int index, AttackPath.AttackPathNode value)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  
  addPathNodes(int index, AttackPath.AttackPathNode.Builder builderForValue)
  
    public AttackPath.Builder addPathNodes(int index, AttackPath.AttackPathNode.Builder builderForValue)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  
  addPathNodesBuilder()
  
    public AttackPath.AttackPathNode.Builder addPathNodesBuilder()
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  addPathNodesBuilder(int index)
  
    public AttackPath.AttackPathNode.Builder addPathNodesBuilder(int index)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public AttackPath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public AttackPath build()
   
  
  
  buildPartial()
  
    public AttackPath buildPartial()
   
  
  
  clear()
  
    public AttackPath.Builder clear()
   
  
  Overrides
  
  
  clearEdges()
  
    public AttackPath.Builder clearEdges()
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public AttackPath.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearName()
  
    public AttackPath.Builder clearName()
   
   The attack path name, for example,
  organizations/12/simulations/34/valuedResources/56/attackPaths/78
 string name = 1;
 
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public AttackPath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clearPathNodes()
  
    public AttackPath.Builder clearPathNodes()
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  clone()
  
    public AttackPath.Builder clone()
   
  
  Overrides
  
  
  getDefaultInstanceForType()
  
    public AttackPath getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  getEdges(int index)
  
    public AttackPath.AttackPathEdge getEdges(int index)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getEdgesBuilder(int index)
  
    public AttackPath.AttackPathEdge.Builder getEdgesBuilder(int index)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getEdgesBuilderList()
  
    public List<AttackPath.AttackPathEdge.Builder> getEdgesBuilderList()
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  getEdgesCount()
  
    public int getEdgesCount()
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  
  getEdgesList()
  
    public List<AttackPath.AttackPathEdge> getEdgesList()
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  getEdgesOrBuilder(int index)
  
    public AttackPath.AttackPathEdgeOrBuilder getEdgesOrBuilder(int index)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getEdgesOrBuilderList()
  
    public List<? extends AttackPath.AttackPathEdgeOrBuilder> getEdgesOrBuilderList()
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathEdgeOrBuilder> | 
         | 
      
    
  
  
  getName()
  
   The attack path name, for example,
  organizations/12/simulations/34/valuedResources/56/attackPaths/78
 string name = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The name. 
 | 
      
    
  
  
  getNameBytes()
  
    public ByteString getNameBytes()
   
   The attack path name, for example,
  organizations/12/simulations/34/valuedResources/56/attackPaths/78
 string name = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for name. 
 | 
      
    
  
  
  getPathNodes(int index)
  
    public AttackPath.AttackPathNode getPathNodes(int index)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getPathNodesBuilder(int index)
  
    public AttackPath.AttackPathNode.Builder getPathNodesBuilder(int index)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getPathNodesBuilderList()
  
    public List<AttackPath.AttackPathNode.Builder> getPathNodesBuilderList()
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  getPathNodesCount()
  
    public int getPathNodesCount()
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  
  getPathNodesList()
  
    public List<AttackPath.AttackPathNode> getPathNodesList()
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  getPathNodesOrBuilder(int index)
  
    public AttackPath.AttackPathNodeOrBuilder getPathNodesOrBuilder(int index)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getPathNodesOrBuilderList()
  
    public List<? extends AttackPath.AttackPathNodeOrBuilder> getPathNodesOrBuilderList()
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNodeOrBuilder> | 
         | 
      
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeFrom(AttackPath other)
  
    public AttackPath.Builder mergeFrom(AttackPath other)
   
  
  
  
  
  
    public AttackPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public AttackPath.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final AttackPath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  removeEdges(int index)
  
    public AttackPath.Builder removeEdges(int index)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  removePathNodes(int index)
  
    public AttackPath.Builder removePathNodes(int index)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  setEdges(int index, AttackPath.AttackPathEdge value)
  
    public AttackPath.Builder setEdges(int index, AttackPath.AttackPathEdge value)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  
  setEdges(int index, AttackPath.AttackPathEdge.Builder builderForValue)
  
    public AttackPath.Builder setEdges(int index, AttackPath.AttackPathEdge.Builder builderForValue)
   
   A list of the edges between nodes in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathEdge edges = 3;
 
  
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public AttackPath.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setName(String value)
  
    public AttackPath.Builder setName(String value)
   
   The attack path name, for example,
  organizations/12/simulations/34/valuedResources/56/attackPaths/78
 string name = 1;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The name to set. 
 | 
      
    
  
  
  
  setNameBytes(ByteString value)
  
    public AttackPath.Builder setNameBytes(ByteString value)
   
   The attack path name, for example,
  organizations/12/simulations/34/valuedResources/56/attackPaths/78
 string name = 1;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for name to set. 
 | 
      
    
  
  
  
  setPathNodes(int index, AttackPath.AttackPathNode value)
  
    public AttackPath.Builder setPathNodes(int index, AttackPath.AttackPathNode value)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  
  setPathNodes(int index, AttackPath.AttackPathNode.Builder builderForValue)
  
    public AttackPath.Builder setPathNodes(int index, AttackPath.AttackPathNode.Builder builderForValue)
   
   A list of nodes that exist in this attack path.
 repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode path_nodes = 2;
 
 
  
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public AttackPath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final AttackPath.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides