- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class AttackPath.AttackPathNode.Builder extends GeneratedMessageV3.Builder<AttackPath.AttackPathNode.Builder> implements AttackPath.AttackPathNodeOrBuilder
Represents one point that an attacker passes through in this attack path.
Protobuf type google.cloud.securitycenter.v2.AttackPath.AttackPathNode
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AttackPath.AttackPathNode.BuilderImplements
AttackPath.AttackPathNodeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAssociatedFindings(Iterable<? extends AttackPath.AttackPathNode.PathNodeAssociatedFinding> values)
public AttackPath.AttackPathNode.Builder addAllAssociatedFindings(Iterable<? extends AttackPath.AttackPathNode.PathNodeAssociatedFinding> values)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding> |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAllAttackSteps(Iterable<? extends AttackPath.AttackPathNode.AttackStepNode> values)
public AttackPath.AttackPathNode.Builder addAllAttackSteps(Iterable<? extends AttackPath.AttackPathNode.AttackStepNode> values)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode> |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding value)
public AttackPath.AttackPathNode.Builder addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding value)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
value |
AttackPath.AttackPathNode.PathNodeAssociatedFinding |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)
public AttackPath.AttackPathNode.Builder addAssociatedFindings(AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)
public AttackPath.AttackPathNode.Builder addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AttackPath.AttackPathNode.PathNodeAssociatedFinding |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)
public AttackPath.AttackPathNode.Builder addAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAssociatedFindingsBuilder()
public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder addAssociatedFindingsBuilder()
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder |
addAssociatedFindingsBuilder(int index)
public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder addAssociatedFindingsBuilder(int index)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder |
addAttackSteps(AttackPath.AttackPathNode.AttackStepNode value)
public AttackPath.AttackPathNode.Builder addAttackSteps(AttackPath.AttackPathNode.AttackStepNode value)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
value |
AttackPath.AttackPathNode.AttackStepNode |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAttackSteps(AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)
public AttackPath.AttackPathNode.Builder addAttackSteps(AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
AttackPath.AttackPathNode.AttackStepNode.Builder |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)
public AttackPath.AttackPathNode.Builder addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AttackPath.AttackPathNode.AttackStepNode |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)
public AttackPath.AttackPathNode.Builder addAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathNode.AttackStepNode.Builder |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
addAttackStepsBuilder()
public AttackPath.AttackPathNode.AttackStepNode.Builder addAttackStepsBuilder()
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.AttackStepNode.Builder |
addAttackStepsBuilder(int index)
public AttackPath.AttackPathNode.AttackStepNode.Builder addAttackStepsBuilder(int index)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.AttackStepNode.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttackPath.AttackPathNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
build()
public AttackPath.AttackPathNode build()
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode |
buildPartial()
public AttackPath.AttackPathNode buildPartial()
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode |
clear()
public AttackPath.AttackPathNode.Builder clear()
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
clearAssociatedFindings()
public AttackPath.AttackPathNode.Builder clearAssociatedFindings()
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
clearAttackSteps()
public AttackPath.AttackPathNode.Builder clearAttackSteps()
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
clearDisplayName()
public AttackPath.AttackPathNode.Builder clearDisplayName()
Human-readable name of this resource.
string display_name = 3;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AttackPath.AttackPathNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AttackPath.AttackPathNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
clearResource()
public AttackPath.AttackPathNode.Builder clearResource()
The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format
string resource = 1;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
clearResourceType()
public AttackPath.AttackPathNode.Builder clearResourceType()
string resource_type = 2;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
clearUuid()
public AttackPath.AttackPathNode.Builder clearUuid()
Unique id of the attack path node.
string uuid = 5;
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
clone()
public AttackPath.AttackPathNode.Builder clone()
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
getAssociatedFindings(int index)
public AttackPath.AttackPathNode.PathNodeAssociatedFinding getAssociatedFindings(int index)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.PathNodeAssociatedFinding |
getAssociatedFindingsBuilder(int index)
public AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder getAssociatedFindingsBuilder(int index)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder |
getAssociatedFindingsBuilderList()
public List<AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder> getAssociatedFindingsBuilderList()
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getAssociatedFindingsCount()
public int getAssociatedFindingsCount()
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Returns | |
---|---|
Type | Description |
int |
getAssociatedFindingsList()
public List<AttackPath.AttackPathNode.PathNodeAssociatedFinding> getAssociatedFindingsList()
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Returns | |
---|---|
Type | Description |
List<PathNodeAssociatedFinding> |
getAssociatedFindingsOrBuilder(int index)
public AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder getAssociatedFindingsOrBuilder(int index)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder |
getAssociatedFindingsOrBuilderList()
public List<? extends AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder> getAssociatedFindingsOrBuilderList()
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFindingOrBuilder> |
getAttackSteps(int index)
public AttackPath.AttackPathNode.AttackStepNode getAttackSteps(int index)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.AttackStepNode |
getAttackStepsBuilder(int index)
public AttackPath.AttackPathNode.AttackStepNode.Builder getAttackStepsBuilder(int index)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.AttackStepNode.Builder |
getAttackStepsBuilderList()
public List<AttackPath.AttackPathNode.AttackStepNode.Builder> getAttackStepsBuilderList()
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getAttackStepsCount()
public int getAttackStepsCount()
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Returns | |
---|---|
Type | Description |
int |
getAttackStepsList()
public List<AttackPath.AttackPathNode.AttackStepNode> getAttackStepsList()
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Returns | |
---|---|
Type | Description |
List<AttackStepNode> |
getAttackStepsOrBuilder(int index)
public AttackPath.AttackPathNode.AttackStepNodeOrBuilder getAttackStepsOrBuilder(int index)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.AttackStepNodeOrBuilder |
getAttackStepsOrBuilderList()
public List<? extends AttackPath.AttackPathNode.AttackStepNodeOrBuilder> getAttackStepsOrBuilderList()
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNodeOrBuilder> |
getDefaultInstanceForType()
public AttackPath.AttackPathNode getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Human-readable name of this resource.
string display_name = 3;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human-readable name of this resource.
string display_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getResource()
public String getResource()
The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format
string resource = 1;
Returns | |
---|---|
Type | Description |
String |
The resource. |
getResourceBytes()
public ByteString getResourceBytes()
The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format
string resource = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resource. |
getResourceType()
public String getResourceType()
string resource_type = 2;
Returns | |
---|---|
Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public ByteString getResourceTypeBytes()
string resource_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceType. |
getUuid()
public String getUuid()
Unique id of the attack path node.
string uuid = 5;
Returns | |
---|---|
Type | Description |
String |
The uuid. |
getUuidBytes()
public ByteString getUuidBytes()
Unique id of the attack path node.
string uuid = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uuid. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AttackPath.AttackPathNode other)
public AttackPath.AttackPathNode.Builder mergeFrom(AttackPath.AttackPathNode other)
Parameter | |
---|---|
Name | Description |
other |
AttackPath.AttackPathNode |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttackPath.AttackPathNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AttackPath.AttackPathNode.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttackPath.AttackPathNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
removeAssociatedFindings(int index)
public AttackPath.AttackPathNode.Builder removeAssociatedFindings(int index)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
removeAttackSteps(int index)
public AttackPath.AttackPathNode.Builder removeAttackSteps(int index)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)
public AttackPath.AttackPathNode.Builder setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding value)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AttackPath.AttackPathNode.PathNodeAssociatedFinding |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)
public AttackPath.AttackPathNode.Builder setAssociatedFindings(int index, AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder builderForValue)
The findings associated with this node in the attack path.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.PathNodeAssociatedFinding associated_findings = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathNode.PathNodeAssociatedFinding.Builder |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)
public AttackPath.AttackPathNode.Builder setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode value)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AttackPath.AttackPathNode.AttackStepNode |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)
public AttackPath.AttackPathNode.Builder setAttackSteps(int index, AttackPath.AttackPathNode.AttackStepNode.Builder builderForValue)
A list of attack step nodes that exist in this attack path node.
repeated .google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode attack_steps = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AttackPath.AttackPathNode.AttackStepNode.Builder |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setDisplayName(String value)
public AttackPath.AttackPathNode.Builder setDisplayName(String value)
Human-readable name of this resource.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AttackPath.AttackPathNode.Builder setDisplayNameBytes(ByteString value)
Human-readable name of this resource.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AttackPath.AttackPathNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttackPath.AttackPathNode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setResource(String value)
public AttackPath.AttackPathNode.Builder setResource(String value)
The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format
string resource = 1;
Parameter | |
---|---|
Name | Description |
value |
String The resource to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setResourceBytes(ByteString value)
public AttackPath.AttackPathNode.Builder setResourceBytes(ByteString value)
The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format
string resource = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for resource to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setResourceType(String value)
public AttackPath.AttackPathNode.Builder setResourceType(String value)
string resource_type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The resourceType to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setResourceTypeBytes(ByteString value)
public AttackPath.AttackPathNode.Builder setResourceTypeBytes(ByteString value)
string resource_type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for resourceType to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AttackPath.AttackPathNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
setUuid(String value)
public AttackPath.AttackPathNode.Builder setUuid(String value)
Unique id of the attack path node.
string uuid = 5;
Parameter | |
---|---|
Name | Description |
value |
String The uuid to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |
setUuidBytes(ByteString value)
public AttackPath.AttackPathNode.Builder setUuidBytes(ByteString value)
Unique id of the attack path node.
string uuid = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uuid to set. |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.Builder |
This builder for chaining. |