Class PacketIntervals (1.58.0)

public final class PacketIntervals extends GeneratedMessageV3 implements PacketIntervalsOrBuilder

Next free: 7

Protobuf type google.cloud.compute.v1.PacketIntervals

Static Fields

AVG_MS_FIELD_NUMBER

public static final int AVG_MS_FIELD_NUMBER
Field Value
Type Description
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
Type Description
int

MAX_MS_FIELD_NUMBER

public static final int MAX_MS_FIELD_NUMBER
Field Value
Type Description
int

MIN_MS_FIELD_NUMBER

public static final int MIN_MS_FIELD_NUMBER
Field Value
Type Description
int

NUM_INTERVALS_FIELD_NUMBER

public static final int NUM_INTERVALS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PacketIntervals getDefaultInstance()
Returns
Type Description
PacketIntervals

getDescriptor()

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

newBuilder()

public static PacketIntervals.Builder newBuilder()
Returns
Type Description
PacketIntervals.Builder

newBuilder(PacketIntervals prototype)

public static PacketIntervals.Builder newBuilder(PacketIntervals prototype)
Parameter
Name Description
prototype PacketIntervals
Returns
Type Description
PacketIntervals.Builder

parseDelimitedFrom(InputStream input)

public static PacketIntervals parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PacketIntervals
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketIntervals
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PacketIntervals parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PacketIntervals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketIntervals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PacketIntervals parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PacketIntervals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketIntervals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PacketIntervals parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PacketIntervals
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketIntervals
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PacketIntervals parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PacketIntervals
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketIntervals
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PacketIntervals parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PacketIntervals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketIntervals
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PacketIntervals> parser()
Returns
Type Description
Parser<PacketIntervals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<PacketIntervals> getParserForType()
Returns
Type Description
Parser<PacketIntervals>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PacketIntervals.Builder newBuilderForType()
Returns
Type Description
PacketIntervals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PacketIntervals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PacketIntervals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PacketIntervals.Builder toBuilder()
Returns
Type Description
PacketIntervals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException