- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ExternalVpnGatewayInterface.Builder extends GeneratedMessageV3.Builder<ExternalVpnGatewayInterface.Builder> implements ExternalVpnGatewayInterfaceOrBuilder
The interface for the external VPN gateway.
Protobuf type google.cloud.compute.v1.ExternalVpnGatewayInterface
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExternalVpnGatewayInterface.BuilderImplements
ExternalVpnGatewayInterfaceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExternalVpnGatewayInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
build()
public ExternalVpnGatewayInterface build()
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface |
buildPartial()
public ExternalVpnGatewayInterface buildPartial()
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface |
clear()
public ExternalVpnGatewayInterface.Builder clear()
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExternalVpnGatewayInterface.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
clearId()
public ExternalVpnGatewayInterface.Builder clearId()
The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
optional uint32 id = 3355;
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
clearIpAddress()
public ExternalVpnGatewayInterface.Builder clearIpAddress()
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
clearIpv6Address()
public ExternalVpnGatewayInterface.Builder clearIpv6Address()
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExternalVpnGatewayInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
clone()
public ExternalVpnGatewayInterface.Builder clone()
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
getDefaultInstanceForType()
public ExternalVpnGatewayInterface getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public int getId()
The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
optional uint32 id = 3355;
Returns | |
---|---|
Type | Description |
int |
The id. |
getIpAddress()
public String getIpAddress()
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipAddress. |
getIpv6Address()
public String getIpv6Address()
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
String |
The ipv6Address. |
getIpv6AddressBytes()
public ByteString getIpv6AddressBytes()
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipv6Address. |
hasId()
public boolean hasId()
The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
optional uint32 id = 3355;
Returns | |
---|---|
Type | Description |
boolean |
Whether the id field is set. |
hasIpAddress()
public boolean hasIpAddress()
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ipAddress field is set. |
hasIpv6Address()
public boolean hasIpv6Address()
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ipv6Address field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExternalVpnGatewayInterface other)
public ExternalVpnGatewayInterface.Builder mergeFrom(ExternalVpnGatewayInterface other)
Parameter | |
---|---|
Name | Description |
other |
ExternalVpnGatewayInterface |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExternalVpnGatewayInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExternalVpnGatewayInterface.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExternalVpnGatewayInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExternalVpnGatewayInterface.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
setId(int value)
public ExternalVpnGatewayInterface.Builder setId(int value)
The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
optional uint32 id = 3355;
Parameter | |
---|---|
Name | Description |
value |
int The id to set. |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
setIpAddress(String value)
public ExternalVpnGatewayInterface.Builder setIpAddress(String value)
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;
Parameter | |
---|---|
Name | Description |
value |
String The ipAddress to set. |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public ExternalVpnGatewayInterface.Builder setIpAddressBytes(ByteString value)
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipAddress to set. |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
setIpv6Address(String value)
public ExternalVpnGatewayInterface.Builder setIpv6Address(String value)
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Parameter | |
---|---|
Name | Description |
value |
String The ipv6Address to set. |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
setIpv6AddressBytes(ByteString value)
public ExternalVpnGatewayInterface.Builder setIpv6AddressBytes(ByteString value)
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipv6Address to set. |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExternalVpnGatewayInterface.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExternalVpnGatewayInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExternalVpnGatewayInterface.Builder |