Class ProbingDetails.Builder (1.45.0)

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

Results of active probing from the last run of the test.

Protobuf type google.cloud.networkmanagement.v1.ProbingDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProbingDetails build()
Returns
Type Description
ProbingDetails

buildPartial()

public ProbingDetails buildPartial()
Returns
Type Description
ProbingDetails

clear()

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

clearAbortCause()

public ProbingDetails.Builder clearAbortCause()

The reason probing was aborted.

.google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

clearDestinationEgressLocation()

public ProbingDetails.Builder clearDestinationEgressLocation()

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
Type Description
ProbingDetails.Builder

clearEndpointInfo()

public ProbingDetails.Builder clearEndpointInfo()

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Returns
Type Description
ProbingDetails.Builder

clearError()

public ProbingDetails.Builder clearError()

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Returns
Type Description
ProbingDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProbingLatency()

public ProbingDetails.Builder clearProbingLatency()

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

.google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;

Returns
Type Description
ProbingDetails.Builder

clearResult()

public ProbingDetails.Builder clearResult()

The overall result of active probing.

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

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

clearSentProbeCount()

public ProbingDetails.Builder clearSentProbeCount()

Number of probes sent.

int32 sent_probe_count = 5;

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

clearSuccessfulProbeCount()

public ProbingDetails.Builder clearSuccessfulProbeCount()

Number of probes that reached the destination.

int32 successful_probe_count = 6;

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

clearVerifyTime()

public ProbingDetails.Builder clearVerifyTime()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
ProbingDetails.Builder

clone()

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

getAbortCause()

public ProbingDetails.ProbingAbortCause getAbortCause()

The reason probing was aborted.

.google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;

Returns
Type Description
ProbingDetails.ProbingAbortCause

The abortCause.

getAbortCauseValue()

public int getAbortCauseValue()

The reason probing was aborted.

.google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;

Returns
Type Description
int

The enum numeric value on the wire for abortCause.

getDefaultInstanceForType()

public ProbingDetails getDefaultInstanceForType()
Returns
Type Description
ProbingDetails

getDescriptorForType()

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

getDestinationEgressLocation()

public ProbingDetails.EdgeLocation getDestinationEgressLocation()

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
Type Description
ProbingDetails.EdgeLocation

The destinationEgressLocation.

getDestinationEgressLocationBuilder()

public ProbingDetails.EdgeLocation.Builder getDestinationEgressLocationBuilder()

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
Type Description
ProbingDetails.EdgeLocation.Builder

getDestinationEgressLocationOrBuilder()

public ProbingDetails.EdgeLocationOrBuilder getDestinationEgressLocationOrBuilder()

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
Type Description
ProbingDetails.EdgeLocationOrBuilder

getEndpointInfo()

public EndpointInfo getEndpointInfo()

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Returns
Type Description
EndpointInfo

The endpointInfo.

getEndpointInfoBuilder()

public EndpointInfo.Builder getEndpointInfoBuilder()

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Returns
Type Description
EndpointInfo.Builder

getEndpointInfoOrBuilder()

public EndpointInfoOrBuilder getEndpointInfoOrBuilder()

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Returns
Type Description
EndpointInfoOrBuilder

getError()

public Status getError()

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getProbingLatency()

public LatencyDistribution getProbingLatency()

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

.google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;

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.v1.LatencyDistribution probing_latency = 8;

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.v1.LatencyDistribution probing_latency = 8;

Returns
Type Description
LatencyDistributionOrBuilder

getResult()

public ProbingDetails.ProbingResult getResult()

The overall result of active probing.

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

Returns
Type Description
ProbingDetails.ProbingResult

The result.

getResultValue()

public int getResultValue()

The overall result of active probing.

.google.cloud.networkmanagement.v1.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 = 5;

Returns
Type Description
int

The sentProbeCount.

getSuccessfulProbeCount()

public int getSuccessfulProbeCount()

Number of probes that reached the destination.

int32 successful_probe_count = 6;

Returns
Type Description
int

The successfulProbeCount.

getVerifyTime()

public Timestamp getVerifyTime()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
Timestamp

The verifyTime.

getVerifyTimeBuilder()

public Timestamp.Builder getVerifyTimeBuilder()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
Builder

getVerifyTimeOrBuilder()

public TimestampOrBuilder getVerifyTimeOrBuilder()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
TimestampOrBuilder

hasDestinationEgressLocation()

public boolean hasDestinationEgressLocation()

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
Type Description
boolean

Whether the destinationEgressLocation field is set.

hasEndpointInfo()

public boolean hasEndpointInfo()

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Returns
Type Description
boolean

Whether the endpointInfo field is set.

hasError()

public boolean hasError()

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error 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.v1.LatencyDistribution probing_latency = 8;

Returns
Type Description
boolean

Whether the probingLatency field is set.

hasVerifyTime()

public boolean hasVerifyTime()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
boolean

Whether the verifyTime 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.Builder mergeDestinationEgressLocation(ProbingDetails.EdgeLocation value)

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

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

mergeEndpointInfo(EndpointInfo value)

public ProbingDetails.Builder mergeEndpointInfo(EndpointInfo value)

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Parameter
Name Description
value EndpointInfo
Returns
Type Description
ProbingDetails.Builder

mergeError(Status value)

public ProbingDetails.Builder mergeError(Status value)

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ProbingDetails.Builder

mergeFrom(ProbingDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProbingLatency(LatencyDistribution value)

public ProbingDetails.Builder mergeProbingLatency(LatencyDistribution value)

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

.google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;

Parameter
Name Description
value LatencyDistribution
Returns
Type Description
ProbingDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVerifyTime(Timestamp value)

public ProbingDetails.Builder mergeVerifyTime(Timestamp value)

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProbingDetails.Builder

setAbortCause(ProbingDetails.ProbingAbortCause value)

public ProbingDetails.Builder setAbortCause(ProbingDetails.ProbingAbortCause value)

The reason probing was aborted.

.google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;

Parameter
Name Description
value ProbingDetails.ProbingAbortCause

The abortCause to set.

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

setAbortCauseValue(int value)

public ProbingDetails.Builder setAbortCauseValue(int value)

The reason probing was aborted.

.google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;

Parameter
Name Description
value int

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

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

setDestinationEgressLocation(ProbingDetails.EdgeLocation value)

public ProbingDetails.Builder setDestinationEgressLocation(ProbingDetails.EdgeLocation value)

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

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

setDestinationEgressLocation(ProbingDetails.EdgeLocation.Builder builderForValue)

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

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

.google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;

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

setEndpointInfo(EndpointInfo value)

public ProbingDetails.Builder setEndpointInfo(EndpointInfo value)

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Parameter
Name Description
value EndpointInfo
Returns
Type Description
ProbingDetails.Builder

setEndpointInfo(EndpointInfo.Builder builderForValue)

public ProbingDetails.Builder setEndpointInfo(EndpointInfo.Builder builderForValue)

The source and destination endpoints derived from the test input and used for active probing.

.google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;

Parameter
Name Description
builderForValue EndpointInfo.Builder
Returns
Type Description
ProbingDetails.Builder

setError(Status value)

public ProbingDetails.Builder setError(Status value)

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ProbingDetails.Builder

setError(Status.Builder builderForValue)

public ProbingDetails.Builder setError(Status.Builder builderForValue)

Details about an internal failure or the cancellation of active probing.

.google.rpc.Status error = 3;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ProbingDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProbingLatency(LatencyDistribution value)

public ProbingDetails.Builder setProbingLatency(LatencyDistribution value)

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

.google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;

Parameter
Name Description
value LatencyDistribution
Returns
Type Description
ProbingDetails.Builder

setProbingLatency(LatencyDistribution.Builder builderForValue)

public ProbingDetails.Builder setProbingLatency(LatencyDistribution.Builder builderForValue)

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

.google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;

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

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

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

setResult(ProbingDetails.ProbingResult value)

public ProbingDetails.Builder setResult(ProbingDetails.ProbingResult value)

The overall result of active probing.

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

Parameter
Name Description
value ProbingDetails.ProbingResult

The result to set.

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

setResultValue(int value)

public ProbingDetails.Builder setResultValue(int value)

The overall result of active probing.

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

Parameter
Name Description
value int

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

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

setSentProbeCount(int value)

public ProbingDetails.Builder setSentProbeCount(int value)

Number of probes sent.

int32 sent_probe_count = 5;

Parameter
Name Description
value int

The sentProbeCount to set.

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

setSuccessfulProbeCount(int value)

public ProbingDetails.Builder setSuccessfulProbeCount(int value)

Number of probes that reached the destination.

int32 successful_probe_count = 6;

Parameter
Name Description
value int

The successfulProbeCount to set.

Returns
Type Description
ProbingDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVerifyTime(Timestamp value)

public ProbingDetails.Builder setVerifyTime(Timestamp value)

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProbingDetails.Builder

setVerifyTime(Timestamp.Builder builderForValue)

public ProbingDetails.Builder setVerifyTime(Timestamp.Builder builderForValue)

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ProbingDetails.Builder