Class RouterStatus (0.5.0)

public final class RouterStatus extends GeneratedMessageV3 implements RouterStatusOrBuilder

Describing the current status of a router.

Protobuf type google.cloud.edgenetwork.v1.RouterStatus

Static Fields

BGP_PEER_STATUS_FIELD_NUMBER

public static final int BGP_PEER_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouterStatus getDefaultInstance()
Returns
TypeDescription
RouterStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RouterStatus.Builder newBuilder()
Returns
TypeDescription
RouterStatus.Builder

newBuilder(RouterStatus prototype)

public static RouterStatus.Builder newBuilder(RouterStatus prototype)
Parameter
NameDescription
prototypeRouterStatus
Returns
TypeDescription
RouterStatus.Builder

parseDelimitedFrom(InputStream input)

public static RouterStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RouterStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RouterStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RouterStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RouterStatus> parser()
Returns
TypeDescription
Parser<RouterStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBgpPeerStatus(int index)

public RouterStatus.BgpPeerStatus getBgpPeerStatus(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatus.BgpPeerStatus

getBgpPeerStatusCount()

public int getBgpPeerStatusCount()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
TypeDescription
int

getBgpPeerStatusList()

public List<RouterStatus.BgpPeerStatus> getBgpPeerStatusList()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
TypeDescription
List<BgpPeerStatus>

getBgpPeerStatusOrBuilder(int index)

public RouterStatus.BgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatus.BgpPeerStatusOrBuilder

getBgpPeerStatusOrBuilderList()

public List<? extends RouterStatus.BgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
TypeDescription
List<? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder>

getDefaultInstanceForType()

public RouterStatus getDefaultInstanceForType()
Returns
TypeDescription
RouterStatus

getNetwork()

public String getNetwork()

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for network.

getParserForType()

public Parser<RouterStatus> getParserForType()
Returns
TypeDescription
Parser<RouterStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RouterStatus.Builder newBuilderForType()
Returns
TypeDescription
RouterStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RouterStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RouterStatus.Builder toBuilder()
Returns
TypeDescription
RouterStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException