Class ProbingDetails.Builder (1.13.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.v1beta1.ProbingDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProbingDetails build()
Returns
TypeDescription
ProbingDetails

buildPartial()

public ProbingDetails buildPartial()
Returns
TypeDescription
ProbingDetails

clear()

public ProbingDetails.Builder clear()
Returns
TypeDescription
ProbingDetails.Builder
Overrides

clearAbortCause()

public ProbingDetails.Builder clearAbortCause()

The reason probing was aborted.

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

Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
TypeDescription
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.v1beta1.EndpointInfo endpoint_info = 7;

Returns
TypeDescription
ProbingDetails.Builder

clearError()

public ProbingDetails.Builder clearError()

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

.google.rpc.Status error = 3;

Returns
TypeDescription
ProbingDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ProbingDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1beta1.LatencyDistribution probing_latency = 8;

Returns
TypeDescription
ProbingDetails.Builder

clearResult()

public ProbingDetails.Builder clearResult()

The overall result of active probing.

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

Returns
TypeDescription
ProbingDetails.Builder

This builder for chaining.

clearSentProbeCount()

public ProbingDetails.Builder clearSentProbeCount()

Number of probes sent.

int32 sent_probe_count = 5;

Returns
TypeDescription
ProbingDetails.Builder

This builder for chaining.

clearSuccessfulProbeCount()

public ProbingDetails.Builder clearSuccessfulProbeCount()

Number of probes that reached the destination.

int32 successful_probe_count = 6;

Returns
TypeDescription
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
TypeDescription
ProbingDetails.Builder

clone()

public ProbingDetails.Builder clone()
Returns
TypeDescription
ProbingDetails.Builder
Overrides

getAbortCause()

public ProbingDetails.ProbingAbortCause getAbortCause()

The reason probing was aborted.

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

Returns
TypeDescription
ProbingDetails.ProbingAbortCause

The abortCause.

getAbortCauseValue()

public int getAbortCauseValue()

The reason probing was aborted.

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

Returns
TypeDescription
int

The enum numeric value on the wire for abortCause.

getDefaultInstanceForType()

public ProbingDetails getDefaultInstanceForType()
Returns
TypeDescription
ProbingDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
TypeDescription
ProbingDetails.EdgeLocationOrBuilder

getEndpointInfo()

public EndpointInfo getEndpointInfo()

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

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

Returns
TypeDescription
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.v1beta1.EndpointInfo endpoint_info = 7;

Returns
TypeDescription
EndpointInfo.Builder

getEndpointInfoOrBuilder()

public EndpointInfoOrBuilder getEndpointInfoOrBuilder()

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

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

Returns
TypeDescription
EndpointInfoOrBuilder

getError()

public Status getError()

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

.google.rpc.Status error = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1beta1.LatencyDistribution probing_latency = 8;

Returns
TypeDescription
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 = 8;

Returns
TypeDescription
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 = 8;

Returns
TypeDescription
LatencyDistributionOrBuilder

getResult()

public ProbingDetails.ProbingResult getResult()

The overall result of active probing.

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

Returns
TypeDescription
ProbingDetails.ProbingResult

The result.

getResultValue()

public int getResultValue()

The overall result of active probing.

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

Returns
TypeDescription
int

The enum numeric value on the wire for result.

getSentProbeCount()

public int getSentProbeCount()

Number of probes sent.

int32 sent_probe_count = 5;

Returns
TypeDescription
int

The sentProbeCount.

getSuccessfulProbeCount()

public int getSuccessfulProbeCount()

Number of probes that reached the destination.

int32 successful_probe_count = 6;

Returns
TypeDescription
int

The successfulProbeCount.

getVerifyTime()

public Timestamp getVerifyTime()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
Timestamp

The verifyTime.

getVerifyTimeBuilder()

public Timestamp.Builder getVerifyTimeBuilder()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
Builder

getVerifyTimeOrBuilder()

public TimestampOrBuilder getVerifyTimeOrBuilder()

The time that reachability was assessed through active probing.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Returns
TypeDescription
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.v1beta1.EndpointInfo endpoint_info = 7;

Returns
TypeDescription
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
TypeDescription
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.v1beta1.LatencyDistribution probing_latency = 8;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the verifyTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Parameter
NameDescription
valueProbingDetails.EdgeLocation
Returns
TypeDescription
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.v1beta1.EndpointInfo endpoint_info = 7;

Parameter
NameDescription
valueEndpointInfo
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ProbingDetails.Builder

mergeFrom(ProbingDetails other)

public ProbingDetails.Builder mergeFrom(ProbingDetails other)
Parameter
NameDescription
otherProbingDetails
Returns
TypeDescription
ProbingDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProbingDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1beta1.LatencyDistribution probing_latency = 8;

Parameter
NameDescription
valueLatencyDistribution
Returns
TypeDescription
ProbingDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAbortCause(ProbingDetails.ProbingAbortCause value)

public ProbingDetails.Builder setAbortCause(ProbingDetails.ProbingAbortCause value)

The reason probing was aborted.

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

Parameter
NameDescription
valueProbingDetails.ProbingAbortCause

The abortCause to set.

Returns
TypeDescription
ProbingDetails.Builder

This builder for chaining.

setAbortCauseValue(int value)

public ProbingDetails.Builder setAbortCauseValue(int value)

The reason probing was aborted.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Parameter
NameDescription
valueProbingDetails.EdgeLocation
Returns
TypeDescription
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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;

Parameter
NameDescription
builderForValueProbingDetails.EdgeLocation.Builder
Returns
TypeDescription
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.v1beta1.EndpointInfo endpoint_info = 7;

Parameter
NameDescription
valueEndpointInfo
Returns
TypeDescription
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.v1beta1.EndpointInfo endpoint_info = 7;

Parameter
NameDescription
builderForValueEndpointInfo.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ProbingDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ProbingDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.LatencyDistribution probing_latency = 8;

Parameter
NameDescription
valueLatencyDistribution
Returns
TypeDescription
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.v1beta1.LatencyDistribution probing_latency = 8;

Parameter
NameDescription
builderForValueLatencyDistribution.Builder
Returns
TypeDescription
ProbingDetails.Builder

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

public ProbingDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProbingDetails.Builder
Overrides

setResult(ProbingDetails.ProbingResult value)

public ProbingDetails.Builder setResult(ProbingDetails.ProbingResult value)

The overall result of active probing.

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

Parameter
NameDescription
valueProbingDetails.ProbingResult

The result to set.

Returns
TypeDescription
ProbingDetails.Builder

This builder for chaining.

setResultValue(int value)

public ProbingDetails.Builder setResultValue(int value)

The overall result of active probing.

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

Parameter
NameDescription
valueint

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

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

The sentProbeCount to set.

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

The successfulProbeCount to set.

Returns
TypeDescription
ProbingDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProbingDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ProbingDetails.Builder