Class RouterStatus.PrefixCounter (0.1.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
TypeDescription
int

DENIED_FIELD_NUMBER

public static final int DENIED_FIELD_NUMBER
Field Value
TypeDescription
int

RECEIVED_FIELD_NUMBER

public static final int RECEIVED_FIELD_NUMBER
Field Value
TypeDescription
int

SENT_FIELD_NUMBER

public static final int SENT_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPRESSED_FIELD_NUMBER

public static final int SUPPRESSED_FIELD_NUMBER
Field Value
TypeDescription
int

WITHDRAWN_FIELD_NUMBER

public static final int WITHDRAWN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouterStatus.PrefixCounter getDefaultInstance()
Returns
TypeDescription
RouterStatus.PrefixCounter

getDescriptor()

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

newBuilder()

public static RouterStatus.PrefixCounter.Builder newBuilder()
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

newBuilder(RouterStatus.PrefixCounter prototype)

public static RouterStatus.PrefixCounter.Builder newBuilder(RouterStatus.PrefixCounter prototype)
Parameter
NameDescription
prototypeRouterStatus.PrefixCounter
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

parseDelimitedFrom(InputStream input)

public static RouterStatus.PrefixCounter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterStatus.PrefixCounter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RouterStatus.PrefixCounter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RouterStatus.PrefixCounter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RouterStatus.PrefixCounter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RouterStatus.PrefixCounter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RouterStatus.PrefixCounter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterStatus.PrefixCounter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RouterStatus.PrefixCounter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RouterStatus.PrefixCounter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAdvertised()

public long getAdvertised()

Number of prefixes advertised.

int64 advertised = 1;

Returns
TypeDescription
long

The advertised.

getDefaultInstanceForType()

public RouterStatus.PrefixCounter getDefaultInstanceForType()
Returns
TypeDescription
RouterStatus.PrefixCounter

getDenied()

public long getDenied()

Number of prefixes denied.

int64 denied = 2;

Returns
TypeDescription
long

The denied.

getParserForType()

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

getReceived()

public long getReceived()

Number of prefixes received.

int64 received = 3;

Returns
TypeDescription
long

The received.

getSent()

public long getSent()

Number of prefixes sent.

int64 sent = 4;

Returns
TypeDescription
long

The sent.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSuppressed()

public long getSuppressed()

Number of prefixes suppressed.

int64 suppressed = 5;

Returns
TypeDescription
long

The suppressed.

getWithdrawn()

public long getWithdrawn()

Number of prefixes withdrawn.

int64 withdrawn = 6;

Returns
TypeDescription
long

The withdrawn.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RouterStatus.PrefixCounter.Builder toBuilder()
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

writeTo(CodedOutputStream output)

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