public static final class ListAttackPathsResponse.Builder extends GeneratedMessage.Builder<ListAttackPathsResponse.Builder> implements ListAttackPathsResponseOrBuilderResponse message for listing the attack paths for a given simulation or valued resource.
Protobuf type google.cloud.securitycenter.v2.ListAttackPathsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAttackPathsResponse.BuilderImplements
ListAttackPathsResponseOrBuilderStatic 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.v2.AttackPath attack_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.AttackPath attack_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttackPath.Builder |
|
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 |
|
clearAttackPaths()
public ListAttackPathsResponse.Builder clearAttackPaths()The attack paths that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;
| Returns | |
|---|---|
| Type | Description |
ListAttackPathsResponse.Builder |
|
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. |
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 | |
|---|---|
| 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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.AttackPath attack_paths = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.securitycenter.v2.AttackPathOrBuilder> |
|
getDefaultInstanceForType()
public ListAttackPathsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAttackPathsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAttackPathsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAttackPathsResponse.Builder |
|
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 | |
|---|---|
| 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.v2.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.v2.AttackPath attack_paths = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttackPath.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAttackPathsResponse.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAttackPathsResponse.Builder |
This builder for chaining. |