public final class VpnConnection extends com.google.protobuf.GeneratedMessageV3 implements VpnConnectionOrBuilder
A VPN connection .Protobuf type
google.cloud.edgecontainer.v1.VpnConnection| Modifier and Type | Class and Description |
|---|---|
static class |
VpnConnection.BgpRoutingMode
Routing mode.
|
static class |
VpnConnection.Builder
A VPN connection .
|
static class |
VpnConnection.Details
The created connection details.
|
static interface |
VpnConnection.DetailsOrBuilder |
static class |
VpnConnection.VpcProject
Project detail of the VPC network.
|
static interface |
VpnConnection.VpcProjectOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BGP_ROUTING_MODE_FIELD_NUMBER |
static int |
CLUSTER_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DETAILS_FIELD_NUMBER |
static int |
ENABLE_HIGH_AVAILABILITY_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAT_GATEWAY_IP_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VPC_FIELD_NUMBER |
static int |
VPC_PROJECT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
boolean |
equals(Object obj) |
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.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static VpnConnection |
getDefaultInstance() |
VpnConnection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
VpnConnection.Details |
getDetails()
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.
|
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.Parser<VpnConnection> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
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.VpcProjectOrBuilder |
getVpcProjectOrBuilder()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDetails()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVpcProject()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static VpnConnection.Builder |
newBuilder() |
static VpnConnection.Builder |
newBuilder(VpnConnection prototype) |
VpnConnection.Builder |
newBuilderForType() |
protected VpnConnection.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VpnConnection |
parseDelimitedFrom(InputStream input) |
static VpnConnection |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpnConnection |
parseFrom(byte[] data) |
static VpnConnection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpnConnection |
parseFrom(ByteBuffer data) |
static VpnConnection |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpnConnection |
parseFrom(com.google.protobuf.ByteString data) |
static VpnConnection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpnConnection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VpnConnection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpnConnection |
parseFrom(InputStream input) |
static VpnConnection |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VpnConnection> |
parser() |
VpnConnection.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int NAT_GATEWAY_IP_FIELD_NUMBER
public static final int BGP_ROUTING_MODE_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
public static final int VPC_FIELD_NUMBER
public static final int VPC_PROJECT_FIELD_NUMBER
public static final int ENABLE_HIGH_AVAILABILITY_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 VpnConnectionOrBuilder@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.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 VpnConnectionOrBuilderpublic 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 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 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.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 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.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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VpnConnection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpnConnection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpnConnection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpnConnection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpnConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpnConnection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpnConnection parseFrom(InputStream input) throws IOException
IOExceptionpublic static VpnConnection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VpnConnection parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VpnConnection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VpnConnection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VpnConnection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VpnConnection.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VpnConnection.Builder newBuilder()
public static VpnConnection.Builder newBuilder(VpnConnection prototype)
public VpnConnection.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VpnConnection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VpnConnection getDefaultInstance()
public static com.google.protobuf.Parser<VpnConnection> parser()
public com.google.protobuf.Parser<VpnConnection> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VpnConnection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.