Class VpnConnection.Builder

  • All Implemented Interfaces:
    VpnConnectionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    VpnConnection

    public static final class VpnConnection.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
    implements VpnConnectionOrBuilder
     A VPN connection .
     
    Protobuf type google.cloud.edgecontainer.v1.VpnConnection
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • clear

        public VpnConnection.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • getDefaultInstanceForType

        public VpnConnection getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public VpnConnection build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public VpnConnection buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public VpnConnection.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • setField

        public VpnConnection.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • clearField

        public VpnConnection.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • clearOneof

        public VpnConnection.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • setRepeatedField

        public VpnConnection.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • addRepeatedField

        public VpnConnection.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • mergeFrom

        public VpnConnection.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • mergeFrom

        public VpnConnection.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.Builder>
        Throws:
        IOException
      • getName

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

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of VPN connection
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface VpnConnectionOrBuilder
        Returns:
        The bytes for name.
      • setName

        public VpnConnection.Builder setName​(String value)
         Required. The resource name of VPN connection
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public VpnConnection.Builder clearName()
         Required. The resource name of VPN connection
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public VpnConnection.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of VPN connection
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

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

        public 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];
        Specified by:
        getCreateTime in interface VpnConnectionOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public VpnConnection.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the VPN connection was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public VpnConnection.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the VPN connection was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public VpnConnection.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the VPN connection was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public VpnConnection.Builder clearCreateTime()
         Output only. The time when the VPN connection was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

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

        public 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];
        Specified by:
        getCreateTimeOrBuilder in interface VpnConnectionOrBuilder
      • hasUpdateTime

        public 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];
        Specified by:
        hasUpdateTime in interface VpnConnectionOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public 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];
        Specified by:
        getUpdateTime in interface VpnConnectionOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public VpnConnection.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the VPN connection was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public VpnConnection.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the VPN connection was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public VpnConnection.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the VPN connection was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public VpnConnection.Builder clearUpdateTime()
         Output only. The time when the VPN connection was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

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

        public 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];
        Specified by:
        getUpdateTimeOrBuilder in interface VpnConnectionOrBuilder
      • removeLabels

        public VpnConnection.Builder removeLabels​(String key)
         Labels associated with this resource.
         
        map<string, string> labels = 4;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • getNatGatewayIp

        public 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;
        Specified by:
        getNatGatewayIp in interface VpnConnectionOrBuilder
        Returns:
        The natGatewayIp.
      • getNatGatewayIpBytes

        public 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;
        Specified by:
        getNatGatewayIpBytes in interface VpnConnectionOrBuilder
        Returns:
        The bytes for natGatewayIp.
      • setNatGatewayIp

        public VpnConnection.Builder setNatGatewayIp​(String value)
         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;
        Parameters:
        value - The natGatewayIp to set.
        Returns:
        This builder for chaining.
      • clearNatGatewayIp

        public VpnConnection.Builder clearNatGatewayIp()
         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:
        This builder for chaining.
      • setNatGatewayIpBytes

        public VpnConnection.Builder setNatGatewayIpBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for natGatewayIp to set.
        Returns:
        This builder for chaining.
      • getBgpRoutingModeValue

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

        @Deprecated
        public VpnConnection.Builder setBgpRoutingModeValue​(int value)
        Deprecated.
        google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=361
         Dynamic routing mode of the VPC network, `regional` or `global`.
         
        .google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
        Parameters:
        value - The enum numeric value on the wire for bgpRoutingMode to set.
        Returns:
        This builder for chaining.
      • getBgpRoutingMode

        @Deprecated
        public VpnConnection.BgpRoutingMode getBgpRoutingMode()
        Deprecated.
        google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=361
         Dynamic routing mode of the VPC network, `regional` or `global`.
         
        .google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
        Specified by:
        getBgpRoutingMode in interface VpnConnectionOrBuilder
        Returns:
        The bgpRoutingMode.
      • setBgpRoutingMode

        @Deprecated
        public VpnConnection.Builder setBgpRoutingMode​(VpnConnection.BgpRoutingMode value)
        Deprecated.
        google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=361
         Dynamic routing mode of the VPC network, `regional` or `global`.
         
        .google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
        Parameters:
        value - The bgpRoutingMode to set.
        Returns:
        This builder for chaining.
      • clearBgpRoutingMode

        @Deprecated
        public VpnConnection.Builder clearBgpRoutingMode()
        Deprecated.
        google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=361
         Dynamic routing mode of the VPC network, `regional` or `global`.
         
        .google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
        Returns:
        This builder for chaining.
      • getCluster

        public 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) = { ... }
        Specified by:
        getCluster in interface VpnConnectionOrBuilder
        Returns:
        The cluster.
      • getClusterBytes

        public 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) = { ... }
        Specified by:
        getClusterBytes in interface VpnConnectionOrBuilder
        Returns:
        The bytes for cluster.
      • setCluster

        public VpnConnection.Builder setCluster​(String value)
         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) = { ... }
        Parameters:
        value - The cluster to set.
        Returns:
        This builder for chaining.
      • clearCluster

        public VpnConnection.Builder clearCluster()
         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:
        This builder for chaining.
      • setClusterBytes

        public VpnConnection.Builder setClusterBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for cluster to set.
        Returns:
        This builder for chaining.
      • getVpcBytes

        public com.google.protobuf.ByteString getVpcBytes()
         The network ID of VPC to connect to.
         
        string vpc = 8;
        Specified by:
        getVpcBytes in interface VpnConnectionOrBuilder
        Returns:
        The bytes for vpc.
      • setVpc

        public VpnConnection.Builder setVpc​(String value)
         The network ID of VPC to connect to.
         
        string vpc = 8;
        Parameters:
        value - The vpc to set.
        Returns:
        This builder for chaining.
      • clearVpc

        public VpnConnection.Builder clearVpc()
         The network ID of VPC to connect to.
         
        string vpc = 8;
        Returns:
        This builder for chaining.
      • setVpcBytes

        public VpnConnection.Builder setVpcBytes​(com.google.protobuf.ByteString value)
         The network ID of VPC to connect to.
         
        string vpc = 8;
        Parameters:
        value - The bytes for vpc to set.
        Returns:
        This builder for chaining.
      • hasVpcProject

        public 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];
        Specified by:
        hasVpcProject in interface VpnConnectionOrBuilder
        Returns:
        Whether the vpcProject field is set.
      • getVpcProject

        public 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];
        Specified by:
        getVpcProject in interface VpnConnectionOrBuilder
        Returns:
        The vpcProject.
      • setVpcProject

        public VpnConnection.Builder setVpcProject​(VpnConnection.VpcProject value)
         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];
      • setVpcProject

        public VpnConnection.Builder setVpcProject​(VpnConnection.VpcProject.Builder builderForValue)
         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];
      • mergeVpcProject

        public VpnConnection.Builder mergeVpcProject​(VpnConnection.VpcProject value)
         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];
      • clearVpcProject

        public VpnConnection.Builder clearVpcProject()
         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];
      • getVpcProjectBuilder

        public VpnConnection.VpcProject.Builder getVpcProjectBuilder()
         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];
      • getVpcProjectOrBuilder

        public 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];
        Specified by:
        getVpcProjectOrBuilder in interface VpnConnectionOrBuilder
      • getEnableHighAvailability

        public 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;
        Specified by:
        getEnableHighAvailability in interface VpnConnectionOrBuilder
        Returns:
        The enableHighAvailability.
      • setEnableHighAvailability

        public VpnConnection.Builder setEnableHighAvailability​(boolean value)
         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;
        Parameters:
        value - The enableHighAvailability to set.
        Returns:
        This builder for chaining.
      • clearEnableHighAvailability

        public VpnConnection.Builder clearEnableHighAvailability()
         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:
        This builder for chaining.
      • hasDetails

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

        public VpnConnection.Details getDetails()
         Output only. The created connection details.
         
        .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDetails in interface VpnConnectionOrBuilder
        Returns:
        The details.
      • setDetails

        public VpnConnection.Builder setDetails​(VpnConnection.Details value)
         Output only. The created connection details.
         
        .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDetails

        public VpnConnection.Builder setDetails​(VpnConnection.Details.Builder builderForValue)
         Output only. The created connection details.
         
        .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDetails

        public VpnConnection.Builder mergeDetails​(VpnConnection.Details value)
         Output only. The created connection details.
         
        .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDetails

        public VpnConnection.Builder clearDetails()
         Output only. The created connection details.
         
        .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDetailsBuilder

        public VpnConnection.Details.Builder getDetailsBuilder()
         Output only. The created connection details.
         
        .google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final VpnConnection.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>
      • mergeUnknownFields

        public final VpnConnection.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>