Class AttackPath.AttackPathNode (2.47.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
TypeDescription
int

ATTACK_STEPS_FIELD_NUMBER

public static final int ATTACK_STEPS_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

UUID_FIELD_NUMBER

public static final int UUID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AttackPath.AttackPathNode getDefaultInstance()
Returns
TypeDescription
AttackPath.AttackPathNode

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AttackPath.AttackPathNode.Builder newBuilder()
Returns
TypeDescription
AttackPath.AttackPathNode.Builder

newBuilder(AttackPath.AttackPathNode prototype)

public static AttackPath.AttackPathNode.Builder newBuilder(AttackPath.AttackPathNode prototype)
Parameter
NameDescription
prototypeAttackPath.AttackPathNode
Returns
TypeDescription
AttackPath.AttackPathNode.Builder

parseDelimitedFrom(InputStream input)

public static AttackPath.AttackPathNode parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AttackPath.AttackPathNode parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttackPath.AttackPathNode parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttackPath.AttackPathNode parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AttackPath.AttackPathNode parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AttackPath.AttackPathNode parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttackPath.AttackPathNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNodeOrBuilder>

getDefaultInstanceForType()

public AttackPath.AttackPathNode getDefaultInstanceForType()
Returns
TypeDescription
AttackPath.AttackPathNode

getDisplayName()

public String getDisplayName()

Human-readable name of this resource.

string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Human-readable name of this resource.

string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getParserForType()

public Parser<AttackPath.AttackPathNode> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUuid()

public String getUuid()

Unique id of the attack path node.

string uuid = 5;

Returns
TypeDescription
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

Unique id of the attack path node.

string uuid = 5;

Returns
TypeDescription
ByteString

The bytes for uuid.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AttackPath.AttackPathNode.Builder newBuilderForType()
Returns
TypeDescription
AttackPath.AttackPathNode.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttackPath.AttackPathNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AttackPath.AttackPathNode.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AttackPath.AttackPathNode.Builder toBuilder()
Returns
TypeDescription
AttackPath.AttackPathNode.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException