public static final class Router.Bgp extends GeneratedMessageV3 implements Router.BgpOrBuilder
BGP information specific to this router.
Protobuf type google.cloud.edgenetwork.v1.Router.Bgp
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Router.BgpImplements
Router.BgpOrBuilderStatic Fields
ASN_FIELD_NUMBER
public static final int ASN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
KEEPALIVE_INTERVAL_IN_SECONDS_FIELD_NUMBER
public static final int KEEPALIVE_INTERVAL_IN_SECONDS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Router.Bgp getDefaultInstance()
Returns | |
---|---|
Type | Description |
Router.Bgp |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Router.Bgp.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Router.Bgp.Builder |
newBuilder(Router.Bgp prototype)
public static Router.Bgp.Builder newBuilder(Router.Bgp prototype)
Parameter | |
---|---|
Name | Description |
prototype | Router.Bgp |
Returns | |
---|---|
Type | Description |
Router.Bgp.Builder |
parseDelimitedFrom(InputStream input)
public static Router.Bgp parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Router.Bgp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Router.Bgp parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Router.Bgp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Router.Bgp parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Router.Bgp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Router.Bgp parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Router.Bgp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Router.Bgp parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Router.Bgp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Router.Bgp parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Router.Bgp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Router.Bgp |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Router.Bgp> parser()
Returns | |
---|---|
Type | Description |
Parser<Bgp> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
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. |
getParserForType()
public Parser<Router.Bgp> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Bgp> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Router.Bgp.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Router.Bgp.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Router.Bgp.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Router.Bgp.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Router.Bgp.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Router.Bgp.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |