- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class RouterInterface.Builder extends GeneratedMessageV3.Builder<RouterInterface.Builder> implements RouterInterfaceOrBuilder
Protobuf type google.cloud.compute.v1.RouterInterface
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouterInterface.BuilderImplements
RouterInterfaceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RouterInterface.Builder |
build()
public RouterInterface build()
Type | Description |
RouterInterface |
buildPartial()
public RouterInterface buildPartial()
Type | Description |
RouterInterface |
clear()
public RouterInterface.Builder clear()
Type | Description |
RouterInterface.Builder |
clearField(Descriptors.FieldDescriptor field)
public RouterInterface.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RouterInterface.Builder |
clearIpRange()
public RouterInterface.Builder clearIpRange()
IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
optional string ip_range = 145092645;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearLinkedInterconnectAttachment()
public RouterInterface.Builder 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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearLinkedVpnTunnel()
public RouterInterface.Builder 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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearManagementType()
public RouterInterface.Builder clearManagementType()
[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;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearName()
public RouterInterface.Builder clearName()
Name of this interface entry. 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?
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;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RouterInterface.Builder |
clearPrivateIpAddress()
public RouterInterface.Builder 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;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearRedundantInterface()
public RouterInterface.Builder 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 with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clearSubnetwork()
public RouterInterface.Builder 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;
Type | Description |
RouterInterface.Builder | This builder for chaining. |
clone()
public RouterInterface.Builder clone()
Type | Description |
RouterInterface.Builder |
getDefaultInstanceForType()
public RouterInterface getDefaultInstanceForType()
Type | Description |
RouterInterface |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpRange()
public String getIpRange()
IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
optional string ip_range = 145092645;
Type | Description |
String | The ipRange. |
getIpRangeBytes()
public ByteString getIpRangeBytes()
IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
optional string ip_range = 145092645;
Type | Description |
ByteString | The bytes for ipRange. |
getLinkedInterconnectAttachment()
public String 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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;
Type | Description |
String | The linkedInterconnectAttachment. |
getLinkedInterconnectAttachmentBytes()
public 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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;
Type | Description |
ByteString | The bytes for linkedInterconnectAttachment. |
getLinkedVpnTunnel()
public String 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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;
Type | Description |
String | The linkedVpnTunnel. |
getLinkedVpnTunnelBytes()
public 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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;
Type | Description |
ByteString | The bytes for linkedVpnTunnel. |
getManagementType()
public String getManagementType()
[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;
Type | Description |
String | The managementType. |
getManagementTypeBytes()
public ByteString getManagementTypeBytes()
[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;
Type | Description |
ByteString | The bytes for managementType. |
getName()
public String getName()
Name of this interface entry. 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?
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;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of this interface entry. 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?
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;
Type | Description |
ByteString | The bytes for name. |
getPrivateIpAddress()
public String 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;
Type | Description |
String | The privateIpAddress. |
getPrivateIpAddressBytes()
public 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;
Type | Description |
ByteString | The bytes for privateIpAddress. |
getRedundantInterface()
public String 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 with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
String | The redundantInterface. |
getRedundantInterfaceBytes()
public 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 with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
ByteString | The bytes for redundantInterface. |
getSubnetwork()
public String 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;
Type | Description |
String | The subnetwork. |
getSubnetworkBytes()
public 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;
Type | Description |
ByteString | The bytes for subnetwork. |
hasIpRange()
public boolean hasIpRange()
IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
optional string ip_range = 145092645;
Type | Description |
boolean | Whether the ipRange field is set. |
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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;
Type | Description |
boolean | Whether the linkedInterconnectAttachment field is set. |
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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;
Type | Description |
boolean | Whether the linkedVpnTunnel field is set. |
hasManagementType()
public boolean hasManagementType()
[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;
Type | Description |
boolean | Whether the managementType field is set. |
hasName()
public boolean hasName()
Name of this interface entry. 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?
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;
Type | Description |
boolean | Whether the name field is set. |
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;
Type | Description |
boolean | Whether the privateIpAddress field is set. |
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 with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
boolean | Whether the redundantInterface field is set. |
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;
Type | Description |
boolean | Whether the subnetwork field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RouterInterface other)
public RouterInterface.Builder mergeFrom(RouterInterface other)
Name | Description |
other | RouterInterface |
Type | Description |
RouterInterface.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouterInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RouterInterface.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RouterInterface.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RouterInterface.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RouterInterface.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RouterInterface.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RouterInterface.Builder |
setIpRange(String value)
public RouterInterface.Builder setIpRange(String value)
IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
optional string ip_range = 145092645;
Name | Description |
value | String The ipRange to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setIpRangeBytes(ByteString value)
public RouterInterface.Builder setIpRangeBytes(ByteString value)
IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
optional string ip_range = 145092645;
Name | Description |
value | ByteString The bytes for ipRange to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setLinkedInterconnectAttachment(String value)
public RouterInterface.Builder setLinkedInterconnectAttachment(String 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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;
Name | Description |
value | String The linkedInterconnectAttachment to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setLinkedInterconnectAttachmentBytes(ByteString value)
public RouterInterface.Builder setLinkedInterconnectAttachmentBytes(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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;
Name | Description |
value | ByteString The bytes for linkedInterconnectAttachment to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setLinkedVpnTunnel(String value)
public RouterInterface.Builder setLinkedVpnTunnel(String value)
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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;
Name | Description |
value | String The linkedVpnTunnel to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setLinkedVpnTunnelBytes(ByteString value)
public RouterInterface.Builder setLinkedVpnTunnelBytes(ByteString value)
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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;
Name | Description |
value | ByteString The bytes for linkedVpnTunnel to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setManagementType(String value)
public RouterInterface.Builder setManagementType(String value)
[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;
Name | Description |
value | String The managementType to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setManagementTypeBytes(ByteString value)
public RouterInterface.Builder setManagementTypeBytes(ByteString value)
[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;
Name | Description |
value | ByteString The bytes for managementType to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setName(String value)
public RouterInterface.Builder setName(String value)
Name of this interface entry. 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?
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;
Name | Description |
value | String The name to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public RouterInterface.Builder setNameBytes(ByteString value)
Name of this interface entry. 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?
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setPrivateIpAddress(String value)
public RouterInterface.Builder 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.
optional string private_ip_address = 100854040;
Name | Description |
value | String The privateIpAddress to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setPrivateIpAddressBytes(ByteString value)
public RouterInterface.Builder setPrivateIpAddressBytes(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.
optional string private_ip_address = 100854040;
Name | Description |
value | ByteString The bytes for privateIpAddress to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setRedundantInterface(String value)
public RouterInterface.Builder setRedundantInterface(String value)
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 with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression a-z?
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;
Name | Description |
value | String The redundantInterface to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setRedundantInterfaceBytes(ByteString value)
public RouterInterface.Builder setRedundantInterfaceBytes(ByteString value)
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 with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression a-z?
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;
Name | Description |
value | ByteString The bytes for redundantInterface to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterInterface.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RouterInterface.Builder |
setSubnetwork(String value)
public RouterInterface.Builder 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. 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;
Name | Description |
value | String The subnetwork to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setSubnetworkBytes(ByteString value)
public RouterInterface.Builder setSubnetworkBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Type | Description |
RouterInterface.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RouterInterface.Builder |