public static final class VpnGatewayInfo.Builder extends GeneratedMessage.Builder<VpnGatewayInfo.Builder> implements VpnGatewayInfoOrBuilderFor display only. Metadata associated with a Compute Engine VPN gateway.
Protobuf type google.cloud.networkmanagement.v1.VpnGatewayInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VpnGatewayInfo.BuilderImplements
VpnGatewayInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VpnGatewayInfo build()| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo |
|
buildPartial()
public VpnGatewayInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo |
|
clear()
public VpnGatewayInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
|
clearDisplayName()
public VpnGatewayInfo.Builder clearDisplayName()Name of a VPN gateway.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
clearIpAddress()
public VpnGatewayInfo.Builder clearIpAddress()IP address of the VPN gateway.
string ip_address = 4;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
clearNetworkUri()
public VpnGatewayInfo.Builder clearNetworkUri()URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
clearRegion()
public VpnGatewayInfo.Builder clearRegion()Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
clearUri()
public VpnGatewayInfo.Builder clearUri()URI of a VPN gateway.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
clearVpnTunnelUri()
public VpnGatewayInfo.Builder clearVpnTunnelUri()A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.
string vpn_tunnel_uri = 5;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VpnGatewayInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Name of a VPN gateway.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Name of a VPN gateway.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getIpAddress()
public String getIpAddress()IP address of the VPN gateway.
string ip_address = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()IP address of the VPN gateway.
string ip_address = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipAddress. |
getNetworkUri()
public String getNetworkUri()URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The networkUri. |
getNetworkUriBytes()
public ByteString getNetworkUriBytes()URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkUri. |
getRegion()
public String getRegion()Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getUri()
public String getUri()URI of a VPN gateway.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()URI of a VPN gateway.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
getVpnTunnelUri()
public String getVpnTunnelUri()A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.
string vpn_tunnel_uri = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The vpnTunnelUri. |
getVpnTunnelUriBytes()
public ByteString getVpnTunnelUriBytes()A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.
string vpn_tunnel_uri = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vpnTunnelUri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VpnGatewayInfo other)
public VpnGatewayInfo.Builder mergeFrom(VpnGatewayInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
VpnGatewayInfo |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnGatewayInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VpnGatewayInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
|
setDisplayName(String value)
public VpnGatewayInfo.Builder setDisplayName(String value)Name of a VPN gateway.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public VpnGatewayInfo.Builder setDisplayNameBytes(ByteString value)Name of a VPN gateway.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setIpAddress(String value)
public VpnGatewayInfo.Builder setIpAddress(String value)IP address of the VPN gateway.
string ip_address = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public VpnGatewayInfo.Builder setIpAddressBytes(ByteString value)IP address of the VPN gateway.
string ip_address = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setNetworkUri(String value)
public VpnGatewayInfo.Builder setNetworkUri(String value)URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkUri to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setNetworkUriBytes(ByteString value)
public VpnGatewayInfo.Builder setNetworkUriBytes(ByteString value)URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkUri to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setRegion(String value)
public VpnGatewayInfo.Builder setRegion(String value)Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public VpnGatewayInfo.Builder setRegionBytes(ByteString value)Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setUri(String value)
public VpnGatewayInfo.Builder setUri(String value)URI of a VPN gateway.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public VpnGatewayInfo.Builder setUriBytes(ByteString value)URI of a VPN gateway.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setVpnTunnelUri(String value)
public VpnGatewayInfo.Builder setVpnTunnelUri(String value)A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.
string vpn_tunnel_uri = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vpnTunnelUri to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |
setVpnTunnelUriBytes(ByteString value)
public VpnGatewayInfo.Builder setVpnTunnelUriBytes(ByteString value)A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.
string vpn_tunnel_uri = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vpnTunnelUri to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayInfo.Builder |
This builder for chaining. |