Class AttackPath.AttackPathNode.Builder (2.60.0)

public static final class AttackPath.AttackPathNode.Builder extends GeneratedMessageV3.Builder<AttackPath.AttackPathNode.Builder> implements AttackPath.AttackPathNodeOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addAllAssociatedFindings(Iterable<? extends AttackPath.AttackPathNode.PathNodeAssociatedFinding> values)

public AttackPath.AttackPathNode.Builder addAllAssociatedFindings(Iterable<? extends AttackPath.AttackPathNode.PathNodeAssociatedFinding> values)

The findings associated with this node in the attack path.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding>
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAllAttackSteps(Iterable<? extends AttackPath.AttackPathNode.AttackStepNode> values)

public AttackPath.AttackPathNode.Builder addAllAttackSteps(Iterable<? extends AttackPath.AttackPathNode.AttackStepNode> values)

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
values Iterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode>
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding value)

public AttackPath.AttackPathNode.Builder addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding value)

The findings associated with this node in the attack path.

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

Parameter
Name Description
value AttackPath.AttackPathNode.PathNodeAssociatedFinding
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)

public AttackPath.AttackPathNode.Builder addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)

The findings associated with this node in the attack path.

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

Parameter
Name Description
builderForValue AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)

public AttackPath.AttackPathNode.Builder addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)

The findings associated with this node in the attack path.

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

Parameters
Name Description
index int
value AttackPath.AttackPathNode.PathNodeAssociatedFinding
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)

public AttackPath.AttackPathNode.Builder addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)

The findings associated with this node in the attack path.

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

Parameters
Name Description
index int
builderForValue AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAssociatedFindingsBuilder()

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder addAssociatedFindingsBuilder()

The findings associated with this node in the attack path.

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

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

addAssociatedFindingsBuilder(int index)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder addAssociatedFindingsBuilder(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.Builder

addAttackSteps(AttackPath.AttackPathNode.AttackStepNode value)

public AttackPath.AttackPathNode.Builder addAttackSteps(AttackPath.AttackPathNode.AttackStepNode value)

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
value AttackPath.AttackPathNode.AttackStepNode
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAttackSteps(AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)

public AttackPath.AttackPathNode.Builder addAttackSteps(AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)

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
builderForValue AttackPath.AttackPathNode.AttackStepNode.Builder
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)

public AttackPath.AttackPathNode.Builder addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)

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

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

Parameters
Name Description
index int
value AttackPath.AttackPathNode.AttackStepNode
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)

public AttackPath.AttackPathNode.Builder addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue AttackPath.AttackPathNode.AttackStepNode.Builder
Returns
Type Description
AttackPath.AttackPathNode.Builder

addAttackStepsBuilder()

public AttackPath.AttackPathNode.AttackStepNode.Builder addAttackStepsBuilder()

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
AttackPath.AttackPathNode.AttackStepNode.Builder

addAttackStepsBuilder(int index)

public AttackPath.AttackPathNode.AttackStepNode.Builder addAttackStepsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttackPath.AttackPathNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AttackPath.AttackPathNode.Builder clear()
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

clearAssociatedFindings()

public AttackPath.AttackPathNode.Builder clearAssociatedFindings()

The findings associated with this node in the attack path.

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

Returns
Type Description
AttackPath.AttackPathNode.Builder

clearAttackSteps()

public AttackPath.AttackPathNode.Builder clearAttackSteps()

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
AttackPath.AttackPathNode.Builder

clearDisplayName()

public AttackPath.AttackPathNode.Builder clearDisplayName()

Human-readable name of this resource.

string display_name = 3;

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AttackPath.AttackPathNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AttackPath.AttackPathNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

clearResource()

public AttackPath.AttackPathNode.Builder clearResource()

The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format

string resource = 1;

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

clearResourceType()

public AttackPath.AttackPathNode.Builder clearResourceType()

The supported resource type

string resource_type = 2;

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

clearUuid()

public AttackPath.AttackPathNode.Builder clearUuid()

Unique id of the attack path node.

string uuid = 5;

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

clone()

public AttackPath.AttackPathNode.Builder clone()
Returns
Type Description
AttackPath.AttackPathNode.Builder
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

getAssociatedFindingsBuilder(int index)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder getAssociatedFindingsBuilder(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.Builder

getAssociatedFindingsBuilderList()

public List<AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder> getAssociatedFindingsBuilderList()

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<Builder>

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

getAttackStepsBuilder(int index)

public AttackPath.AttackPathNode.AttackStepNode.Builder getAttackStepsBuilder(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.Builder

getAttackStepsBuilderList()

public List<AttackPath.AttackPathNode.AttackStepNode.Builder> getAttackStepsBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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 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 resource name format

string resource = 1;

Returns
Type Description
ByteString

The bytes for resource.

getResourceType()

public String getResourceType()

The supported resource type

string resource_type = 2;

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public ByteString getResourceTypeBytes()

The supported resource type

string resource_type = 2;

Returns
Type Description
ByteString

The bytes for resourceType.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttackPath.AttackPathNode other)

public AttackPath.AttackPathNode.Builder mergeFrom(AttackPath.AttackPathNode other)
Parameter
Name Description
other AttackPath.AttackPathNode
Returns
Type Description
AttackPath.AttackPathNode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttackPath.AttackPathNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AttackPath.AttackPathNode.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

removeAssociatedFindings(int index)

public AttackPath.AttackPathNode.Builder removeAssociatedFindings(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.Builder

removeAttackSteps(int index)

public AttackPath.AttackPathNode.Builder removeAttackSteps(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.Builder

setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)

public AttackPath.AttackPathNode.Builder setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)

The findings associated with this node in the attack path.

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

Parameters
Name Description
index int
value AttackPath.AttackPathNode.PathNodeAssociatedFinding
Returns
Type Description
AttackPath.AttackPathNode.Builder

setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)

public AttackPath.AttackPathNode.Builder setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)

The findings associated with this node in the attack path.

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

Parameters
Name Description
index int
builderForValue AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder
Returns
Type Description
AttackPath.AttackPathNode.Builder

setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)

public AttackPath.AttackPathNode.Builder setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)

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

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

Parameters
Name Description
index int
value AttackPath.AttackPathNode.AttackStepNode
Returns
Type Description
AttackPath.AttackPathNode.Builder

setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)

public AttackPath.AttackPathNode.Builder setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue AttackPath.AttackPathNode.AttackStepNode.Builder
Returns
Type Description
AttackPath.AttackPathNode.Builder

setDisplayName(String value)

public AttackPath.AttackPathNode.Builder setDisplayName(String value)

Human-readable name of this resource.

string display_name = 3;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AttackPath.AttackPathNode.Builder setDisplayNameBytes(ByteString value)

Human-readable name of this resource.

string display_name = 3;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AttackPath.AttackPathNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AttackPath.AttackPathNode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

setResource(String value)

public AttackPath.AttackPathNode.Builder setResource(String value)

The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format

string resource = 1;

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public AttackPath.AttackPathNode.Builder setResourceBytes(ByteString value)

The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format

string resource = 1;

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setResourceType(String value)

public AttackPath.AttackPathNode.Builder setResourceType(String value)

The supported resource type

string resource_type = 2;

Parameter
Name Description
value String

The resourceType to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setResourceTypeBytes(ByteString value)

public AttackPath.AttackPathNode.Builder setResourceTypeBytes(ByteString value)

The supported resource type

string resource_type = 2;

Parameter
Name Description
value ByteString

The bytes for resourceType to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttackPath.AttackPathNode.Builder
Overrides

setUuid(String value)

public AttackPath.AttackPathNode.Builder setUuid(String value)

Unique id of the attack path node.

string uuid = 5;

Parameter
Name Description
value String

The uuid to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.

setUuidBytes(ByteString value)

public AttackPath.AttackPathNode.Builder setUuidBytes(ByteString value)

Unique id of the attack path node.

string uuid = 5;

Parameter
Name Description
value ByteString

The bytes for uuid to set.

Returns
Type Description
AttackPath.AttackPathNode.Builder

This builder for chaining.