Class ListAttackPathsResponse (2.48.0)

public final class ListAttackPathsResponse extends GeneratedMessageV3 implements ListAttackPathsResponseOrBuilder

Response message for listing the attack paths for a given simulation or valued resource.

Protobuf type google.cloud.securitycenter.v2.ListAttackPathsResponse

Static Fields

ATTACK_PATHS_FIELD_NUMBER

public static final int ATTACK_PATHS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAttackPathsResponse getDefaultInstance()
Returns
TypeDescription
ListAttackPathsResponse

getDescriptor()

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

newBuilder()

public static ListAttackPathsResponse.Builder newBuilder()
Returns
TypeDescription
ListAttackPathsResponse.Builder

newBuilder(ListAttackPathsResponse prototype)

public static ListAttackPathsResponse.Builder newBuilder(ListAttackPathsResponse prototype)
Parameter
NameDescription
prototypeListAttackPathsResponse
Returns
TypeDescription
ListAttackPathsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListAttackPathsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAttackPathsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListAttackPathsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAttackPathsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ListAttackPathsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAttackPathsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ListAttackPathsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAttackPathsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListAttackPathsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAttackPathsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ListAttackPathsResponse> parser()
Returns
TypeDescription
Parser<ListAttackPathsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttackPaths(int index)

public AttackPath getAttackPaths(int index)

The attack paths that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AttackPath

getAttackPathsCount()

public int getAttackPathsCount()

The attack paths that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;

Returns
TypeDescription
int

getAttackPathsList()

public List<AttackPath> getAttackPathsList()

The attack paths that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;

Returns
TypeDescription
List<AttackPath>

getAttackPathsOrBuilder(int index)

public AttackPathOrBuilder getAttackPathsOrBuilder(int index)

The attack paths that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AttackPathOrBuilder

getAttackPathsOrBuilderList()

public List<? extends AttackPathOrBuilder> getAttackPathsOrBuilderList()

The attack paths that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.AttackPathOrBuilder>

getDefaultInstanceForType()

public ListAttackPathsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAttackPathsResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListAttackPathsResponse> getParserForType()
Returns
TypeDescription
Parser<ListAttackPathsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListAttackPathsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAttackPathsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListAttackPathsResponse.Builder toBuilder()
Returns
TypeDescription
ListAttackPathsResponse.Builder

writeTo(CodedOutputStream output)

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