Class AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder (2.91.0)

public static final class AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder extends GeneratedMessage.Builder<AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder> implements AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder

A finding that is associated with this node in the attack path.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCanonicalFinding()

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder clearCanonicalFinding()

Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789

string canonical_finding = 1;

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

clearFindingCategory()

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder clearFindingCategory()

The additional taxonomy group within findings from a given source.

string finding_category = 2;

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

clearName()

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder clearName()

Full resource name of the finding.

string name = 3;

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

getCanonicalFinding()

public String getCanonicalFinding()

Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789

string canonical_finding = 1;

Returns
Type Description
String

The canonicalFinding.

getCanonicalFindingBytes()

public ByteString getCanonicalFindingBytes()

Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789

string canonical_finding = 1;

Returns
Type Description
ByteString

The bytes for canonicalFinding.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getFindingCategory()

public String getFindingCategory()

The additional taxonomy group within findings from a given source.

string finding_category = 2;

Returns
Type Description
String

The findingCategory.

getFindingCategoryBytes()

public ByteString getFindingCategoryBytes()

The additional taxonomy group within findings from a given source.

string finding_category = 2;

Returns
Type Description
ByteString

The bytes for findingCategory.

getName()

public String getName()

Full resource name of the finding.

string name = 3;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full resource name of the finding.

string name = 3;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttackPath.AttackPathNode.PathNodeAssociatedFinding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCanonicalFinding(String value)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder setCanonicalFinding(String value)

Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789

string canonical_finding = 1;

Parameter
Name Description
value String

The canonicalFinding to set.

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

setCanonicalFindingBytes(ByteString value)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder setCanonicalFindingBytes(ByteString value)

Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789

string canonical_finding = 1;

Parameter
Name Description
value ByteString

The bytes for canonicalFinding to set.

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

setFindingCategory(String value)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder setFindingCategory(String value)

The additional taxonomy group within findings from a given source.

string finding_category = 2;

Parameter
Name Description
value String

The findingCategory to set.

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

setFindingCategoryBytes(ByteString value)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder setFindingCategoryBytes(ByteString value)

The additional taxonomy group within findings from a given source.

string finding_category = 2;

Parameter
Name Description
value ByteString

The bytes for findingCategory to set.

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

setName(String value)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder setName(String value)

Full resource name of the finding.

string name = 3;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder setNameBytes(ByteString value)

Full resource name of the finding.

string name = 3;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder

This builder for chaining.