public static final class ExternalVpnGateway.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder> implements ExternalVpnGatewayOrBuilder
Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN.Protobuf type
google.cloud.compute.v1.ExternalVpnGateway| Modifier and Type | Method and Description |
|---|---|
ExternalVpnGateway.Builder |
addAllInterfaces(Iterable<? extends ExternalVpnGatewayInterface> values)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
addInterfaces(ExternalVpnGatewayInterface.Builder builderForValue)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
addInterfaces(ExternalVpnGatewayInterface value)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
addInterfaces(int index,
ExternalVpnGatewayInterface.Builder builderForValue)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
addInterfaces(int index,
ExternalVpnGatewayInterface value)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGatewayInterface.Builder |
addInterfacesBuilder()
A list of interfaces for this external VPN gateway.
|
ExternalVpnGatewayInterface.Builder |
addInterfacesBuilder(int index)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExternalVpnGateway |
build() |
ExternalVpnGateway |
buildPartial() |
ExternalVpnGateway.Builder |
clear() |
ExternalVpnGateway.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
ExternalVpnGateway.Builder |
clearDescription()
An optional description of this resource.
|
ExternalVpnGateway.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExternalVpnGateway.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
ExternalVpnGateway.Builder |
clearInterfaces()
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
clearKind()
[Output Only] Type of the resource.
|
ExternalVpnGateway.Builder |
clearLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
ExternalVpnGateway.Builder |
clearLabels() |
ExternalVpnGateway.Builder |
clearName()
Name of the resource.
|
ExternalVpnGateway.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExternalVpnGateway.Builder |
clearRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway.
|
ExternalVpnGateway.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
ExternalVpnGateway.Builder |
clone() |
boolean |
containsLabels(String key)
Labels for this resource.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
ExternalVpnGateway |
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
[Output Only] The unique identifier for the resource.
|
ExternalVpnGatewayInterface |
getInterfaces(int index)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGatewayInterface.Builder |
getInterfacesBuilder(int index)
A list of interfaces for this external VPN gateway.
|
List<ExternalVpnGatewayInterface.Builder> |
getInterfacesBuilderList()
A list of interfaces for this external VPN gateway.
|
int |
getInterfacesCount()
A list of interfaces for this external VPN gateway.
|
List<ExternalVpnGatewayInterface> |
getInterfacesList()
A list of interfaces for this external VPN gateway.
|
ExternalVpnGatewayInterfaceOrBuilder |
getInterfacesOrBuilder(int index)
A list of interfaces for this external VPN gateway.
|
List<? extends ExternalVpnGatewayInterfaceOrBuilder> |
getInterfacesOrBuilderList()
A list of interfaces for this external VPN gateway.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
com.google.protobuf.ByteString |
getLabelFingerprintBytes()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels for this resource.
|
Map<String,String> |
getLabelsMap()
Labels for this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels for this resource.
|
String |
getLabelsOrThrow(String key)
Labels for this resource.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway.
|
com.google.protobuf.ByteString |
getRedundancyTypeBytes()
Indicates the user-supplied redundancy type of this external VPN gateway.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ExternalVpnGateway.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExternalVpnGateway.Builder |
mergeFrom(ExternalVpnGateway other) |
ExternalVpnGateway.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExternalVpnGateway.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExternalVpnGateway.Builder |
putAllLabels(Map<String,String> values)
Labels for this resource.
|
ExternalVpnGateway.Builder |
putLabels(String key,
String value)
Labels for this resource.
|
ExternalVpnGateway.Builder |
removeInterfaces(int index)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
removeLabels(String key)
Labels for this resource.
|
ExternalVpnGateway.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
ExternalVpnGateway.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
ExternalVpnGateway.Builder |
setDescription(String value)
An optional description of this resource.
|
ExternalVpnGateway.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
ExternalVpnGateway.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExternalVpnGateway.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
ExternalVpnGateway.Builder |
setInterfaces(int index,
ExternalVpnGatewayInterface.Builder builderForValue)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
setInterfaces(int index,
ExternalVpnGatewayInterface value)
A list of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
ExternalVpnGateway.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
ExternalVpnGateway.Builder |
setLabelFingerprint(String value)
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
ExternalVpnGateway.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
ExternalVpnGateway.Builder |
setName(String value)
Name of the resource.
|
ExternalVpnGateway.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
ExternalVpnGateway.Builder |
setRedundancyType(String value)
Indicates the user-supplied redundancy type of this external VPN gateway.
|
ExternalVpnGateway.Builder |
setRedundancyTypeBytes(com.google.protobuf.ByteString value)
Indicates the user-supplied redundancy type of this external VPN gateway.
|
ExternalVpnGateway.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExternalVpnGateway.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
ExternalVpnGateway.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
ExternalVpnGateway.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExternalVpnGateway build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExternalVpnGateway buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExternalVpnGateway.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder mergeFrom(ExternalVpnGateway other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public ExternalVpnGateway.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExternalVpnGateway.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ExternalVpnGatewayOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ExternalVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public ExternalVpnGateway.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public ExternalVpnGateway.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface ExternalVpnGatewayOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface ExternalVpnGatewayOrBuilderpublic 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 ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public ExternalVpnGateway.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public ExternalVpnGateway.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.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 ExternalVpnGatewayOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public ExternalVpnGateway.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public List<ExternalVpnGatewayInterface> getInterfacesList()
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
getInterfacesList in interface ExternalVpnGatewayOrBuilderpublic int getInterfacesCount()
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
getInterfacesCount in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGatewayInterface getInterfaces(int index)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
getInterfaces in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setInterfaces(int index, ExternalVpnGatewayInterface value)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder setInterfaces(int index, ExternalVpnGatewayInterface.Builder builderForValue)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder addInterfaces(ExternalVpnGatewayInterface value)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder addInterfaces(int index, ExternalVpnGatewayInterface value)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder addInterfaces(ExternalVpnGatewayInterface.Builder builderForValue)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder addInterfaces(int index, ExternalVpnGatewayInterface.Builder builderForValue)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder addAllInterfaces(Iterable<? extends ExternalVpnGatewayInterface> values)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder clearInterfaces()
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGateway.Builder removeInterfaces(int index)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGatewayInterface.Builder getInterfacesBuilder(int index)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGatewayInterfaceOrBuilder getInterfacesOrBuilder(int index)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
getInterfacesOrBuilder in interface ExternalVpnGatewayOrBuilderpublic List<? extends ExternalVpnGatewayInterfaceOrBuilder> getInterfacesOrBuilderList()
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
getInterfacesOrBuilderList in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGatewayInterface.Builder addInterfacesBuilder()
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public ExternalVpnGatewayInterface.Builder addInterfacesBuilder(int index)
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public List<ExternalVpnGatewayInterface.Builder> getInterfacesBuilderList()
A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.
repeated .google.cloud.compute.v1.ExternalVpnGatewayInterface interfaces = 12073562;
public boolean hasKind()
[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.
optional string kind = 3292052;hasKind in interface ExternalVpnGatewayOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.
optional string kind = 3292052;getKind in interface ExternalVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.
optional string kind = 3292052;getKindBytes in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.
optional string kind = 3292052;value - The kind to set.public ExternalVpnGateway.Builder clearKind()
[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.
optional string kind = 3292052;public ExternalVpnGateway.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface ExternalVpnGatewayOrBuilderpublic String getLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface ExternalVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setLabelFingerprint(String value)
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
optional string label_fingerprint = 178124825;value - The labelFingerprint to set.public ExternalVpnGateway.Builder clearLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
optional string label_fingerprint = 178124825;public ExternalVpnGateway.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
optional string label_fingerprint = 178124825;value - The bytes for labelFingerprint to set.public int getLabelsCount()
ExternalVpnGatewayOrBuilderLabels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsCount in interface ExternalVpnGatewayOrBuilderpublic boolean containsLabels(String key)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;containsLabels in interface ExternalVpnGatewayOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ExternalVpnGatewayOrBuilderpublic Map<String,String> getLabelsMap()
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsMap in interface ExternalVpnGatewayOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrDefault in interface ExternalVpnGatewayOrBuilderpublic String getLabelsOrThrow(String key)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrThrow in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder clearLabels()
public ExternalVpnGateway.Builder removeLabels(String key)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public ExternalVpnGateway.Builder putLabels(String key, String value)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;public ExternalVpnGateway.Builder putAllLabels(Map<String,String> values)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;public 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 ExternalVpnGatewayOrBuilderpublic 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 ExternalVpnGatewayOrBuilderpublic 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 ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setName(String value)
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;value - The name to set.public ExternalVpnGateway.Builder clearName()
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;public ExternalVpnGateway.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public boolean hasRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway. Check the RedundancyType enum for the list of possible values.
optional string redundancy_type = 271443740;hasRedundancyType in interface ExternalVpnGatewayOrBuilderpublic String getRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway. Check the RedundancyType enum for the list of possible values.
optional string redundancy_type = 271443740;getRedundancyType in interface ExternalVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getRedundancyTypeBytes()
Indicates the user-supplied redundancy type of this external VPN gateway. Check the RedundancyType enum for the list of possible values.
optional string redundancy_type = 271443740;getRedundancyTypeBytes in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setRedundancyType(String value)
Indicates the user-supplied redundancy type of this external VPN gateway. Check the RedundancyType enum for the list of possible values.
optional string redundancy_type = 271443740;value - The redundancyType to set.public ExternalVpnGateway.Builder clearRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway. Check the RedundancyType enum for the list of possible values.
optional string redundancy_type = 271443740;public ExternalVpnGateway.Builder setRedundancyTypeBytes(com.google.protobuf.ByteString value)
Indicates the user-supplied redundancy type of this external VPN gateway. Check the RedundancyType enum for the list of possible values.
optional string redundancy_type = 271443740;value - The bytes for redundancyType to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface ExternalVpnGatewayOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface ExternalVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ExternalVpnGatewayOrBuilderpublic ExternalVpnGateway.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public ExternalVpnGateway.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public ExternalVpnGateway.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public final ExternalVpnGateway.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>public final ExternalVpnGateway.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalVpnGateway.Builder>Copyright © 2023 Google LLC. All rights reserved.