Class RouterStatus.PrefixCounter.Builder (0.16.0)

public static final class RouterStatus.PrefixCounter.Builder extends GeneratedMessageV3.Builder<RouterStatus.PrefixCounter.Builder> implements RouterStatus.PrefixCounterOrBuilder

PrefixCounter contains a collection of prefixes related counts.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.PrefixCounter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

build()

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

buildPartial()

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

clear()

public RouterStatus.PrefixCounter.Builder clear()
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

clearAdvertised()

public RouterStatus.PrefixCounter.Builder clearAdvertised()

Number of prefixes advertised.

int64 advertised = 1;

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearDenied()

public RouterStatus.PrefixCounter.Builder clearDenied()

Number of prefixes denied.

int64 denied = 2;

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RouterStatus.PrefixCounter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterStatus.PrefixCounter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

clearReceived()

public RouterStatus.PrefixCounter.Builder clearReceived()

Number of prefixes received.

int64 received = 3;

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearSent()

public RouterStatus.PrefixCounter.Builder clearSent()

Number of prefixes sent.

int64 sent = 4;

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearSuppressed()

public RouterStatus.PrefixCounter.Builder clearSuppressed()

Number of prefixes suppressed.

int64 suppressed = 5;

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearWithdrawn()

public RouterStatus.PrefixCounter.Builder clearWithdrawn()

Number of prefixes withdrawn.

int64 withdrawn = 6;

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RouterStatus.PrefixCounter other)

public RouterStatus.PrefixCounter.Builder mergeFrom(RouterStatus.PrefixCounter other)
Parameter
Name Description
other RouterStatus.PrefixCounter
Returns
Type Description
RouterStatus.PrefixCounter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterStatus.PrefixCounter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RouterStatus.PrefixCounter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.PrefixCounter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

setAdvertised(long value)

public RouterStatus.PrefixCounter.Builder setAdvertised(long value)

Number of prefixes advertised.

int64 advertised = 1;

Parameter
Name Description
value long

The advertised to set.

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setDenied(long value)

public RouterStatus.PrefixCounter.Builder setDenied(long value)

Number of prefixes denied.

int64 denied = 2;

Parameter
Name Description
value long

The denied to set.

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.PrefixCounter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

setReceived(long value)

public RouterStatus.PrefixCounter.Builder setReceived(long value)

Number of prefixes received.

int64 received = 3;

Parameter
Name Description
value long

The received to set.

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RouterStatus.PrefixCounter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

setSent(long value)

public RouterStatus.PrefixCounter.Builder setSent(long value)

Number of prefixes sent.

int64 sent = 4;

Parameter
Name Description
value long

The sent to set.

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setSuppressed(long value)

public RouterStatus.PrefixCounter.Builder setSuppressed(long value)

Number of prefixes suppressed.

int64 suppressed = 5;

Parameter
Name Description
value long

The suppressed to set.

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.PrefixCounter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterStatus.PrefixCounter.Builder
Overrides

setWithdrawn(long value)

public RouterStatus.PrefixCounter.Builder setWithdrawn(long value)

Number of prefixes withdrawn.

int64 withdrawn = 6;

Parameter
Name Description
value long

The withdrawn to set.

Returns
Type Description
RouterStatus.PrefixCounter.Builder

This builder for chaining.