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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExternalVpnGatewayInterface.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExternalVpnGatewayInterface build()
buildPartial()
public ExternalVpnGatewayInterface buildPartial()
clear()
public ExternalVpnGatewayInterface.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExternalVpnGatewayInterface.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExternalVpnGatewayInterface.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ExternalVpnGatewayInterface.Builder clone()
Overrides
getDefaultInstanceForType()
public ExternalVpnGatewayInterface getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExternalVpnGatewayInterface other)
public ExternalVpnGatewayInterface.Builder mergeFrom(ExternalVpnGatewayInterface other)
public ExternalVpnGatewayInterface.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExternalVpnGatewayInterface.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExternalVpnGatewayInterface.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExternalVpnGatewayInterface.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExternalVpnGatewayInterface.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExternalVpnGatewayInterface.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides