Class PacketIntervals.Builder (1.52.0)

public static final class PacketIntervals.Builder extends GeneratedMessageV3.Builder<PacketIntervals.Builder> implements PacketIntervalsOrBuilder

Next free: 7

Protobuf type google.cloud.compute.v1.PacketIntervals

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketIntervals build()
Returns
Type Description
PacketIntervals

buildPartial()

public PacketIntervals buildPartial()
Returns
Type Description
PacketIntervals

clear()

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

clearAvgMs()

public PacketIntervals.Builder clearAvgMs()

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

clearDuration()

public PacketIntervals.Builder clearDuration()

From how long ago in the past these intervals were observed. Check the Duration enum for the list of possible values.

optional string duration = 155471252;

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMaxMs()

public PacketIntervals.Builder clearMaxMs()

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

clearMinMs()

public PacketIntervals.Builder clearMinMs()

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

clearNumIntervals()

public PacketIntervals.Builder clearNumIntervals()

Number of inter-packet intervals from which these statistics were derived.

optional int64 num_intervals = 186329813;

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public PacketIntervals.Builder clearType()

The type of packets for which inter-packet intervals were computed. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

clone()

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

getAvgMs()

public long getAvgMs()

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Returns
Type Description
long

The avgMs.

getDefaultInstanceForType()

public PacketIntervals getDefaultInstanceForType()
Returns
Type Description
PacketIntervals

getDescriptorForType()

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

getDuration()

public String getDuration()

From how long ago in the past these intervals were observed. Check the Duration enum for the list of possible values.

optional string duration = 155471252;

Returns
Type Description
String

The duration.

getDurationBytes()

public ByteString getDurationBytes()

From how long ago in the past these intervals were observed. Check the Duration enum for the list of possible values.

optional string duration = 155471252;

Returns
Type Description
ByteString

The bytes for duration.

getMaxMs()

public long getMaxMs()

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Returns
Type Description
long

The maxMs.

getMinMs()

public long getMinMs()

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Returns
Type Description
long

The minMs.

getNumIntervals()

public long getNumIntervals()

Number of inter-packet intervals from which these statistics were derived.

optional int64 num_intervals = 186329813;

Returns
Type Description
long

The numIntervals.

getType()

public String getType()

The type of packets for which inter-packet intervals were computed. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The type of packets for which inter-packet intervals were computed. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
ByteString

The bytes for type.

hasAvgMs()

public boolean hasAvgMs()

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Returns
Type Description
boolean

Whether the avgMs field is set.

hasDuration()

public boolean hasDuration()

From how long ago in the past these intervals were observed. Check the Duration enum for the list of possible values.

optional string duration = 155471252;

Returns
Type Description
boolean

Whether the duration field is set.

hasMaxMs()

public boolean hasMaxMs()

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Returns
Type Description
boolean

Whether the maxMs field is set.

hasMinMs()

public boolean hasMinMs()

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Returns
Type Description
boolean

Whether the minMs field is set.

hasNumIntervals()

public boolean hasNumIntervals()

Number of inter-packet intervals from which these statistics were derived.

optional int64 num_intervals = 186329813;

Returns
Type Description
boolean

Whether the numIntervals field is set.

hasType()

public boolean hasType()

The type of packets for which inter-packet intervals were computed. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PacketIntervals other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAvgMs(long value)

public PacketIntervals.Builder setAvgMs(long value)

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Parameter
Name Description
value long

The avgMs to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setDuration(String value)

public PacketIntervals.Builder setDuration(String value)

From how long ago in the past these intervals were observed. Check the Duration enum for the list of possible values.

optional string duration = 155471252;

Parameter
Name Description
value String

The duration to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setDurationBytes(ByteString value)

public PacketIntervals.Builder setDurationBytes(ByteString value)

From how long ago in the past these intervals were observed. Check the Duration enum for the list of possible values.

optional string duration = 155471252;

Parameter
Name Description
value ByteString

The bytes for duration to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxMs(long value)

public PacketIntervals.Builder setMaxMs(long value)

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Parameter
Name Description
value long

The maxMs to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setMinMs(long value)

public PacketIntervals.Builder setMinMs(long value)

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Parameter
Name Description
value long

The minMs to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setNumIntervals(long value)

public PacketIntervals.Builder setNumIntervals(long value)

Number of inter-packet intervals from which these statistics were derived.

optional int64 num_intervals = 186329813;

Parameter
Name Description
value long

The numIntervals to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

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

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

setType(String value)

public PacketIntervals.Builder setType(String value)

The type of packets for which inter-packet intervals were computed. Check the Type enum for the list of possible values.

optional string type = 3575610;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public PacketIntervals.Builder setTypeBytes(ByteString value)

The type of packets for which inter-packet intervals were computed. Check the Type enum for the list of possible values.

optional string type = 3575610;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
PacketIntervals.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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