Class AttackPath.AttackPathNode.AttackStepNode.Builder (2.63.0)

public static final class AttackPath.AttackPathNode.AttackStepNode.Builder extends GeneratedMessageV3.Builder<AttackPath.AttackPathNode.AttackStepNode.Builder> implements AttackPath.AttackPathNode.AttackStepNodeOrBuilder

Detailed steps the attack can take between path nodes.

Protobuf type google.cloud.securitycenter.v2.AttackPath.AttackPathNode.AttackStepNode

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttackPath.AttackPathNode.AttackStepNode build()
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode

buildPartial()

public AttackPath.AttackPathNode.AttackStepNode buildPartial()
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode

clear()

public AttackPath.AttackPathNode.AttackStepNode.Builder clear()
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

clearDescription()

public AttackPath.AttackPathNode.AttackStepNode.Builder clearDescription()

Attack step description

string description = 5;

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

clearDisplayName()

public AttackPath.AttackPathNode.AttackStepNode.Builder clearDisplayName()

User friendly name of the attack step

string display_name = 3;

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AttackPath.AttackPathNode.AttackStepNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

clearLabels()

public AttackPath.AttackPathNode.AttackStepNode.Builder clearLabels()
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AttackPath.AttackPathNode.AttackStepNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

clearType()

public AttackPath.AttackPathNode.AttackStepNode.Builder clearType()

Attack step type. Can be either AND, OR or DEFENSE

.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.NodeType type = 2;

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

clearUuid()

public AttackPath.AttackPathNode.AttackStepNode.Builder clearUuid()

Unique ID for one Node

string uuid = 1;

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

clone()

public AttackPath.AttackPathNode.AttackStepNode.Builder clone()
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Attack step labels for metadata

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public AttackPath.AttackPathNode.AttackStepNode getDefaultInstanceForType()
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode

getDescription()

public String getDescription()

Attack step description

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Attack step description

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

User friendly name of the attack step

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User friendly name of the attack step

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Attack step labels for metadata

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Attack step labels for metadata

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Attack step labels for metadata

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Attack step labels for metadata

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getType()

public AttackPath.AttackPathNode.NodeType getType()

Attack step type. Can be either AND, OR or DEFENSE

.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.NodeType type = 2;

Returns
Type Description
AttackPath.AttackPathNode.NodeType

The type.

getTypeValue()

public int getTypeValue()

Attack step type. Can be either AND, OR or DEFENSE

.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.NodeType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUuid()

public String getUuid()

Unique ID for one Node

string uuid = 1;

Returns
Type Description
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

Unique ID for one Node

string uuid = 1;

Returns
Type Description
ByteString

The bytes for uuid.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttackPath.AttackPathNode.AttackStepNode other)

public AttackPath.AttackPathNode.AttackStepNode.Builder mergeFrom(AttackPath.AttackPathNode.AttackStepNode other)
Parameter
Name Description
other AttackPath.AttackPathNode.AttackStepNode
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AttackPath.AttackPathNode.AttackStepNode.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathNode.AttackStepNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

putAllLabels(Map<String,String> values)

public AttackPath.AttackPathNode.AttackStepNode.Builder putAllLabels(Map<String,String> values)

Attack step labels for metadata

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

putLabels(String key, String value)

public AttackPath.AttackPathNode.AttackStepNode.Builder putLabels(String key, String value)

Attack step labels for metadata

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

removeLabels(String key)

public AttackPath.AttackPathNode.AttackStepNode.Builder removeLabels(String key)

Attack step labels for metadata

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

setDescription(String value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setDescription(String value)

Attack step description

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setDescriptionBytes(ByteString value)

Attack step description

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setDisplayName(String value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setDisplayName(String value)

User friendly name of the attack step

string display_name = 3;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setDisplayNameBytes(ByteString value)

User friendly name of the attack step

string display_name = 3;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(AttackPath.AttackPathNode.NodeType value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setType(AttackPath.AttackPathNode.NodeType value)

Attack step type. Can be either AND, OR or DEFENSE

.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.NodeType type = 2;

Parameter
Name Description
value AttackPath.AttackPathNode.NodeType

The type to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setTypeValue(int value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setTypeValue(int value)

Attack step type. Can be either AND, OR or DEFENSE

.google.cloud.securitycenter.v2.AttackPath.AttackPathNode.NodeType type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathNode.AttackStepNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder
Overrides

setUuid(String value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setUuid(String value)

Unique ID for one Node

string uuid = 1;

Parameter
Name Description
value String

The uuid to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.

setUuidBytes(ByteString value)

public AttackPath.AttackPathNode.AttackStepNode.Builder setUuidBytes(ByteString value)

Unique ID for one Node

string uuid = 1;

Parameter
Name Description
value ByteString

The bytes for uuid to set.

Returns
Type Description
AttackPath.AttackPathNode.AttackStepNode.Builder

This builder for chaining.