Class AttackPath.AttackPathNode.Builder (2.47.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode>
Returns
TypeDescription
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
NameDescription
valueAttackPath.AttackPathNode.PathNodeAssociatedFinding
Returns
TypeDescription
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
NameDescription
builderForValueAttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttackPath.AttackPathNode.PathNodeAssociatedFinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueAttackPath.AttackPathNode.AttackStepNode
Returns
TypeDescription
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
NameDescription
builderForValueAttackPath.AttackPathNode.AttackStepNode.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttackPath.AttackPathNode.AttackStepNode
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttackPath.AttackPathNode.AttackStepNode.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AttackPath.AttackPathNode.AttackStepNode.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttackPath.AttackPathNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttackPath.AttackPathNode.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AttackPath.AttackPathNode.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AttackPath.AttackPathNode.Builder

clearDisplayName()

public AttackPath.AttackPathNode.Builder clearDisplayName()

Human-readable name of this resource.

string display_name = 3;

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AttackPath.AttackPathNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AttackPath.AttackPathNode.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AttackPath.AttackPathNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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 <a href=""https://cloud.google.com/asset-inventory/docs/resource-name-format"">resource name format

string resource = 1;

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

clearResourceType()

public AttackPath.AttackPathNode.Builder clearResourceType()

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

string resource_type = 2;

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

clearUuid()

public AttackPath.AttackPathNode.Builder clearUuid()

Unique id of the attack path node.

string uuid = 5;

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

clone()

public AttackPath.AttackPathNode.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AttackPath.AttackPathNode other)

public AttackPath.AttackPathNode.Builder mergeFrom(AttackPath.AttackPathNode other)
Parameter
NameDescription
otherAttackPath.AttackPathNode
Returns
TypeDescription
AttackPath.AttackPathNode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttackPath.AttackPathNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathNode.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AttackPath.AttackPathNode.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AttackPath.AttackPathNode.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAttackPath.AttackPathNode.PathNodeAssociatedFinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttackPath.AttackPathNode.AttackStepNode
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttackPath.AttackPathNode.AttackStepNode.Builder
Returns
TypeDescription
AttackPath.AttackPathNode.Builder

setDisplayName(String value)

public AttackPath.AttackPathNode.Builder setDisplayName(String value)

Human-readable name of this resource.

string display_name = 3;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AttackPath.AttackPathNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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 <a href=""https://cloud.google.com/asset-inventory/docs/resource-name-format"">resource name format

string resource = 1;

Parameter
NameDescription
valueString

The resource to set.

Returns
TypeDescription
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 <a href=""https://cloud.google.com/asset-inventory/docs/resource-name-format"">resource name format

string resource = 1;

Parameter
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

setResourceType(String value)

public AttackPath.AttackPathNode.Builder setResourceType(String value)

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

string resource_type = 2;

Parameter
NameDescription
valueString

The resourceType to set.

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

setResourceTypeBytes(ByteString value)

public AttackPath.AttackPathNode.Builder setResourceTypeBytes(ByteString value)

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

string resource_type = 2;

Parameter
NameDescription
valueByteString

The bytes for resourceType to set.

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uuid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uuid to set.

Returns
TypeDescription
AttackPath.AttackPathNode.Builder

This builder for chaining.