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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The EdgeLocation from which a packet, destined to the internet, will egress the Google network.Router name in the format '{router}.Latency as measured by active probing in one direction: from the source to the destination endpoint.The overall result of active probing for this egress device.Number of probes sent.Number of probes that reached the destination.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe EdgeLocation from which a packet, destined to the internet, will egress the Google network.The EdgeLocation from which a packet, destined to the internet, will egress the Google network.The EdgeLocation from which a packet, destined to the internet, will egress the Google network.Router name in the format '{router}.com.google.protobuf.ByteStringRouter name in the format '{router}.Latency as measured by active probing in one direction: from the source to the destination endpoint.Latency as measured by active probing in one direction: from the source to the destination endpoint.Latency as measured by active probing in one direction: from the source to the destination endpoint.The overall result of active probing for this egress device.intThe overall result of active probing for this egress device.intNumber of probes sent.intNumber of probes that reached the destination.booleanThe EdgeLocation from which a packet, destined to the internet, will egress the Google network.booleanLatency as measured by active probing in one direction: from the source to the destination endpoint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe EdgeLocation from which a packet, destined to the internet, will egress the Google network.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Latency as measured by active probing in one direction: from the source to the destination endpoint.The EdgeLocation from which a packet, destined to the internet, will egress the Google network.setDestinationEgressLocation(ProbingDetails.EdgeLocation.Builder builderForValue) The EdgeLocation from which a packet, destined to the internet, will egress the Google network.setDestinationRouter(String value) Router name in the format '{router}.setDestinationRouterBytes(com.google.protobuf.ByteString value) Router name in the format '{router}.Latency as measured by active probing in one direction: from the source to the destination endpoint.setProbingLatency(LatencyDistribution.Builder builderForValue) Latency as measured by active probing in one direction: from the source to the destination endpoint.The overall result of active probing for this egress device.setResultValue(int value) The overall result of active probing for this egress device.setSentProbeCount(int value) Number of probes sent.setSuccessfulProbeCount(int value) Number of probes that reached the destination.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProbingDetails.SingleEdgeResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getResultValuein interfaceProbingDetails.SingleEdgeResponseOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
setResultValue
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
The overall result of active probing for this egress device.
.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult result = 1;- Specified by:
getResultin interfaceProbingDetails.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:
getSentProbeCountin interfaceProbingDetails.SingleEdgeResponseOrBuilder- Returns:
- The sentProbeCount.
-
setSentProbeCount
Number of probes sent.
int32 sent_probe_count = 2;- Parameters:
value- The sentProbeCount to set.- Returns:
- This builder for chaining.
-
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:
getSuccessfulProbeCountin interfaceProbingDetails.SingleEdgeResponseOrBuilder- Returns:
- The successfulProbeCount.
-
setSuccessfulProbeCount
Number of probes that reached the destination.
int32 successful_probe_count = 3;- Parameters:
value- The successfulProbeCount to set.- Returns:
- This builder for chaining.
-
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:
hasProbingLatencyin interfaceProbingDetails.SingleEdgeResponseOrBuilder- Returns:
- Whether the probingLatency field is set.
-
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:
getProbingLatencyin interfaceProbingDetails.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
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
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
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:
getProbingLatencyOrBuilderin interfaceProbingDetails.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:
hasDestinationEgressLocationin interfaceProbingDetails.SingleEdgeResponseOrBuilder- Returns:
- Whether the destinationEgressLocation field is set.
-
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:
getDestinationEgressLocationin interfaceProbingDetails.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
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
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
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:
getDestinationEgressLocationOrBuilderin interfaceProbingDetails.SingleEdgeResponseOrBuilder
-
getDestinationRouter
Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.string destination_router = 6;- Specified by:
getDestinationRouterin interfaceProbingDetails.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:
getDestinationRouterBytesin interfaceProbingDetails.SingleEdgeResponseOrBuilder- Returns:
- The bytes for destinationRouter.
-
setDestinationRouter
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
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.
-