Package com.google.cloud.compute.v1
Class Router.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
- com.google.cloud.compute.v1.Router.Builder
-
- All Implemented Interfaces:
RouterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Router
public static final class Router.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder> implements RouterOrBuilder
Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.
Protobuf typegoogle.cloud.compute.v1.Router
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Router.BuilderaddAllBgpPeers(Iterable<? extends RouterBgpPeer> values)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderaddAllInterfaces(Iterable<? extends RouterInterface> values)Router interfaces.Router.BuilderaddAllMd5AuthenticationKeys(Iterable<? extends RouterMd5AuthenticationKey> values)Keys used for MD5 authentication.Router.BuilderaddAllNats(Iterable<? extends RouterNat> values)A list of NAT services created in this router.Router.BuilderaddBgpPeers(int index, RouterBgpPeer value)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderaddBgpPeers(int index, RouterBgpPeer.Builder builderForValue)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderaddBgpPeers(RouterBgpPeer value)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderaddBgpPeers(RouterBgpPeer.Builder builderForValue)BGP information that must be configured into the routing stack to establish BGP peering.RouterBgpPeer.BuilderaddBgpPeersBuilder()BGP information that must be configured into the routing stack to establish BGP peering.RouterBgpPeer.BuilderaddBgpPeersBuilder(int index)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderaddInterfaces(int index, RouterInterface value)Router interfaces.Router.BuilderaddInterfaces(int index, RouterInterface.Builder builderForValue)Router interfaces.Router.BuilderaddInterfaces(RouterInterface value)Router interfaces.Router.BuilderaddInterfaces(RouterInterface.Builder builderForValue)Router interfaces.RouterInterface.BuilderaddInterfacesBuilder()Router interfaces.RouterInterface.BuilderaddInterfacesBuilder(int index)Router interfaces.Router.BuilderaddMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value)Keys used for MD5 authentication.Router.BuilderaddMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue)Keys used for MD5 authentication.Router.BuilderaddMd5AuthenticationKeys(RouterMd5AuthenticationKey value)Keys used for MD5 authentication.Router.BuilderaddMd5AuthenticationKeys(RouterMd5AuthenticationKey.Builder builderForValue)Keys used for MD5 authentication.RouterMd5AuthenticationKey.BuilderaddMd5AuthenticationKeysBuilder()Keys used for MD5 authentication.RouterMd5AuthenticationKey.BuilderaddMd5AuthenticationKeysBuilder(int index)Keys used for MD5 authentication.Router.BuilderaddNats(int index, RouterNat value)A list of NAT services created in this router.Router.BuilderaddNats(int index, RouterNat.Builder builderForValue)A list of NAT services created in this router.Router.BuilderaddNats(RouterNat value)A list of NAT services created in this router.Router.BuilderaddNats(RouterNat.Builder builderForValue)A list of NAT services created in this router.RouterNat.BuilderaddNatsBuilder()A list of NAT services created in this router.RouterNat.BuilderaddNatsBuilder(int index)A list of NAT services created in this router.Router.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Routerbuild()RouterbuildPartial()Router.Builderclear()Router.BuilderclearBgp()BGP information specific to this router.Router.BuilderclearBgpPeers()BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.Router.BuilderclearDescription()An optional description of this resource.Router.BuilderclearEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).Router.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Router.BuilderclearId()[Output Only] The unique identifier for the resource.Router.BuilderclearInterfaces()Router interfaces.Router.BuilderclearKind()[Output Only] Type of resource.Router.BuilderclearMd5AuthenticationKeys()Keys used for MD5 authentication.Router.BuilderclearName()Name of the resource.Router.BuilderclearNats()A list of NAT services created in this router.Router.BuilderclearNetwork()URI of the network to which this router belongs.Router.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Router.BuilderclearRegion()[Output Only] URI of the region where the router resides.Router.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.Router.Builderclone()RouterBgpgetBgp()BGP information specific to this router.RouterBgp.BuildergetBgpBuilder()BGP information specific to this router.RouterBgpOrBuildergetBgpOrBuilder()BGP information specific to this router.RouterBgpPeergetBgpPeers(int index)BGP information that must be configured into the routing stack to establish BGP peering.RouterBgpPeer.BuildergetBgpPeersBuilder(int index)BGP information that must be configured into the routing stack to establish BGP peering.List<RouterBgpPeer.Builder>getBgpPeersBuilderList()BGP information that must be configured into the routing stack to establish BGP peering.intgetBgpPeersCount()BGP information that must be configured into the routing stack to establish BGP peering.List<RouterBgpPeer>getBgpPeersList()BGP information that must be configured into the routing stack to establish BGP peering.RouterBgpPeerOrBuildergetBgpPeersOrBuilder(int index)BGP information that must be configured into the routing stack to establish BGP peering.List<? extends RouterBgpPeerOrBuilder>getBgpPeersOrBuilderList()BGP information that must be configured into the routing stack to establish BGP peering.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.RoutergetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).longgetId()[Output Only] The unique identifier for the resource.RouterInterfacegetInterfaces(int index)Router interfaces.RouterInterface.BuildergetInterfacesBuilder(int index)Router interfaces.List<RouterInterface.Builder>getInterfacesBuilderList()Router interfaces.intgetInterfacesCount()Router interfaces.List<RouterInterface>getInterfacesList()Router interfaces.RouterInterfaceOrBuildergetInterfacesOrBuilder(int index)Router interfaces.List<? extends RouterInterfaceOrBuilder>getInterfacesOrBuilderList()Router interfaces.StringgetKind()[Output Only] Type of resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of resource.RouterMd5AuthenticationKeygetMd5AuthenticationKeys(int index)Keys used for MD5 authentication.RouterMd5AuthenticationKey.BuildergetMd5AuthenticationKeysBuilder(int index)Keys used for MD5 authentication.List<RouterMd5AuthenticationKey.Builder>getMd5AuthenticationKeysBuilderList()Keys used for MD5 authentication.intgetMd5AuthenticationKeysCount()Keys used for MD5 authentication.List<RouterMd5AuthenticationKey>getMd5AuthenticationKeysList()Keys used for MD5 authentication.RouterMd5AuthenticationKeyOrBuildergetMd5AuthenticationKeysOrBuilder(int index)Keys used for MD5 authentication.List<? extends RouterMd5AuthenticationKeyOrBuilder>getMd5AuthenticationKeysOrBuilderList()Keys used for MD5 authentication.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.RouterNatgetNats(int index)A list of NAT services created in this router.RouterNat.BuildergetNatsBuilder(int index)A list of NAT services created in this router.List<RouterNat.Builder>getNatsBuilderList()A list of NAT services created in this router.intgetNatsCount()A list of NAT services created in this router.List<RouterNat>getNatsList()A list of NAT services created in this router.RouterNatOrBuildergetNatsOrBuilder(int index)A list of NAT services created in this router.List<? extends RouterNatOrBuilder>getNatsOrBuilderList()A list of NAT services created in this router.StringgetNetwork()URI of the network to which this router belongs.com.google.protobuf.ByteStringgetNetworkBytes()URI of the network to which this router belongs.StringgetRegion()[Output Only] URI of the region where the router resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URI of the region where the router resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.booleanhasBgp()BGP information specific to this router.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of resource.booleanhasName()Name of the resource.booleanhasNetwork()URI of the network to which this router belongs.booleanhasRegion()[Output Only] URI of the region where the router resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Router.BuildermergeBgp(RouterBgp value)BGP information specific to this router.Router.BuildermergeFrom(Router other)Router.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Router.BuildermergeFrom(com.google.protobuf.Message other)Router.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Router.BuilderremoveBgpPeers(int index)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuilderremoveInterfaces(int index)Router interfaces.Router.BuilderremoveMd5AuthenticationKeys(int index)Keys used for MD5 authentication.Router.BuilderremoveNats(int index)A list of NAT services created in this router.Router.BuildersetBgp(RouterBgp value)BGP information specific to this router.Router.BuildersetBgp(RouterBgp.Builder builderForValue)BGP information specific to this router.Router.BuildersetBgpPeers(int index, RouterBgpPeer value)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuildersetBgpPeers(int index, RouterBgpPeer.Builder builderForValue)BGP information that must be configured into the routing stack to establish BGP peering.Router.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.Router.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.Router.BuildersetDescription(String value)An optional description of this resource.Router.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.Router.BuildersetEncryptedInterconnectRouter(boolean value)Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).Router.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Router.BuildersetId(long value)[Output Only] The unique identifier for the resource.Router.BuildersetInterfaces(int index, RouterInterface value)Router interfaces.Router.BuildersetInterfaces(int index, RouterInterface.Builder builderForValue)Router interfaces.Router.BuildersetKind(String value)[Output Only] Type of resource.Router.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of resource.Router.BuildersetMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value)Keys used for MD5 authentication.Router.BuildersetMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue)Keys used for MD5 authentication.Router.BuildersetName(String value)Name of the resource.Router.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.Router.BuildersetNats(int index, RouterNat value)A list of NAT services created in this router.Router.BuildersetNats(int index, RouterNat.Builder builderForValue)A list of NAT services created in this router.Router.BuildersetNetwork(String value)URI of the network to which this router belongs.Router.BuildersetNetworkBytes(com.google.protobuf.ByteString value)URI of the network to which this router belongs.Router.BuildersetRegion(String value)[Output Only] URI of the region where the router resides.Router.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] URI of the region where the router resides.Router.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Router.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.Router.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.Router.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
clear
public Router.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.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.GeneratedMessageV3.Builder<Router.Builder>
-
getDefaultInstanceForType
public Router getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Router build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Router buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Router.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
setField
public Router.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
clearField
public Router.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
clearOneof
public Router.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
setRepeatedField
public Router.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
addRepeatedField
public Router.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
mergeFrom
public Router.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Router.Builder>
-
mergeFrom
public Router.Builder mergeFrom(Router other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
mergeFrom
public Router.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<Router.Builder>- Throws:
IOException
-
hasBgp
public boolean hasBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
hasBgpin interfaceRouterOrBuilder- Returns:
- Whether the bgp field is set.
-
getBgp
public RouterBgp getBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
getBgpin interfaceRouterOrBuilder- Returns:
- The bgp.
-
setBgp
public Router.Builder setBgp(RouterBgp value)
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
-
setBgp
public Router.Builder setBgp(RouterBgp.Builder builderForValue)
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
-
mergeBgp
public Router.Builder mergeBgp(RouterBgp value)
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
-
clearBgp
public Router.Builder clearBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
-
getBgpBuilder
public RouterBgp.Builder getBgpBuilder()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
-
getBgpOrBuilder
public RouterBgpOrBuilder getBgpOrBuilder()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
getBgpOrBuilderin interfaceRouterOrBuilder
-
getBgpPeersList
public List<RouterBgpPeer> getBgpPeersList()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersListin interfaceRouterOrBuilder
-
getBgpPeersCount
public int getBgpPeersCount()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersCountin interfaceRouterOrBuilder
-
getBgpPeers
public RouterBgpPeer getBgpPeers(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersin interfaceRouterOrBuilder
-
setBgpPeers
public Router.Builder setBgpPeers(int index, RouterBgpPeer value)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
setBgpPeers
public Router.Builder setBgpPeers(int index, RouterBgpPeer.Builder builderForValue)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
addBgpPeers
public Router.Builder addBgpPeers(RouterBgpPeer value)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
addBgpPeers
public Router.Builder addBgpPeers(int index, RouterBgpPeer value)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
addBgpPeers
public Router.Builder addBgpPeers(RouterBgpPeer.Builder builderForValue)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
addBgpPeers
public Router.Builder addBgpPeers(int index, RouterBgpPeer.Builder builderForValue)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
addAllBgpPeers
public Router.Builder addAllBgpPeers(Iterable<? extends RouterBgpPeer> values)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
clearBgpPeers
public Router.Builder clearBgpPeers()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
removeBgpPeers
public Router.Builder removeBgpPeers(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
getBgpPeersBuilder
public RouterBgpPeer.Builder getBgpPeersBuilder(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
getBgpPeersOrBuilder
public RouterBgpPeerOrBuilder getBgpPeersOrBuilder(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersOrBuilderin interfaceRouterOrBuilder
-
getBgpPeersOrBuilderList
public List<? extends RouterBgpPeerOrBuilder> getBgpPeersOrBuilderList()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersOrBuilderListin interfaceRouterOrBuilder
-
addBgpPeersBuilder
public RouterBgpPeer.Builder addBgpPeersBuilder()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
addBgpPeersBuilder
public RouterBgpPeer.Builder addBgpPeersBuilder(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
getBgpPeersBuilderList
public List<RouterBgpPeer.Builder> getBgpPeersBuilderList()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceRouterOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceRouterOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceRouterOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Router.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Router.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Router.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceRouterOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceRouterOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceRouterOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Router.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Router.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Router.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEncryptedInterconnectRouter
public boolean hasEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Specified by:
hasEncryptedInterconnectRouterin interfaceRouterOrBuilder- Returns:
- Whether the encryptedInterconnectRouter field is set.
-
getEncryptedInterconnectRouter
public boolean getEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Specified by:
getEncryptedInterconnectRouterin interfaceRouterOrBuilder- Returns:
- The encryptedInterconnectRouter.
-
setEncryptedInterconnectRouter
public Router.Builder setEncryptedInterconnectRouter(boolean value)
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Parameters:
value- The encryptedInterconnectRouter to set.- Returns:
- This builder for chaining.
-
clearEncryptedInterconnectRouter
public Router.Builder clearEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceRouterOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceRouterOrBuilder- Returns:
- The id.
-
setId
public Router.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Router.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
getInterfacesList
public List<RouterInterface> getInterfacesList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesListin interfaceRouterOrBuilder
-
getInterfacesCount
public int getInterfacesCount()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesCountin interfaceRouterOrBuilder
-
getInterfaces
public RouterInterface getInterfaces(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesin interfaceRouterOrBuilder
-
setInterfaces
public Router.Builder setInterfaces(int index, RouterInterface value)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
setInterfaces
public Router.Builder setInterfaces(int index, RouterInterface.Builder builderForValue)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
addInterfaces
public Router.Builder addInterfaces(RouterInterface value)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
addInterfaces
public Router.Builder addInterfaces(int index, RouterInterface value)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
addInterfaces
public Router.Builder addInterfaces(RouterInterface.Builder builderForValue)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
addInterfaces
public Router.Builder addInterfaces(int index, RouterInterface.Builder builderForValue)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
addAllInterfaces
public Router.Builder addAllInterfaces(Iterable<? extends RouterInterface> values)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
clearInterfaces
public Router.Builder clearInterfaces()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
removeInterfaces
public Router.Builder removeInterfaces(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
getInterfacesBuilder
public RouterInterface.Builder getInterfacesBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
getInterfacesOrBuilder
public RouterInterfaceOrBuilder getInterfacesOrBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesOrBuilderin interfaceRouterOrBuilder
-
getInterfacesOrBuilderList
public List<? extends RouterInterfaceOrBuilder> getInterfacesOrBuilderList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesOrBuilderListin interfaceRouterOrBuilder
-
addInterfacesBuilder
public RouterInterface.Builder addInterfacesBuilder()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
addInterfacesBuilder
public RouterInterface.Builder addInterfacesBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
getInterfacesBuilderList
public List<RouterInterface.Builder> getInterfacesBuilderList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
-
hasKind
public boolean hasKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
hasKindin interfaceRouterOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
getKindin interfaceRouterOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceRouterOrBuilder- Returns:
- The bytes for kind.
-
setKind
public Router.Builder setKind(String value)
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Router.Builder clearKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public Router.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
getMd5AuthenticationKeysList
public List<RouterMd5AuthenticationKey> getMd5AuthenticationKeysList()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysListin interfaceRouterOrBuilder
-
getMd5AuthenticationKeysCount
public int getMd5AuthenticationKeysCount()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysCountin interfaceRouterOrBuilder
-
getMd5AuthenticationKeys
public RouterMd5AuthenticationKey getMd5AuthenticationKeys(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysin interfaceRouterOrBuilder
-
setMd5AuthenticationKeys
public Router.Builder setMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
setMd5AuthenticationKeys
public Router.Builder setMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
addMd5AuthenticationKeys
public Router.Builder addMd5AuthenticationKeys(RouterMd5AuthenticationKey value)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
addMd5AuthenticationKeys
public Router.Builder addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
addMd5AuthenticationKeys
public Router.Builder addMd5AuthenticationKeys(RouterMd5AuthenticationKey.Builder builderForValue)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
addMd5AuthenticationKeys
public Router.Builder addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
addAllMd5AuthenticationKeys
public Router.Builder addAllMd5AuthenticationKeys(Iterable<? extends RouterMd5AuthenticationKey> values)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
clearMd5AuthenticationKeys
public Router.Builder clearMd5AuthenticationKeys()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
removeMd5AuthenticationKeys
public Router.Builder removeMd5AuthenticationKeys(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
getMd5AuthenticationKeysBuilder
public RouterMd5AuthenticationKey.Builder getMd5AuthenticationKeysBuilder(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
getMd5AuthenticationKeysOrBuilder
public RouterMd5AuthenticationKeyOrBuilder getMd5AuthenticationKeysOrBuilder(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysOrBuilderin interfaceRouterOrBuilder
-
getMd5AuthenticationKeysOrBuilderList
public List<? extends RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysOrBuilderListin interfaceRouterOrBuilder
-
addMd5AuthenticationKeysBuilder
public RouterMd5AuthenticationKey.Builder addMd5AuthenticationKeysBuilder()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
addMd5AuthenticationKeysBuilder
public RouterMd5AuthenticationKey.Builder addMd5AuthenticationKeysBuilder(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
getMd5AuthenticationKeysBuilderList
public List<RouterMd5AuthenticationKey.Builder> getMd5AuthenticationKeysBuilderList()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
-
hasName
public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceRouterOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceRouterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRouterOrBuilder- Returns:
- The bytes for name.
-
setName
public Router.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Router.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public Router.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNatsList
public List<RouterNat> getNatsList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsListin interfaceRouterOrBuilder
-
getNatsCount
public int getNatsCount()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsCountin interfaceRouterOrBuilder
-
getNats
public RouterNat getNats(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsin interfaceRouterOrBuilder
-
setNats
public Router.Builder setNats(int index, RouterNat value)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
setNats
public Router.Builder setNats(int index, RouterNat.Builder builderForValue)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
addNats
public Router.Builder addNats(RouterNat value)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
addNats
public Router.Builder addNats(int index, RouterNat value)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
addNats
public Router.Builder addNats(RouterNat.Builder builderForValue)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
addNats
public Router.Builder addNats(int index, RouterNat.Builder builderForValue)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
addAllNats
public Router.Builder addAllNats(Iterable<? extends RouterNat> values)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
clearNats
public Router.Builder clearNats()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
removeNats
public Router.Builder removeNats(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
getNatsBuilder
public RouterNat.Builder getNatsBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
getNatsOrBuilder
public RouterNatOrBuilder getNatsOrBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsOrBuilderin interfaceRouterOrBuilder
-
getNatsOrBuilderList
public List<? extends RouterNatOrBuilder> getNatsOrBuilderList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsOrBuilderListin interfaceRouterOrBuilder
-
addNatsBuilder
public RouterNat.Builder addNatsBuilder()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
addNatsBuilder
public RouterNat.Builder addNatsBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
getNatsBuilderList
public List<RouterNat.Builder> getNatsBuilderList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
-
hasNetwork
public boolean hasNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceRouterOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;- Specified by:
getNetworkin interfaceRouterOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
URI of the network to which this router belongs.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceRouterOrBuilder- Returns:
- The bytes for network.
-
setNetwork
public Router.Builder setNetwork(String value)
URI of the network to which this router belongs.
optional string network = 232872494;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public Router.Builder clearNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;- Returns:
- This builder for chaining.
-
setNetworkBytes
public Router.Builder setNetworkBytes(com.google.protobuf.ByteString value)
URI of the network to which this router belongs.
optional string network = 232872494;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
hasRegionin interfaceRouterOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionin interfaceRouterOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceRouterOrBuilder- Returns:
- The bytes for region.
-
setRegion
public Router.Builder setRegion(String value)
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public Router.Builder clearRegion()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public Router.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceRouterOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceRouterOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceRouterOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public Router.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Router.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Router.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Router.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
mergeUnknownFields
public final Router.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
-