Class AttackPath.AttackPathEdge.Builder (2.47.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.v2.AttackPath.AttackPathEdge

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttackPath.AttackPathEdge.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides

build()

public AttackPath.AttackPathEdge build()
Returns
TypeDescription
AttackPath.AttackPathEdge

buildPartial()

public AttackPath.AttackPathEdge buildPartial()
Returns
TypeDescription
AttackPath.AttackPathEdge

clear()

public AttackPath.AttackPathEdge.Builder clear()
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides

clearDestination()

public AttackPath.AttackPathEdge.Builder clearDestination()

The attack node uuid of the destination node.

string destination = 2;

Returns
TypeDescription
AttackPath.AttackPathEdge.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AttackPath.AttackPathEdge.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AttackPath.AttackPathEdge.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides

clearSource()

public AttackPath.AttackPathEdge.Builder clearSource()

The attack node uuid of the source node.

string source = 1;

Returns
TypeDescription
AttackPath.AttackPathEdge.Builder

This builder for chaining.

clone()

public AttackPath.AttackPathEdge.Builder clone()
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides

getDefaultInstanceForType()

public AttackPath.AttackPathEdge getDefaultInstanceForType()
Returns
TypeDescription
AttackPath.AttackPathEdge

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestination()

public String getDestination()

The attack node uuid of the destination node.

string destination = 2;

Returns
TypeDescription
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

The attack node uuid of the destination node.

string destination = 2;

Returns
TypeDescription
ByteString

The bytes for destination.

getSource()

public String getSource()

The attack node uuid of the source node.

string source = 1;

Returns
TypeDescription
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

The attack node uuid of the source node.

string source = 1;

Returns
TypeDescription
ByteString

The bytes for source.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AttackPath.AttackPathEdge other)

public AttackPath.AttackPathEdge.Builder mergeFrom(AttackPath.AttackPathEdge other)
Parameter
NameDescription
otherAttackPath.AttackPathEdge
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttackPath.AttackPathEdge.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AttackPath.AttackPathEdge.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathEdge.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The destination to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destination to set.

Returns
TypeDescription
AttackPath.AttackPathEdge.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AttackPath.AttackPathEdge.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The source to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for source to set.

Returns
TypeDescription
AttackPath.AttackPathEdge.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AttackPath.AttackPathEdge.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttackPath.AttackPathEdge.Builder
Overrides