Class VpnConnection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
com.google.cloud.edgecontainer.v1.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.GeneratedMessage.Builder<VpnConnection.Builder>
implements VpnConnectionOrBuilder
A VPN connection .Protobuf type
google.cloud.edgecontainer.v1.VpnConnection-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Deprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated.The canonical Cluster name to connect to.Output only.Output only.Whether this VPN connection has HA enabled on cluster side.Required.NAT gateway IP, or WAN IP address.Optional.Output only.clearVpc()The network ID of VPC to connect to.Optional.booleancontainsLabels(String key) Labels associated with this resource.Deprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated.intDeprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated.The canonical Cluster name to connect to.com.google.protobuf.ByteStringThe canonical Cluster name to connect to.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.booleanWhether this VPN connection has HA enabled on cluster side.Deprecated.intLabels associated with this resource.Labels associated with this resource.getLabelsOrDefault(String key, String defaultValue) Labels associated with this resource.getLabelsOrThrow(String key) Labels associated with this resource.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.NAT gateway IP, or WAN IP address.com.google.protobuf.ByteStringNAT gateway IP, or WAN IP address.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getVpc()The network ID of VPC to connect to.com.google.protobuf.ByteStringThe network ID of VPC to connect to.Optional.Optional.Optional.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Output only.mergeFrom(VpnConnection other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.Optional.putAllLabels(Map<String, String> values) Labels associated with this resource.Labels associated with this resource.removeLabels(String key) Labels associated with this resource.Deprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated.setBgpRoutingModeValue(int value) Deprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated.setCluster(String value) The canonical Cluster name to connect to.setClusterBytes(com.google.protobuf.ByteString value) The canonical Cluster name to connect to.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDetails(VpnConnection.Details value) Output only.setDetails(VpnConnection.Details.Builder builderForValue) Output only.setEnableHighAvailability(boolean value) Whether this VPN connection has HA enabled on cluster side.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setNatGatewayIp(String value) NAT gateway IP, or WAN IP address.setNatGatewayIpBytes(com.google.protobuf.ByteString value) NAT gateway IP, or WAN IP address.Optional.setRouterBytes(com.google.protobuf.ByteString value) Optional.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.The network ID of VPC to connect to.setVpcBytes(com.google.protobuf.ByteString value) The network ID of VPC to connect to.Optional.setVpcProject(VpnConnection.VpcProject.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnConnection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Builder>
-
mergeFrom
public VpnConnection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnConnection.Builder>- Throws:
IOException
-
getName
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceVpnConnectionOrBuilder- 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:
getNameBytesin interfaceVpnConnectionOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
hasCreateTimein interfaceVpnConnectionOrBuilder- 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:
getCreateTimein interfaceVpnConnectionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceVpnConnectionOrBuilder
-
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:
hasUpdateTimein interfaceVpnConnectionOrBuilder- 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:
getUpdateTimein interfaceVpnConnectionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time when the VPN connection was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time when the VPN connection was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time when the VPN connection was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceVpnConnectionOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:VpnConnectionOrBuilderLabels associated with this resource.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceVpnConnectionOrBuilder
-
containsLabels
Labels associated with this resource.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceVpnConnectionOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceVpnConnectionOrBuilder
-
getLabelsMap
Labels associated with this resource.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceVpnConnectionOrBuilder
-
getLabelsOrDefault
Labels associated with this resource.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceVpnConnectionOrBuilder
-
getLabelsOrThrow
Labels associated with this resource.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceVpnConnectionOrBuilder
-
clearLabels
-
removeLabels
Labels associated with this resource.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels associated with this resource.
map<string, string> labels = 4; -
putAllLabels
Labels associated with this resource.
map<string, string> labels = 4; -
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:
getNatGatewayIpin interfaceVpnConnectionOrBuilder- 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:
getNatGatewayIpBytesin interfaceVpnConnectionOrBuilder- Returns:
- The bytes for natGatewayIp.
-
setNatGatewayIp
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
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
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.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];- Specified by:
getBgpRoutingModeValuein interfaceVpnConnectionOrBuilder- Returns:
- The enum numeric value on the wire for bgpRoutingMode.
-
setBgpRoutingModeValue
Deprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763Dynamic 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.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];- Specified by:
getBgpRoutingModein interfaceVpnConnectionOrBuilder- Returns:
- The bgpRoutingMode.
-
setBgpRoutingMode
Deprecated.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763Dynamic 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.google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=763Dynamic 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
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:
getClusterin interfaceVpnConnectionOrBuilder- 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:
getClusterBytesin interfaceVpnConnectionOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
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
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
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.
-
getVpc
The network ID of VPC to connect to.
string vpc = 8;- Specified by:
getVpcin interfaceVpnConnectionOrBuilder- Returns:
- The vpc.
-
getVpcBytes
public com.google.protobuf.ByteString getVpcBytes()The network ID of VPC to connect to.
string vpc = 8;- Specified by:
getVpcBytesin interfaceVpnConnectionOrBuilder- Returns:
- The bytes for vpc.
-
setVpc
The network ID of VPC to connect to.
string vpc = 8;- Parameters:
value- The vpc to set.- Returns:
- This builder for chaining.
-
clearVpc
The network ID of VPC to connect to.
string vpc = 8;- Returns:
- This builder for chaining.
-
setVpcBytes
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:
hasVpcProjectin interfaceVpnConnectionOrBuilder- Returns:
- Whether the vpcProject field is set.
-
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:
getVpcProjectin interfaceVpnConnectionOrBuilder- Returns:
- The vpcProject.
-
setVpcProject
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
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
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
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
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
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:
getVpcProjectOrBuilderin interfaceVpnConnectionOrBuilder
-
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:
getEnableHighAvailabilityin interfaceVpnConnectionOrBuilder- Returns:
- The enableHighAvailability.
-
setEnableHighAvailability
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
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.
-
getRouter
Optional. The VPN connection Cloud Router name.
string router = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouterin interfaceVpnConnectionOrBuilder- Returns:
- The router.
-
getRouterBytes
public com.google.protobuf.ByteString getRouterBytes()Optional. The VPN connection Cloud Router name.
string router = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouterBytesin interfaceVpnConnectionOrBuilder- Returns:
- The bytes for router.
-
setRouter
Optional. The VPN connection Cloud Router name.
string router = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The router to set.- Returns:
- This builder for chaining.
-
clearRouter
Optional. The VPN connection Cloud Router name.
string router = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRouterBytes
Optional. The VPN connection Cloud Router name.
string router = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for router to set.- 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:
hasDetailsin interfaceVpnConnectionOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailsin interfaceVpnConnectionOrBuilder- Returns:
- The details.
-
setDetails
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDetails
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDetails
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDetails
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDetailsBuilder
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDetailsOrBuilder
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailsOrBuilderin interfaceVpnConnectionOrBuilder
-