- 0.51.0 (latest)
- 0.50.0
- 0.49.0
- 0.48.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
build()
public VpnConnection build()
Returns | |
---|---|
Type | Description |
VpnConnection |
buildPartial()
public VpnConnection buildPartial()
Returns | |
---|---|
Type | Description |
VpnConnection |
clear()
public VpnConnection.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
VpnConnection.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VpnConnection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
clearLabels()
public VpnConnection.Builder clearLabels()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
VpnConnection.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
clearVpc()
public VpnConnection.Builder clearVpc()
The network ID of VPC to connect to.
string vpc = 8;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
clone()
public VpnConnection.Builder clone()
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public VpnConnection getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VpnConnection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | The enableHighAvailability. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVpc()
public String getVpc()
The network ID of VPC to connect to.
string vpc = 8;
Returns | |
---|---|
Type | Description |
String | The vpc. |
getVpcBytes()
public ByteString getVpcBytes()
The network ID of VPC to connect to.
string vpc = 8;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the vpcProject field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | VpnConnection.Details |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
mergeFrom(VpnConnection other)
public VpnConnection.Builder mergeFrom(VpnConnection other)
Parameter | |
---|---|
Name | Description |
other | VpnConnection |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VpnConnection.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | VpnConnection.VpcProject |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
removeLabels(String key)
public VpnConnection.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | VpnConnection.BgpRoutingMode The bgpRoutingMode to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for bgpRoutingMode to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The cluster to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for cluster to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | VpnConnection.Details |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | VpnConnection.Details.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The enableHighAvailability to set. |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The natGatewayIp to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for natGatewayIp to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |
setVpc(String value)
public VpnConnection.Builder setVpc(String value)
The network ID of VPC to connect to.
string vpc = 8;
Parameter | |
---|---|
Name | Description |
value | String The vpc to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for vpc to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | VpnConnection.VpcProject |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | VpnConnection.VpcProject.Builder |
Returns | |
---|---|
Type | Description |
VpnConnection.Builder |