Class LatencyDistribution.Builder (1.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.networkmanagement.v1.LatencyPercentile>
Returns
TypeDescription
LatencyDistribution.Builder

addLatencyPercentiles(LatencyPercentile value)

public LatencyDistribution.Builder addLatencyPercentiles(LatencyPercentile value)

Representative latency percentiles.

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

Parameter
NameDescription
valueLatencyPercentile
Returns
TypeDescription
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
NameDescription
builderForValueLatencyPercentile.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLatencyPercentile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLatencyPercentile.Builder
Returns
TypeDescription
LatencyDistribution.Builder

addLatencyPercentilesBuilder()

public LatencyPercentile.Builder addLatencyPercentilesBuilder()

Representative latency percentiles.

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

Returns
TypeDescription
LatencyPercentile.Builder

addLatencyPercentilesBuilder(int index)

public LatencyPercentile.Builder addLatencyPercentilesBuilder(int index)

Representative latency percentiles.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LatencyPercentile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LatencyDistribution build()
Returns
TypeDescription
LatencyDistribution

buildPartial()

public LatencyDistribution buildPartial()
Returns
TypeDescription
LatencyDistribution

clear()

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

clearField(Descriptors.FieldDescriptor field)

public LatencyDistribution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LatencyDistribution.Builder
Overrides

clearLatencyPercentiles()

public LatencyDistribution.Builder clearLatencyPercentiles()

Representative latency percentiles.

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

Returns
TypeDescription
LatencyDistribution.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LatencyDistribution getDefaultInstanceForType()
Returns
TypeDescription
LatencyDistribution

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLatencyPercentiles(int index)

public LatencyPercentile getLatencyPercentiles(int index)

Representative latency percentiles.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LatencyPercentile

getLatencyPercentilesBuilder(int index)

public LatencyPercentile.Builder getLatencyPercentilesBuilder(int index)

Representative latency percentiles.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LatencyPercentile.Builder

getLatencyPercentilesBuilderList()

public List<LatencyPercentile.Builder> getLatencyPercentilesBuilderList()

Representative latency percentiles.

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

Returns
TypeDescription
List<Builder>

getLatencyPercentilesCount()

public int getLatencyPercentilesCount()

Representative latency percentiles.

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

Returns
TypeDescription
int

getLatencyPercentilesList()

public List<LatencyPercentile> getLatencyPercentilesList()

Representative latency percentiles.

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

Returns
TypeDescription
List<LatencyPercentile>

getLatencyPercentilesOrBuilder(int index)

public LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder(int index)

Representative latency percentiles.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LatencyPercentileOrBuilder

getLatencyPercentilesOrBuilderList()

public List<? extends LatencyPercentileOrBuilder> getLatencyPercentilesOrBuilderList()

Representative latency percentiles.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LatencyDistribution other)

public LatencyDistribution.Builder mergeFrom(LatencyDistribution other)
Parameter
NameDescription
otherLatencyDistribution
Returns
TypeDescription
LatencyDistribution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LatencyDistribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LatencyDistribution.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public LatencyDistribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LatencyDistribution.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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