Class Router.Bgp.Builder (0.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Router.Bgp build()
Returns
TypeDescription
Router.Bgp

buildPartial()

public Router.Bgp buildPartial()
Returns
TypeDescription
Router.Bgp

clear()

public Router.Bgp.Builder clear()
Returns
TypeDescription
Router.Bgp.Builder
Overrides

clearAsn()

public Router.Bgp.Builder clearAsn()

Locally assigned BGP ASN.

uint32 asn = 1;

Returns
TypeDescription
Router.Bgp.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Router.Bgp.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Router.Bgp.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Router.Bgp.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Router.Bgp.Builder
Overrides

clone()

public Router.Bgp.Builder clone()
Returns
TypeDescription
Router.Bgp.Builder
Overrides

getAsn()

public int getAsn()

Locally assigned BGP ASN.

uint32 asn = 1;

Returns
TypeDescription
int

The asn.

getDefaultInstanceForType()

public Router.Bgp getDefaultInstanceForType()
Returns
TypeDescription
Router.Bgp

getDescriptorForType()

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

The keepaliveIntervalInSeconds.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Router.Bgp other)

public Router.Bgp.Builder mergeFrom(Router.Bgp other)
Parameter
NameDescription
otherRouter.Bgp
Returns
TypeDescription
Router.Bgp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Router.Bgp.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Router.Bgp.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Router.Bgp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Router.Bgp.Builder
Overrides

setAsn(int value)

public Router.Bgp.Builder setAsn(int value)

Locally assigned BGP ASN.

uint32 asn = 1;

Parameter
NameDescription
valueint

The asn to set.

Returns
TypeDescription
Router.Bgp.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Router.Bgp.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The keepaliveIntervalInSeconds to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Router.Bgp.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Router.Bgp.Builder
Overrides