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| Modifier and Type | Method and Description |
|---|---|
VpnConnection.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnConnection |
build() |
VpnConnection |
buildPartial() |
VpnConnection.Builder |
clear() |
VpnConnection.Builder |
clearBgpRoutingMode()
Deprecated.
google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See
google/cloud/edgecontainer/v1/resources.proto;l=361
|
VpnConnection.Builder |
clearCluster()
The canonical Cluster name to connect to.
|
VpnConnection.Builder |
clearCreateTime()
Output only.
|
VpnConnection.Builder |
clearDetails()
Output only.
|
VpnConnection.Builder |
clearEnableHighAvailability()
Whether this VPN connection has HA enabled on cluster side.
|
VpnConnection.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VpnConnection.Builder |
clearLabels() |
VpnConnection.Builder |
clearName()
Required.
|
VpnConnection.Builder |
clearNatGatewayIp()
NAT gateway IP, or WAN IP address.
|
VpnConnection.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VpnConnection.Builder |
clearUpdateTime()
Output only.
|
VpnConnection.Builder |
clearVpc()
The network ID of VPC to connect to.
|
VpnConnection.Builder |
clearVpcProject()
Optional.
|
VpnConnection.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this resource.
|
VpnConnection.BgpRoutingMode |
getBgpRoutingMode()
Deprecated.
google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See
google/cloud/edgecontainer/v1/resources.proto;l=361
|
int |
getBgpRoutingModeValue()
Deprecated.
google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See
google/cloud/edgecontainer/v1/resources.proto;l=361
|
String |
getCluster()
The canonical Cluster name to connect to.
|
com.google.protobuf.ByteString |
getClusterBytes()
The canonical Cluster name to connect to.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
VpnConnection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
VpnConnection.Details |
getDetails()
Output only.
|
VpnConnection.Details.Builder |
getDetailsBuilder()
Output only.
|
VpnConnection.DetailsOrBuilder |
getDetailsOrBuilder()
Output only.
|
boolean |
getEnableHighAvailability()
Whether this VPN connection has HA enabled on cluster side.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getNatGatewayIp()
NAT gateway IP, or WAN IP address.
|
com.google.protobuf.ByteString |
getNatGatewayIpBytes()
NAT gateway IP, or WAN IP address.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getVpc()
The network ID of VPC to connect to.
|
com.google.protobuf.ByteString |
getVpcBytes()
The network ID of VPC to connect to.
|
VpnConnection.VpcProject |
getVpcProject()
Optional.
|
VpnConnection.VpcProject.Builder |
getVpcProjectBuilder()
Optional.
|
VpnConnection.VpcProjectOrBuilder |
getVpcProjectOrBuilder()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDetails()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVpcProject()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
VpnConnection.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
VpnConnection.Builder |
mergeDetails(VpnConnection.Details value)
Output only.
|
VpnConnection.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VpnConnection.Builder |
mergeFrom(com.google.protobuf.Message other) |
VpnConnection.Builder |
mergeFrom(VpnConnection other) |
VpnConnection.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnConnection.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
VpnConnection.Builder |
mergeVpcProject(VpnConnection.VpcProject value)
Optional.
|
VpnConnection.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this resource.
|
VpnConnection.Builder |
putLabels(String key,
String value)
Labels associated with this resource.
|
VpnConnection.Builder |
removeLabels(String key)
Labels associated with this resource.
|
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
|
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
|
VpnConnection.Builder |
setCluster(String value)
The canonical Cluster name to connect to.
|
VpnConnection.Builder |
setClusterBytes(com.google.protobuf.ByteString value)
The canonical Cluster name to connect to.
|
VpnConnection.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VpnConnection.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
VpnConnection.Builder |
setDetails(VpnConnection.Details.Builder builderForValue)
Output only.
|
VpnConnection.Builder |
setDetails(VpnConnection.Details value)
Output only.
|
VpnConnection.Builder |
setEnableHighAvailability(boolean value)
Whether this VPN connection has HA enabled on cluster side.
|
VpnConnection.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnConnection.Builder |
setName(String value)
Required.
|
VpnConnection.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
VpnConnection.Builder |
setNatGatewayIp(String value)
NAT gateway IP, or WAN IP address.
|
VpnConnection.Builder |
setNatGatewayIpBytes(com.google.protobuf.ByteString value)
NAT gateway IP, or WAN IP address.
|
VpnConnection.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VpnConnection.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnConnection.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VpnConnection.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
VpnConnection.Builder |
setVpc(String value)
The network ID of VPC to connect to.
|
VpnConnection.Builder |
setVpcBytes(com.google.protobuf.ByteString value)
The network ID of VPC to connect to.
|
VpnConnection.Builder |
setVpcProject(VpnConnection.VpcProject.Builder builderForValue)
Optional.
|
VpnConnection.Builder |
setVpcProject(VpnConnection.VpcProject value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VpnConnection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VpnConnection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VpnConnection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.Builder>public VpnConnection.Builder mergeFrom(VpnConnection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public VpnConnection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.Builder>IOExceptionpublic String getName()
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface VpnConnectionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface VpnConnectionOrBuilderpublic VpnConnection.Builder setName(String value)
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public VpnConnection.Builder clearName()
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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) = { ... }
value - The bytes for name to set.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];
hasCreateTime in interface VpnConnectionOrBuilderpublic 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];
getCreateTime in interface VpnConnectionOrBuilderpublic 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];
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];
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];
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];
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];
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];
getCreateTimeOrBuilder in interface VpnConnectionOrBuilderpublic 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];
hasUpdateTime in interface VpnConnectionOrBuilderpublic 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];
getUpdateTime in interface VpnConnectionOrBuilderpublic 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];
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];
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];
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];
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];
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];
getUpdateTimeOrBuilder in interface VpnConnectionOrBuilderpublic int getLabelsCount()
VpnConnectionOrBuilderLabels associated with this resource.
map<string, string> labels = 4;getLabelsCount in interface VpnConnectionOrBuilderpublic boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;containsLabels in interface VpnConnectionOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface VpnConnectionOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;getLabelsMap in interface VpnConnectionOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrDefault in interface VpnConnectionOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrThrow in interface VpnConnectionOrBuilderpublic VpnConnection.Builder clearLabels()
public VpnConnection.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public VpnConnection.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;public VpnConnection.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;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;getNatGatewayIp in interface VpnConnectionOrBuilderpublic 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;getNatGatewayIpBytes in interface VpnConnectionOrBuilderpublic 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;value - The natGatewayIp to set.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;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;value - The bytes for natGatewayIp to set.@Deprecated public int getBgpRoutingModeValue()
Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
getBgpRoutingModeValue in interface VpnConnectionOrBuilder@Deprecated public VpnConnection.Builder setBgpRoutingModeValue(int value)
Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
value - The enum numeric value on the wire for bgpRoutingMode to set.@Deprecated public VpnConnection.BgpRoutingMode getBgpRoutingMode()
Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
getBgpRoutingMode in interface VpnConnectionOrBuilder@Deprecated public VpnConnection.Builder setBgpRoutingMode(VpnConnection.BgpRoutingMode value)
Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
value - The bgpRoutingMode to set.@Deprecated public VpnConnection.Builder clearBgpRoutingMode()
Dynamic routing mode of the VPC network, `regional` or `global`.
.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
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) = { ... }getCluster in interface VpnConnectionOrBuilderpublic 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) = { ... }getClusterBytes in interface VpnConnectionOrBuilderpublic 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) = { ... }value - The cluster to set.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) = { ... }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) = { ... }value - The bytes for cluster to set.public String getVpc()
The network ID of VPC to connect to.
string vpc = 8;getVpc in interface VpnConnectionOrBuilderpublic com.google.protobuf.ByteString getVpcBytes()
The network ID of VPC to connect to.
string vpc = 8;getVpcBytes in interface VpnConnectionOrBuilderpublic VpnConnection.Builder setVpc(String value)
The network ID of VPC to connect to.
string vpc = 8;value - The vpc to set.public VpnConnection.Builder clearVpc()
The network ID of VPC to connect to.
string vpc = 8;public VpnConnection.Builder setVpcBytes(com.google.protobuf.ByteString value)
The network ID of VPC to connect to.
string vpc = 8;value - The bytes for vpc to set.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];
hasVpcProject in interface VpnConnectionOrBuilderpublic 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];
getVpcProject in interface VpnConnectionOrBuilderpublic 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];
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];
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];
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];
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];
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];
getVpcProjectOrBuilder in interface VpnConnectionOrBuilderpublic 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;getEnableHighAvailability in interface VpnConnectionOrBuilderpublic 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;value - The enableHighAvailability to set.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;public boolean hasDetails()
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDetails in interface VpnConnectionOrBuilderpublic VpnConnection.Details getDetails()
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDetails in interface VpnConnectionOrBuilderpublic 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];
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];
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];
public VpnConnection.Builder clearDetails()
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public VpnConnection.DetailsOrBuilder getDetailsOrBuilder()
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDetailsOrBuilder in interface VpnConnectionOrBuilderpublic final VpnConnection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>public final VpnConnection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.Builder>Copyright © 2024 Google LLC. All rights reserved.