Class PacketIntervals (1.51.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
TypeDescription
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_MS_FIELD_NUMBER

public static final int MAX_MS_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_MS_FIELD_NUMBER

public static final int MIN_MS_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_INTERVALS_FIELD_NUMBER

public static final int NUM_INTERVALS_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PacketIntervals getDefaultInstance()
Returns
TypeDescription
PacketIntervals

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PacketIntervals.Builder newBuilder()
Returns
TypeDescription
PacketIntervals.Builder

newBuilder(PacketIntervals prototype)

public static PacketIntervals.Builder newBuilder(PacketIntervals prototype)
Parameter
NameDescription
prototypePacketIntervals
Returns
TypeDescription
PacketIntervals.Builder

parseDelimitedFrom(InputStream input)

public static PacketIntervals parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PacketIntervals parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PacketIntervals parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PacketIntervals parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PacketIntervals parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PacketIntervals parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PacketIntervals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketIntervals
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PacketIntervals> parser()
Returns
TypeDescription
Parser<PacketIntervals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<PacketIntervals> getParserForType()
Returns
TypeDescription
Parser<PacketIntervals>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PacketIntervals.Builder newBuilderForType()
Returns
TypeDescription
PacketIntervals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PacketIntervals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PacketIntervals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PacketIntervals.Builder toBuilder()
Returns
TypeDescription
PacketIntervals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException