- 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.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AttackPath.AttackPathNode.AttackStepNode.BuilderStatic 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 |
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 |
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 |
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 |
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 |
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 |
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 |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttackPath.AttackPathNode.AttackStepNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AttackPath.AttackPathNode.AttackStepNode.Builder |
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 |
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 |
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 |
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. |