public static final class RouterStatus.Builder extends GeneratedMessageV3.Builder<RouterStatus.Builder> implements RouterStatusOrBuilder
Protobuf type google.cloud.compute.v1.RouterStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllBestRoutes(Iterable<? extends Route> values)
public RouterStatus.Builder addAllBestRoutes(Iterable<? extends Route> values)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Route>
|
Returns
addAllBestRoutesForRouter(Iterable<? extends Route> values)
public RouterStatus.Builder addAllBestRoutesForRouter(Iterable<? extends Route> values)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Route>
|
Returns
addAllBgpPeerStatus(Iterable<? extends RouterStatusBgpPeerStatus> values)
public RouterStatus.Builder addAllBgpPeerStatus(Iterable<? extends RouterStatusBgpPeerStatus> values)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.RouterStatusBgpPeerStatus>
|
Returns
addAllNatStatus(Iterable<? extends RouterStatusNatStatus> values)
public RouterStatus.Builder addAllNatStatus(Iterable<? extends RouterStatusNatStatus> values)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.RouterStatusNatStatus>
|
Returns
addBestRoutes(Route value)
public RouterStatus.Builder addBestRoutes(Route value)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Name | Description |
value | Route
|
Returns
addBestRoutes(Route.Builder builderForValue)
public RouterStatus.Builder addBestRoutes(Route.Builder builderForValue)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Returns
addBestRoutes(int index, Route value)
public RouterStatus.Builder addBestRoutes(int index, Route value)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameters
Returns
addBestRoutes(int index, Route.Builder builderForValue)
public RouterStatus.Builder addBestRoutes(int index, Route.Builder builderForValue)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameters
Returns
addBestRoutesBuilder()
public Route.Builder addBestRoutesBuilder()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Returns
addBestRoutesBuilder(int index)
public Route.Builder addBestRoutesBuilder(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Returns
addBestRoutesForRouter(Route value)
public RouterStatus.Builder addBestRoutesForRouter(Route value)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Name | Description |
value | Route
|
Returns
addBestRoutesForRouter(Route.Builder builderForValue)
public RouterStatus.Builder addBestRoutesForRouter(Route.Builder builderForValue)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Returns
addBestRoutesForRouter(int index, Route value)
public RouterStatus.Builder addBestRoutesForRouter(int index, Route value)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameters
Returns
addBestRoutesForRouter(int index, Route.Builder builderForValue)
public RouterStatus.Builder addBestRoutesForRouter(int index, Route.Builder builderForValue)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameters
Returns
addBestRoutesForRouterBuilder()
public Route.Builder addBestRoutesForRouterBuilder()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Returns
addBestRoutesForRouterBuilder(int index)
public Route.Builder addBestRoutesForRouterBuilder(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Returns
addBgpPeerStatus(RouterStatusBgpPeerStatus value)
public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus value)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Returns
addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)
public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Returns
addBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
public RouterStatus.Builder addBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameters
Returns
addBgpPeerStatus(int index, RouterStatusBgpPeerStatus.Builder builderForValue)
public RouterStatus.Builder addBgpPeerStatus(int index, RouterStatusBgpPeerStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameters
Returns
addBgpPeerStatusBuilder()
public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Returns
addBgpPeerStatusBuilder(int index)
public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Returns
addNatStatus(RouterStatusNatStatus value)
public RouterStatus.Builder addNatStatus(RouterStatusNatStatus value)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
addNatStatus(RouterStatusNatStatus.Builder builderForValue)
public RouterStatus.Builder addNatStatus(RouterStatusNatStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
addNatStatus(int index, RouterStatusNatStatus value)
public RouterStatus.Builder addNatStatus(int index, RouterStatusNatStatus value)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameters
Returns
addNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
public RouterStatus.Builder addNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameters
Returns
addNatStatusBuilder()
public RouterStatusNatStatus.Builder addNatStatusBuilder()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Returns
addNatStatusBuilder(int index)
public RouterStatusNatStatus.Builder addNatStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RouterStatus build()
Returns
buildPartial()
public RouterStatus buildPartial()
Returns
clear()
public RouterStatus.Builder clear()
Returns
Overrides
clearBestRoutes()
public RouterStatus.Builder clearBestRoutes()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Returns
clearBestRoutesForRouter()
public RouterStatus.Builder clearBestRoutesForRouter()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Returns
clearBgpPeerStatus()
public RouterStatus.Builder clearBgpPeerStatus()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Returns
clearField(Descriptors.FieldDescriptor field)
public RouterStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNatStatus()
public RouterStatus.Builder clearNatStatus()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Returns
clearNetwork()
public RouterStatus.Builder clearNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public RouterStatus.Builder clone()
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
getBestRoutesBuilder(int index)
public Route.Builder getBestRoutesBuilder(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Returns
getBestRoutesBuilderList()
public List<Route.Builder> getBestRoutesBuilderList()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
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
getBestRoutesForRouterBuilder(int index)
public Route.Builder getBestRoutesForRouterBuilder(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Returns
getBestRoutesForRouterBuilderList()
public List<Route.Builder> getBestRoutesForRouterBuilderList()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
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
getBgpPeerStatusBuilder(int index)
public RouterStatusBgpPeerStatus.Builder getBgpPeerStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Returns
getBgpPeerStatusBuilderList()
public List<RouterStatusBgpPeerStatus.Builder> getBgpPeerStatusBuilderList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNatStatus(int index)
public RouterStatusNatStatus getNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
getNatStatusBuilder(int index)
public RouterStatusNatStatus.Builder getNatStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
getNatStatusBuilderList()
public List<RouterStatusNatStatus.Builder> getNatStatusBuilderList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RouterStatus other)
public RouterStatus.Builder mergeFrom(RouterStatus other)
Parameter
Returns
public RouterStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RouterStatus.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeBestRoutes(int index)
public RouterStatus.Builder removeBestRoutes(int index)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameter
Returns
removeBestRoutesForRouter(int index)
public RouterStatus.Builder removeBestRoutesForRouter(int index)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameter
Returns
removeBgpPeerStatus(int index)
public RouterStatus.Builder removeBgpPeerStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter
Returns
removeNatStatus(int index)
public RouterStatus.Builder removeNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter
Returns
setBestRoutes(int index, Route value)
public RouterStatus.Builder setBestRoutes(int index, Route value)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameters
Returns
setBestRoutes(int index, Route.Builder builderForValue)
public RouterStatus.Builder setBestRoutes(int index, Route.Builder builderForValue)
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Parameters
Returns
setBestRoutesForRouter(int index, Route value)
public RouterStatus.Builder setBestRoutesForRouter(int index, Route value)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameters
Returns
setBestRoutesForRouter(int index, Route.Builder builderForValue)
public RouterStatus.Builder setBestRoutesForRouter(int index, Route.Builder builderForValue)
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Parameters
Returns
setBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
public RouterStatus.Builder setBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameters
Returns
setBgpPeerStatus(int index, RouterStatusBgpPeerStatus.Builder builderForValue)
public RouterStatus.Builder setBgpPeerStatus(int index, RouterStatusBgpPeerStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RouterStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNatStatus(int index, RouterStatusNatStatus value)
public RouterStatus.Builder setNatStatus(int index, RouterStatusNatStatus value)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameters
Returns
setNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
public RouterStatus.Builder setNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameters
Returns
setNetwork(String value)
public RouterStatus.Builder setNetwork(String value)
URI of the network to which this router belongs.
optional string network = 232872494;
Parameter
Name | Description |
value | String
The network to set.
|
Returns
setNetworkBytes(ByteString value)
public RouterStatus.Builder setNetworkBytes(ByteString value)
URI of the network to which this router belongs.
optional string network = 232872494;
Parameter
Name | Description |
value | ByteString
The bytes for network to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides