Class RouterInterface

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.RouterInterface
All Implemented Interfaces:
RouterInterfaceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RouterInterface extends com.google.protobuf.GeneratedMessage implements RouterInterfaceOrBuilder
 
Protobuf type google.cloud.compute.v1.RouterInterface
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    static enum 
    IP version of this interface.
    static enum 
    Output only.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    IP address and range of the interface
    com.google.protobuf.ByteString
    IP address and range of the interface
    IP version of this interface.
    com.google.protobuf.ByteString
    IP version of this interface.
    URI of the linked Interconnect attachment.
    com.google.protobuf.ByteString
    URI of the linked Interconnect attachment.
    URI of the linked VPN tunnel, which must be in the same region as the router.
    com.google.protobuf.ByteString
    URI of the linked VPN tunnel, which must be in the same region as the router.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Name of this interface entry.
    com.google.protobuf.ByteString
    Name of this interface entry.
    com.google.protobuf.Parser<RouterInterface>
     
    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
    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.
    com.google.protobuf.ByteString
    Name of the interface that will be redundant with the current interface you are creating.
    int
     
    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
    The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.
    int
     
    boolean
    IP address and range of the interface
    boolean
    IP version of this interface.
    boolean
    URI of the linked Interconnect attachment.
    boolean
    URI of the linked VPN tunnel, which must be in the same region as the router.
    boolean
    Output only.
    boolean
    Name of this interface entry.
    boolean
    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
    Name of the interface that will be redundant with the current interface you are creating.
    boolean
    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.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<RouterInterface>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • IP_RANGE_FIELD_NUMBER

      public static final int IP_RANGE_FIELD_NUMBER
      See Also:
    • IP_VERSION_FIELD_NUMBER

      public static final int IP_VERSION_FIELD_NUMBER
      See Also:
    • LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER

      public static final int LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER
      See Also:
    • LINKED_VPN_TUNNEL_FIELD_NUMBER

      public static final int LINKED_VPN_TUNNEL_FIELD_NUMBER
      See Also:
    • MANAGEMENT_TYPE_FIELD_NUMBER

      public static final int MANAGEMENT_TYPE_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PRIVATE_IP_ADDRESS_FIELD_NUMBER

      public static final int PRIVATE_IP_ADDRESS_FIELD_NUMBER
      See Also:
    • REDUNDANT_INTERFACE_FIELD_NUMBER

      public static final int REDUNDANT_INTERFACE_FIELD_NUMBER
      See Also:
    • SUBNETWORK_FIELD_NUMBER

      public static final int SUBNETWORK_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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:
      hasIpRange in interface RouterInterfaceOrBuilder
      Returns:
      Whether the ipRange field is set.
    • getIpRange

      public String 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:
      getIpRange in interface RouterInterfaceOrBuilder
      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:
      getIpRangeBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for ipRange.
    • 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:
      hasIpVersion in interface RouterInterfaceOrBuilder
      Returns:
      Whether the ipVersion field is set.
    • getIpVersion

      public String getIpVersion()
       IP version of this interface.
       Check the IpVersion enum for the list of possible values.
       
      optional string ip_version = 294959552;
      Specified by:
      getIpVersion in interface RouterInterfaceOrBuilder
      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:
      getIpVersionBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for ipVersion.
    • 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:
      hasLinkedInterconnectAttachment in interface RouterInterfaceOrBuilder
      Returns:
      Whether the linkedInterconnectAttachment field is set.
    • 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 subnetwork.
       
      optional string linked_interconnect_attachment = 501085518;
      Specified by:
      getLinkedInterconnectAttachment in interface RouterInterfaceOrBuilder
      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:
      getLinkedInterconnectAttachmentBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for linkedInterconnectAttachment.
    • 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:
      hasLinkedVpnTunnel in interface RouterInterfaceOrBuilder
      Returns:
      Whether the linkedVpnTunnel field is set.
    • 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 subnetwork.
       
      optional string linked_vpn_tunnel = 352296953;
      Specified by:
      getLinkedVpnTunnel in interface RouterInterfaceOrBuilder
      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:
      getLinkedVpnTunnelBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for linkedVpnTunnel.
    • 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:
      hasManagementType in interface RouterInterfaceOrBuilder
      Returns:
      Whether the managementType field is set.
    • getManagementType

      public String 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:
      getManagementType in interface RouterInterfaceOrBuilder
      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:
      getManagementTypeBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for managementType.
    • 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:
      hasName in interface RouterInterfaceOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String 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:
      getName in interface RouterInterfaceOrBuilder
      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:
      getNameBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for name.
    • 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:
      hasPrivateIpAddress in interface RouterInterfaceOrBuilder
      Returns:
      Whether the privateIpAddress field is set.
    • 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;
      Specified by:
      getPrivateIpAddress in interface RouterInterfaceOrBuilder
      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:
      getPrivateIpAddressBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for privateIpAddress.
    • 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:
      hasRedundantInterface in interface RouterInterfaceOrBuilder
      Returns:
      Whether the redundantInterface field is set.
    • 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 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:
      getRedundantInterface in interface RouterInterfaceOrBuilder
      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:
      getRedundantInterfaceBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for redundantInterface.
    • 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:
      hasSubnetwork in interface RouterInterfaceOrBuilder
      Returns:
      Whether the subnetwork field is set.
    • 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;
      Specified by:
      getSubnetwork in interface RouterInterfaceOrBuilder
      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:
      getSubnetworkBytes in interface RouterInterfaceOrBuilder
      Returns:
      The bytes for subnetwork.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RouterInterface parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterInterface parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterInterface parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterInterface parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterInterface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterInterface parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterInterface parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RouterInterface parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RouterInterface parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RouterInterface parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RouterInterface parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RouterInterface parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RouterInterface.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RouterInterface.Builder newBuilder()
    • newBuilder

      public static RouterInterface.Builder newBuilder(RouterInterface prototype)
    • toBuilder

      public RouterInterface.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RouterInterface.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RouterInterface getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RouterInterface> parser()
    • getParserForType

      public com.google.protobuf.Parser<RouterInterface> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RouterInterface getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder