Class RouterStatus.Builder (0.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus>
Returns
TypeDescription
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
NameDescription
valueRouterStatus.BgpPeerStatus
Returns
TypeDescription
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
NameDescription
builderForValueRouterStatus.BgpPeerStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRouterStatus.BgpPeerStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouterStatus.BgpPeerStatus.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouterStatus.BgpPeerStatus.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

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
TypeDescription
RouterStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public RouterStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
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

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder>

getDefaultInstanceForType()

public RouterStatus getDefaultInstanceForType()
Returns
TypeDescription
RouterStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for network.

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

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueRouterStatus.BgpPeerStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouterStatus.BgpPeerStatus.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

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
NameDescription
valueString

The network to set.

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