Class LatencyDistribution (1.10.0)

public final class LatencyDistribution extends GeneratedMessageV3 implements LatencyDistributionOrBuilder

Describes measured latency distribution.

Protobuf type google.cloud.networkmanagement.v1beta1.LatencyDistribution

Static Fields

LATENCY_PERCENTILES_FIELD_NUMBER

public static final int LATENCY_PERCENTILES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LatencyDistribution getDefaultInstance()
Returns
TypeDescription
LatencyDistribution

getDescriptor()

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

newBuilder()

public static LatencyDistribution.Builder newBuilder()
Returns
TypeDescription
LatencyDistribution.Builder

newBuilder(LatencyDistribution prototype)

public static LatencyDistribution.Builder newBuilder(LatencyDistribution prototype)
Parameter
NameDescription
prototypeLatencyDistribution
Returns
TypeDescription
LatencyDistribution.Builder

parseDelimitedFrom(InputStream input)

public static LatencyDistribution parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LatencyDistribution parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LatencyDistribution parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LatencyDistribution parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LatencyDistribution parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LatencyDistribution parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyDistribution
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LatencyDistribution> parser()
Returns
TypeDescription
Parser<LatencyDistribution>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LatencyDistribution getDefaultInstanceForType()
Returns
TypeDescription
LatencyDistribution

getLatencyPercentiles(int index)

public LatencyPercentile getLatencyPercentiles(int index)

Representative latency percentiles.

repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
LatencyPercentile

getLatencyPercentilesCount()

public int getLatencyPercentilesCount()

Representative latency percentiles.

repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;

Returns
TypeDescription
int

getLatencyPercentilesList()

public List<LatencyPercentile> getLatencyPercentilesList()

Representative latency percentiles.

repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;

Returns
TypeDescription
List<LatencyPercentile>

getLatencyPercentilesOrBuilder(int index)

public LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder(int index)

Representative latency percentiles.

repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
LatencyPercentileOrBuilder

getLatencyPercentilesOrBuilderList()

public List<? extends LatencyPercentileOrBuilder> getLatencyPercentilesOrBuilderList()

Representative latency percentiles.

repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;

Returns
TypeDescription
List<? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder>

getParserForType()

public Parser<LatencyDistribution> getParserForType()
Returns
TypeDescription
Parser<LatencyDistribution>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LatencyDistribution.Builder newBuilderForType()
Returns
TypeDescription
LatencyDistribution.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LatencyDistribution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LatencyDistribution.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LatencyDistribution.Builder toBuilder()
Returns
TypeDescription
LatencyDistribution.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException