Class RouterStatus.PrefixCounter.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.PrefixCounter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

build()

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

buildPartial()

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

clear()

public RouterStatus.PrefixCounter.Builder clear()
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

clearAdvertised()

public RouterStatus.PrefixCounter.Builder clearAdvertised()

Number of prefixes advertised.

int64 advertised = 1;

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearDenied()

public RouterStatus.PrefixCounter.Builder clearDenied()

Number of prefixes denied.

int64 denied = 2;

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RouterStatus.PrefixCounter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterStatus.PrefixCounter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

clearReceived()

public RouterStatus.PrefixCounter.Builder clearReceived()

Number of prefixes received.

int64 received = 3;

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearSent()

public RouterStatus.PrefixCounter.Builder clearSent()

Number of prefixes sent.

int64 sent = 4;

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearSuppressed()

public RouterStatus.PrefixCounter.Builder clearSuppressed()

Number of prefixes suppressed.

int64 suppressed = 5;

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clearWithdrawn()

public RouterStatus.PrefixCounter.Builder clearWithdrawn()

Number of prefixes withdrawn.

int64 withdrawn = 6;

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RouterStatus.PrefixCounter other)

public RouterStatus.PrefixCounter.Builder mergeFrom(RouterStatus.PrefixCounter other)
Parameter
NameDescription
otherRouterStatus.PrefixCounter
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterStatus.PrefixCounter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RouterStatus.PrefixCounter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.PrefixCounter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

setAdvertised(long value)

public RouterStatus.PrefixCounter.Builder setAdvertised(long value)

Number of prefixes advertised.

int64 advertised = 1;

Parameter
NameDescription
valuelong

The advertised to set.

Returns
TypeDescription
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
NameDescription
valuelong

The denied to set.

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.PrefixCounter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

setReceived(long value)

public RouterStatus.PrefixCounter.Builder setReceived(long value)

Number of prefixes received.

int64 received = 3;

Parameter
NameDescription
valuelong

The received to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

setSent(long value)

public RouterStatus.PrefixCounter.Builder setSent(long value)

Number of prefixes sent.

int64 sent = 4;

Parameter
NameDescription
valuelong

The sent to set.

Returns
TypeDescription
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
NameDescription
valuelong

The suppressed to set.

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.PrefixCounter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterStatus.PrefixCounter.Builder
Overrides

setWithdrawn(long value)

public RouterStatus.PrefixCounter.Builder setWithdrawn(long value)

Number of prefixes withdrawn.

int64 withdrawn = 6;

Parameter
NameDescription
valuelong

The withdrawn to set.

Returns
TypeDescription
RouterStatus.PrefixCounter.Builder

This builder for chaining.