Class RouterStatus.Builder (1.9.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Route>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Route>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.RouterStatusBgpPeerStatus>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.RouterStatusNatStatus>
Returns
TypeDescription
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
NameDescription
valueRoute
Returns
TypeDescription
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
NameDescription
builderForValueRoute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRoute.Builder
Returns
TypeDescription
RouterStatus.Builder

addBestRoutesBuilder()

public Route.Builder addBestRoutesBuilder()

Best routes for this router's network.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueRoute
Returns
TypeDescription
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
NameDescription
builderForValueRoute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRoute.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Route.Builder

addBgpPeerStatus(RouterStatusBgpPeerStatus value)

public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus value)

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

Parameter
NameDescription
valueRouterStatusBgpPeerStatus
Returns
TypeDescription
RouterStatus.Builder

addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)

public RouterStatus.Builder addBgpPeerStatus(RouterStatusBgpPeerStatus.Builder builderForValue)

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

Parameter
NameDescription
builderForValueRouterStatusBgpPeerStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRouterStatusBgpPeerStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouterStatusBgpPeerStatus.Builder
Returns
TypeDescription
RouterStatus.Builder

addBgpPeerStatusBuilder()

public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder()

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

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addBgpPeerStatusBuilder(int index)

public RouterStatusBgpPeerStatus.Builder addBgpPeerStatusBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addNatStatus(RouterStatusNatStatus value)

public RouterStatus.Builder addNatStatus(RouterStatusNatStatus value)

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

Parameter
NameDescription
valueRouterStatusNatStatus
Returns
TypeDescription
RouterStatus.Builder

addNatStatus(RouterStatusNatStatus.Builder builderForValue)

public RouterStatus.Builder addNatStatus(RouterStatusNatStatus.Builder builderForValue)

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

Parameter
NameDescription
builderForValueRouterStatusNatStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRouterStatusNatStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouterStatusNatStatus.Builder
Returns
TypeDescription
RouterStatus.Builder

addNatStatusBuilder()

public RouterStatusNatStatus.Builder addNatStatusBuilder()

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

Returns
TypeDescription
RouterStatusNatStatus.Builder

addNatStatusBuilder(int index)

public RouterStatusNatStatus.Builder addNatStatusBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusNatStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterStatus.Builder
Overrides

build()

public RouterStatus build()
Returns
TypeDescription
RouterStatus

buildPartial()

public RouterStatus buildPartial()
Returns
TypeDescription
RouterStatus

clear()

public RouterStatus.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RouterStatus.Builder

clearBgpPeerStatus()

public RouterStatus.Builder clearBgpPeerStatus()

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

Returns
TypeDescription
RouterStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public RouterStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RouterStatus.Builder
Overrides

clearNatStatus()

public RouterStatus.Builder clearNatStatus()

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

Returns
TypeDescription
RouterStatus.Builder

clearNetwork()

public RouterStatus.Builder clearNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
TypeDescription
RouterStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RouterStatus.Builder
Overrides

clone()

public RouterStatus.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getBestRoutesCount()

public int getBestRoutesCount()

Best routes for this router's network.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getBestRoutesForRouterCount()

public int getBestRoutesForRouterCount()

Best routes learned by this router.

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

Returns
TypeDescription
int

getBestRoutesForRouterList()

public List<Route> getBestRoutesForRouterList()

Best routes learned by this router.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouteOrBuilder

getBestRoutesOrBuilderList()

public List<? extends RouteOrBuilder> getBestRoutesOrBuilderList()

Best routes for this router's network.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouterStatusBgpPeerStatus

getBgpPeerStatusBuilder(int index)

public RouterStatusBgpPeerStatus.Builder getBgpPeerStatusBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

getBgpPeerStatusBuilderList()

public List<RouterStatusBgpPeerStatus.Builder> getBgpPeerStatusBuilderList()

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

Returns
TypeDescription
List<Builder>

getBgpPeerStatusCount()

public int getBgpPeerStatusCount()

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

Returns
TypeDescription
int

getBgpPeerStatusList()

public List<RouterStatusBgpPeerStatus> getBgpPeerStatusList()

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

Returns
TypeDescription
List<RouterStatusBgpPeerStatus>

getBgpPeerStatusOrBuilder(int index)

public RouterStatusBgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusBgpPeerStatusOrBuilder

getBgpPeerStatusOrBuilderList()

public List<? extends RouterStatusBgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList()

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

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouterStatusBgpPeerStatusOrBuilder>

getDefaultInstanceForType()

public RouterStatus getDefaultInstanceForType()
Returns
TypeDescription
RouterStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNatStatus(int index)

public RouterStatusNatStatus getNatStatus(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusNatStatus

getNatStatusBuilder(int index)

public RouterStatusNatStatus.Builder getNatStatusBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusNatStatus.Builder

getNatStatusBuilderList()

public List<RouterStatusNatStatus.Builder> getNatStatusBuilderList()

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

Returns
TypeDescription
List<Builder>

getNatStatusCount()

public int getNatStatusCount()

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

Returns
TypeDescription
int

getNatStatusList()

public List<RouterStatusNatStatus> getNatStatusList()

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

Returns
TypeDescription
List<RouterStatusNatStatus>

getNatStatusOrBuilder(int index)

public RouterStatusNatStatusOrBuilder getNatStatusOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusNatStatusOrBuilder

getNatStatusOrBuilderList()

public List<? extends RouterStatusNatStatusOrBuilder> getNatStatusOrBuilderList()

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

Returns
TypeDescription
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
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
TypeDescription
ByteString

The bytes for network.

hasNetwork()

public boolean hasNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
TypeDescription
boolean

Whether the network field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RouterStatus other)

public RouterStatus.Builder mergeFrom(RouterStatus other)
Parameter
NameDescription
otherRouterStatus
Returns
TypeDescription
RouterStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RouterStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RouterStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouterStatus.Builder

removeBgpPeerStatus(int index)

public RouterStatus.Builder removeBgpPeerStatus(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatus.Builder

removeNatStatus(int index)

public RouterStatus.Builder removeNatStatus(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRoute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRoute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRouterStatusBgpPeerStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouterStatusBgpPeerStatus.Builder
Returns
TypeDescription
RouterStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RouterStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRouterStatusNatStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouterStatusNatStatus.Builder
Returns
TypeDescription
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
NameDescription
valueString

The network to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for network to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RouterStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterStatus.Builder
Overrides