Class Router.Bgp.Builder (0.10.0)

public static final class Router.Bgp.Builder extends GeneratedMessageV3.Builder<Router.Bgp.Builder> implements Router.BgpOrBuilder

BGP information specific to this router.

Protobuf type google.cloud.edgenetwork.v1.Router.Bgp

Implements

Router.BgpOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Router.Bgp build()
Returns
Type Description
Router.Bgp

buildPartial()

public Router.Bgp buildPartial()
Returns
Type Description
Router.Bgp

clear()

public Router.Bgp.Builder clear()
Returns
Type Description
Router.Bgp.Builder
Overrides

clearAsn()

public Router.Bgp.Builder clearAsn()

Locally assigned BGP ASN.

uint32 asn = 1;

Returns
Type Description
Router.Bgp.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Router.Bgp.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Router.Bgp.Builder
Overrides

clearKeepaliveIntervalInSeconds()

public Router.Bgp.Builder clearKeepaliveIntervalInSeconds()

The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.

uint32 keepalive_interval_in_seconds = 2;

Returns
Type Description
Router.Bgp.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Router.Bgp.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Router.Bgp.Builder
Overrides

clone()

public Router.Bgp.Builder clone()
Returns
Type Description
Router.Bgp.Builder
Overrides

getAsn()

public int getAsn()

Locally assigned BGP ASN.

uint32 asn = 1;

Returns
Type Description
int

The asn.

getDefaultInstanceForType()

public Router.Bgp getDefaultInstanceForType()
Returns
Type Description
Router.Bgp

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeepaliveIntervalInSeconds()

public int getKeepaliveIntervalInSeconds()

The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.

uint32 keepalive_interval_in_seconds = 2;

Returns
Type Description
int

The keepaliveIntervalInSeconds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Router.Bgp other)

public Router.Bgp.Builder mergeFrom(Router.Bgp other)
Parameter
Name Description
other Router.Bgp
Returns
Type Description
Router.Bgp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Router.Bgp.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Router.Bgp.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Router.Bgp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Router.Bgp.Builder
Overrides

setAsn(int value)

public Router.Bgp.Builder setAsn(int value)

Locally assigned BGP ASN.

uint32 asn = 1;

Parameter
Name Description
value int

The asn to set.

Returns
Type Description
Router.Bgp.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeepaliveIntervalInSeconds(int value)

public Router.Bgp.Builder setKeepaliveIntervalInSeconds(int value)

The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.

uint32 keepalive_interval_in_seconds = 2;

Parameter
Name Description
value int

The keepaliveIntervalInSeconds to set.

Returns
Type Description
Router.Bgp.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Router.Bgp.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Router.Bgp.Builder
Overrides