Class ListAttackPathsResponse.Builder (2.63.0)

public static final class ListAttackPathsResponse.Builder extends GeneratedMessageV3.Builder<ListAttackPathsResponse.Builder> implements ListAttackPathsResponseOrBuilder

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

Protobuf type google.cloud.securitycenter.v1.ListAttackPathsResponse

Static Methods

getDescriptor()

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

Methods

addAllAttackPaths(Iterable<? extends AttackPath> values)

public ListAttackPathsResponse.Builder addAllAttackPaths(Iterable<? extends AttackPath> values)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.AttackPath>
Returns
Type Description
ListAttackPathsResponse.Builder

addAttackPaths(AttackPath value)

public ListAttackPathsResponse.Builder addAttackPaths(AttackPath value)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
value AttackPath
Returns
Type Description
ListAttackPathsResponse.Builder

addAttackPaths(AttackPath.Builder builderForValue)

public ListAttackPathsResponse.Builder addAttackPaths(AttackPath.Builder builderForValue)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
builderForValue AttackPath.Builder
Returns
Type Description
ListAttackPathsResponse.Builder

addAttackPaths(int index, AttackPath value)

public ListAttackPathsResponse.Builder addAttackPaths(int index, AttackPath value)

The attack paths that the attack path simulation identified.

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

Parameters
Name Description
index int
value AttackPath
Returns
Type Description
ListAttackPathsResponse.Builder

addAttackPaths(int index, AttackPath.Builder builderForValue)

public ListAttackPathsResponse.Builder addAttackPaths(int index, AttackPath.Builder builderForValue)

The attack paths that the attack path simulation identified.

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

Parameters
Name Description
index int
builderForValue AttackPath.Builder
Returns
Type Description
ListAttackPathsResponse.Builder

addAttackPathsBuilder()

public AttackPath.Builder addAttackPathsBuilder()

The attack paths that the attack path simulation identified.

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

Returns
Type Description
AttackPath.Builder

addAttackPathsBuilder(int index)

public AttackPath.Builder addAttackPathsBuilder(int index)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
index int
Returns
Type Description
AttackPath.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAttackPathsResponse build()
Returns
Type Description
ListAttackPathsResponse

buildPartial()

public ListAttackPathsResponse buildPartial()
Returns
Type Description
ListAttackPathsResponse

clear()

public ListAttackPathsResponse.Builder clear()
Returns
Type Description
ListAttackPathsResponse.Builder
Overrides

clearAttackPaths()

public ListAttackPathsResponse.Builder clearAttackPaths()

The attack paths that the attack path simulation identified.

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

Returns
Type Description
ListAttackPathsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAttackPathsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListAttackPathsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAttackPathsResponse.Builder clone()
Returns
Type Description
ListAttackPathsResponse.Builder
Overrides

getAttackPaths(int index)

public AttackPath getAttackPaths(int index)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
index int
Returns
Type Description
AttackPath

getAttackPathsBuilder(int index)

public AttackPath.Builder getAttackPathsBuilder(int index)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
index int
Returns
Type Description
AttackPath.Builder

getAttackPathsBuilderList()

public List<AttackPath.Builder> getAttackPathsBuilderList()

The attack paths that the attack path simulation identified.

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

Returns
Type Description
List<Builder>

getAttackPathsCount()

public int getAttackPathsCount()

The attack paths that the attack path simulation identified.

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

Returns
Type Description
int

getAttackPathsList()

public List<AttackPath> getAttackPathsList()

The attack paths that the attack path simulation identified.

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

Returns
Type Description
List<AttackPath>

getAttackPathsOrBuilder(int index)

public AttackPathOrBuilder getAttackPathsOrBuilder(int index)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
index int
Returns
Type Description
AttackPathOrBuilder

getAttackPathsOrBuilderList()

public List<? extends AttackPathOrBuilder> getAttackPathsOrBuilderList()

The attack paths that the attack path simulation identified.

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

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.AttackPathOrBuilder>

getDefaultInstanceForType()

public ListAttackPathsResponse getDefaultInstanceForType()
Returns
Type Description
ListAttackPathsResponse

getDescriptorForType()

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

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAttackPathsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAttackPaths(int index)

public ListAttackPathsResponse.Builder removeAttackPaths(int index)

The attack paths that the attack path simulation identified.

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

Parameter
Name Description
index int
Returns
Type Description
ListAttackPathsResponse.Builder

setAttackPaths(int index, AttackPath value)

public ListAttackPathsResponse.Builder setAttackPaths(int index, AttackPath value)

The attack paths that the attack path simulation identified.

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

Parameters
Name Description
index int
value AttackPath
Returns
Type Description
ListAttackPathsResponse.Builder

setAttackPaths(int index, AttackPath.Builder builderForValue)

public ListAttackPathsResponse.Builder setAttackPaths(int index, AttackPath.Builder builderForValue)

The attack paths that the attack path simulation identified.

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

Parameters
Name Description
index int
builderForValue AttackPath.Builder
Returns
Type Description
ListAttackPathsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAttackPathsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAttackPathsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAttackPathsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAttackPathsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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