Package com.google.cloud.compute.v1
Class RouterInterface.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouterInterface.Builder>
com.google.cloud.compute.v1.RouterInterface.Builder
- All Implemented Interfaces:
RouterInterfaceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouterInterface
public static final class RouterInterface.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouterInterface.Builder>
implements RouterInterfaceOrBuilder
Protobuf type
google.cloud.compute.v1.RouterInterface-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()IP address and range of the interfaceIP version of this interface.URI of the linked Interconnect attachment.URI of the linked VPN tunnel, which must be in the same region as the router.Output only.Name of this interface entry.The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.Name of the interface that will be redundant with the current interface you are creating.The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIP address and range of the interfacecom.google.protobuf.ByteStringIP address and range of the interfaceIP version of this interface.com.google.protobuf.ByteStringIP version of this interface.URI of the linked Interconnect attachment.com.google.protobuf.ByteStringURI of the linked Interconnect attachment.URI of the linked VPN tunnel, which must be in the same region as the router.com.google.protobuf.ByteStringURI of the linked VPN tunnel, which must be in the same region as the router.Output only.com.google.protobuf.ByteStringOutput only.getName()Name of this interface entry.com.google.protobuf.ByteStringName of this interface entry.The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.com.google.protobuf.ByteStringThe regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.Name of the interface that will be redundant with the current interface you are creating.com.google.protobuf.ByteStringName of the interface that will be redundant with the current interface you are creating.The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.com.google.protobuf.ByteStringThe URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.booleanIP address and range of the interfacebooleanIP version of this interface.booleanURI of the linked Interconnect attachment.booleanURI of the linked VPN tunnel, which must be in the same region as the router.booleanOutput only.booleanhasName()Name of this interface entry.booleanThe regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.booleanName of the interface that will be redundant with the current interface you are creating.booleanThe URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RouterInterface other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIpRange(String value) IP address and range of the interfacesetIpRangeBytes(com.google.protobuf.ByteString value) IP address and range of the interfacesetIpVersion(String value) IP version of this interface.setIpVersionBytes(com.google.protobuf.ByteString value) IP version of this interface.URI of the linked Interconnect attachment.setLinkedInterconnectAttachmentBytes(com.google.protobuf.ByteString value) URI of the linked Interconnect attachment.setLinkedVpnTunnel(String value) URI of the linked VPN tunnel, which must be in the same region as the router.setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) URI of the linked VPN tunnel, which must be in the same region as the router.setManagementType(String value) Output only.setManagementTypeBytes(com.google.protobuf.ByteString value) Output only.Name of this interface entry.setNameBytes(com.google.protobuf.ByteString value) Name of this interface entry.setPrivateIpAddress(String value) The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.setPrivateIpAddressBytes(com.google.protobuf.ByteString value) The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.setRedundantInterface(String value) Name of the interface that will be redundant with the current interface you are creating.setRedundantInterfaceBytes(com.google.protobuf.ByteString value) Name of the interface that will be redundant with the current interface you are creating.setSubnetwork(String value) The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.setSubnetworkBytes(com.google.protobuf.ByteString value) The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.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<RouterInterface.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<RouterInterface.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<RouterInterface.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<RouterInterface.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouterInterface.Builder>
-
mergeFrom
public RouterInterface.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<RouterInterface.Builder>- Throws:
IOException
-
hasIpRange
public boolean hasIpRange()IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fdff:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
optional string ip_range = 145092645;- Specified by:
hasIpRangein interfaceRouterInterfaceOrBuilder- Returns:
- Whether the ipRange field is set.
-
getIpRange
IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fdff:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
optional string ip_range = 145092645;- Specified by:
getIpRangein interfaceRouterInterfaceOrBuilder- Returns:
- The ipRange.
-
getIpRangeBytes
public com.google.protobuf.ByteString getIpRangeBytes()IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fdff:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
optional string ip_range = 145092645;- Specified by:
getIpRangeBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for ipRange.
-
setIpRange
IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fdff:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
optional string ip_range = 145092645;- Parameters:
value- The ipRange to set.- Returns:
- This builder for chaining.
-
clearIpRange
IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fdff:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
optional string ip_range = 145092645;- Returns:
- This builder for chaining.
-
setIpRangeBytes
IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fdff:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
optional string ip_range = 145092645;- Parameters:
value- The bytes for ipRange to set.- Returns:
- This builder for chaining.
-
hasIpVersion
public boolean hasIpVersion()IP version of this interface. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;- Specified by:
hasIpVersionin interfaceRouterInterfaceOrBuilder- Returns:
- Whether the ipVersion field is set.
-
getIpVersion
IP version of this interface. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;- Specified by:
getIpVersionin interfaceRouterInterfaceOrBuilder- Returns:
- The ipVersion.
-
getIpVersionBytes
public com.google.protobuf.ByteString getIpVersionBytes()IP version of this interface. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;- Specified by:
getIpVersionBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for ipVersion.
-
setIpVersion
IP version of this interface. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;- Parameters:
value- The ipVersion to set.- Returns:
- This builder for chaining.
-
clearIpVersion
IP version of this interface. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;- Returns:
- This builder for chaining.
-
setIpVersionBytes
IP version of this interface. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;- Parameters:
value- The bytes for ipVersion to set.- Returns:
- This builder for chaining.
-
hasLinkedInterconnectAttachment
public boolean hasLinkedInterconnectAttachment()URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_interconnect_attachment = 501085518;- Specified by:
hasLinkedInterconnectAttachmentin interfaceRouterInterfaceOrBuilder- Returns:
- Whether the linkedInterconnectAttachment field is set.
-
getLinkedInterconnectAttachment
URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_interconnect_attachment = 501085518;- Specified by:
getLinkedInterconnectAttachmentin interfaceRouterInterfaceOrBuilder- Returns:
- The linkedInterconnectAttachment.
-
getLinkedInterconnectAttachmentBytes
public com.google.protobuf.ByteString getLinkedInterconnectAttachmentBytes()URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_interconnect_attachment = 501085518;- Specified by:
getLinkedInterconnectAttachmentBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for linkedInterconnectAttachment.
-
setLinkedInterconnectAttachment
URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_interconnect_attachment = 501085518;- Parameters:
value- The linkedInterconnectAttachment to set.- Returns:
- This builder for chaining.
-
clearLinkedInterconnectAttachment
URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_interconnect_attachment = 501085518;- Returns:
- This builder for chaining.
-
setLinkedInterconnectAttachmentBytes
public RouterInterface.Builder setLinkedInterconnectAttachmentBytes(com.google.protobuf.ByteString value) URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_interconnect_attachment = 501085518;- Parameters:
value- The bytes for linkedInterconnectAttachment to set.- Returns:
- This builder for chaining.
-
hasLinkedVpnTunnel
public boolean hasLinkedVpnTunnel()URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_vpn_tunnel = 352296953;- Specified by:
hasLinkedVpnTunnelin interfaceRouterInterfaceOrBuilder- Returns:
- Whether the linkedVpnTunnel field is set.
-
getLinkedVpnTunnel
URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_vpn_tunnel = 352296953;- Specified by:
getLinkedVpnTunnelin interfaceRouterInterfaceOrBuilder- Returns:
- The linkedVpnTunnel.
-
getLinkedVpnTunnelBytes
public com.google.protobuf.ByteString getLinkedVpnTunnelBytes()URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_vpn_tunnel = 352296953;- Specified by:
getLinkedVpnTunnelBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for linkedVpnTunnel.
-
setLinkedVpnTunnel
URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_vpn_tunnel = 352296953;- Parameters:
value- The linkedVpnTunnel to set.- Returns:
- This builder for chaining.
-
clearLinkedVpnTunnel
URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_vpn_tunnel = 352296953;- Returns:
- This builder for chaining.
-
setLinkedVpnTunnelBytes
URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.
optional string linked_vpn_tunnel = 352296953;- Parameters:
value- The bytes for linkedVpnTunnel to set.- Returns:
- This builder for chaining.
-
hasManagementType
public boolean hasManagementType()Output only. [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;- Specified by:
hasManagementTypein interfaceRouterInterfaceOrBuilder- Returns:
- Whether the managementType field is set.
-
getManagementType
Output only. [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;- Specified by:
getManagementTypein interfaceRouterInterfaceOrBuilder- Returns:
- The managementType.
-
getManagementTypeBytes
public com.google.protobuf.ByteString getManagementTypeBytes()Output only. [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;- Specified by:
getManagementTypeBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for managementType.
-
setManagementType
Output only. [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;- Parameters:
value- The managementType to set.- Returns:
- This builder for chaining.
-
clearManagementType
Output only. [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;- Returns:
- This builder for chaining.
-
setManagementTypeBytes
Output only. [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;- Parameters:
value- The bytes for managementType to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Name of this interface entry. 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 interfaceRouterInterfaceOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of this interface entry. 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 interfaceRouterInterfaceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of this interface entry. 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 interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for name.
-
setName
Name of this interface entry. 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 this interface entry. 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 this interface entry. 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.
-
hasPrivateIpAddress
public boolean hasPrivateIpAddress()The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
optional string private_ip_address = 100854040;- Specified by:
hasPrivateIpAddressin interfaceRouterInterfaceOrBuilder- Returns:
- Whether the privateIpAddress field is set.
-
getPrivateIpAddress
The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
optional string private_ip_address = 100854040;- Specified by:
getPrivateIpAddressin interfaceRouterInterfaceOrBuilder- Returns:
- The privateIpAddress.
-
getPrivateIpAddressBytes
public com.google.protobuf.ByteString getPrivateIpAddressBytes()The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
optional string private_ip_address = 100854040;- Specified by:
getPrivateIpAddressBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for privateIpAddress.
-
setPrivateIpAddress
The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
optional string private_ip_address = 100854040;- Parameters:
value- The privateIpAddress to set.- Returns:
- This builder for chaining.
-
clearPrivateIpAddress
The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
optional string private_ip_address = 100854040;- Returns:
- This builder for chaining.
-
setPrivateIpAddressBytes
The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
optional string private_ip_address = 100854040;- Parameters:
value- The bytes for privateIpAddress to set.- Returns:
- This builder for chaining.
-
hasRedundantInterface
public boolean hasRedundantInterface()Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface 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 redundant_interface = 523187303;- Specified by:
hasRedundantInterfacein interfaceRouterInterfaceOrBuilder- Returns:
- Whether the redundantInterface field is set.
-
getRedundantInterface
Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface 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 redundant_interface = 523187303;- Specified by:
getRedundantInterfacein interfaceRouterInterfaceOrBuilder- Returns:
- The redundantInterface.
-
getRedundantInterfaceBytes
public com.google.protobuf.ByteString getRedundantInterfaceBytes()Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface 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 redundant_interface = 523187303;- Specified by:
getRedundantInterfaceBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for redundantInterface.
-
setRedundantInterface
Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface 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 redundant_interface = 523187303;- Parameters:
value- The redundantInterface to set.- Returns:
- This builder for chaining.
-
clearRedundantInterface
Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface 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 redundant_interface = 523187303;- Returns:
- This builder for chaining.
-
setRedundantInterfaceBytes
Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface 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 redundant_interface = 523187303;- Parameters:
value- The bytes for redundantInterface to set.- Returns:
- This builder for chaining.
-
hasSubnetwork
public boolean hasSubnetwork()The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceRouterInterfaceOrBuilder- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkin interfaceRouterInterfaceOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkBytesin interfaceRouterInterfaceOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.
optional string subnetwork = 307827694;- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
clearSubnetwork
The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.
optional string subnetwork = 307827694;- Returns:
- This builder for chaining.
-
setSubnetworkBytes
The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.
optional string subnetwork = 307827694;- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-