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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Router.Bgp.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Router.Bgp build()
buildPartial()
public Router.Bgp buildPartial()
clear()
public Router.Bgp.Builder clear()
Overrides
clearAsn()
public Router.Bgp.Builder clearAsn()
Locally assigned BGP ASN.
uint32 asn = 1;
clearField(Descriptors.FieldDescriptor field)
public Router.Bgp.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Router.Bgp.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Router.Bgp.Builder clone()
Overrides
getAsn()
Locally assigned BGP ASN.
uint32 asn = 1;
Returns |
Type |
Description |
int |
The asn.
|
getDefaultInstanceForType()
public Router.Bgp getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Router.Bgp other)
public Router.Bgp.Builder mergeFrom(Router.Bgp other)
public Router.Bgp.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Router.Bgp.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Router.Bgp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Router.Bgp.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Router.Bgp.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Router.Bgp.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides