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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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>
|
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>
|
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>
|
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
|
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;
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 |
---|
Name | Description |
index | int
|
value | Route
|
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;
addBestRoutesBuilder()
public Route.Builder addBestRoutesBuilder()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
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 |
---|
Name | Description |
index | int
|
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
|
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;
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 |
---|
Name | Description |
index | int
|
value | Route
|
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;
addBestRoutesForRouterBuilder()
public Route.Builder addBestRoutesForRouterBuilder()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
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 |
---|
Name | Description |
index | int
|
addBgpPeerStatus(RouterStatusBgpPeerStatus value)
public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus value)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)
public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
addBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
public RouterStatus.Builder addBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
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;
addBgpPeerStatusBuilder()
public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
addBgpPeerStatusBuilder(int index)
public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter |
---|
Name | Description |
index | int
|
addNatStatus(RouterStatusNatStatus value)
public RouterStatus.Builder addNatStatus(RouterStatusNatStatus value)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
addNatStatus(RouterStatusNatStatus.Builder builderForValue)
public RouterStatus.Builder addNatStatus(RouterStatusNatStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
addNatStatus(int index, RouterStatusNatStatus value)
public RouterStatus.Builder addNatStatus(int index, RouterStatusNatStatus value)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
addNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
public RouterStatus.Builder addNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
addNatStatusBuilder()
public RouterStatusNatStatus.Builder addNatStatusBuilder()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
addNatStatusBuilder(int index)
public RouterStatusNatStatus.Builder addNatStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RouterStatus build()
buildPartial()
public RouterStatus buildPartial()
clear()
public RouterStatus.Builder clear()
Overrides
clearBestRoutes()
public RouterStatus.Builder clearBestRoutes()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
clearBestRoutesForRouter()
public RouterStatus.Builder clearBestRoutesForRouter()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
clearBgpPeerStatus()
public RouterStatus.Builder clearBgpPeerStatus()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
clearField(Descriptors.FieldDescriptor field)
public RouterStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNatStatus()
public RouterStatus.Builder clearNatStatus()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
clearNetwork()
public RouterStatus.Builder clearNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RouterStatus.Builder clone()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Route | |
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 |
---|
Name | Description |
index | int
|
getBestRoutesBuilderList()
public List<Route.Builder> getBestRoutesBuilderList()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
getBestRoutesCount()
public int getBestRoutesCount()
Best routes for this router's network.
repeated .google.cloud.compute.v1.Route best_routes = 395826693;
Returns |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Route | |
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 |
---|
Name | Description |
index | int
|
getBestRoutesForRouterBuilderList()
public List<Route.Builder> getBestRoutesForRouterBuilderList()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
getBestRoutesForRouterCount()
public int getBestRoutesForRouterCount()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
Returns |
---|
Type | Description |
int | |
getBestRoutesForRouterList()
public List<Route> getBestRoutesForRouterList()
Best routes learned by this router.
repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getBgpPeerStatusBuilder(int index)
public RouterStatusBgpPeerStatus.Builder getBgpPeerStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter |
---|
Name | Description |
index | int
|
getBgpPeerStatusBuilderList()
public List<RouterStatusBgpPeerStatus.Builder> getBgpPeerStatusBuilderList()
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
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;
getBgpPeerStatusOrBuilder(int index)
public RouterStatusBgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNatStatus(int index)
public RouterStatusNatStatus getNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter |
---|
Name | Description |
index | int
|
getNatStatusBuilder(int index)
public RouterStatusNatStatus.Builder getNatStatusBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter |
---|
Name | Description |
index | int
|
getNatStatusBuilderList()
public List<RouterStatusNatStatus.Builder> getNatStatusBuilderList()
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
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;
getNatStatusOrBuilder(int index)
public RouterStatusNatStatusOrBuilder getNatStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter |
---|
Name | Description |
index | int
|
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.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RouterStatus other)
public RouterStatus.Builder mergeFrom(RouterStatus other)
public RouterStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RouterStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
removeBgpPeerStatus(int index)
public RouterStatus.Builder removeBgpPeerStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
Parameter |
---|
Name | Description |
index | int
|
removeNatStatus(int index)
public RouterStatus.Builder removeNatStatus(int index)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
Parameter |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
value | Route
|
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;
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 |
---|
Name | Description |
index | int
|
value | Route
|
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;
setBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
public RouterStatus.Builder setBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)
repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public RouterStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNatStatus(int index, RouterStatusNatStatus value)
public RouterStatus.Builder setNatStatus(int index, RouterStatusNatStatus value)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
setNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
public RouterStatus.Builder setNatStatus(int index, RouterStatusNatStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides