Class ProbingDetails

  • All Implemented Interfaces:
    ProbingDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ProbingDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements ProbingDetailsOrBuilder
     Results of active probing from the last run of the test.
     
    Protobuf type google.cloud.networkmanagement.v1.ProbingDetails
    See Also:
    Serialized Form
    • Field Detail

      • VERIFY_TIME_FIELD_NUMBER

        public static final int VERIFY_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ABORT_CAUSE_FIELD_NUMBER

        public static final int ABORT_CAUSE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SENT_PROBE_COUNT_FIELD_NUMBER

        public static final int SENT_PROBE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUCCESSFUL_PROBE_COUNT_FIELD_NUMBER

        public static final int SUCCESSFUL_PROBE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENDPOINT_INFO_FIELD_NUMBER

        public static final int ENDPOINT_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROBING_LATENCY_FIELD_NUMBER

        public static final int PROBING_LATENCY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DESTINATION_EGRESS_LOCATION_FIELD_NUMBER

        public static final int DESTINATION_EGRESS_LOCATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getResultValue

        public int getResultValue()
         The overall result of active probing.
         
        .google.cloud.networkmanagement.v1.ProbingDetails.ProbingResult result = 1;
        Specified by:
        getResultValue in interface ProbingDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for result.
      • hasVerifyTime

        public boolean hasVerifyTime()
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
        Specified by:
        hasVerifyTime in interface ProbingDetailsOrBuilder
        Returns:
        Whether the verifyTime field is set.
      • getVerifyTime

        public com.google.protobuf.Timestamp getVerifyTime()
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
        Specified by:
        getVerifyTime in interface ProbingDetailsOrBuilder
        Returns:
        The verifyTime.
      • getVerifyTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder()
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
        Specified by:
        getVerifyTimeOrBuilder in interface ProbingDetailsOrBuilder
      • hasError

        public boolean hasError()
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
        Specified by:
        hasError in interface ProbingDetailsOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public com.google.rpc.Status getError()
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
        Specified by:
        getError in interface ProbingDetailsOrBuilder
        Returns:
        The error.
      • getErrorOrBuilder

        public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
        Specified by:
        getErrorOrBuilder in interface ProbingDetailsOrBuilder
      • getAbortCauseValue

        public int getAbortCauseValue()
         The reason probing was aborted.
         
        .google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;
        Specified by:
        getAbortCauseValue in interface ProbingDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for abortCause.
      • getSentProbeCount

        public int getSentProbeCount()
         Number of probes sent.
         
        int32 sent_probe_count = 5;
        Specified by:
        getSentProbeCount in interface ProbingDetailsOrBuilder
        Returns:
        The sentProbeCount.
      • getSuccessfulProbeCount

        public int getSuccessfulProbeCount()
         Number of probes that reached the destination.
         
        int32 successful_probe_count = 6;
        Specified by:
        getSuccessfulProbeCount in interface ProbingDetailsOrBuilder
        Returns:
        The successfulProbeCount.
      • 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;
        Specified by:
        hasEndpointInfo in interface ProbingDetailsOrBuilder
        Returns:
        Whether the endpointInfo field is set.
      • 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;
        Specified by:
        getEndpointInfo in interface ProbingDetailsOrBuilder
        Returns:
        The endpointInfo.
      • 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;
        Specified by:
        hasProbingLatency in interface ProbingDetailsOrBuilder
        Returns:
        Whether the probingLatency field is set.
      • 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;
        Specified by:
        getProbingLatency in interface ProbingDetailsOrBuilder
        Returns:
        The probingLatency.
      • 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;
        Specified by:
        hasDestinationEgressLocation in interface ProbingDetailsOrBuilder
        Returns:
        Whether the destinationEgressLocation field is set.
      • 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;
        Specified by:
        getDestinationEgressLocation in interface ProbingDetailsOrBuilder
        Returns:
        The destinationEgressLocation.
      • 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;
        Specified by:
        getDestinationEgressLocationOrBuilder in interface ProbingDetailsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ProbingDetails parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProbingDetails parseFrom​(ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProbingDetails parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProbingDetails parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProbingDetails parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProbingDetails parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProbingDetails parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ProbingDetails.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ProbingDetails.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ProbingDetails.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static ProbingDetails getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<ProbingDetails> parser()
      • getParserForType

        public com.google.protobuf.Parser<ProbingDetails> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ProbingDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder