- 0.48.0 (latest)
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class VpnConnection.Builder extends GeneratedMessageV3.Builder<VpnConnection.Builder> implements VpnConnectionOrBuilder
A VPN connection .
Protobuf type google.cloud.edgecontainer.v1.VpnConnection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnConnection.BuilderImplements
VpnConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VpnConnection.Builder |
build()
public VpnConnection build()
Type | Description |
VpnConnection |
buildPartial()
public VpnConnection buildPartial()
Type | Description |
VpnConnection |
clear()
public VpnConnection.Builder clear()
Type | Description |
VpnConnection.Builder |
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];
Type | Description |
VpnConnection.Builder | 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) = { ... }
Type | Description |
VpnConnection.Builder | This builder for chaining. |
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];
Type | Description |
VpnConnection.Builder |
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];
Type | Description |
VpnConnection.Builder |
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;
Type | Description |
VpnConnection.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VpnConnection.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VpnConnection.Builder |
clearLabels()
public VpnConnection.Builder clearLabels()
Type | Description |
VpnConnection.Builder |
clearName()
public VpnConnection.Builder clearName()
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
VpnConnection.Builder | 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;
Type | Description |
VpnConnection.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VpnConnection.Builder |
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];
Type | Description |
VpnConnection.Builder |
clearVpc()
public VpnConnection.Builder clearVpc()
The network ID of VPC to connect to.
string vpc = 8;
Type | Description |
VpnConnection.Builder | This builder for chaining. |
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];
Type | Description |
VpnConnection.Builder |
clone()
public VpnConnection.Builder clone()
Type | Description |
VpnConnection.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
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];
Type | Description |
VpnConnection.BgpRoutingMode | The bgpRoutingMode. |
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];
Type | Description |
int | The enum numeric value on the wire for bgpRoutingMode. |
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) = { ... }
Type | Description |
String | The cluster. |
getClusterBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for cluster. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public 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];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public VpnConnection getDefaultInstanceForType()
Type | Description |
VpnConnection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
VpnConnection.Details | The details. |
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];
Type | Description |
VpnConnection.Details.Builder |
getDetailsOrBuilder()
public VpnConnection.DetailsOrBuilder getDetailsOrBuilder()
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VpnConnection.DetailsOrBuilder |
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;
Type | Description |
boolean | The enableHighAvailability. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
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;
Type | Description |
String | The natGatewayIp. |
getNatGatewayIpBytes()
public 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;
Type | Description |
ByteString | The bytes for natGatewayIp. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getVpc()
public String getVpc()
The network ID of VPC to connect to.
string vpc = 8;
Type | Description |
String | The vpc. |
getVpcBytes()
public ByteString getVpcBytes()
The network ID of VPC to connect to.
string vpc = 8;
Type | Description |
ByteString | The bytes for vpc. |
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];
Type | Description |
VpnConnection.VpcProject | The vpcProject. |
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];
Type | Description |
VpnConnection.VpcProject.Builder |
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];
Type | Description |
VpnConnection.VpcProjectOrBuilder |
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];
Type | Description |
boolean | Whether the createTime field is set. |
hasDetails()
public boolean hasDetails()
Output only. The created connection details.
.google.cloud.edgecontainer.v1.VpnConnection.Details details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the details field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
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];
Type | Description |
boolean | Whether the vpcProject field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public VpnConnection.Builder mergeCreateTime(Timestamp value)
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VpnConnection.Builder |
mergeDetails(VpnConnection.Details value)
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];
Name | Description |
value | VpnConnection.Details |
Type | Description |
VpnConnection.Builder |
mergeFrom(VpnConnection other)
public VpnConnection.Builder mergeFrom(VpnConnection other)
Name | Description |
other | VpnConnection |
Type | Description |
VpnConnection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VpnConnection.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VpnConnection.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VpnConnection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VpnConnection.Builder |
mergeUpdateTime(Timestamp value)
public VpnConnection.Builder mergeUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
VpnConnection.Builder |
mergeVpcProject(VpnConnection.VpcProject value)
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];
Name | Description |
value | VpnConnection.VpcProject |
Type | Description |
VpnConnection.Builder |
putAllLabels(Map<String,String> values)
public VpnConnection.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
values | Map<String,String> |
Type | Description |
VpnConnection.Builder |
putLabels(String key, String value)
public VpnConnection.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
value | String |
Type | Description |
VpnConnection.Builder |
removeLabels(String key)
public VpnConnection.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
VpnConnection.Builder |
setBgpRoutingMode(VpnConnection.BgpRoutingMode value) (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];
Name | Description |
value | VpnConnection.BgpRoutingMode The bgpRoutingMode to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setBgpRoutingModeValue(int value) (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];
Name | Description |
value | int The enum numeric value on the wire for bgpRoutingMode to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setCluster(String value)
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) = { ... }
Name | Description |
value | String The cluster to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setClusterBytes(ByteString value)
public VpnConnection.Builder setClusterBytes(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) = { ... }
Name | Description |
value | ByteString The bytes for cluster to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public VpnConnection.Builder setCreateTime(Timestamp value)
Output only. The time when the VPN connection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VpnConnection.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public VpnConnection.Builder setCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
VpnConnection.Builder |
setDetails(VpnConnection.Details value)
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];
Name | Description |
value | VpnConnection.Details |
Type | Description |
VpnConnection.Builder |
setDetails(VpnConnection.Details.Builder builderForValue)
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];
Name | Description |
builderForValue | VpnConnection.Details.Builder |
Type | Description |
VpnConnection.Builder |
setEnableHighAvailability(boolean value)
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;
Name | Description |
value | boolean The enableHighAvailability to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VpnConnection.Builder |
setName(String value)
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) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public VpnConnection.Builder setNameBytes(ByteString value)
Required. The resource name of VPN connection
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setNatGatewayIp(String value)
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;
Name | Description |
value | String The natGatewayIp to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setNatGatewayIpBytes(ByteString value)
public VpnConnection.Builder setNatGatewayIpBytes(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;
Name | Description |
value | ByteString The bytes for natGatewayIp to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VpnConnection.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VpnConnection.Builder |
setUpdateTime(Timestamp value)
public VpnConnection.Builder setUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
VpnConnection.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public VpnConnection.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
VpnConnection.Builder |
setVpc(String value)
public VpnConnection.Builder setVpc(String value)
The network ID of VPC to connect to.
string vpc = 8;
Name | Description |
value | String The vpc to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setVpcBytes(ByteString value)
public VpnConnection.Builder setVpcBytes(ByteString value)
The network ID of VPC to connect to.
string vpc = 8;
Name | Description |
value | ByteString The bytes for vpc to set. |
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setVpcProject(VpnConnection.VpcProject value)
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];
Name | Description |
value | VpnConnection.VpcProject |
Type | Description |
VpnConnection.Builder |
setVpcProject(VpnConnection.VpcProject.Builder builderForValue)
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];
Name | Description |
builderForValue | VpnConnection.VpcProject.Builder |
Type | Description |
VpnConnection.Builder |