Class ProbingDetails.SingleEdgeResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder>
com.google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse.Builder
All Implemented Interfaces:
ProbingDetails.SingleEdgeResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ProbingDetails.SingleEdgeResponse

public static final class ProbingDetails.SingleEdgeResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder> implements ProbingDetails.SingleEdgeResponseOrBuilder
 Probing results for a single edge device.
 
Protobuf type google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.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.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.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.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ProbingDetails.SingleEdgeResponse.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.SingleEdgeResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public ProbingDetails.SingleEdgeResponse.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.SingleEdgeResponse.Builder>
      Throws:
      IOException
    • getResultValue

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

      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;
      Parameters:
      value - The enum numeric value on the wire for result to set.
      Returns:
      This builder for chaining.
    • getResult

      public ProbingDetails.ProbingResult getResult()
       The overall result of active probing for this egress device.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;
      Specified by:
      getResult in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      The result.
    • setResult

       The overall result of active probing for this egress device.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;
      Parameters:
      value - The result to set.
      Returns:
      This builder for chaining.
    • clearResult

       The overall result of active probing for this egress device.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;
      Returns:
      This builder for chaining.
    • getSentProbeCount

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

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

      public ProbingDetails.SingleEdgeResponse.Builder clearSentProbeCount()
       Number of probes sent.
       
      int32 sent_probe_count = 2;
      Returns:
      This builder for chaining.
    • getSuccessfulProbeCount

      public int getSuccessfulProbeCount()
       Number of probes that reached the destination.
       
      int32 successful_probe_count = 3;
      Specified by:
      getSuccessfulProbeCount in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      The successfulProbeCount.
    • setSuccessfulProbeCount

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

      public ProbingDetails.SingleEdgeResponse.Builder clearSuccessfulProbeCount()
       Number of probes that reached the destination.
       
      int32 successful_probe_count = 3;
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasProbingLatency in interface ProbingDetails.SingleEdgeResponseOrBuilder
      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 = 4;
      Specified by:
      getProbingLatency in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      The probingLatency.
    • setProbingLatency

       Latency as measured by active probing in one direction: from the source
       to the destination endpoint.
       
      .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;
    • setProbingLatency

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

       Latency as measured by active probing in one direction: from the source
       to the destination endpoint.
       
      .google.cloud.networkmanagement.v1beta1.LatencyDistribution probing_latency = 4;
    • 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;
    • 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;
    • 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;
      Specified by:
      getProbingLatencyOrBuilder in interface ProbingDetails.SingleEdgeResponseOrBuilder
    • 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;
      Specified by:
      hasDestinationEgressLocation in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      Whether the destinationEgressLocation field is set.
    • 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;
      Specified by:
      getDestinationEgressLocation in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      The destinationEgressLocation.
    • setDestinationEgressLocation

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

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

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getDestinationEgressLocationOrBuilder in interface ProbingDetails.SingleEdgeResponseOrBuilder
    • getDestinationRouter

      public String getDestinationRouter()
       Router name in the format '{router}.{metroshard}'. For example:
       pf01.aaa01, pr02.aaa01.
       
      string destination_router = 6;
      Specified by:
      getDestinationRouter in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      The destinationRouter.
    • getDestinationRouterBytes

      public com.google.protobuf.ByteString getDestinationRouterBytes()
       Router name in the format '{router}.{metroshard}'. For example:
       pf01.aaa01, pr02.aaa01.
       
      string destination_router = 6;
      Specified by:
      getDestinationRouterBytes in interface ProbingDetails.SingleEdgeResponseOrBuilder
      Returns:
      The bytes for destinationRouter.
    • setDestinationRouter

      public ProbingDetails.SingleEdgeResponse.Builder setDestinationRouter(String value)
       Router name in the format '{router}.{metroshard}'. For example:
       pf01.aaa01, pr02.aaa01.
       
      string destination_router = 6;
      Parameters:
      value - The destinationRouter to set.
      Returns:
      This builder for chaining.
    • clearDestinationRouter

      public ProbingDetails.SingleEdgeResponse.Builder clearDestinationRouter()
       Router name in the format '{router}.{metroshard}'. For example:
       pf01.aaa01, pr02.aaa01.
       
      string destination_router = 6;
      Returns:
      This builder for chaining.
    • setDestinationRouterBytes

      public ProbingDetails.SingleEdgeResponse.Builder setDestinationRouterBytes(com.google.protobuf.ByteString value)
       Router name in the format '{router}.{metroshard}'. For example:
       pf01.aaa01, pr02.aaa01.
       
      string destination_router = 6;
      Parameters:
      value - The bytes for destinationRouter to set.
      Returns:
      This builder for chaining.