Class RouterStatus.Builder (1.63.0)

public static final class RouterStatus.Builder extends GeneratedMessageV3.Builder<RouterStatus.Builder> implements RouterStatusOrBuilder

Protobuf type google.cloud.compute.v1.RouterStatus

Static Methods

getDescriptor()

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

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
Type Description
RouterStatus.Builder

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
Type Description
RouterStatus.Builder

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
Type Description
RouterStatus.Builder

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
Type Description
RouterStatus.Builder

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
Type Description
RouterStatus.Builder

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
Name Description
builderForValue Route.Builder
Returns
Type Description
RouterStatus.Builder

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
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue Route.Builder
Returns
Type Description
RouterStatus.Builder

addBestRoutesBuilder()

public Route.Builder addBestRoutesBuilder()

Best routes for this router's network.

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

Returns
Type Description
Route.Builder

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
Returns
Type Description
Route.Builder

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
Type Description
RouterStatus.Builder

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
Name Description
builderForValue Route.Builder
Returns
Type Description
RouterStatus.Builder

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
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue Route.Builder
Returns
Type Description
RouterStatus.Builder

addBestRoutesForRouterBuilder()

public Route.Builder addBestRoutesForRouterBuilder()

Best routes learned by this router.

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

Returns
Type Description
Route.Builder

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
Returns
Type Description
Route.Builder

addBgpPeerStatus(RouterStatusBgpPeerStatus value)

public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus value)

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

Parameter
Name Description
value RouterStatusBgpPeerStatus
Returns
Type Description
RouterStatus.Builder

addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)

public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)

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

Parameter
Name Description
builderForValue RouterStatusBgpPeerStatus.Builder
Returns
Type Description
RouterStatus.Builder

addBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)

public RouterStatus.Builder addBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)

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

Parameters
Name Description
index int
value RouterStatusBgpPeerStatus
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue RouterStatusBgpPeerStatus.Builder
Returns
Type Description
RouterStatus.Builder

addBgpPeerStatusBuilder()

public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder()

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

Returns
Type Description
RouterStatusBgpPeerStatus.Builder

addBgpPeerStatusBuilder(int index)

public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
RouterStatusBgpPeerStatus.Builder

addNatStatus(RouterStatusNatStatus value)

public RouterStatus.Builder addNatStatus(RouterStatusNatStatus value)

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

Parameter
Name Description
value RouterStatusNatStatus
Returns
Type Description
RouterStatus.Builder

addNatStatus(RouterStatusNatStatus.Builder builderForValue)

public RouterStatus.Builder addNatStatus(RouterStatusNatStatus.Builder builderForValue)

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

Parameter
Name Description
builderForValue RouterStatusNatStatus.Builder
Returns
Type Description
RouterStatus.Builder

addNatStatus(int index, RouterStatusNatStatus value)

public RouterStatus.Builder addNatStatus(int index, RouterStatusNatStatus value)

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

Parameters
Name Description
index int
value RouterStatusNatStatus
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue RouterStatusNatStatus.Builder
Returns
Type Description
RouterStatus.Builder

addNatStatusBuilder()

public RouterStatusNatStatus.Builder addNatStatusBuilder()

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

Returns
Type Description
RouterStatusNatStatus.Builder

addNatStatusBuilder(int index)

public RouterStatusNatStatus.Builder addNatStatusBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
RouterStatusNatStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterStatus.Builder
Overrides

build()

public RouterStatus build()
Returns
Type Description
RouterStatus

buildPartial()

public RouterStatus buildPartial()
Returns
Type Description
RouterStatus

clear()

public RouterStatus.Builder clear()
Returns
Type Description
RouterStatus.Builder
Overrides

clearBestRoutes()

public RouterStatus.Builder clearBestRoutes()

Best routes for this router's network.

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

Returns
Type Description
RouterStatus.Builder

clearBestRoutesForRouter()

public RouterStatus.Builder clearBestRoutesForRouter()

Best routes learned by this router.

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

Returns
Type Description
RouterStatus.Builder

clearBgpPeerStatus()

public RouterStatus.Builder clearBgpPeerStatus()

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

Returns
Type Description
RouterStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public RouterStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RouterStatus.Builder
Overrides

clearNatStatus()

public RouterStatus.Builder clearNatStatus()

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

Returns
Type Description
RouterStatus.Builder

clearNetwork()

public RouterStatus.Builder clearNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
RouterStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RouterStatus.Builder
Overrides

clone()

public RouterStatus.Builder clone()
Returns
Type Description
RouterStatus.Builder
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
Returns
Type Description
Route.Builder

getBestRoutesBuilderList()

public List<Route.Builder> getBestRoutesBuilderList()

Best routes for this router's network.

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

Returns
Type Description
List<Builder>

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
Returns
Type Description
Route.Builder

getBestRoutesForRouterBuilderList()

public List<Route.Builder> getBestRoutesForRouterBuilderList()

Best routes learned by this router.

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

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<Route>

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
Returns
Type Description
RouteOrBuilder

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
Type Description
List<Route>

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
Returns
Type Description
RouteOrBuilder

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
Returns
Type Description
RouterStatusBgpPeerStatus

getBgpPeerStatusBuilder(int index)

public RouterStatusBgpPeerStatus.Builder getBgpPeerStatusBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
RouterStatusBgpPeerStatus.Builder

getBgpPeerStatusBuilderList()

public List<RouterStatusBgpPeerStatus.Builder> getBgpPeerStatusBuilderList()

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

Returns
Type Description
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getNatStatusBuilder(int index)

public RouterStatusNatStatus.Builder getNatStatusBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
RouterStatusNatStatus.Builder

getNatStatusBuilderList()

public List<RouterStatusNatStatus.Builder> getNatStatusBuilderList()

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

Returns
Type Description
List<Builder>

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.

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RouterStatus other)

public RouterStatus.Builder mergeFrom(RouterStatus other)
Parameter
Name Description
other RouterStatus
Returns
Type Description
RouterStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RouterStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RouterStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterStatus.Builder
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
Returns
Type Description
RouterStatus.Builder

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
Returns
Type Description
RouterStatus.Builder

removeBgpPeerStatus(int index)

public RouterStatus.Builder removeBgpPeerStatus(int index)

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

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.Builder

removeNatStatus(int index)

public RouterStatus.Builder removeNatStatus(int index)

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

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.Builder

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
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue Route.Builder
Returns
Type Description
RouterStatus.Builder

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
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue Route.Builder
Returns
Type Description
RouterStatus.Builder

setBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)

public RouterStatus.Builder setBgpPeerStatus(int index, RouterStatusBgpPeerStatus value)

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

Parameters
Name Description
index int
value RouterStatusBgpPeerStatus
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue RouterStatusBgpPeerStatus.Builder
Returns
Type Description
RouterStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterStatus.Builder
Overrides

setNatStatus(int index, RouterStatusNatStatus value)

public RouterStatus.Builder setNatStatus(int index, RouterStatusNatStatus value)

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

Parameters
Name Description
index int
value RouterStatusNatStatus
Returns
Type Description
RouterStatus.Builder

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
Name Description
index int
builderForValue RouterStatusNatStatus.Builder
Returns
Type Description
RouterStatus.Builder

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
Type Description
RouterStatus.Builder

This builder for chaining.

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
Type Description
RouterStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RouterStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RouterStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterStatus.Builder
Overrides