Package com.google.cloud.compute.v1
Class RouterStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.RouterStatus
-
- All Implemented Interfaces:
RouterStatusOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class RouterStatus extends com.google.protobuf.GeneratedMessageV3 implements RouterStatusOrBuilder
google.cloud.compute.v1.RouterStatus
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RouterStatus.Builder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
BEST_ROUTES_FIELD_NUMBER
static int
BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER
static int
BGP_PEER_STATUS_FIELD_NUMBER
static int
NAT_STATUS_FIELD_NUMBER
static int
NETWORK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Route
getBestRoutes(int index)
Best routes for this router's network.int
getBestRoutesCount()
Best routes for this router's network.Route
getBestRoutesForRouter(int index)
Best routes learned by this router.int
getBestRoutesForRouterCount()
Best routes learned by this router.List<Route>
getBestRoutesForRouterList()
Best routes learned by this router.RouteOrBuilder
getBestRoutesForRouterOrBuilder(int index)
Best routes learned by this router.List<? extends RouteOrBuilder>
getBestRoutesForRouterOrBuilderList()
Best routes learned by this router.List<Route>
getBestRoutesList()
Best routes for this router's network.RouteOrBuilder
getBestRoutesOrBuilder(int index)
Best routes for this router's network.List<? extends RouteOrBuilder>
getBestRoutesOrBuilderList()
Best routes for this router's network.RouterStatusBgpPeerStatus
getBgpPeerStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
int
getBgpPeerStatusCount()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
List<RouterStatusBgpPeerStatus>
getBgpPeerStatusList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
RouterStatusBgpPeerStatusOrBuilder
getBgpPeerStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
List<? extends RouterStatusBgpPeerStatusOrBuilder>
getBgpPeerStatusOrBuilderList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
static RouterStatus
getDefaultInstance()
RouterStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
RouterStatusNatStatus
getNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
int
getNatStatusCount()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
List<RouterStatusNatStatus>
getNatStatusList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
RouterStatusNatStatusOrBuilder
getNatStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
List<? extends RouterStatusNatStatusOrBuilder>
getNatStatusOrBuilderList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
String
getNetwork()
URI of the network to which this router belongs.com.google.protobuf.ByteString
getNetworkBytes()
URI of the network to which this router belongs.com.google.protobuf.Parser<RouterStatus>
getParserForType()
int
getSerializedSize()
int
hashCode()
boolean
hasNetwork()
URI of the network to which this router belongs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static RouterStatus.Builder
newBuilder()
static RouterStatus.Builder
newBuilder(RouterStatus prototype)
RouterStatus.Builder
newBuilderForType()
protected RouterStatus.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RouterStatus
parseDelimitedFrom(InputStream input)
static RouterStatus
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterStatus
parseFrom(byte[] data)
static RouterStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterStatus
parseFrom(com.google.protobuf.ByteString data)
static RouterStatus
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterStatus
parseFrom(com.google.protobuf.CodedInputStream input)
static RouterStatus
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterStatus
parseFrom(InputStream input)
static RouterStatus
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterStatus
parseFrom(ByteBuffer data)
static RouterStatus
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RouterStatus>
parser()
RouterStatus.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BEST_ROUTES_FIELD_NUMBER
public static final int BEST_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER
public static final int BEST_ROUTES_FOR_ROUTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BGP_PEER_STATUS_FIELD_NUMBER
public static final int BGP_PEER_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAT_STATUS_FIELD_NUMBER
public static final int NAT_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getBestRoutesList
public List<Route> getBestRoutesList()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
- Specified by:
getBestRoutesList
in interfaceRouterStatusOrBuilder
-
getBestRoutesOrBuilderList
public List<? extends RouteOrBuilder> getBestRoutesOrBuilderList()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
- Specified by:
getBestRoutesOrBuilderList
in interfaceRouterStatusOrBuilder
-
getBestRoutesCount
public int getBestRoutesCount()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
- Specified by:
getBestRoutesCount
in interfaceRouterStatusOrBuilder
-
getBestRoutes
public Route getBestRoutes(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
- Specified by:
getBestRoutes
in interfaceRouterStatusOrBuilder
-
getBestRoutesOrBuilder
public RouteOrBuilder getBestRoutesOrBuilder(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
- Specified by:
getBestRoutesOrBuilder
in interfaceRouterStatusOrBuilder
-
getBestRoutesForRouterList
public List<Route> getBestRoutesForRouterList()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
- Specified by:
getBestRoutesForRouterList
in interfaceRouterStatusOrBuilder
-
getBestRoutesForRouterOrBuilderList
public List<? extends RouteOrBuilder> getBestRoutesForRouterOrBuilderList()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
- Specified by:
getBestRoutesForRouterOrBuilderList
in interfaceRouterStatusOrBuilder
-
getBestRoutesForRouterCount
public int getBestRoutesForRouterCount()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
- Specified by:
getBestRoutesForRouterCount
in interfaceRouterStatusOrBuilder
-
getBestRoutesForRouter
public Route getBestRoutesForRouter(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
- Specified by:
getBestRoutesForRouter
in interfaceRouterStatusOrBuilder
-
getBestRoutesForRouterOrBuilder
public RouteOrBuilder getBestRoutesForRouterOrBuilder(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
- Specified by:
getBestRoutesForRouterOrBuilder
in interfaceRouterStatusOrBuilder
-
getBgpPeerStatusList
public List<RouterStatusBgpPeerStatus> getBgpPeerStatusList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
- Specified by:
getBgpPeerStatusList
in interfaceRouterStatusOrBuilder
-
getBgpPeerStatusOrBuilderList
public List<? extends RouterStatusBgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
- Specified by:
getBgpPeerStatusOrBuilderList
in interfaceRouterStatusOrBuilder
-
getBgpPeerStatusCount
public int getBgpPeerStatusCount()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
- Specified by:
getBgpPeerStatusCount
in interfaceRouterStatusOrBuilder
-
getBgpPeerStatus
public RouterStatusBgpPeerStatus getBgpPeerStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
- Specified by:
getBgpPeerStatus
in interfaceRouterStatusOrBuilder
-
getBgpPeerStatusOrBuilder
public RouterStatusBgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
- Specified by:
getBgpPeerStatusOrBuilder
in interfaceRouterStatusOrBuilder
-
getNatStatusList
public List<RouterStatusNatStatus> getNatStatusList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
- Specified by:
getNatStatusList
in interfaceRouterStatusOrBuilder
-
getNatStatusOrBuilderList
public List<? extends RouterStatusNatStatusOrBuilder> getNatStatusOrBuilderList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
- Specified by:
getNatStatusOrBuilderList
in interfaceRouterStatusOrBuilder
-
getNatStatusCount
public int getNatStatusCount()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
- Specified by:
getNatStatusCount
in interfaceRouterStatusOrBuilder
-
getNatStatus
public RouterStatusNatStatus getNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
- Specified by:
getNatStatus
in interfaceRouterStatusOrBuilder
-
getNatStatusOrBuilder
public RouterStatusNatStatusOrBuilder getNatStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
- Specified by:
getNatStatusOrBuilder
in interfaceRouterStatusOrBuilder
-
hasNetwork
public boolean hasNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
- Specified by:
hasNetwork
in interfaceRouterStatusOrBuilder
- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
- Specified by:
getNetwork
in interfaceRouterStatusOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
URI of the network to which this router belongs.
optional string network = 232872494;
- Specified by:
getNetworkBytes
in interfaceRouterStatusOrBuilder
- Returns:
- The bytes for network.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RouterStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouterStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouterStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RouterStatus.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RouterStatus.Builder newBuilder()
-
newBuilder
public static RouterStatus.Builder newBuilder(RouterStatus prototype)
-
toBuilder
public RouterStatus.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouterStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RouterStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RouterStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<RouterStatus> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RouterStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-