Class LatencyPercentile.Builder (1.84.0)

public static final class LatencyPercentile.Builder extends GeneratedMessage.Builder<LatencyPercentile.Builder> implements LatencyPercentileOrBuilder

Latency percentile rank and value.

Protobuf type google.cloud.networkmanagement.v1.LatencyPercentile

Static Methods

getDescriptor()

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

Methods

build()

public LatencyPercentile build()
Returns
Type Description
LatencyPercentile

buildPartial()

public LatencyPercentile buildPartial()
Returns
Type Description
LatencyPercentile

clear()

public LatencyPercentile.Builder clear()
Returns
Type Description
LatencyPercentile.Builder
Overrides

clearLatencyMicros()

public LatencyPercentile.Builder clearLatencyMicros()

percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field.

int64 latency_micros = 2;

Returns
Type Description
LatencyPercentile.Builder

This builder for chaining.

clearPercent()

public LatencyPercentile.Builder clearPercent()

Percentage of samples this data point applies to.

int32 percent = 1;

Returns
Type Description
LatencyPercentile.Builder

This builder for chaining.

getDefaultInstanceForType()

public LatencyPercentile getDefaultInstanceForType()
Returns
Type Description
LatencyPercentile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLatencyMicros()

public long getLatencyMicros()

percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field.

int64 latency_micros = 2;

Returns
Type Description
long

The latencyMicros.

getPercent()

public int getPercent()

Percentage of samples this data point applies to.

int32 percent = 1;

Returns
Type Description
int

The percent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LatencyPercentile other)

public LatencyPercentile.Builder mergeFrom(LatencyPercentile other)
Parameter
Name Description
other LatencyPercentile
Returns
Type Description
LatencyPercentile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LatencyPercentile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyPercentile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LatencyPercentile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LatencyPercentile.Builder
Overrides

setLatencyMicros(long value)

public LatencyPercentile.Builder setLatencyMicros(long value)

percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field.

int64 latency_micros = 2;

Parameter
Name Description
value long

The latencyMicros to set.

Returns
Type Description
LatencyPercentile.Builder

This builder for chaining.

setPercent(int value)

public LatencyPercentile.Builder setPercent(int value)

Percentage of samples this data point applies to.

int32 percent = 1;

Parameter
Name Description
value int

The percent to set.

Returns
Type Description
LatencyPercentile.Builder

This builder for chaining.