public static final class RouterStatus.BgpPeerStatus extends GeneratedMessageV3 implements RouterStatus.BgpPeerStatusOrBuilder
Status of a BGP peer.
Protobuf type google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PEER_IP_ADDRESS_FIELD_NUMBER
public static final int PEER_IP_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PREFIX_COUNTER_FIELD_NUMBER
public static final int PREFIX_COUNTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPTIME_FIELD_NUMBER
public static final int UPTIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPTIME_SECONDS_FIELD_NUMBER
public static final int UPTIME_SECONDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RouterStatus.BgpPeerStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RouterStatus.BgpPeerStatus.Builder newBuilder()
newBuilder(RouterStatus.BgpPeerStatus prototype)
public static RouterStatus.BgpPeerStatus.Builder newBuilder(RouterStatus.BgpPeerStatus prototype)
public static RouterStatus.BgpPeerStatus parseDelimitedFrom(InputStream input)
public static RouterStatus.BgpPeerStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RouterStatus.BgpPeerStatus parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus.BgpPeerStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RouterStatus.BgpPeerStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus.BgpPeerStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus.BgpPeerStatus parseFrom(CodedInputStream input)
public static RouterStatus.BgpPeerStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RouterStatus.BgpPeerStatus parseFrom(InputStream input)
public static RouterStatus.BgpPeerStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RouterStatus.BgpPeerStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus.BgpPeerStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RouterStatus.BgpPeerStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public RouterStatus.BgpPeerStatus getDefaultInstanceForType()
getIpAddress()
public String getIpAddress()
IP address of the local BGP interface.
string ip_address = 2;
Returns |
---|
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
IP address of the local BGP interface.
string ip_address = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for ipAddress.
|
getName()
Name of this BGP peer. Unique within the Routers resource.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of this BGP peer. Unique within the Routers resource.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<RouterStatus.BgpPeerStatus> getParserForType()
Overrides
getPeerIpAddress()
public String getPeerIpAddress()
IP address of the remote BGP interface.
string peer_ip_address = 3;
Returns |
---|
Type | Description |
String | The peerIpAddress.
|
getPeerIpAddressBytes()
public ByteString getPeerIpAddressBytes()
IP address of the remote BGP interface.
string peer_ip_address = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for peerIpAddress.
|
getPrefixCounter()
public RouterStatus.PrefixCounter getPrefixCounter()
A collection of counts for prefixes.
.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;
getPrefixCounterOrBuilder()
public RouterStatus.PrefixCounterOrBuilder getPrefixCounterOrBuilder()
A collection of counts for prefixes.
.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
BGP state as specified in RFC1771.
string state = 5;
Returns |
---|
Type | Description |
String | The state.
|
getStateBytes()
public ByteString getStateBytes()
BGP state as specified in RFC1771.
string state = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for state.
|
getStatus()
public RouterStatus.BgpPeerStatus.BgpStatus getStatus()
The current status of BGP.
.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4;
getStatusValue()
public int getStatusValue()
The current status of BGP.
.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for status.
|
getUptime()
public String getUptime()
Time this session has been up.
Format:
14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
string uptime = 6;
Returns |
---|
Type | Description |
String | The uptime.
|
getUptimeBytes()
public ByteString getUptimeBytes()
Time this session has been up.
Format:
14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
string uptime = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for uptime.
|
getUptimeSeconds()
public long getUptimeSeconds()
Time this session has been up, in seconds.
int64 uptime_seconds = 7;
Returns |
---|
Type | Description |
long | The uptimeSeconds.
|
hasPrefixCounter()
public boolean hasPrefixCounter()
A collection of counts for prefixes.
.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;
Returns |
---|
Type | Description |
boolean | Whether the prefixCounter field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RouterStatus.BgpPeerStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterStatus.BgpPeerStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RouterStatus.BgpPeerStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides