Package com.google.cloud.compute.v1
Class RouterStatusBgpPeerStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder>
com.google.cloud.compute.v1.RouterStatusBgpPeerStatus.Builder
- All Implemented Interfaces:
RouterStatusBgpPeerStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouterStatusBgpPeerStatus
public static final class RouterStatusBgpPeerStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder>
implements RouterStatusBgpPeerStatusOrBuilder
Protobuf type
google.cloud.compute.v1.RouterStatusBgpPeerStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAdvertisedRoutes(int index, Route value) Routes that were advertised to the remote BGP peeraddAdvertisedRoutes(int index, Route.Builder builderForValue) Routes that were advertised to the remote BGP peeraddAdvertisedRoutes(Route value) Routes that were advertised to the remote BGP peeraddAdvertisedRoutes(Route.Builder builderForValue) Routes that were advertised to the remote BGP peerRoutes that were advertised to the remote BGP peeraddAdvertisedRoutesBuilder(int index) Routes that were advertised to the remote BGP peeraddAllAdvertisedRoutes(Iterable<? extends Route> values) Routes that were advertised to the remote BGP peerbuild()clear()Routes that were advertised to the remote BGP peeroptional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;Output only.Output only.Output only.Output only.Output only.Output only.Informs whether MD5 authentication is enabled on this BGP peer.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Indicates why particular status was returned.Output only.Output only.getAdvertisedRoutes(int index) Routes that were advertised to the remote BGP peergetAdvertisedRoutesBuilder(int index) Routes that were advertised to the remote BGP peerRoutes that were advertised to the remote BGP peerintRoutes that were advertised to the remote BGP peerRoutes that were advertised to the remote BGP peergetAdvertisedRoutesOrBuilder(int index) Routes that were advertised to the remote BGP peerList<? extends RouteOrBuilder>Routes that were advertised to the remote BGP peeroptional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanInforms whether MD5 authentication is enabled on this BGP peer.getName()Output only.com.google.protobuf.ByteStringOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Indicates why particular status was returned.com.google.protobuf.ByteStringIndicates why particular status was returned.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanoptional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanInforms whether MD5 authentication is enabled on this BGP peer.booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasState()Output only.booleanOutput only.booleanIndicates why particular status was returned.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBfdStatus(BfdStatus value) optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAdvertisedRoutes(int index) Routes that were advertised to the remote BGP peersetAdvertisedRoutes(int index, Route value) Routes that were advertised to the remote BGP peersetAdvertisedRoutes(int index, Route.Builder builderForValue) Routes that were advertised to the remote BGP peersetBfdStatus(BfdStatus value) optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;setBfdStatus(BfdStatus.Builder builderForValue) optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;setEnableIpv4(boolean value) Output only.setEnableIpv6(boolean value) Output only.setIpAddress(String value) Output only.setIpAddressBytes(com.google.protobuf.ByteString value) Output only.setIpv4NexthopAddress(String value) Output only.setIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) Output only.setIpv6NexthopAddress(String value) Output only.setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) Output only.setLinkedVpnTunnel(String value) Output only.setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) Output only.setMd5AuthEnabled(boolean value) Informs whether MD5 authentication is enabled on this BGP peer.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNumLearnedRoutes(int value) Output only.setPeerIpAddress(String value) Output only.setPeerIpAddressBytes(com.google.protobuf.ByteString value) Output only.setPeerIpv4NexthopAddress(String value) Output only.setPeerIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) Output only.setPeerIpv6NexthopAddress(String value) Output only.setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) Output only.setRouterApplianceInstance(String value) Output only.setRouterApplianceInstanceBytes(com.google.protobuf.ByteString value) Output only.Output only.setStateBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusBytes(com.google.protobuf.ByteString value) Output only.setStatusReason(String value) Indicates why particular status was returned.setStatusReasonBytes(com.google.protobuf.ByteString value) Indicates why particular status was returned.Output only.setUptimeBytes(com.google.protobuf.ByteString value) Output only.setUptimeSeconds(String value) Output only.setUptimeSecondsBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
public RouterStatusBgpPeerStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>- Throws:
IOException
-
getAdvertisedRoutesList
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesListin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesCount
public int getAdvertisedRoutesCount()Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesCountin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesin interfaceRouterStatusBgpPeerStatusOrBuilder
-
setAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
setAdvertisedRoutes
public RouterStatusBgpPeerStatus.Builder setAdvertisedRoutes(int index, Route.Builder builderForValue) Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
addAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
addAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
addAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
addAdvertisedRoutes
public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(int index, Route.Builder builderForValue) Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
addAllAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
clearAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
removeAdvertisedRoutes
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
getAdvertisedRoutesBuilder
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
getAdvertisedRoutesOrBuilder
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesOrBuilderin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesOrBuilderList
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesOrBuilderListin interfaceRouterStatusBgpPeerStatusOrBuilder
-
addAdvertisedRoutesBuilder
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
addAdvertisedRoutesBuilder
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
getAdvertisedRoutesBuilderList
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068; -
hasBfdStatus
public boolean hasBfdStatus()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
hasBfdStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the bfdStatus field is set.
-
getBfdStatus
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
getBfdStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bfdStatus.
-
setBfdStatus
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729; -
setBfdStatus
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729; -
mergeBfdStatus
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729; -
clearBfdStatus
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729; -
getBfdStatusBuilder
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729; -
getBfdStatusOrBuilder
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
getBfdStatusOrBuilderin interfaceRouterStatusBgpPeerStatusOrBuilder
-
hasEnableIpv4
public boolean hasEnableIpv4()Output only. Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;- Specified by:
hasEnableIpv4in interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the enableIpv4 field is set.
-
getEnableIpv4
public boolean getEnableIpv4()Output only. Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;- Specified by:
getEnableIpv4in interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The enableIpv4.
-
setEnableIpv4
Output only. Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;- Parameters:
value- The enableIpv4 to set.- Returns:
- This builder for chaining.
-
clearEnableIpv4
Output only. Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;- Returns:
- This builder for chaining.
-
hasEnableIpv6
public boolean hasEnableIpv6()Output only. Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Specified by:
hasEnableIpv6in interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the enableIpv6 field is set.
-
getEnableIpv6
public boolean getEnableIpv6()Output only. Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Specified by:
getEnableIpv6in interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The enableIpv6.
-
setEnableIpv6
Output only. Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Parameters:
value- The enableIpv6 to set.- Returns:
- This builder for chaining.
-
clearEnableIpv6
Output only. Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Returns:
- This builder for chaining.
-
hasIpAddress
public boolean hasIpAddress()Output only. IP address of the local BGP interface.
optional string ip_address = 406272220;- Specified by:
hasIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
Output only. IP address of the local BGP interface.
optional string ip_address = 406272220;- Specified by:
getIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()Output only. IP address of the local BGP interface.
optional string ip_address = 406272220;- Specified by:
getIpAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
Output only. IP address of the local BGP interface.
optional string ip_address = 406272220;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
Output only. IP address of the local BGP interface.
optional string ip_address = 406272220;- Returns:
- This builder for chaining.
-
setIpAddressBytes
Output only. IP address of the local BGP interface.
optional string ip_address = 406272220;- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
hasIpv4NexthopAddress
public boolean hasIpv4NexthopAddress()Output only. IPv4 address of the local BGP interface.
optional string ipv4_nexthop_address = 5703377;- Specified by:
hasIpv4NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the ipv4NexthopAddress field is set.
-
getIpv4NexthopAddress
Output only. IPv4 address of the local BGP interface.
optional string ipv4_nexthop_address = 5703377;- Specified by:
getIpv4NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The ipv4NexthopAddress.
-
getIpv4NexthopAddressBytes
public com.google.protobuf.ByteString getIpv4NexthopAddressBytes()Output only. IPv4 address of the local BGP interface.
optional string ipv4_nexthop_address = 5703377;- Specified by:
getIpv4NexthopAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for ipv4NexthopAddress.
-
setIpv4NexthopAddress
Output only. IPv4 address of the local BGP interface.
optional string ipv4_nexthop_address = 5703377;- Parameters:
value- The ipv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearIpv4NexthopAddress
Output only. IPv4 address of the local BGP interface.
optional string ipv4_nexthop_address = 5703377;- Returns:
- This builder for chaining.
-
setIpv4NexthopAddressBytes
public RouterStatusBgpPeerStatus.Builder setIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) Output only. IPv4 address of the local BGP interface.
optional string ipv4_nexthop_address = 5703377;- Parameters:
value- The bytes for ipv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
hasIpv6NexthopAddress
public boolean hasIpv6NexthopAddress()Output only. IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Specified by:
hasIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the ipv6NexthopAddress field is set.
-
getIpv6NexthopAddress
Output only. IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Specified by:
getIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The ipv6NexthopAddress.
-
getIpv6NexthopAddressBytes
public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()Output only. IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Specified by:
getIpv6NexthopAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for ipv6NexthopAddress.
-
setIpv6NexthopAddress
Output only. IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Parameters:
value- The ipv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearIpv6NexthopAddress
Output only. IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Returns:
- This builder for chaining.
-
setIpv6NexthopAddressBytes
public RouterStatusBgpPeerStatus.Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) Output only. IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Parameters:
value- The bytes for ipv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
hasLinkedVpnTunnel
public boolean hasLinkedVpnTunnel()Output only. URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Specified by:
hasLinkedVpnTunnelin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the linkedVpnTunnel field is set.
-
getLinkedVpnTunnel
Output only. URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Specified by:
getLinkedVpnTunnelin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The linkedVpnTunnel.
-
getLinkedVpnTunnelBytes
public com.google.protobuf.ByteString getLinkedVpnTunnelBytes()Output only. URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Specified by:
getLinkedVpnTunnelBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for linkedVpnTunnel.
-
setLinkedVpnTunnel
Output only. URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Parameters:
value- The linkedVpnTunnel to set.- Returns:
- This builder for chaining.
-
clearLinkedVpnTunnel
Output only. URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Returns:
- This builder for chaining.
-
setLinkedVpnTunnelBytes
public RouterStatusBgpPeerStatus.Builder setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) Output only. URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Parameters:
value- The bytes for linkedVpnTunnel to set.- Returns:
- This builder for chaining.
-
hasMd5AuthEnabled
public boolean hasMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;- Specified by:
hasMd5AuthEnabledin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the md5AuthEnabled field is set.
-
getMd5AuthEnabled
public boolean getMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;- Specified by:
getMd5AuthEnabledin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The md5AuthEnabled.
-
setMd5AuthEnabled
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;- Parameters:
value- The md5AuthEnabled to set.- Returns:
- This builder for chaining.
-
clearMd5AuthEnabled
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Output only. Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Specified by:
hasNamein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the name field is set.
-
getName
Output only. Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Specified by:
getNamein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNumLearnedRoutes
public boolean hasNumLearnedRoutes()Output only. Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;- Specified by:
hasNumLearnedRoutesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the numLearnedRoutes field is set.
-
getNumLearnedRoutes
public int getNumLearnedRoutes()Output only. Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;- Specified by:
getNumLearnedRoutesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The numLearnedRoutes.
-
setNumLearnedRoutes
Output only. Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;- Parameters:
value- The numLearnedRoutes to set.- Returns:
- This builder for chaining.
-
clearNumLearnedRoutes
Output only. Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;- Returns:
- This builder for chaining.
-
hasPeerIpAddress
public boolean hasPeerIpAddress()Output only. IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Specified by:
hasPeerIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the peerIpAddress field is set.
-
getPeerIpAddress
Output only. IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The peerIpAddress.
-
getPeerIpAddressBytes
public com.google.protobuf.ByteString getPeerIpAddressBytes()Output only. IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for peerIpAddress.
-
setPeerIpAddress
Output only. IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Parameters:
value- The peerIpAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpAddress
Output only. IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Returns:
- This builder for chaining.
-
setPeerIpAddressBytes
public RouterStatusBgpPeerStatus.Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value) Output only. IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Parameters:
value- The bytes for peerIpAddress to set.- Returns:
- This builder for chaining.
-
hasPeerIpv4NexthopAddress
public boolean hasPeerIpv4NexthopAddress()Output only. IPv4 address of the remote BGP interface.
optional string peer_ipv4_nexthop_address = 469221774;- Specified by:
hasPeerIpv4NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the peerIpv4NexthopAddress field is set.
-
getPeerIpv4NexthopAddress
Output only. IPv4 address of the remote BGP interface.
optional string peer_ipv4_nexthop_address = 469221774;- Specified by:
getPeerIpv4NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The peerIpv4NexthopAddress.
-
getPeerIpv4NexthopAddressBytes
public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes()Output only. IPv4 address of the remote BGP interface.
optional string peer_ipv4_nexthop_address = 469221774;- Specified by:
getPeerIpv4NexthopAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for peerIpv4NexthopAddress.
-
setPeerIpv4NexthopAddress
Output only. IPv4 address of the remote BGP interface.
optional string peer_ipv4_nexthop_address = 469221774;- Parameters:
value- The peerIpv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpv4NexthopAddress
Output only. IPv4 address of the remote BGP interface.
optional string peer_ipv4_nexthop_address = 469221774;- Returns:
- This builder for chaining.
-
setPeerIpv4NexthopAddressBytes
public RouterStatusBgpPeerStatus.Builder setPeerIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) Output only. IPv4 address of the remote BGP interface.
optional string peer_ipv4_nexthop_address = 469221774;- Parameters:
value- The bytes for peerIpv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
hasPeerIpv6NexthopAddress
public boolean hasPeerIpv6NexthopAddress()Output only. IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
hasPeerIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the peerIpv6NexthopAddress field is set.
-
getPeerIpv6NexthopAddress
Output only. IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
getPeerIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The peerIpv6NexthopAddress.
-
getPeerIpv6NexthopAddressBytes
public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()Output only. IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
getPeerIpv6NexthopAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for peerIpv6NexthopAddress.
-
setPeerIpv6NexthopAddress
Output only. IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Parameters:
value- The peerIpv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpv6NexthopAddress
Output only. IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Returns:
- This builder for chaining.
-
setPeerIpv6NexthopAddressBytes
public RouterStatusBgpPeerStatus.Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) Output only. IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Parameters:
value- The bytes for peerIpv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
hasRouterApplianceInstance
public boolean hasRouterApplianceInstance()Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
optional string router_appliance_instance = 468312989;- Specified by:
hasRouterApplianceInstancein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the routerApplianceInstance field is set.
-
getRouterApplianceInstance
Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
optional string router_appliance_instance = 468312989;- Specified by:
getRouterApplianceInstancein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The routerApplianceInstance.
-
getRouterApplianceInstanceBytes
public com.google.protobuf.ByteString getRouterApplianceInstanceBytes()Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
optional string router_appliance_instance = 468312989;- Specified by:
getRouterApplianceInstanceBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for routerApplianceInstance.
-
setRouterApplianceInstance
Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
optional string router_appliance_instance = 468312989;- Parameters:
value- The routerApplianceInstance to set.- Returns:
- This builder for chaining.
-
clearRouterApplianceInstance
Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
optional string router_appliance_instance = 468312989;- Returns:
- This builder for chaining.
-
setRouterApplianceInstanceBytes
public RouterStatusBgpPeerStatus.Builder setRouterApplianceInstanceBytes(com.google.protobuf.ByteString value) Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
optional string router_appliance_instance = 468312989;- Parameters:
value- The bytes for routerApplianceInstance to set.- Returns:
- This builder for chaining.
-
hasState
public boolean hasState()Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
optional string state = 109757585;- Specified by:
hasStatein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
optional string state = 109757585;- Specified by:
getStatein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for state.
-
setState
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
optional string state = 109757585;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
optional string state = 109757585;- Returns:
- This builder for chaining.
-
setStateBytes
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
optional string state = 109757585;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Specified by:
hasStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Specified by:
getStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Specified by:
getStatusBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for status.
-
setStatus
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasStatusReason
public boolean hasStatusReason()Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Specified by:
hasStatusReasonin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the statusReason field is set.
-
getStatusReason
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Specified by:
getStatusReasonin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The statusReason.
-
getStatusReasonBytes
public com.google.protobuf.ByteString getStatusReasonBytes()Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Specified by:
getStatusReasonBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for statusReason.
-
setStatusReason
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Parameters:
value- The statusReason to set.- Returns:
- This builder for chaining.
-
clearStatusReason
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Returns:
- This builder for chaining.
-
setStatusReasonBytes
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Parameters:
value- The bytes for statusReason to set.- Returns:
- This builder for chaining.
-
hasUptime
public boolean hasUptime()Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
optional string uptime = 235379688;- Specified by:
hasUptimein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the uptime field is set.
-
getUptime
Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
optional string uptime = 235379688;- Specified by:
getUptimein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The uptime.
-
getUptimeBytes
public com.google.protobuf.ByteString getUptimeBytes()Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
optional string uptime = 235379688;- Specified by:
getUptimeBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for uptime.
-
setUptime
Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
optional string uptime = 235379688;- Parameters:
value- The uptime to set.- Returns:
- This builder for chaining.
-
clearUptime
Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
optional string uptime = 235379688;- Returns:
- This builder for chaining.
-
setUptimeBytes
Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
optional string uptime = 235379688;- Parameters:
value- The bytes for uptime to set.- Returns:
- This builder for chaining.
-
hasUptimeSeconds
public boolean hasUptimeSeconds()Output only. Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Specified by:
hasUptimeSecondsin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the uptimeSeconds field is set.
-
getUptimeSeconds
Output only. Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Specified by:
getUptimeSecondsin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The uptimeSeconds.
-
getUptimeSecondsBytes
public com.google.protobuf.ByteString getUptimeSecondsBytes()Output only. Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Specified by:
getUptimeSecondsBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for uptimeSeconds.
-
setUptimeSeconds
Output only. Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Parameters:
value- The uptimeSeconds to set.- Returns:
- This builder for chaining.
-
clearUptimeSeconds
Output only. Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Returns:
- This builder for chaining.
-
setUptimeSecondsBytes
public RouterStatusBgpPeerStatus.Builder setUptimeSecondsBytes(com.google.protobuf.ByteString value) Output only. Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Parameters:
value- The bytes for uptimeSeconds to set.- Returns:
- This builder for chaining.
-