Interface VpnConnectionOrBuilder

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

@Generated public interface VpnConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. The resource name of VPN connection
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of VPN connection
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time when the VPN connection was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the VPN connection was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the VPN connection was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The time when the VPN connection was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the VPN connection was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the VPN connection was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • containsLabels

      boolean containsLabels(String key)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels associated with this resource.
       
      map<string, string> labels = 4;
    • getNatGatewayIp

      String getNatGatewayIp()
       NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the
       customer needs to configure NAT such that only one external IP maps to the
       GMEC Anthos cluster. This is empty if NAT is not used.
       
      string nat_gateway_ip = 5;
      Returns:
      The natGatewayIp.
    • getNatGatewayIpBytes

      com.google.protobuf.ByteString getNatGatewayIpBytes()
       NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the
       customer needs to configure NAT such that only one external IP maps to the
       GMEC Anthos cluster. This is empty if NAT is not used.
       
      string nat_gateway_ip = 5;
      Returns:
      The bytes for natGatewayIp.
    • getBgpRoutingModeValue

      @Deprecated int getBgpRoutingModeValue()
      Deprecated.
      google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763
       Dynamic routing mode of the VPC network, `regional` or `global`.
       
      .google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
      Returns:
      The enum numeric value on the wire for bgpRoutingMode.
    • getBgpRoutingMode

      Deprecated.
      google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763
       Dynamic routing mode of the VPC network, `regional` or `global`.
       
      .google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
      Returns:
      The bgpRoutingMode.
    • getCluster

      String getCluster()
       The canonical Cluster name to connect to. It is in the form of
       projects/{project}/locations/{location}/clusters/{cluster}.
       
      string cluster = 7 [(.google.api.resource_reference) = { ... }
      Returns:
      The cluster.
    • getClusterBytes

      com.google.protobuf.ByteString getClusterBytes()
       The canonical Cluster name to connect to. It is in the form of
       projects/{project}/locations/{location}/clusters/{cluster}.
       
      string cluster = 7 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for cluster.
    • getVpc

      String getVpc()
       The network ID of VPC to connect to.
       
      string vpc = 8;
      Returns:
      The vpc.
    • getVpcBytes

      com.google.protobuf.ByteString getVpcBytes()
       The network ID of VPC to connect to.
       
      string vpc = 8;
      Returns:
      The bytes for vpc.
    • hasVpcProject

      boolean hasVpcProject()
       Optional. Project detail of the VPC network. Required if VPC is in a
       different project than the cluster project.
       
      .google.cloud.edgecontainer.v1.VpnConnection.VpcProject vpc_project = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the vpcProject field is set.
    • getVpcProject

      VpnConnection.VpcProject getVpcProject()
       Optional. Project detail of the VPC network. Required if VPC is in a
       different project than the cluster project.
       
      .google.cloud.edgecontainer.v1.VpnConnection.VpcProject vpc_project = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The vpcProject.
    • getVpcProjectOrBuilder

      VpnConnection.VpcProjectOrBuilder getVpcProjectOrBuilder()
       Optional. Project detail of the VPC network. Required if VPC is in a
       different project than the cluster project.
       
      .google.cloud.edgecontainer.v1.VpnConnection.VpcProject vpc_project = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getEnableHighAvailability

      boolean getEnableHighAvailability()
       Whether this VPN connection has HA enabled on cluster side. If enabled,
       when creating VPN connection we will attempt to use 2 ANG floating IPs.
       
      bool enable_high_availability = 9;
      Returns:
      The enableHighAvailability.
    • getRouter

      String getRouter()
       Optional. The VPN connection Cloud Router name.
       
      string router = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The router.
    • getRouterBytes

      com.google.protobuf.ByteString getRouterBytes()
       Optional. The VPN connection Cloud Router name.
       
      string router = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for router.
    • hasDetails

      boolean hasDetails()
       Output only. The created connection details.
       
      .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the details field is set.
    • getDetails

      VpnConnection.Details getDetails()
       Output only. The created connection details.
       
      .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The details.
    • getDetailsOrBuilder

      VpnConnection.DetailsOrBuilder getDetailsOrBuilder()
       Output only. The created connection details.
       
      .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];