Class LatencyPercentile.Builder (1.41.0)

public static final class LatencyPercentile.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LatencyPercentile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

build()

public LatencyPercentile build()
Returns
TypeDescription
LatencyPercentile

buildPartial()

public LatencyPercentile buildPartial()
Returns
TypeDescription
LatencyPercentile

clear()

public LatencyPercentile.Builder clear()
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LatencyPercentile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LatencyPercentile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LatencyPercentile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

clearPercent()

public LatencyPercentile.Builder clearPercent()

Percentage of samples this data point applies to.

int32 percent = 1;

Returns
TypeDescription
LatencyPercentile.Builder

This builder for chaining.

clone()

public LatencyPercentile.Builder clone()
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

getDefaultInstanceForType()

public LatencyPercentile getDefaultInstanceForType()
Returns
TypeDescription
LatencyPercentile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
long

The latencyMicros.

getPercent()

public int getPercent()

Percentage of samples this data point applies to.

int32 percent = 1;

Returns
TypeDescription
int

The percent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LatencyPercentile other)

public LatencyPercentile.Builder mergeFrom(LatencyPercentile other)
Parameter
NameDescription
otherLatencyPercentile
Returns
TypeDescription
LatencyPercentile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LatencyPercentile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LatencyPercentile.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LatencyPercentile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LatencyPercentile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LatencyPercentile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The latencyMicros to set.

Returns
TypeDescription
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
NameDescription
valueint

The percent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LatencyPercentile.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LatencyPercentile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LatencyPercentile.Builder
Overrides