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.GeneratedMessage.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.GeneratedMessage.Builder<Router.Builder>
implements RouterOrBuilder
Represents a Cloud Router resource. For more information about Cloud Router, read theCloud Router overview.Protobuf type
google.cloud.compute.v1.Router-
Method Summary
Modifier and TypeMethodDescriptionaddAllBgpPeers(Iterable<? extends RouterBgpPeer> values) BGP information that must be configured into the routing stack to establish BGP peering.addAllInterfaces(Iterable<? extends RouterInterface> values) Router interfaces.addAllMd5AuthenticationKeys(Iterable<? extends RouterMd5AuthenticationKey> values) Keys used for MD5 authentication.addAllNats(Iterable<? extends RouterNat> values) A list of NAT services created in this router.addBgpPeers(int index, RouterBgpPeer value) BGP information that must be configured into the routing stack to establish BGP peering.addBgpPeers(int index, RouterBgpPeer.Builder builderForValue) BGP information that must be configured into the routing stack to establish BGP peering.addBgpPeers(RouterBgpPeer value) BGP information that must be configured into the routing stack to establish BGP peering.addBgpPeers(RouterBgpPeer.Builder builderForValue) BGP information that must be configured into the routing stack to establish BGP peering.BGP information that must be configured into the routing stack to establish BGP peering.addBgpPeersBuilder(int index) BGP information that must be configured into the routing stack to establish BGP peering.addInterfaces(int index, RouterInterface value) Router interfaces.addInterfaces(int index, RouterInterface.Builder builderForValue) Router interfaces.addInterfaces(RouterInterface value) Router interfaces.addInterfaces(RouterInterface.Builder builderForValue) Router interfaces.Router interfaces.addInterfacesBuilder(int index) Router interfaces.addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value) Keys used for MD5 authentication.addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue) Keys used for MD5 authentication.Keys used for MD5 authentication.addMd5AuthenticationKeys(RouterMd5AuthenticationKey.Builder builderForValue) Keys used for MD5 authentication.Keys used for MD5 authentication.addMd5AuthenticationKeysBuilder(int index) Keys used for MD5 authentication.A list of NAT services created in this router.addNats(int index, RouterNat.Builder builderForValue) A list of NAT services created in this router.A list of NAT services created in this router.addNats(RouterNat.Builder builderForValue) A list of NAT services created in this router.A list of NAT services created in this router.addNatsBuilder(int index) A list of NAT services created in this router.build()clear()clearBgp()BGP information specific to this router.BGP information that must be configured into the routing stack to establish BGP peering.Output only.An optional description of this resource.Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).clearId()[Output Only] The unique identifier for the resource.Router interfaces.Output only.Keys used for MD5 authentication.Name of the resource.A list of NAT services created in this router.URI of the network to which this router belongs.Input only.[Output Only] URI of the region where the router resides.[Output Only] Server-defined URL for the resource.getBgp()BGP information specific to this router.BGP information specific to this router.BGP information specific to this router.getBgpPeers(int index) BGP information that must be configured into the routing stack to establish BGP peering.getBgpPeersBuilder(int index) BGP information that must be configured into the routing stack to establish BGP peering.BGP information that must be configured into the routing stack to establish BGP peering.intBGP information that must be configured into the routing stack to establish BGP peering.BGP information that must be configured into the routing stack to establish BGP peering.getBgpPeersOrBuilder(int index) BGP information that must be configured into the routing stack to establish BGP peering.List<? extends RouterBgpPeerOrBuilder>BGP information that must be configured into the routing stack to establish BGP peering.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIndicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).longgetId()[Output Only] The unique identifier for the resource.getInterfaces(int index) Router interfaces.getInterfacesBuilder(int index) Router interfaces.Router interfaces.intRouter interfaces.Router interfaces.getInterfacesOrBuilder(int index) Router interfaces.List<? extends RouterInterfaceOrBuilder>Router interfaces.getKind()Output only.com.google.protobuf.ByteStringOutput only.getMd5AuthenticationKeys(int index) Keys used for MD5 authentication.getMd5AuthenticationKeysBuilder(int index) Keys used for MD5 authentication.Keys used for MD5 authentication.intKeys used for MD5 authentication.Keys used for MD5 authentication.getMd5AuthenticationKeysOrBuilder(int index) Keys used for MD5 authentication.List<? extends RouterMd5AuthenticationKeyOrBuilder>Keys used for MD5 authentication.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.getNats(int index) A list of NAT services created in this router.getNatsBuilder(int index) A list of NAT services created in this router.A list of NAT services created in this router.intA list of NAT services created in this router.A list of NAT services created in this router.getNatsOrBuilder(int index) A list of NAT services created in this router.List<? extends RouterNatOrBuilder>A list of NAT services created in this router.URI of the network to which this router belongs.com.google.protobuf.ByteStringURI of the network to which this router belongs.Input only.Input only.Input only.[Output Only] URI of the region where the router resides.com.google.protobuf.ByteString[Output Only] URI of the region where the router resides.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.booleanhasBgp()BGP information specific to this router.booleanOutput only.booleanAn optional description of this resource.booleanIndicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()Output only.booleanhasName()Name of the resource.booleanURI of the network to which this router belongs.booleanInput only.boolean[Output Only] URI of the region where the router resides.boolean[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanBGP information specific to this router.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParams(RouterParams value) Input only.removeBgpPeers(int index) BGP information that must be configured into the routing stack to establish BGP peering.removeInterfaces(int index) Router interfaces.removeMd5AuthenticationKeys(int index) Keys used for MD5 authentication.removeNats(int index) A list of NAT services created in this router.BGP information specific to this router.setBgp(RouterBgp.Builder builderForValue) BGP information specific to this router.setBgpPeers(int index, RouterBgpPeer value) BGP information that must be configured into the routing stack to establish BGP peering.setBgpPeers(int index, RouterBgpPeer.Builder builderForValue) BGP information that must be configured into the routing stack to establish BGP peering.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setEncryptedInterconnectRouter(boolean value) Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).setId(long value) [Output Only] The unique identifier for the resource.setInterfaces(int index, RouterInterface value) Router interfaces.setInterfaces(int index, RouterInterface.Builder builderForValue) Router interfaces.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value) Keys used for MD5 authentication.setMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue) Keys used for MD5 authentication.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.A list of NAT services created in this router.setNats(int index, RouterNat.Builder builderForValue) A list of NAT services created in this router.setNetwork(String value) URI of the network to which this router belongs.setNetworkBytes(com.google.protobuf.ByteString value) URI of the network to which this router belongs.setParams(RouterParams value) Input only.setParams(RouterParams.Builder builderForValue) Input only.[Output Only] URI of the region where the router resides.setRegionBytes(com.google.protobuf.ByteString value) [Output Only] URI of the region where the router resides.setSelfLink(String value) [Output Only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.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<Router.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<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.GeneratedMessage.Builder<Router.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<Router.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
getBgpin interfaceRouterOrBuilder- Returns:
- The bgp.
-
setBgp
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483; -
setBgp
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483; -
mergeBgp
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483; -
clearBgp
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483; -
getBgpBuilder
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483; -
getBgpOrBuilder
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
getBgpOrBuilderin interfaceRouterOrBuilder
-
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 toRFC4273.
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersCountin interfaceRouterOrBuilder
-
getBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersin interfaceRouterOrBuilder
-
setBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
setBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
addBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
addBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
addBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
addBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
addAllBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
removeBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
getBgpPeersBuilder
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
getBgpPeersOrBuilder
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersOrBuilderin interfaceRouterOrBuilder
-
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersOrBuilderListin interfaceRouterOrBuilder
-
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceRouterOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceRouterOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceRouterOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 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
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
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
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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
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
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
[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
[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
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesListin interfaceRouterOrBuilder
-
getInterfacesCount
public int getInterfacesCount()Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesCountin interfaceRouterOrBuilder
-
getInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesin interfaceRouterOrBuilder
-
setInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
setInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
addInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
addInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
addInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
addInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
addAllInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
clearInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
removeInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfacesBuilder
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfacesOrBuilder
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesOrBuilderin interfaceRouterOrBuilder
-
getInterfacesOrBuilderList
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesOrBuilderListin interfaceRouterOrBuilder
-
addInterfacesBuilder
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
addInterfacesBuilder
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfacesBuilderList
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
hasKind
public boolean hasKind()Output only. [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
Output only. [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. [Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceRouterOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [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
Output only. [Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [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
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
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysin interfaceRouterOrBuilder
-
setMd5AuthenticationKeys
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
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
addMd5AuthenticationKeys
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
addMd5AuthenticationKeys
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
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
removeMd5AuthenticationKeys
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
getMd5AuthenticationKeysBuilder
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
getMd5AuthenticationKeysOrBuilder
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysOrBuilderin interfaceRouterOrBuilder
-
getMd5AuthenticationKeysOrBuilderList
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysOrBuilderListin interfaceRouterOrBuilder
-
addMd5AuthenticationKeysBuilder
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
addMd5AuthenticationKeysBuilder
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
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 withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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 withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
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
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsin interfaceRouterOrBuilder
-
setNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
setNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
addNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
addNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
addNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
addNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
addAllNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
clearNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
removeNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
getNatsBuilder
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
getNatsOrBuilder
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsOrBuilderin interfaceRouterOrBuilder
-
getNatsOrBuilderList
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsOrBuilderListin interfaceRouterOrBuilder
-
addNatsBuilder
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
addNatsBuilder
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
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
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
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
URI of the network to which this router belongs.
optional string network = 232872494;- Returns:
- This builder for chaining.
-
setNetworkBytes
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.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862;- Specified by:
hasParamsin interfaceRouterOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862;- Specified by:
getParamsin interfaceRouterOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceRouterOrBuilder
-
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
[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
[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
[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
[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
[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
[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
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[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.
-