Class ProbingDetails.SingleEdgeResponse.Builder (1.69.0)

public static final class ProbingDetails.SingleEdgeResponse.Builder extends GeneratedMessageV3.Builder<ProbingDetails.SingleEdgeResponse.Builder> implements ProbingDetails.SingleEdgeResponseOrBuilder

Probing results for a single edge device.

Protobuf type google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProbingDetails.SingleEdgeResponse build()
Returns
Type Description
ProbingDetails.SingleEdgeResponse

buildPartial()

public ProbingDetails.SingleEdgeResponse buildPartial()
Returns
Type Description
ProbingDetails.SingleEdgeResponse

clear()

public ProbingDetails.SingleEdgeResponse.Builder clear()
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides

clearDestinationEgressLocation()

public ProbingDetails.SingleEdgeResponse.Builder clearDestinationEgressLocation()

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

clearDestinationRouter()

public ProbingDetails.SingleEdgeResponse.Builder clearDestinationRouter()

Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.

string destination_router = 6;

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProbingDetails.SingleEdgeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProbingDetails.SingleEdgeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides

clearProbingLatency()

public ProbingDetails.SingleEdgeResponse.Builder clearProbingLatency()

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

clearResult()

public ProbingDetails.SingleEdgeResponse.Builder clearResult()

The overall result of active probing for this egress device.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

clearSentProbeCount()

public ProbingDetails.SingleEdgeResponse.Builder clearSentProbeCount()

Number of probes sent.

int32 sent_probe_count = 2;

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

clearSuccessfulProbeCount()

public ProbingDetails.SingleEdgeResponse.Builder clearSuccessfulProbeCount()

Number of probes that reached the destination.

int32 successful_probe_count = 3;

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

clone()

public ProbingDetails.SingleEdgeResponse.Builder clone()
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides

getDefaultInstanceForType()

public ProbingDetails.SingleEdgeResponse getDefaultInstanceForType()
Returns
Type Description
ProbingDetails.SingleEdgeResponse

getDescriptorForType()

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

getDestinationEgressLocation()

public ProbingDetails.EdgeLocation getDestinationEgressLocation()

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Returns
Type Description
ProbingDetails.EdgeLocation

The destinationEgressLocation.

getDestinationEgressLocationBuilder()

public ProbingDetails.EdgeLocation.Builder getDestinationEgressLocationBuilder()

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Returns
Type Description
ProbingDetails.EdgeLocation.Builder

getDestinationEgressLocationOrBuilder()

public ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder()

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Returns
Type Description
ProbingDetails.EdgeLocationOrBuilder

getDestinationRouter()

public String getDestinationRouter()

Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.

string destination_router = 6;

Returns
Type Description
String

The destinationRouter.

getDestinationRouterBytes()

public ByteString getDestinationRouterBytes()

Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.

string destination_router = 6;

Returns
Type Description
ByteString

The bytes for destinationRouter.

getProbingLatency()

public LatencyDistribution getProbingLatency()

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Returns
Type Description
LatencyDistribution

The probingLatency.

getProbingLatencyBuilder()

public LatencyDistribution.Builder getProbingLatencyBuilder()

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Returns
Type Description
LatencyDistribution.Builder

getProbingLatencyOrBuilder()

public LatencyDistributionOrBuilder getProbingLatencyOrBuilder()

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Returns
Type Description
LatencyDistributionOrBuilder

getResult()

public ProbingDetails.ProbingResult getResult()

The overall result of active probing for this egress device.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;

Returns
Type Description
ProbingDetails.ProbingResult

The result.

getResultValue()

public int getResultValue()

The overall result of active probing for this egress device.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;

Returns
Type Description
int

The enum numeric value on the wire for result.

getSentProbeCount()

public int getSentProbeCount()

Number of probes sent.

int32 sent_probe_count = 2;

Returns
Type Description
int

The sentProbeCount.

getSuccessfulProbeCount()

public int getSuccessfulProbeCount()

Number of probes that reached the destination.

int32 successful_probe_count = 3;

Returns
Type Description
int

The successfulProbeCount.

hasDestinationEgressLocation()

public boolean hasDestinationEgressLocation()

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Returns
Type Description
boolean

Whether the destinationEgressLocation field is set.

hasProbingLatency()

public boolean hasProbingLatency()

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Returns
Type Description
boolean

Whether the probingLatency field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDestinationEgressLocation(ProbingDetails.EdgeLocation value)

public ProbingDetails.SingleEdgeResponse.Builder mergeDestinationEgressLocation(ProbingDetails.EdgeLocation value)

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Parameter
Name Description
value ProbingDetails.EdgeLocation
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

mergeFrom(ProbingDetails.SingleEdgeResponse other)

public ProbingDetails.SingleEdgeResponse.Builder mergeFrom(ProbingDetails.SingleEdgeResponse other)
Parameter
Name Description
other ProbingDetails.SingleEdgeResponse
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProbingDetails.SingleEdgeResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides

mergeProbingLatency(LatencyDistribution value)

public ProbingDetails.SingleEdgeResponse.Builder mergeProbingLatency(LatencyDistribution value)

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Parameter
Name Description
value LatencyDistribution
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProbingDetails.SingleEdgeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides

setDestinationEgressLocation(ProbingDetails.EdgeLocation value)

public ProbingDetails.SingleEdgeResponse.Builder setDestinationEgressLocation(ProbingDetails.EdgeLocation value)

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Parameter
Name Description
value ProbingDetails.EdgeLocation
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

setDestinationEgressLocation(ProbingDetails.EdgeLocation.Builder builderForValue)

public ProbingDetails.SingleEdgeResponse.Builder setDestinationEgressLocation(ProbingDetails.EdgeLocation.Builder builderForValue)

The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field must not be used as an indication that the destination is part of the Google network.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 5;

Parameter
Name Description
builderForValue ProbingDetails.EdgeLocation.Builder
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

setDestinationRouter(String value)

public ProbingDetails.SingleEdgeResponse.Builder setDestinationRouter(String value)

Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.

string destination_router = 6;

Parameter
Name Description
value String

The destinationRouter to set.

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

setDestinationRouterBytes(ByteString value)

public ProbingDetails.SingleEdgeResponse.Builder setDestinationRouterBytes(ByteString value)

Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.

string destination_router = 6;

Parameter
Name Description
value ByteString

The bytes for destinationRouter to set.

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProbingLatency(LatencyDistribution value)

public ProbingDetails.SingleEdgeResponse.Builder setProbingLatency(LatencyDistribution value)

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Parameter
Name Description
value LatencyDistribution
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

setProbingLatency(LatencyDistribution.Builder builderForValue)

public ProbingDetails.SingleEdgeResponse.Builder setProbingLatency(LatencyDistribution.Builder builderForValue)

Latency as measured by active probing in one direction: from the source to the destination endpoint.

.google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;

Parameter
Name Description
builderForValue LatencyDistribution.Builder
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

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

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

setResult(ProbingDetails.ProbingResult value)

public ProbingDetails.SingleEdgeResponse.Builder setResult(ProbingDetails.ProbingResult value)

The overall result of active probing for this egress device.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;

Parameter
Name Description
value ProbingDetails.ProbingResult

The result to set.

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

setResultValue(int value)

public ProbingDetails.SingleEdgeResponse.Builder setResultValue(int value)

The overall result of active probing for this egress device.

.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;

Parameter
Name Description
value int

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

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

setSentProbeCount(int value)

public ProbingDetails.SingleEdgeResponse.Builder setSentProbeCount(int value)

Number of probes sent.

int32 sent_probe_count = 2;

Parameter
Name Description
value int

The sentProbeCount to set.

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

setSuccessfulProbeCount(int value)

public ProbingDetails.SingleEdgeResponse.Builder setSuccessfulProbeCount(int value)

Number of probes that reached the destination.

int32 successful_probe_count = 3;

Parameter
Name Description
value int

The successfulProbeCount to set.

Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProbingDetails.SingleEdgeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProbingDetails.SingleEdgeResponse.Builder
Overrides