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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addAttackPathsBuilder()
public AttackPath.Builder addAttackPathsBuilder()
The attack paths that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAttackPathsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAttackPathsResponse build()
buildPartial()
public ListAttackPathsResponse buildPartial()
clear()
public ListAttackPathsResponse.Builder clear()
Overrides
clearAttackPaths()
public ListAttackPathsResponse.Builder clearAttackPaths()
The attack paths that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAttackPathsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAttackPathsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAttackPathsResponse.Builder clone()
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 |
---|
Name | Description |
index | int
|
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
|
getAttackPathsBuilderList()
public List<AttackPath.Builder> getAttackPathsBuilderList()
The attack paths that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.AttackPath attack_paths = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAttackPathsResponse other)
public ListAttackPathsResponse.Builder mergeFrom(ListAttackPathsResponse other)
public ListAttackPathsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAttackPathsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAttackPathsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAttackPathsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAttackPathsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAttackPathsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides