public static final class LatencyDistribution.Builder extends GeneratedMessageV3.Builder<LatencyDistribution.Builder> implements LatencyDistributionOrBuilder
Describes measured latency distribution.
Protobuf type google.cloud.networkmanagement.v1beta1.LatencyDistribution
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllLatencyPercentiles(Iterable<? extends LatencyPercentile> values)
public LatencyDistribution.Builder addAllLatencyPercentiles(Iterable<? extends LatencyPercentile> values)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentile>
|
Returns
addLatencyPercentiles(LatencyPercentile value)
public LatencyDistribution.Builder addLatencyPercentiles(LatencyPercentile value)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
addLatencyPercentiles(LatencyPercentile.Builder builderForValue)
public LatencyDistribution.Builder addLatencyPercentiles(LatencyPercentile.Builder builderForValue)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
addLatencyPercentiles(int index, LatencyPercentile value)
public LatencyDistribution.Builder addLatencyPercentiles(int index, LatencyPercentile value)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameters
Returns
addLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)
public LatencyDistribution.Builder addLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameters
Returns
addLatencyPercentilesBuilder()
public LatencyPercentile.Builder addLatencyPercentilesBuilder()
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Returns
addLatencyPercentilesBuilder(int index)
public LatencyPercentile.Builder addLatencyPercentilesBuilder(int index)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LatencyDistribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LatencyDistribution build()
Returns
buildPartial()
public LatencyDistribution buildPartial()
Returns
clear()
public LatencyDistribution.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LatencyDistribution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLatencyPercentiles()
public LatencyDistribution.Builder clearLatencyPercentiles()
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LatencyDistribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LatencyDistribution.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LatencyDistribution getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLatencyPercentiles(int index)
public LatencyPercentile getLatencyPercentiles(int index)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
getLatencyPercentilesBuilder(int index)
public LatencyPercentile.Builder getLatencyPercentilesBuilder(int index)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
getLatencyPercentilesBuilderList()
public List<LatencyPercentile.Builder> getLatencyPercentilesBuilderList()
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Returns
getLatencyPercentilesCount()
public int getLatencyPercentilesCount()
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Returns
getLatencyPercentilesList()
public List<LatencyPercentile> getLatencyPercentilesList()
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Returns
getLatencyPercentilesOrBuilder(int index)
public LatencyPercentileOrBuilder getLatencyPercentilesOrBuilder(int index)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
getLatencyPercentilesOrBuilderList()
public List<? extends LatencyPercentileOrBuilder> getLatencyPercentilesOrBuilderList()
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Returns
Type | Description |
List<? extends com.google.cloud.networkmanagement.v1beta1.LatencyPercentileOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LatencyDistribution other)
public LatencyDistribution.Builder mergeFrom(LatencyDistribution other)
Parameter
Returns
public LatencyDistribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LatencyDistribution.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LatencyDistribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeLatencyPercentiles(int index)
public LatencyDistribution.Builder removeLatencyPercentiles(int index)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LatencyDistribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLatencyPercentiles(int index, LatencyPercentile value)
public LatencyDistribution.Builder setLatencyPercentiles(int index, LatencyPercentile value)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameters
Returns
setLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)
public LatencyDistribution.Builder setLatencyPercentiles(int index, LatencyPercentile.Builder builderForValue)
Representative latency percentiles.
repeated .google.cloud.networkmanagement.v1beta1.LatencyPercentile latency_percentiles = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LatencyDistribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LatencyDistribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides