Class ProbingDetails.Builder

  • All Implemented Interfaces:
    ProbingDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ProbingDetails

    public static final class ProbingDetails.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
    implements ProbingDetailsOrBuilder
     Results of active probing from the last run of the test.
     
    Protobuf type google.cloud.networkmanagement.v1beta1.ProbingDetails
    • Method Detail

      • 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.Builder<ProbingDetails.Builder>
      • clear

        public ProbingDetails.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • getDefaultInstanceForType

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

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

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

        public ProbingDetails.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • setField

        public ProbingDetails.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • clearField

        public ProbingDetails.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • clearOneof

        public ProbingDetails.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • setRepeatedField

        public ProbingDetails.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • addRepeatedField

        public ProbingDetails.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • mergeFrom

        public ProbingDetails.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProbingDetails.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • mergeFrom

        public ProbingDetails.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProbingDetails.Builder>
        Throws:
        IOException
      • getResultValue

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

        public ProbingDetails.Builder setResultValue​(int value)
         The overall result of active probing.
         
        .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;
        Parameters:
        value - The enum numeric value on the wire for result to set.
        Returns:
        This builder for chaining.
      • setResult

        public ProbingDetails.Builder setResult​(ProbingDetails.ProbingResult value)
         The overall result of active probing.
         
        .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;
        Parameters:
        value - The result to set.
        Returns:
        This builder for chaining.
      • clearResult

        public ProbingDetails.Builder clearResult()
         The overall result of active probing.
         
        .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;
        Returns:
        This builder for chaining.
      • 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.
      • setVerifyTime

        public ProbingDetails.Builder setVerifyTime​(com.google.protobuf.Timestamp value)
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
      • setVerifyTime

        public ProbingDetails.Builder setVerifyTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
      • mergeVerifyTime

        public ProbingDetails.Builder mergeVerifyTime​(com.google.protobuf.Timestamp value)
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
      • clearVerifyTime

        public ProbingDetails.Builder clearVerifyTime()
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
      • getVerifyTimeBuilder

        public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder()
         The time that reachability was assessed through active probing.
         
        .google.protobuf.Timestamp verify_time = 2;
      • 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.
      • setError

        public ProbingDetails.Builder setError​(com.google.rpc.Status value)
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
      • setError

        public ProbingDetails.Builder setError​(com.google.rpc.Status.Builder builderForValue)
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
      • mergeError

        public ProbingDetails.Builder mergeError​(com.google.rpc.Status value)
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
      • clearError

        public ProbingDetails.Builder clearError()
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
      • getErrorBuilder

        public com.google.rpc.Status.Builder getErrorBuilder()
         Details about an internal failure or the cancellation of active probing.
         
        .google.rpc.Status error = 3;
      • 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.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4;
        Specified by:
        getAbortCauseValue in interface ProbingDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for abortCause.
      • setAbortCauseValue

        public ProbingDetails.Builder setAbortCauseValue​(int value)
         The reason probing was aborted.
         
        .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4;
        Parameters:
        value - The enum numeric value on the wire for abortCause to set.
        Returns:
        This builder for chaining.
      • setAbortCause

        public ProbingDetails.Builder setAbortCause​(ProbingDetails.ProbingAbortCause value)
         The reason probing was aborted.
         
        .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4;
        Parameters:
        value - The abortCause to set.
        Returns:
        This builder for chaining.
      • clearAbortCause

        public ProbingDetails.Builder clearAbortCause()
         The reason probing was aborted.
         
        .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingAbortCause abort_cause = 4;
        Returns:
        This builder for chaining.
      • getSentProbeCount

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

        public ProbingDetails.Builder setSentProbeCount​(int value)
         Number of probes sent.
         
        int32 sent_probe_count = 5;
        Parameters:
        value - The sentProbeCount to set.
        Returns:
        This builder for chaining.
      • clearSentProbeCount

        public ProbingDetails.Builder clearSentProbeCount()
         Number of probes sent.
         
        int32 sent_probe_count = 5;
        Returns:
        This builder for chaining.
      • 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.
      • setSuccessfulProbeCount

        public ProbingDetails.Builder setSuccessfulProbeCount​(int value)
         Number of probes that reached the destination.
         
        int32 successful_probe_count = 6;
        Parameters:
        value - The successfulProbeCount to set.
        Returns:
        This builder for chaining.
      • clearSuccessfulProbeCount

        public ProbingDetails.Builder clearSuccessfulProbeCount()
         Number of probes that reached the destination.
         
        int32 successful_probe_count = 6;
        Returns:
        This builder for chaining.
      • 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;
        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.v1beta1.EndpointInfo endpoint_info = 7;
        Specified by:
        getEndpointInfo in interface ProbingDetailsOrBuilder
        Returns:
        The endpointInfo.
      • setEndpointInfo

        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;
      • setEndpointInfo

        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;
      • mergeEndpointInfo

        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;
      • 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;
      • 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;
      • 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;
        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.v1beta1.LatencyDistribution probing_latency = 8;
        Specified by:
        getProbingLatency in interface ProbingDetailsOrBuilder
        Returns:
        The probingLatency.
      • setProbingLatency

        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;
      • setProbingLatency

        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;
      • mergeProbingLatency

        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;
      • 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;
      • 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;
      • 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;
        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.v1beta1.ProbingDetails.EdgeLocation destination_egress_location = 9;
        Specified by:
        getDestinationEgressLocation in interface ProbingDetailsOrBuilder
        Returns:
        The destinationEgressLocation.
      • setDestinationEgressLocation

        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;
      • setDestinationEgressLocation

        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;
      • mergeDestinationEgressLocation

        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;
      • 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;
      • 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;
      • 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;
        Specified by:
        getDestinationEgressLocationOrBuilder in interface ProbingDetailsOrBuilder
      • setUnknownFields

        public final ProbingDetails.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>
      • mergeUnknownFields

        public final ProbingDetails.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProbingDetails.Builder>