Class ListAttackPathsResponse.Builder (2.48.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.v2.ListAttackPathsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.AttackPath>
Returns
TypeDescription
ListAttackPathsResponse.Builder

addAttackPaths(AttackPath value)

public ListAttackPathsResponse.Builder addAttackPaths(AttackPath value)

The attack paths that the attack path simulation identified.

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

Parameter
NameDescription
valueAttackPath
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameter
NameDescription
builderForValueAttackPath.Builder
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameters
NameDescription
indexint
valueAttackPath
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameters
NameDescription
indexint
builderForValueAttackPath.Builder
Returns
TypeDescription
ListAttackPathsResponse.Builder

addAttackPathsBuilder()

public AttackPath.Builder addAttackPathsBuilder()

The attack paths that the attack path simulation identified.

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

Returns
TypeDescription
AttackPath.Builder

addAttackPathsBuilder(int index)

public AttackPath.Builder addAttackPathsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAttackPathsResponse build()
Returns
TypeDescription
ListAttackPathsResponse

buildPartial()

public ListAttackPathsResponse buildPartial()
Returns
TypeDescription
ListAttackPathsResponse

clear()

public ListAttackPathsResponse.Builder clear()
Returns
TypeDescription
ListAttackPathsResponse.Builder
Overrides

clearAttackPaths()

public ListAttackPathsResponse.Builder clearAttackPaths()

The attack paths that the attack path simulation identified.

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

Returns
TypeDescription
ListAttackPathsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAttackPathsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAttackPathsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAttackPathsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAttackPathsResponse.Builder
Overrides

clone()

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

getAttackPathsBuilder(int index)

public AttackPath.Builder getAttackPathsBuilder(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.Builder

getAttackPathsBuilderList()

public List<AttackPath.Builder> getAttackPathsBuilderList()

The attack paths that the attack path simulation identified.

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

Returns
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAttackPathsResponse other)

public ListAttackPathsResponse.Builder mergeFrom(ListAttackPathsResponse other)
Parameter
NameDescription
otherListAttackPathsResponse
Returns
TypeDescription
ListAttackPathsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAttackPathsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameters
NameDescription
indexint
valueAttackPath
Returns
TypeDescription
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.v2.AttackPath attack_paths = 1;

Parameters
NameDescription
indexint
builderForValueAttackPath.Builder
Returns
TypeDescription
ListAttackPathsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAttackPathsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAttackPathsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAttackPathsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAttackPathsResponse.Builder
Overrides