Class RouterStatus.Builder (0.22.0)

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

Describing the current status of a router.

Protobuf type google.cloud.edgenetwork.v1.RouterStatus

Static Methods

getDescriptor()

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

Methods

addAllBgpPeerStatus(Iterable<? extends RouterStatus.BgpPeerStatus> values)

public RouterStatus.Builder addAllBgpPeerStatus(Iterable<? extends RouterStatus.BgpPeerStatus> values)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus>
Returns
Type Description
RouterStatus.Builder

addBgpPeerStatus(RouterStatus.BgpPeerStatus value)

public RouterStatus.Builder addBgpPeerStatus(RouterStatus.BgpPeerStatus value)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
value RouterStatus.BgpPeerStatus
Returns
Type Description
RouterStatus.Builder

addBgpPeerStatus(RouterStatus.BgpPeerStatus.Builder builderForValue)

public RouterStatus.Builder addBgpPeerStatus(RouterStatus.BgpPeerStatus.Builder builderForValue)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

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

addBgpPeerStatus(int index, RouterStatus.BgpPeerStatus value)

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

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

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

addBgpPeerStatus(int index, RouterStatus.BgpPeerStatus.Builder builderForValue)

public RouterStatus.Builder addBgpPeerStatus(int index, RouterStatus.BgpPeerStatus.Builder builderForValue)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameters
Name Description
index int
builderForValue RouterStatus.BgpPeerStatus.Builder
Returns
Type Description
RouterStatus.Builder

addBgpPeerStatusBuilder()

public RouterStatus.BgpPeerStatus.Builder addBgpPeerStatusBuilder()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
Type Description
RouterStatus.BgpPeerStatus.Builder

addBgpPeerStatusBuilder(int index)

public RouterStatus.BgpPeerStatus.Builder addBgpPeerStatusBuilder(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.BgpPeerStatus.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

clearBgpPeerStatus()

public RouterStatus.Builder clearBgpPeerStatus()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

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

clearNetwork()

public RouterStatus.Builder clearNetwork()

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

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

getBgpPeerStatus(int index)

public RouterStatus.BgpPeerStatus getBgpPeerStatus(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.BgpPeerStatus

getBgpPeerStatusBuilder(int index)

public RouterStatus.BgpPeerStatus.Builder getBgpPeerStatusBuilder(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.BgpPeerStatus.Builder

getBgpPeerStatusBuilderList()

public List<RouterStatus.BgpPeerStatus.Builder> getBgpPeerStatusBuilderList()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
Type Description
List<Builder>

getBgpPeerStatusCount()

public int getBgpPeerStatusCount()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
Type Description
int

getBgpPeerStatusList()

public List<RouterStatus.BgpPeerStatus> getBgpPeerStatusList()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
Type Description
List<BgpPeerStatus>

getBgpPeerStatusOrBuilder(int index)

public RouterStatus.BgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.BgpPeerStatusOrBuilder

getBgpPeerStatusOrBuilderList()

public List<? extends RouterStatus.BgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList()

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder>

getDefaultInstanceForType()

public RouterStatus getDefaultInstanceForType()
Returns
Type Description
RouterStatus

getDescriptorForType()

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

getNetwork()

public String getNetwork()

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

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

removeBgpPeerStatus(int index)

public RouterStatus.Builder removeBgpPeerStatus(int index)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameter
Name Description
index int
Returns
Type Description
RouterStatus.Builder

setBgpPeerStatus(int index, RouterStatus.BgpPeerStatus value)

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

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

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

setBgpPeerStatus(int index, RouterStatus.BgpPeerStatus.Builder builderForValue)

public RouterStatus.Builder setBgpPeerStatus(int index, RouterStatus.BgpPeerStatus.Builder builderForValue)

A list of BgpPeerStatus objects, describing all BGP peers related to this router.

repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2;

Parameters
Name Description
index int
builderForValue RouterStatus.BgpPeerStatus.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

setNetwork(String value)

public RouterStatus.Builder setNetwork(String value)

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

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)

The canonical name of the network to which this router belongs.

string network = 1 [(.google.api.resource_reference) = { ... }

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