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
BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER
public static final int BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER
Field Value
BGP_PEER_STATUS_FIELD_NUMBER
public static final int BGP_PEER_STATUS_FIELD_NUMBER
Field Value
NAT_STATUS_FIELD_NUMBER
public static final int NAT_STATUS_FIELD_NUMBER
Field Value
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RouterStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RouterStatus.Builder newBuilder()
Returns
newBuilder(RouterStatus prototype)
public static RouterStatus.Builder newBuilder(RouterStatus prototype)
Parameter
Returns
public static RouterStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RouterStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RouterStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RouterStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RouterStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RouterStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBestRoutes(int index)
public Route getBestRoutes(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Returns
getBestRoutesCount()
public int getBestRoutesCount()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Returns
getBestRoutesForRouter(int index)
public Route getBestRoutesForRouter(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Returns
getBestRoutesForRouterCount()
public int getBestRoutesForRouterCount()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Returns
getBestRoutesForRouterList()
public List<Route> getBestRoutesForRouterList()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Returns
getBestRoutesForRouterOrBuilder(int index)
public RouteOrBuilder getBestRoutesForRouterOrBuilder(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Returns
getBestRoutesForRouterOrBuilderList()
public List<? extends RouteOrBuilder> getBestRoutesForRouterOrBuilderList()
Best routes learned by this 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()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Returns
getBestRoutesOrBuilder(int index)
public RouteOrBuilder getBestRoutesOrBuilder(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Returns
getBestRoutesOrBuilderList()
public List<? extends RouteOrBuilder> getBestRoutesOrBuilderList()
Best routes for this router's network.
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
Returns
getBgpPeerStatusCount()
public int getBgpPeerStatusCount()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Returns
getBgpPeerStatusList()
public List<RouterStatusBgpPeerStatus> getBgpPeerStatusList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Returns
getBgpPeerStatusOrBuilder(int index)
public RouterStatusBgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Returns
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
getNatStatus(int index)
public RouterStatusNatStatus getNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
getNatStatusCount()
public int getNatStatusCount()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Returns
getNatStatusList()
public List<RouterStatusNatStatus> getNatStatusList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Returns
getNatStatusOrBuilder(int index)
public RouterStatusNatStatusOrBuilder getNatStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
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
getParserForType()
public Parser<RouterStatus> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RouterStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RouterStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions