Interface RouterOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Router, Router.Builder

    public interface RouterOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasBgp

        boolean hasBgp()
         BGP information specific to this router.
         
        optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
        Returns:
        Whether the bgp field is set.
      • getBgp

        RouterBgp getBgp()
         BGP information specific to this router.
         
        optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
        Returns:
        The bgp.
      • getBgpOrBuilder

        RouterBgpOrBuilder getBgpOrBuilder()
         BGP information specific to this router.
         
        optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
      • getBgpPeersList

        List<RouterBgpPeer> getBgpPeersList()
         BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
         
        repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
      • getBgpPeers

        RouterBgpPeer getBgpPeers​(int index)
         BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
         
        repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
      • getBgpPeersCount

        int getBgpPeersCount()
         BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
         
        repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
      • getBgpPeersOrBuilderList

        List<? extends RouterBgpPeerOrBuilder> getBgpPeersOrBuilderList()
         BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
         
        repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
      • getBgpPeersOrBuilder

        RouterBgpPeerOrBuilder getBgpPeersOrBuilder​(int index)
         BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
         
        repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
      • hasCreationTimestamp

        boolean hasCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Returns:
        Whether the creationTimestamp field is set.
      • getCreationTimestamp

        String getCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Returns:
        The creationTimestamp.
      • getCreationTimestampBytes

        com.google.protobuf.ByteString getCreationTimestampBytes()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Returns:
        The bytes for creationTimestamp.
      • hasDescription

        boolean hasDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Returns:
        Whether the description field is set.
      • getDescription

        String getDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Returns:
        The bytes for description.
      • hasEncryptedInterconnectRouter

        boolean hasEncryptedInterconnectRouter()
         Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
         
        optional bool encrypted_interconnect_router = 297996575;
        Returns:
        Whether the encryptedInterconnectRouter field is set.
      • getEncryptedInterconnectRouter

        boolean getEncryptedInterconnectRouter()
         Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
         
        optional bool encrypted_interconnect_router = 297996575;
        Returns:
        The encryptedInterconnectRouter.
      • hasId

        boolean hasId()
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Returns:
        The id.
      • getInterfacesList

        List<RouterInterface> getInterfacesList()
         Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
         
        repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
      • getInterfaces

        RouterInterface getInterfaces​(int index)
         Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
         
        repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
      • getInterfacesCount

        int getInterfacesCount()
         Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
         
        repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
      • getInterfacesOrBuilderList

        List<? extends RouterInterfaceOrBuilder> getInterfacesOrBuilderList()
         Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
         
        repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
      • getInterfacesOrBuilder

        RouterInterfaceOrBuilder getInterfacesOrBuilder​(int index)
         Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
         
        repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
      • hasKind

        boolean hasKind()
         [Output Only] Type of resource. Always compute#router for routers.
         
        optional string kind = 3292052;
        Returns:
        Whether the kind field is set.
      • getKind

        String getKind()
         [Output Only] Type of resource. Always compute#router for routers.
         
        optional string kind = 3292052;
        Returns:
        The kind.
      • getKindBytes

        com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of resource. Always compute#router for routers.
         
        optional string kind = 3292052;
        Returns:
        The bytes for kind.
      • getMd5AuthenticationKeysList

        List<RouterMd5AuthenticationKey> getMd5AuthenticationKeysList()
         Keys used for MD5 authentication.
         
        repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
      • getMd5AuthenticationKeys

        RouterMd5AuthenticationKey getMd5AuthenticationKeys​(int index)
         Keys used for MD5 authentication.
         
        repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
      • getMd5AuthenticationKeysCount

        int getMd5AuthenticationKeysCount()
         Keys used for MD5 authentication.
         
        repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
      • getMd5AuthenticationKeysOrBuilderList

        List<? extends RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()
         Keys used for MD5 authentication.
         
        repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
      • getMd5AuthenticationKeysOrBuilder

        RouterMd5AuthenticationKeyOrBuilder getMd5AuthenticationKeysOrBuilder​(int index)
         Keys used for MD5 authentication.
         
        repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
      • hasName

        boolean hasName()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply 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;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the resource. Provided by the client when the resource is created. 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;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply 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;
        Returns:
        The bytes for name.
      • getNatsList

        List<RouterNat> getNatsList()
         A list of NAT services created in this router.
         
        repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
      • getNats

        RouterNat getNats​(int index)
         A list of NAT services created in this router.
         
        repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
      • getNatsCount

        int getNatsCount()
         A list of NAT services created in this router.
         
        repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
      • getNatsOrBuilderList

        List<? extends RouterNatOrBuilder> getNatsOrBuilderList()
         A list of NAT services created in this router.
         
        repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
      • getNatsOrBuilder

        RouterNatOrBuilder getNatsOrBuilder​(int index)
         A list of NAT services created in this router.
         
        repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
      • hasNetwork

        boolean hasNetwork()
         URI of the network to which this router belongs.
         
        optional string network = 232872494;
        Returns:
        Whether the network field is set.
      • getNetwork

        String getNetwork()
         URI of the network to which this router belongs.
         
        optional string network = 232872494;
        Returns:
        The network.
      • getNetworkBytes

        com.google.protobuf.ByteString getNetworkBytes()
         URI of the network to which this router belongs.
         
        optional string network = 232872494;
        Returns:
        The bytes for network.
      • hasRegion

        boolean hasRegion()
         [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Returns:
        Whether the region field is set.
      • getRegion

        String getRegion()
         [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Returns:
        The region.
      • getRegionBytes

        com.google.protobuf.ByteString getRegionBytes()
         [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Returns:
        The bytes for region.
      • hasSelfLink

        boolean hasSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        Whether the selfLink field is set.
      • getSelfLink

        String getSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        The selfLink.
      • getSelfLinkBytes

        com.google.protobuf.ByteString getSelfLinkBytes()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        The bytes for selfLink.