Class AttackPath.AttackPathEdge.Builder (2.60.0)

public static final class AttackPath.AttackPathEdge.Builder extends GeneratedMessageV3.Builder<AttackPath.AttackPathEdge.Builder> implements AttackPath.AttackPathEdgeOrBuilder

Represents a connection between a source node and a destination node in this attack path.

Protobuf type google.cloud.securitycenter.v1.AttackPath.AttackPathEdge

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttackPath.AttackPathEdge build()
Returns
Type Description
AttackPath.AttackPathEdge

buildPartial()

public AttackPath.AttackPathEdge buildPartial()
Returns
Type Description
AttackPath.AttackPathEdge

clear()

public AttackPath.AttackPathEdge.Builder clear()
Returns
Type Description
AttackPath.AttackPathEdge.Builder
Overrides

clearDestination()

public AttackPath.AttackPathEdge.Builder clearDestination()

The attack node uuid of the destination node.

string destination = 2;

Returns
Type Description
AttackPath.AttackPathEdge.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public AttackPath.AttackPathEdge.Builder clearSource()

The attack node uuid of the source node.

string source = 1;

Returns
Type Description
AttackPath.AttackPathEdge.Builder

This builder for chaining.

clone()

public AttackPath.AttackPathEdge.Builder clone()
Returns
Type Description
AttackPath.AttackPathEdge.Builder
Overrides

getDefaultInstanceForType()

public AttackPath.AttackPathEdge getDefaultInstanceForType()
Returns
Type Description
AttackPath.AttackPathEdge

getDescriptorForType()

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

getDestination()

public String getDestination()

The attack node uuid of the destination node.

string destination = 2;

Returns
Type Description
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

The attack node uuid of the destination node.

string destination = 2;

Returns
Type Description
ByteString

The bytes for destination.

getSource()

public String getSource()

The attack node uuid of the source node.

string source = 1;

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

The attack node uuid of the source node.

string source = 1;

Returns
Type Description
ByteString

The bytes for source.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttackPath.AttackPathEdge other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDestination(String value)

public AttackPath.AttackPathEdge.Builder setDestination(String value)

The attack node uuid of the destination node.

string destination = 2;

Parameter
Name Description
value String

The destination to set.

Returns
Type Description
AttackPath.AttackPathEdge.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public AttackPath.AttackPathEdge.Builder setDestinationBytes(ByteString value)

The attack node uuid of the destination node.

string destination = 2;

Parameter
Name Description
value ByteString

The bytes for destination to set.

Returns
Type Description
AttackPath.AttackPathEdge.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSource(String value)

public AttackPath.AttackPathEdge.Builder setSource(String value)

The attack node uuid of the source node.

string source = 1;

Parameter
Name Description
value String

The source to set.

Returns
Type Description
AttackPath.AttackPathEdge.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public AttackPath.AttackPathEdge.Builder setSourceBytes(ByteString value)

The attack node uuid of the source node.

string source = 1;

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
AttackPath.AttackPathEdge.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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