public final class RouterInterface extends com.google.protobuf.GeneratedMessageV3 implements RouterInterfaceOrBuilder
Protobuf type
google.cloud.compute.v1.RouterInterface| Modifier and Type | Class and Description |
|---|---|
static class |
RouterInterface.Builder |
static class |
RouterInterface.ManagementType
[Output Only] The resource that configures and manages this interface.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
IP_RANGE_FIELD_NUMBER |
static int |
LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER |
static int |
LINKED_VPN_TUNNEL_FIELD_NUMBER |
static int |
MANAGEMENT_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PRIVATE_IP_ADDRESS_FIELD_NUMBER |
static int |
REDUNDANT_INTERFACE_FIELD_NUMBER |
static int |
SUBNETWORK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouterInterface |
getDefaultInstance() |
RouterInterface |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIpRange()
IP address and range of the interface.
|
com.google.protobuf.ByteString |
getIpRangeBytes()
IP address and range of the interface.
|
String |
getLinkedInterconnectAttachment()
URI of the linked Interconnect attachment.
|
com.google.protobuf.ByteString |
getLinkedInterconnectAttachmentBytes()
URI of the linked Interconnect attachment.
|
String |
getLinkedVpnTunnel()
URI of the linked VPN tunnel, which must be in the same region as the router.
|
com.google.protobuf.ByteString |
getLinkedVpnTunnelBytes()
URI of the linked VPN tunnel, which must be in the same region as the router.
|
String |
getManagementType()
[Output Only] The resource that configures and manages this interface.
|
com.google.protobuf.ByteString |
getManagementTypeBytes()
[Output Only] The resource that configures and manages this interface.
|
String |
getName()
Name of this interface entry.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of this interface entry.
|
com.google.protobuf.Parser<RouterInterface> |
getParserForType() |
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.
|
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.
|
String |
getRedundantInterface()
Name of the interface that will be redundant with the current interface you are creating.
|
com.google.protobuf.ByteString |
getRedundantInterfaceBytes()
Name of the interface that will be redundant with the current interface you are creating.
|
int |
getSerializedSize() |
String |
getSubnetwork()
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.ByteString |
getSubnetworkBytes()
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.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasIpRange()
IP address and range of the interface.
|
boolean |
hasLinkedInterconnectAttachment()
URI of the linked Interconnect attachment.
|
boolean |
hasLinkedVpnTunnel()
URI of the linked VPN tunnel, which must be in the same region as the router.
|
boolean |
hasManagementType()
[Output Only] The resource that configures and manages this interface.
|
boolean |
hasName()
Name of this interface entry.
|
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.
|
boolean |
hasRedundantInterface()
Name of the interface that will be redundant with the current interface you are creating.
|
boolean |
hasSubnetwork()
The 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.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouterInterface.Builder |
newBuilder() |
static RouterInterface.Builder |
newBuilder(RouterInterface prototype) |
RouterInterface.Builder |
newBuilderForType() |
protected RouterInterface.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouterInterface |
parseDelimitedFrom(InputStream input) |
static RouterInterface |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterInterface |
parseFrom(byte[] data) |
static RouterInterface |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterInterface |
parseFrom(ByteBuffer data) |
static RouterInterface |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterInterface |
parseFrom(com.google.protobuf.ByteString data) |
static RouterInterface |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterInterface |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouterInterface |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterInterface |
parseFrom(InputStream input) |
static RouterInterface |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouterInterface> |
parser() |
RouterInterface.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IP_RANGE_FIELD_NUMBER
public static final int LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER
public static final int LINKED_VPN_TUNNEL_FIELD_NUMBER
public static final int MANAGEMENT_TYPE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int PRIVATE_IP_ADDRESS_FIELD_NUMBER
public static final int REDUNDANT_INTERFACE_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasIpRange in interface RouterInterfaceOrBuilderpublic 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;getIpRange in interface RouterInterfaceOrBuilderpublic com.google.protobuf.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;getIpRangeBytes in interface RouterInterfaceOrBuilderpublic 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;hasLinkedInterconnectAttachment in interface RouterInterfaceOrBuilderpublic 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;getLinkedInterconnectAttachment in interface RouterInterfaceOrBuilderpublic 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 virtual machine instance.
optional string linked_interconnect_attachment = 501085518;getLinkedInterconnectAttachmentBytes in interface RouterInterfaceOrBuilderpublic 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;hasLinkedVpnTunnel in interface RouterInterfaceOrBuilderpublic 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;getLinkedVpnTunnel in interface RouterInterfaceOrBuilderpublic 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 virtual machine instance.
optional string linked_vpn_tunnel = 352296953;getLinkedVpnTunnelBytes in interface RouterInterfaceOrBuilderpublic 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;hasManagementType in interface RouterInterfaceOrBuilderpublic 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;getManagementType in interface RouterInterfaceOrBuilderpublic com.google.protobuf.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;getManagementTypeBytes in interface RouterInterfaceOrBuilderpublic 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]([-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;hasName in interface RouterInterfaceOrBuilderpublic 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]([-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;getName in interface RouterInterfaceOrBuilderpublic com.google.protobuf.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]([-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;getNameBytes in interface RouterInterfaceOrBuilderpublic 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;hasPrivateIpAddress in interface RouterInterfaceOrBuilderpublic 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;getPrivateIpAddress in interface RouterInterfaceOrBuilderpublic 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;getPrivateIpAddressBytes in interface RouterInterfaceOrBuilderpublic 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]([-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;hasRedundantInterface in interface RouterInterfaceOrBuilderpublic 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]([-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;getRedundantInterface in interface RouterInterfaceOrBuilderpublic 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 with RFC1035. 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;getRedundantInterfaceBytes in interface RouterInterfaceOrBuilderpublic 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;hasSubnetwork in interface RouterInterfaceOrBuilderpublic 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;getSubnetwork in interface RouterInterfaceOrBuilderpublic 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;getSubnetworkBytes in interface RouterInterfaceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouterInterface parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterInterface parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterInterface parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterInterface parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterInterface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterInterface parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterInterface parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouterInterface parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouterInterface parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouterInterface parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouterInterface parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouterInterface parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouterInterface.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouterInterface.Builder newBuilder()
public static RouterInterface.Builder newBuilder(RouterInterface prototype)
public RouterInterface.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouterInterface.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouterInterface getDefaultInstance()
public static com.google.protobuf.Parser<RouterInterface> parser()
public com.google.protobuf.Parser<RouterInterface> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouterInterface getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.