public static final class VpnGateway.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder> implements VpnGatewayOrBuilder
Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies .Protobuf type
google.cloud.compute.v1.VpnGateway| Modifier and Type | Method and Description |
|---|---|
VpnGateway.Builder |
addAllVpnInterfaces(Iterable<? extends VpnGatewayVpnGatewayInterface> values)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnGateway.Builder |
addVpnInterfaces(int index,
VpnGatewayVpnGatewayInterface.Builder builderForValue)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.Builder |
addVpnInterfaces(int index,
VpnGatewayVpnGatewayInterface value)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.Builder |
addVpnInterfaces(VpnGatewayVpnGatewayInterface.Builder builderForValue)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.Builder |
addVpnInterfaces(VpnGatewayVpnGatewayInterface value)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGatewayVpnGatewayInterface.Builder |
addVpnInterfacesBuilder()
The list of VPN interfaces associated with this VPN gateway.
|
VpnGatewayVpnGatewayInterface.Builder |
addVpnInterfacesBuilder(int index)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway |
build() |
VpnGateway |
buildPartial() |
VpnGateway.Builder |
clear() |
VpnGateway.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnGateway.Builder |
clearDescription()
An optional description of this resource.
|
VpnGateway.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VpnGateway.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
VpnGateway.Builder |
clearKind()
[Output Only] Type of resource.
|
VpnGateway.Builder |
clearLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
VpnGateway.Builder |
clearLabels() |
VpnGateway.Builder |
clearName()
Name of the resource.
|
VpnGateway.Builder |
clearNetwork()
URL of the network to which this VPN gateway is attached.
|
VpnGateway.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VpnGateway.Builder |
clearRegion()
[Output Only] URL of the region where the VPN gateway resides.
|
VpnGateway.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
VpnGateway.Builder |
clearStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
VpnGateway.Builder |
clearVpnInterfaces()
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.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.
|
VpnGateway |
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.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway, 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 |
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.
|
String |
getRegion()
[Output Only] URL of the region where the VPN gateway resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the 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.
|
String |
getStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
com.google.protobuf.ByteString |
getStackTypeBytes()
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
VpnGatewayVpnGatewayInterface |
getVpnInterfaces(int index)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGatewayVpnGatewayInterface.Builder |
getVpnInterfacesBuilder(int index)
The list of VPN interfaces associated with this VPN gateway.
|
List<VpnGatewayVpnGatewayInterface.Builder> |
getVpnInterfacesBuilderList()
The list of VPN interfaces associated with this VPN gateway.
|
int |
getVpnInterfacesCount()
The list of VPN interfaces associated with this VPN gateway.
|
List<VpnGatewayVpnGatewayInterface> |
getVpnInterfacesList()
The list of VPN interfaces associated with this VPN gateway.
|
VpnGatewayVpnGatewayInterfaceOrBuilder |
getVpnInterfacesOrBuilder(int index)
The list of VPN interfaces associated with this VPN gateway.
|
List<? extends VpnGatewayVpnGatewayInterfaceOrBuilder> |
getVpnInterfacesOrBuilderList()
The list of VPN interfaces associated with this VPN gateway.
|
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 resource.
|
boolean |
hasLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
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 VPN gateway resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
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() |
VpnGateway.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VpnGateway.Builder |
mergeFrom(com.google.protobuf.Message other) |
VpnGateway.Builder |
mergeFrom(VpnGateway other) |
VpnGateway.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnGateway.Builder |
putAllLabels(Map<String,String> values)
Labels for this resource.
|
VpnGateway.Builder |
putLabels(String key,
String value)
Labels for this resource.
|
VpnGateway.Builder |
removeLabels(String key)
Labels for this resource.
|
VpnGateway.Builder |
removeVpnInterfaces(int index)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnGateway.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnGateway.Builder |
setDescription(String value)
An optional description of this resource.
|
VpnGateway.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
VpnGateway.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnGateway.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
VpnGateway.Builder |
setKind(String value)
[Output Only] Type of resource.
|
VpnGateway.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource.
|
VpnGateway.Builder |
setLabelFingerprint(String value)
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
VpnGateway.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking.
|
VpnGateway.Builder |
setName(String value)
Name of the resource.
|
VpnGateway.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
VpnGateway.Builder |
setNetwork(String value)
URL of the network to which this VPN gateway is attached.
|
VpnGateway.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
URL of the network to which this VPN gateway is attached.
|
VpnGateway.Builder |
setRegion(String value)
[Output Only] URL of the region where the VPN gateway resides.
|
VpnGateway.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the VPN gateway resides.
|
VpnGateway.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VpnGateway.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
VpnGateway.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
VpnGateway.Builder |
setStackType(String value)
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
VpnGateway.Builder |
setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
VpnGateway.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnGateway.Builder |
setVpnInterfaces(int index,
VpnGatewayVpnGatewayInterface.Builder builderForValue)
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway.Builder |
setVpnInterfaces(int index,
VpnGatewayVpnGatewayInterface value)
The list of VPN interfaces associated with this VPN gateway.
|
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<VpnGateway.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>public VpnGateway.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.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<VpnGateway.Builder>public VpnGateway getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VpnGateway build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VpnGateway buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VpnGateway.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>public VpnGateway.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<VpnGateway.Builder>public VpnGateway.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>public VpnGateway.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>public VpnGateway.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<VpnGateway.Builder>public VpnGateway.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<VpnGateway.Builder>public VpnGateway.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnGateway.Builder>public VpnGateway.Builder mergeFrom(VpnGateway other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>public VpnGateway.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<VpnGateway.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface VpnGatewayOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface VpnGatewayOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public VpnGateway.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public VpnGateway.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 VpnGatewayOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic VpnGateway.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 VpnGateway.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public VpnGateway.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 VpnGatewayOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface VpnGatewayOrBuilderpublic VpnGateway.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 VpnGateway.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
optional string kind = 3292052;hasKind in interface VpnGatewayOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
optional string kind = 3292052;getKind in interface VpnGatewayOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
optional string kind = 3292052;getKindBytes in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setKind(String value)
[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
optional string kind = 3292052;value - The kind to set.public VpnGateway.Builder clearKind()
[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
optional string kind = 3292052;public VpnGateway.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface VpnGatewayOrBuilderpublic String getLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface VpnGatewayOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setLabelFingerprint(String value)
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway.
optional string label_fingerprint = 178124825;value - The labelFingerprint to set.public VpnGateway.Builder clearLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway.
optional string label_fingerprint = 178124825;public VpnGateway.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this VpnGateway, 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 VpnGateway.
optional string label_fingerprint = 178124825;value - The bytes for labelFingerprint to set.public int getLabelsCount()
VpnGatewayOrBuilderLabels 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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic VpnGateway.Builder clearLabels()
public VpnGateway.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 VpnGateway.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 VpnGateway.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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic VpnGateway.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 VpnGateway.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 VpnGateway.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 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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic 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 VpnGatewayOrBuilderpublic VpnGateway.Builder setNetwork(String value)
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;value - The network to set.public VpnGateway.Builder clearNetwork()
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;public VpnGateway.Builder setNetworkBytes(com.google.protobuf.ByteString value)
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;value - The bytes for network to set.public boolean hasRegion()
[Output Only] URL of the region where the VPN gateway resides.
optional string region = 138946292;hasRegion in interface VpnGatewayOrBuilderpublic String getRegion()
[Output Only] URL of the region where the VPN gateway resides.
optional string region = 138946292;getRegion in interface VpnGatewayOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the VPN gateway resides.
optional string region = 138946292;getRegionBytes in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setRegion(String value)
[Output Only] URL of the region where the VPN gateway resides.
optional string region = 138946292;value - The region to set.public VpnGateway.Builder clearRegion()
[Output Only] URL of the region where the VPN gateway resides.
optional string region = 138946292;public VpnGateway.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the VPN gateway resides.
optional string region = 138946292;value - The bytes for region to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface VpnGatewayOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface VpnGatewayOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public VpnGateway.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public VpnGateway.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 boolean hasStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;hasStackType in interface VpnGatewayOrBuilderpublic String getStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackType in interface VpnGatewayOrBuilderpublic com.google.protobuf.ByteString getStackTypeBytes()
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackTypeBytes in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setStackType(String value)
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The stackType to set.public VpnGateway.Builder clearStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;public VpnGateway.Builder setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The bytes for stackType to set.public List<VpnGatewayVpnGatewayInterface> getVpnInterfacesList()
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
getVpnInterfacesList in interface VpnGatewayOrBuilderpublic int getVpnInterfacesCount()
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
getVpnInterfacesCount in interface VpnGatewayOrBuilderpublic VpnGatewayVpnGatewayInterface getVpnInterfaces(int index)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
getVpnInterfaces in interface VpnGatewayOrBuilderpublic VpnGateway.Builder setVpnInterfaces(int index, VpnGatewayVpnGatewayInterface value)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder setVpnInterfaces(int index, VpnGatewayVpnGatewayInterface.Builder builderForValue)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder addVpnInterfaces(VpnGatewayVpnGatewayInterface value)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder addVpnInterfaces(int index, VpnGatewayVpnGatewayInterface value)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder addVpnInterfaces(VpnGatewayVpnGatewayInterface.Builder builderForValue)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder addVpnInterfaces(int index, VpnGatewayVpnGatewayInterface.Builder builderForValue)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder addAllVpnInterfaces(Iterable<? extends VpnGatewayVpnGatewayInterface> values)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder clearVpnInterfaces()
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGateway.Builder removeVpnInterfaces(int index)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGatewayVpnGatewayInterface.Builder getVpnInterfacesBuilder(int index)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGatewayVpnGatewayInterfaceOrBuilder getVpnInterfacesOrBuilder(int index)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
getVpnInterfacesOrBuilder in interface VpnGatewayOrBuilderpublic List<? extends VpnGatewayVpnGatewayInterfaceOrBuilder> getVpnInterfacesOrBuilderList()
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
getVpnInterfacesOrBuilderList in interface VpnGatewayOrBuilderpublic VpnGatewayVpnGatewayInterface.Builder addVpnInterfacesBuilder()
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public VpnGatewayVpnGatewayInterface.Builder addVpnInterfacesBuilder(int index)
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public List<VpnGatewayVpnGatewayInterface.Builder> getVpnInterfacesBuilderList()
The list of VPN interfaces associated with this VPN gateway.
repeated .google.cloud.compute.v1.VpnGatewayVpnGatewayInterface vpn_interfaces = 91842181;
public final VpnGateway.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>public final VpnGateway.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGateway.Builder>Copyright © 2023 Google LLC. All rights reserved.