Class AttackPath.AttackPathNode (2.54.0)

public static final class AttackPath.AttackPathNode extends GeneratedMessageV3 implements AttackPath.AttackPathNodeOrBuilder

Represents one point that an attacker passes through in this attack path.

Protobuf type google.cloud.securitycenter.v2.AttackPath.AttackPathNode

Static Fields

ASSOCIATED_FINDINGS_FIELD_NUMBER

public static final int ASSOCIATED_FINDINGS_FIELD_NUMBER
Field Value
Type Description
int

ATTACK_STEPS_FIELD_NUMBER

public static final int ATTACK_STEPS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

UUID_FIELD_NUMBER

public static final int UUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AttackPath.AttackPathNode getDefaultInstance()
Returns
Type Description
AttackPath.AttackPathNode

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AttackPath.AttackPathNode.Builder newBuilder()
Returns
Type Description
AttackPath.AttackPathNode.Builder

newBuilder(AttackPath.AttackPathNode prototype)

public static AttackPath.AttackPathNode.Builder newBuilder(AttackPath.AttackPathNode prototype)
Parameter
Name Description
prototype AttackPath.AttackPathNode
Returns
Type Description
AttackPath.AttackPathNode.Builder

parseDelimitedFrom(InputStream input)

public static AttackPath.AttackPathNode parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AttackPath.AttackPathNode parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttackPath.AttackPathNode parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttackPath.AttackPathNode parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AttackPath.AttackPathNode parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AttackPath.AttackPathNode parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AttackPath.AttackPathNode> parser()
Returns
Type Description
Parser<AttackPathNode>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAssociatedFindings(int index)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding getAssociatedFindings(int index)

The findings associated with this node in the attack path.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;

Parameter
Name Description
index int
Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding

getAssociatedFindingsCount()

public int getAssociatedFindingsCount()

The findings associated with this node in the attack path.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;

Returns
Type Description
int

getAssociatedFindingsList()

public List<AttackPath.AttackPathNode.PathNodeAssociatedFinding> getAssociatedFindingsList()

The findings associated with this node in the attack path.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;

Returns
Type Description
List<PathNodeAssociatedFinding>

getAssociatedFindingsOrBuilder(int index)

public AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder getAssociatedFindingsOrBuilder(int index)

The findings associated with this node in the attack path.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;

Parameter
Name Description
index int
Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder

getAssociatedFindingsOrBuilderList()

public List<? extends AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder> getAssociatedFindingsOrBuilderList()

The findings associated with this node in the attack path.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder>

getAttackSteps(int index)

public AttackPath.AttackPathNode.AttackStepNode getAttackSteps(int index)

A list of attack step nodes that exist in this attack path node.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;

Parameter
Name Description
index int
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode

getAttackStepsCount()

public int getAttackStepsCount()

A list of attack step nodes that exist in this attack path node.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;

Returns
Type Description
int

getAttackStepsList()

public List<AttackPath.AttackPathNode.AttackStepNode> getAttackStepsList()

A list of attack step nodes that exist in this attack path node.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;

Returns
Type Description
List<AttackStepNode>

getAttackStepsOrBuilder(int index)

public AttackPath.AttackPathNode.AttackStepNodeOrBuilder getAttackStepsOrBuilder(int index)

A list of attack step nodes that exist in this attack path node.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;

Parameter
Name Description
index int
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNodeOrBuilder

getAttackStepsOrBuilderList()

public List<? extends AttackPath.AttackPathNode.AttackStepNodeOrBuilder> getAttackStepsOrBuilderList()

A list of attack step nodes that exist in this attack path node.

repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNodeOrBuilder>

getDefaultInstanceForType()

public AttackPath.AttackPathNode getDefaultInstanceForType()
Returns
Type Description
AttackPath.AttackPathNode

getDisplayName()

public String getDisplayName()

Human-readable name of this resource.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Human-readable name of this resource.

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<AttackPath.AttackPathNode> getParserForType()
Returns
Type Description
Parser<AttackPathNode>
Overrides

getResource()

public String getResource()

The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory <a href=""https://cloud.google.com/asset-inventory/docs/resource-name-format"">resource name format

string resource = 1;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory <a href=""https://cloud.google.com/asset-inventory/docs/resource-name-format"">resource name format

string resource = 1;

Returns
Type Description
ByteString

The bytes for resource.

getResourceType()

public String getResourceType()

The <a href="https://cloud.google.com/asset-inventory/docs/supported-asset-types"">supported resource type

string resource_type = 2;

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public ByteString getResourceTypeBytes()

The <a href="https://cloud.google.com/asset-inventory/docs/supported-asset-types"">supported resource type

string resource_type = 2;

Returns
Type Description
ByteString

The bytes for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUuid()

public String getUuid()

Unique id of the attack path node.

string uuid = 5;

Returns
Type Description
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

Unique id of the attack path node.

string uuid = 5;

Returns
Type Description
ByteString

The bytes for uuid.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AttackPath.AttackPathNode.Builder newBuilderForType()
Returns
Type Description
AttackPath.AttackPathNode.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttackPath.AttackPathNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AttackPath.AttackPathNode.Builder toBuilder()
Returns
Type Description
AttackPath.AttackPathNode.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException