Class RouterStatus.PrefixCounter (0.22.0)

public static final class RouterStatus.PrefixCounter extends GeneratedMessageV3 implements RouterStatus.PrefixCounterOrBuilder

PrefixCounter contains a collection of prefixes related counts.

Protobuf type google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter

Static Fields

ADVERTISED_FIELD_NUMBER

public static final int ADVERTISED_FIELD_NUMBER
Field Value
Type Description
int

DENIED_FIELD_NUMBER

public static final int DENIED_FIELD_NUMBER
Field Value
Type Description
int

RECEIVED_FIELD_NUMBER

public static final int RECEIVED_FIELD_NUMBER
Field Value
Type Description
int

SENT_FIELD_NUMBER

public static final int SENT_FIELD_NUMBER
Field Value
Type Description
int

SUPPRESSED_FIELD_NUMBER

public static final int SUPPRESSED_FIELD_NUMBER
Field Value
Type Description
int

WITHDRAWN_FIELD_NUMBER

public static final int WITHDRAWN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RouterStatus.PrefixCounter getDefaultInstance()
Returns
Type Description
RouterStatus.PrefixCounter

getDescriptor()

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

newBuilder()

public static RouterStatus.PrefixCounter.Builder newBuilder()
Returns
Type Description
RouterStatus.PrefixCounter.Builder

newBuilder(RouterStatus.PrefixCounter prototype)

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

parseDelimitedFrom(InputStream input)

public static RouterStatus.PrefixCounter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterStatus.PrefixCounter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RouterStatus.PrefixCounter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RouterStatus.PrefixCounter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RouterStatus.PrefixCounter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RouterStatus.PrefixCounter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RouterStatus.PrefixCounter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterStatus.PrefixCounter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RouterStatus.PrefixCounter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RouterStatus.PrefixCounter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RouterStatus.PrefixCounter> parser()
Returns
Type Description
Parser<PrefixCounter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdvertised()

public long getAdvertised()

Number of prefixes advertised.

int64 advertised = 1;

Returns
Type Description
long

The advertised.

getDefaultInstanceForType()

public RouterStatus.PrefixCounter getDefaultInstanceForType()
Returns
Type Description
RouterStatus.PrefixCounter

getDenied()

public long getDenied()

Number of prefixes denied.

int64 denied = 2;

Returns
Type Description
long

The denied.

getParserForType()

public Parser<RouterStatus.PrefixCounter> getParserForType()
Returns
Type Description
Parser<PrefixCounter>
Overrides

getReceived()

public long getReceived()

Number of prefixes received.

int64 received = 3;

Returns
Type Description
long

The received.

getSent()

public long getSent()

Number of prefixes sent.

int64 sent = 4;

Returns
Type Description
long

The sent.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSuppressed()

public long getSuppressed()

Number of prefixes suppressed.

int64 suppressed = 5;

Returns
Type Description
long

The suppressed.

getWithdrawn()

public long getWithdrawn()

Number of prefixes withdrawn.

int64 withdrawn = 6;

Returns
Type Description
long

The withdrawn.

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 RouterStatus.PrefixCounter.Builder newBuilderForType()
Returns
Type Description
RouterStatus.PrefixCounter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RouterStatus.PrefixCounter.Builder toBuilder()
Returns
Type Description
RouterStatus.PrefixCounter.Builder

writeTo(CodedOutputStream output)

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