Class PacketIntervals.Builder (1.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketIntervals build()
Returns
TypeDescription
PacketIntervals

buildPartial()

public PacketIntervals buildPartial()
Returns
TypeDescription
PacketIntervals

clear()

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

clearAvgMs()

public PacketIntervals.Builder clearAvgMs()

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Returns
TypeDescription
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
TypeDescription
PacketIntervals.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMaxMs()

public PacketIntervals.Builder clearMaxMs()

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Returns
TypeDescription
PacketIntervals.Builder

This builder for chaining.

clearMinMs()

public PacketIntervals.Builder clearMinMs()

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Returns
TypeDescription
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
TypeDescription
PacketIntervals.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PacketIntervals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PacketIntervals.Builder

This builder for chaining.

clone()

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

getAvgMs()

public long getAvgMs()

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Returns
TypeDescription
long

The avgMs.

getDefaultInstanceForType()

public PacketIntervals getDefaultInstanceForType()
Returns
TypeDescription
PacketIntervals

getDescriptorForType()

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

The bytes for duration.

getMaxMs()

public long getMaxMs()

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Returns
TypeDescription
long

The maxMs.

getMinMs()

public long getMinMs()

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Returns
TypeDescription
long

The minMs.

getNumIntervals()

public long getNumIntervals()

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

optional int64 num_intervals = 186329813;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for type.

hasAvgMs()

public boolean hasAvgMs()

Average observed inter-packet interval in milliseconds.

optional int64 avg_ms = 204811827;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the duration field is set.

hasMaxMs()

public boolean hasMaxMs()

Maximum observed inter-packet interval in milliseconds.

optional int64 max_ms = 529474145;

Returns
TypeDescription
boolean

Whether the maxMs field is set.

hasMinMs()

public boolean hasMinMs()

Minimum observed inter-packet interval in milliseconds.

optional int64 min_ms = 536564403;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PacketIntervals other)

public PacketIntervals.Builder mergeFrom(PacketIntervals other)
Parameter
NameDescription
otherPacketIntervals
Returns
TypeDescription
PacketIntervals.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The avgMs to set.

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

The duration to set.

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

The bytes for duration to set.

Returns
TypeDescription
PacketIntervals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The maxMs to set.

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

The minMs to set.

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

The numIntervals to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The type to set.

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

The bytes for type to set.

Returns
TypeDescription
PacketIntervals.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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