- 1.65.0 (latest)
- 1.64.0
- 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 VpnGatewayVpnGatewayInterface.Builder extends GeneratedMessageV3.Builder<VpnGatewayVpnGatewayInterface.Builder> implements VpnGatewayVpnGatewayInterfaceOrBuilder
A VPN gateway interface.
Protobuf type google.cloud.compute.v1.VpnGatewayVpnGatewayInterface
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnGatewayVpnGatewayInterface.BuilderImplements
VpnGatewayVpnGatewayInterfaceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayVpnGatewayInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
build()
public VpnGatewayVpnGatewayInterface build()
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface |
buildPartial()
public VpnGatewayVpnGatewayInterface buildPartial()
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface |
clear()
public VpnGatewayVpnGatewayInterface.Builder clear()
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayVpnGatewayInterface.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
clearId()
public VpnGatewayVpnGatewayInterface.Builder clearId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
optional uint32 id = 3355;
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
clearInterconnectAttachment()
public VpnGatewayVpnGatewayInterface.Builder clearInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
clearIpAddress()
public VpnGatewayVpnGatewayInterface.Builder clearIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
clearIpv6Address()
public VpnGatewayVpnGatewayInterface.Builder clearIpv6Address()
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayVpnGatewayInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
clone()
public VpnGatewayVpnGatewayInterface.Builder clone()
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
getDefaultInstanceForType()
public VpnGatewayVpnGatewayInterface getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public int getId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
optional uint32 id = 3355;
Returns | |
---|---|
Type | Description |
int | The id. |
getInterconnectAttachment()
public String getInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
Returns | |
---|---|
Type | Description |
String | The interconnectAttachment. |
getInterconnectAttachmentBytes()
public ByteString getInterconnectAttachmentBytes()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for interconnectAttachment. |
getIpAddress()
public String getIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ipAddress. |
getIpv6Address()
public String getIpv6Address()
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The 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()
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The 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()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
optional uint32 id = 3355;
Returns | |
---|---|
Type | Description |
boolean | Whether the id field is set. |
hasInterconnectAttachment()
public boolean hasInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
Returns | |
---|---|
Type | Description |
boolean | Whether the interconnectAttachment field is set. |
hasIpAddress()
public boolean hasIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
boolean | Whether the ipAddress field is set. |
hasIpv6Address()
public boolean hasIpv6Address()
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The 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(VpnGatewayVpnGatewayInterface other)
public VpnGatewayVpnGatewayInterface.Builder mergeFrom(VpnGatewayVpnGatewayInterface other)
Parameter | |
---|---|
Name | Description |
other | VpnGatewayVpnGatewayInterface |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnGatewayVpnGatewayInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VpnGatewayVpnGatewayInterface.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayVpnGatewayInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayVpnGatewayInterface.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
setId(int value)
public VpnGatewayVpnGatewayInterface.Builder setId(int value)
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
optional uint32 id = 3355;
Parameter | |
---|---|
Name | Description |
value | int The id to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setInterconnectAttachment(String value)
public VpnGatewayVpnGatewayInterface.Builder setInterconnectAttachment(String value)
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
Parameter | |
---|---|
Name | Description |
value | String The interconnectAttachment to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setInterconnectAttachmentBytes(ByteString value)
public VpnGatewayVpnGatewayInterface.Builder setInterconnectAttachmentBytes(ByteString value)
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for interconnectAttachment to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setIpAddress(String value)
public VpnGatewayVpnGatewayInterface.Builder setIpAddress(String value)
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
Parameter | |
---|---|
Name | Description |
value | String The ipAddress to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setIpAddressBytes(ByteString value)
public VpnGatewayVpnGatewayInterface.Builder setIpAddressBytes(ByteString value)
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for ipAddress to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setIpv6Address(String value)
public VpnGatewayVpnGatewayInterface.Builder setIpv6Address(String value)
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The 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 |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setIpv6AddressBytes(ByteString value)
public VpnGatewayVpnGatewayInterface.Builder setIpv6AddressBytes(ByteString value)
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The 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 |
VpnGatewayVpnGatewayInterface.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnGatewayVpnGatewayInterface.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayVpnGatewayInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpnGatewayVpnGatewayInterface.Builder |