public final class TargetVpnGateway extends com.google.protobuf.GeneratedMessageV3 implements TargetVpnGatewayOrBuilder
Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.Protobuf type
google.cloud.compute.v1.TargetVpnGateway| Modifier and Type | Class and Description |
|---|---|
static class |
TargetVpnGateway.Builder
Represents a Target VPN Gateway resource.
|
static class |
TargetVpnGateway.Status
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FORWARDING_RULES_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TUNNELS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static TargetVpnGateway |
getDefaultInstance() |
TargetVpnGateway |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getForwardingRules(int index)
[Output Only] A list of URLs to the ForwardingRule resources.
|
com.google.protobuf.ByteString |
getForwardingRulesBytes(int index)
[Output Only] A list of URLs to the ForwardingRule resources.
|
int |
getForwardingRulesCount()
[Output Only] A list of URLs to the ForwardingRule resources.
|
com.google.protobuf.ProtocolStringList |
getForwardingRulesList()
[Output Only] A list of URLs to the ForwardingRule resources.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNetwork()
URL of the network to which this VPN gateway is attached.
|
com.google.protobuf.ByteString |
getNetworkBytes()
URL of the network to which this VPN gateway is attached.
|
com.google.protobuf.Parser<TargetVpnGateway> |
getParserForType() |
String |
getRegion()
[Output Only] URL of the region where the target VPN gateway resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the target VPN gateway resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
String |
getStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
String |
getTunnels(int index)
[Output Only] A list of URLs to VpnTunnel resources.
|
com.google.protobuf.ByteString |
getTunnelsBytes(int index)
[Output Only] A list of URLs to VpnTunnel resources.
|
int |
getTunnelsCount()
[Output Only] A list of URLs to VpnTunnel resources.
|
com.google.protobuf.ProtocolStringList |
getTunnelsList()
[Output Only] A list of URLs to VpnTunnel resources.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasNetwork()
URL of the network to which this VPN gateway is attached.
|
boolean |
hasRegion()
[Output Only] URL of the region where the target VPN gateway resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TargetVpnGateway.Builder |
newBuilder() |
static TargetVpnGateway.Builder |
newBuilder(TargetVpnGateway prototype) |
TargetVpnGateway.Builder |
newBuilderForType() |
protected TargetVpnGateway.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TargetVpnGateway |
parseDelimitedFrom(InputStream input) |
static TargetVpnGateway |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetVpnGateway |
parseFrom(byte[] data) |
static TargetVpnGateway |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetVpnGateway |
parseFrom(ByteBuffer data) |
static TargetVpnGateway |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetVpnGateway |
parseFrom(com.google.protobuf.ByteString data) |
static TargetVpnGateway |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetVpnGateway |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TargetVpnGateway |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetVpnGateway |
parseFrom(InputStream input) |
static TargetVpnGateway |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TargetVpnGateway> |
parser() |
TargetVpnGateway.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int FORWARDING_RULES_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int TUNNELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface TargetVpnGatewayOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface TargetVpnGatewayOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface TargetVpnGatewayOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ProtocolStringList getForwardingRulesList()
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRulesList in interface TargetVpnGatewayOrBuilderpublic int getForwardingRulesCount()
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRulesCount in interface TargetVpnGatewayOrBuilderpublic String getForwardingRules(int index)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRules in interface TargetVpnGatewayOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getForwardingRulesBytes(int index)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRulesBytes in interface TargetVpnGatewayOrBuilderindex - The index of the value to return.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface TargetVpnGatewayOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface TargetVpnGatewayOrBuilderpublic boolean hasKind()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;hasKind in interface TargetVpnGatewayOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;getKind in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;getKindBytes in interface TargetVpnGatewayOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface TargetVpnGatewayOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface TargetVpnGatewayOrBuilderpublic boolean hasNetwork()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;hasNetwork in interface TargetVpnGatewayOrBuilderpublic String getNetwork()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;getNetwork in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;getNetworkBytes in interface TargetVpnGatewayOrBuilderpublic boolean hasRegion()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface TargetVpnGatewayOrBuilderpublic String getRegion()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface TargetVpnGatewayOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface TargetVpnGatewayOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface TargetVpnGatewayOrBuilderpublic boolean hasStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface TargetVpnGatewayOrBuilderpublic String getStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ProtocolStringList getTunnelsList()
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnelsList in interface TargetVpnGatewayOrBuilderpublic int getTunnelsCount()
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnelsCount in interface TargetVpnGatewayOrBuilderpublic String getTunnels(int index)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnels in interface TargetVpnGatewayOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTunnelsBytes(int index)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnelsBytes in interface TargetVpnGatewayOrBuilderindex - The index of the value to return.public 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 TargetVpnGateway parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetVpnGateway parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetVpnGateway parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetVpnGateway parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetVpnGateway parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetVpnGateway parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetVpnGateway parseFrom(InputStream input) throws IOException
IOExceptionpublic static TargetVpnGateway parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TargetVpnGateway parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TargetVpnGateway parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TargetVpnGateway parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TargetVpnGateway parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TargetVpnGateway.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TargetVpnGateway.Builder newBuilder()
public static TargetVpnGateway.Builder newBuilder(TargetVpnGateway prototype)
public TargetVpnGateway.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TargetVpnGateway.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TargetVpnGateway getDefaultInstance()
public static com.google.protobuf.Parser<TargetVpnGateway> parser()
public com.google.protobuf.Parser<TargetVpnGateway> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TargetVpnGateway getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.