- 2.91.0 (latest)
- 2.90.0
- 2.88.0
- 2.86.0
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.72.0
- 2.71.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class AttackPath.Builder extends GeneratedMessage.Builder<AttackPath.Builder> implements AttackPathOrBuilderA path that an attacker could take to reach an exposed resource.
Protobuf type google.cloud.securitycenter.v1.AttackPath
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AttackPath.BuilderImplements
AttackPathOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v1.AttackPath.AttackPathEdge> |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v1.AttackPath.AttackPathNode> |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
AttackPath.AttackPathEdge |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttackPath.AttackPathEdge.Builder |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttackPath.AttackPathEdge |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathEdge.Builder |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
addEdgesBuilder()
public AttackPath.AttackPathEdge.Builder addEdgesBuilder()A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathEdge.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathEdge.Builder |
|
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AttackPath.AttackPathNode |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttackPath.AttackPathNode.Builder |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttackPath.AttackPathNode |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathNode.Builder |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
addPathNodesBuilder()
public AttackPath.AttackPathNode.Builder addPathNodesBuilder()A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathNode.Builder |
|
addPathNodesBuilder(int index)
public AttackPath.AttackPathNode.Builder addPathNodesBuilder(int index)A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathNode.Builder |
|
build()
public AttackPath build()| Returns | |
|---|---|
| Type | Description |
AttackPath |
|
buildPartial()
public AttackPath buildPartial()| Returns | |
|---|---|
| Type | Description |
AttackPath |
|
clear()
public AttackPath.Builder clear()| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
clearEdges()
public AttackPath.Builder clearEdges()A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
clearName()
public AttackPath.Builder clearName() The attack path name, for example,
organizations/12/simulation/34/valuedResources/56/attackPaths/78
string name = 1;
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
This builder for chaining. |
clearPathNodes()
public AttackPath.Builder clearPathNodes()A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
getDefaultInstanceForType()
public AttackPath getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AttackPath |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEdges(int index)
public AttackPath.AttackPathEdge getEdges(int index)A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathEdge |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathEdge.Builder |
|
getEdgesBuilderList()
public List<AttackPath.AttackPathEdge.Builder> getEdgesBuilderList()A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getEdgesCount()
public int getEdgesCount()A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.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.v1.AttackPath.AttackPathEdge edges = 3;
| Returns | |
|---|---|
| Type | Description |
List<AttackPathEdge> |
|
getEdgesOrBuilder(int index)
public AttackPath.AttackPathEdgeOrBuilder getEdgesOrBuilder(int index)A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathEdgeOrBuilder |
|
getEdgesOrBuilderList()
public List<? extends AttackPath.AttackPathEdgeOrBuilder> getEdgesOrBuilderList()A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.securitycenter.v1.AttackPath.AttackPathEdgeOrBuilder> |
|
getName()
public String getName() The attack path name, for example,
organizations/12/simulation/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/simulation/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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathNode |
|
getPathNodesBuilder(int index)
public AttackPath.AttackPathNode.Builder getPathNodesBuilder(int index)A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathNode.Builder |
|
getPathNodesBuilderList()
public List<AttackPath.AttackPathNode.Builder> getPathNodesBuilderList()A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPathNodesCount()
public int getPathNodesCount()A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Returns | |
|---|---|
| Type | Description |
List<AttackPathNode> |
|
getPathNodesOrBuilder(int index)
public AttackPath.AttackPathNodeOrBuilder getPathNodesOrBuilder(int index)A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.AttackPathNodeOrBuilder |
|
getPathNodesOrBuilderList()
public List<? extends AttackPath.AttackPathNodeOrBuilder> getPathNodesOrBuilderList()A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.securitycenter.v1.AttackPath.AttackPathNodeOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AttackPath other)
public AttackPath.Builder mergeFrom(AttackPath other)| Parameter | |
|---|---|
| Name | Description |
other |
AttackPath |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttackPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AttackPath.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
removeEdges(int index)
public AttackPath.Builder removeEdges(int index)A list of the edges between nodes in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathEdge edges = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
removePathNodes(int index)
public AttackPath.Builder removePathNodes(int index)A list of nodes that exist in this attack path.
repeated .google.cloud.securitycenter.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttackPath.AttackPathEdge |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathEdge edges = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathEdge.Builder |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
setName(String value)
public AttackPath.Builder setName(String value) The attack path name, for example,
organizations/12/simulation/34/valuedResources/56/attackPaths/78
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AttackPath.Builder setNameBytes(ByteString value) The attack path name, for example,
organizations/12/simulation/34/valuedResources/56/attackPaths/78
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
This builder for chaining. |
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttackPath.AttackPathNode |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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.v1.AttackPath.AttackPathNode path_nodes = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathNode.Builder |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|