Class LatencyPercentile.Builder (1.55.0)

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

Latency percentile rank and value.

Protobuf type google.cloud.networkmanagement.v1beta1.LatencyPercentile

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LatencyPercentile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LatencyPercentile.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public LatencyPercentile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public LatencyPercentile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LatencyPercentile.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LatencyPercentile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LatencyPercentile.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LatencyPercentile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LatencyPercentile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LatencyPercentile.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LatencyPercentile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LatencyPercentile.Builder
Overrides