Class LatencyDistribution (1.45.0)

public final class LatencyDistribution extends GeneratedMessageV3 implements LatencyDistributionOrBuilder

Describes measured latency distribution.

Protobuf type google.cloud.networkmanagement.v1.LatencyDistribution

Static Fields

LATENCY_PERCENTILES_FIELD_NUMBER

public static final int LATENCY_PERCENTILES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LatencyDistribution getDefaultInstance()
Returns
Type Description
LatencyDistribution

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LatencyDistribution.Builder newBuilder()
Returns
Type Description
LatencyDistribution.Builder

newBuilder(LatencyDistribution prototype)

public static LatencyDistribution.Builder newBuilder(LatencyDistribution prototype)
Parameter
Name Description
prototype LatencyDistribution
Returns
Type Description
LatencyDistribution.Builder

parseDelimitedFrom(InputStream input)

public static LatencyDistribution parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LatencyDistribution parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LatencyDistribution parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LatencyDistribution parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LatencyDistribution parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LatencyDistribution parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LatencyDistribution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LatencyDistribution> parser()
Returns
Type Description
Parser<LatencyDistribution>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LatencyDistribution getDefaultInstanceForType()
Returns
Type Description
LatencyDistribution

getLatencyPercentiles(int index)

public LatencyPercentile getLatencyPercentiles(int index)

Representative latency percentiles.

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

Parameter
Name Description
index int
Returns
Type Description
LatencyPercentile

getLatencyPercentilesCount()

public int getLatencyPercentilesCount()

Representative latency percentiles.

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

Returns
Type Description
int

getLatencyPercentilesList()

public List<LatencyPercentile> getLatencyPercentilesList()

Representative latency percentiles.

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

Returns
Type Description
List<LatencyPercentile>

getLatencyPercentilesOrBuilder(int index)

public LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder(int index)

Representative latency percentiles.

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

Parameter
Name Description
index int
Returns
Type Description
LatencyPercentileOrBuilder

getLatencyPercentilesOrBuilderList()

public List<? extends LatencyPercentileOrBuilder> getLatencyPercentilesOrBuilderList()

Representative latency percentiles.

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

Returns
Type Description
List<? extends com.google.cloud.networkmanagement.v1.LatencyPercentileOrBuilder>

getParserForType()

public Parser<LatencyDistribution> getParserForType()
Returns
Type Description
Parser<LatencyDistribution>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LatencyDistribution.Builder newBuilderForType()
Returns
Type Description
LatencyDistribution.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LatencyDistribution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LatencyDistribution.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LatencyDistribution.Builder toBuilder()
Returns
Type Description
LatencyDistribution.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException