Class ToxicCombination (2.59.0)

public final class ToxicCombination extends GeneratedMessageV3 implements ToxicCombinationOrBuilder

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.

Protobuf type google.cloud.securitycenter.v2.ToxicCombination

Static Fields

ATTACK_EXPOSURE_SCORE_FIELD_NUMBER

public static final int ATTACK_EXPOSURE_SCORE_FIELD_NUMBER
Field Value
Type Description
int
public static final int RELATED_FINDINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ToxicCombination getDefaultInstance()
Returns
Type Description
ToxicCombination

getDescriptor()

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

newBuilder()

public static ToxicCombination.Builder newBuilder()
Returns
Type Description
ToxicCombination.Builder

newBuilder(ToxicCombination prototype)

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

parseDelimitedFrom(InputStream input)

public static ToxicCombination parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToxicCombination
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ToxicCombination parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ToxicCombination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ToxicCombination parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ToxicCombination
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ToxicCombination parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToxicCombination
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ToxicCombination parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ToxicCombination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ToxicCombination> parser()
Returns
Type Description
Parser<ToxicCombination>

Methods

equals(Object obj)

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

getAttackExposureScore()

public double getAttackExposureScore()

The Attack exposure score of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.

double attack_exposure_score = 1;

Returns
Type Description
double

The attackExposureScore.

getDefaultInstanceForType()

public ToxicCombination getDefaultInstanceForType()
Returns
Type Description
ToxicCombination

getParserForType()

public Parser<ToxicCombination> getParserForType()
Returns
Type Description
Parser<ToxicCombination>
Overrides

getRelatedFindings(int index)

public String getRelatedFindings(int index)

List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.

repeated string related_findings = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The relatedFindings at the given index.

getRelatedFindingsBytes(int index)

public ByteString getRelatedFindingsBytes(int index)

List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.

repeated string related_findings = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the relatedFindings at the given index.

getRelatedFindingsCount()

public int getRelatedFindingsCount()

List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.

repeated string related_findings = 2;

Returns
Type Description
int

The count of relatedFindings.

getRelatedFindingsList()

public ProtocolStringList getRelatedFindingsList()

List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.

repeated string related_findings = 2;

Returns
Type Description
ProtocolStringList

A list containing the relatedFindings.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ToxicCombination.Builder newBuilderForType()
Returns
Type Description
ToxicCombination.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ToxicCombination.Builder toBuilder()
Returns
Type Description
ToxicCombination.Builder

writeTo(CodedOutputStream output)

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