Class RouterStatus (1.64.0)

public final class RouterStatus extends GeneratedMessageV3 implements RouterStatusOrBuilder

Protobuf type google.cloud.compute.v1.RouterStatus

Static Fields

BEST_ROUTES_FIELD_NUMBER

public static final int BEST_ROUTES_FIELD_NUMBER
Field Value
Type Description
int

BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER

public static final int BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER
Field Value
Type Description
int

BGP_PEER_STATUS_FIELD_NUMBER

public static final int BGP_PEER_STATUS_FIELD_NUMBER
Field Value
Type Description
int

NAT_STATUS_FIELD_NUMBER

public static final int NAT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RouterStatus getDefaultInstance()
Returns
Type Description
RouterStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RouterStatus.Builder newBuilder()
Returns
Type Description
RouterStatus.Builder

newBuilder(RouterStatus prototype)

public static RouterStatus.Builder newBuilder(RouterStatus prototype)
Parameter
Name Description
prototype RouterStatus
Returns
Type Description
RouterStatus.Builder

parseDelimitedFrom(InputStream input)

public static RouterStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RouterStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RouterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RouterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RouterStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RouterStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RouterStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RouterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RouterStatus> parser()
Returns
Type Description
Parser<RouterStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBestRoutes(int index)

public Route getBestRoutes(int index)

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Parameter
Name Description
index int
Returns
Type Description
Route

getBestRoutesCount()

public int getBestRoutesCount()

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Returns
Type Description
int

getBestRoutesForRouter(int index)

public Route getBestRoutesForRouter(int index)

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Parameter
Name Description
index int
Returns
Type Description
Route

getBestRoutesForRouterCount()

public int getBestRoutesForRouterCount()

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Returns
Type Description
int

getBestRoutesForRouterList()

public List<Route> getBestRoutesForRouterList()

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Returns
Type Description
List<Route>

getBestRoutesForRouterOrBuilder(int index)

public RouteOrBuilder getBestRoutesForRouterOrBuilder(int index)

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Parameter
Name Description
index int
Returns
Type Description
RouteOrBuilder

getBestRoutesForRouterOrBuilderList()

public List<? extends RouteOrBuilder> getBestRoutesForRouterOrBuilderList()

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouteOrBuilder>

getBestRoutesList()

public List<Route> getBestRoutesList()

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Returns
Type Description
List<Route>

getBestRoutesOrBuilder(int index)

public RouteOrBuilder getBestRoutesOrBuilder(int index)

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Parameter
Name Description
index int
Returns
Type Description
RouteOrBuilder

getBestRoutesOrBuilderList()

public List<? extends RouteOrBuilder> getBestRoutesOrBuilderList()

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouteOrBuilder>

getBgpPeerStatus(int index)

public RouterStatusBgpPeerStatus getBgpPeerStatus(int index)

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusBgpPeerStatus

getBgpPeerStatusCount()

public int getBgpPeerStatusCount()

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Returns
Type Description
int

getBgpPeerStatusList()

public List<RouterStatusBgpPeerStatus> getBgpPeerStatusList()

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Returns
Type Description
List<RouterStatusBgpPeerStatus>

getBgpPeerStatusOrBuilder(int index)

public RouterStatusBgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusBgpPeerStatusOrBuilder

getBgpPeerStatusOrBuilderList()

public List<? extends RouterStatusBgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList()

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouterStatusBgpPeerStatusOrBuilder>

getDefaultInstanceForType()

public RouterStatus getDefaultInstanceForType()
Returns
Type Description
RouterStatus

getNatStatus(int index)

public RouterStatusNatStatus getNatStatus(int index)

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusNatStatus

getNatStatusCount()

public int getNatStatusCount()

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Returns
Type Description
int

getNatStatusList()

public List<RouterStatusNatStatus> getNatStatusList()

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Returns
Type Description
List<RouterStatusNatStatus>

getNatStatusOrBuilder(int index)

public RouterStatusNatStatusOrBuilder getNatStatusOrBuilder(int index)

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusNatStatusOrBuilder

getNatStatusOrBuilderList()

public List<? extends RouterStatusNatStatusOrBuilder> getNatStatusOrBuilderList()

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouterStatusNatStatusOrBuilder>

getNetwork()

public String getNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
ByteString

The bytes for network.

getParserForType()

public Parser<RouterStatus> getParserForType()
Returns
Type Description
Parser<RouterStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasNetwork()

public boolean hasNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
boolean

Whether the network field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RouterStatus.Builder newBuilderForType()
Returns
Type Description
RouterStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RouterStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RouterStatus.Builder toBuilder()
Returns
Type Description
RouterStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException