Class LatencyDistribution.Builder (1.52.0)

public static final class LatencyDistribution.Builder extends GeneratedMessageV3.Builder<LatencyDistribution.Builder> implements LatencyDistributionOrBuilder

Describes measured latency distribution.

Protobuf type google.cloud.networkmanagement.v1.LatencyDistribution

Static Methods

getDescriptor()

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

Methods

addAllLatencyPercentiles(Iterable<? extends LatencyPercentile> values)

public LatencyDistribution.Builder addAllLatencyPercentiles(Iterable<? extends LatencyPercentile> values)

Representative latency percentiles.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkmanagement.v1.LatencyPercentile>
Returns
Type Description
LatencyDistribution.Builder

addLatencyPercentiles(LatencyPercentile value)

public LatencyDistribution.Builder addLatencyPercentiles(LatencyPercentile value)

Representative latency percentiles.

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

Parameter
Name Description
value LatencyPercentile
Returns
Type Description
LatencyDistribution.Builder

addLatencyPercentiles(LatencyPercentile.Builder builderForValue)

public LatencyDistribution.Builder addLatencyPercentiles(LatencyPercentile.Builder builderForValue)

Representative latency percentiles.

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

Parameter
Name Description
builderForValue LatencyPercentile.Builder
Returns
Type Description
LatencyDistribution.Builder

addLatencyPercentiles(int index, LatencyPercentile value)

public LatencyDistribution.Builder addLatencyPercentiles(int index, LatencyPercentile value)

Representative latency percentiles.

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

Parameters
Name Description
index int
value LatencyPercentile
Returns
Type Description
LatencyDistribution.Builder

addLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)

public LatencyDistribution.Builder addLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)

Representative latency percentiles.

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

Parameters
Name Description
index int
builderForValue LatencyPercentile.Builder
Returns
Type Description
LatencyDistribution.Builder

addLatencyPercentilesBuilder()

public LatencyPercentile.Builder addLatencyPercentilesBuilder()

Representative latency percentiles.

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

Returns
Type Description
LatencyPercentile.Builder

addLatencyPercentilesBuilder(int index)

public LatencyPercentile.Builder addLatencyPercentilesBuilder(int index)

Representative latency percentiles.

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

Parameter
Name Description
index int
Returns
Type Description
LatencyPercentile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LatencyDistribution build()
Returns
Type Description
LatencyDistribution

buildPartial()

public LatencyDistribution buildPartial()
Returns
Type Description
LatencyDistribution

clear()

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

clearField(Descriptors.FieldDescriptor field)

public LatencyDistribution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LatencyDistribution.Builder
Overrides

clearLatencyPercentiles()

public LatencyDistribution.Builder clearLatencyPercentiles()

Representative latency percentiles.

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

Returns
Type Description
LatencyDistribution.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LatencyDistribution getDefaultInstanceForType()
Returns
Type Description
LatencyDistribution

getDescriptorForType()

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

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

getLatencyPercentilesBuilder(int index)

public LatencyPercentile.Builder getLatencyPercentilesBuilder(int index)

Representative latency percentiles.

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

Parameter
Name Description
index int
Returns
Type Description
LatencyPercentile.Builder

getLatencyPercentilesBuilderList()

public List<LatencyPercentile.Builder> getLatencyPercentilesBuilderList()

Representative latency percentiles.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LatencyDistribution other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeLatencyPercentiles(int index)

public LatencyDistribution.Builder removeLatencyPercentiles(int index)

Representative latency percentiles.

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

Parameter
Name Description
index int
Returns
Type Description
LatencyDistribution.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLatencyPercentiles(int index, LatencyPercentile value)

public LatencyDistribution.Builder setLatencyPercentiles(int index, LatencyPercentile value)

Representative latency percentiles.

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

Parameters
Name Description
index int
value LatencyPercentile
Returns
Type Description
LatencyDistribution.Builder

setLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)

public LatencyDistribution.Builder setLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)

Representative latency percentiles.

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

Parameters
Name Description
index int
builderForValue LatencyPercentile.Builder
Returns
Type Description
LatencyDistribution.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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