public static final class VpnGatewayStatusTunnel.Builder extends GeneratedMessage.Builder<VpnGatewayStatusTunnel.Builder> implements VpnGatewayStatusTunnelOrBuilderContains some information about a VPN tunnel.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VpnGatewayStatusTunnel.BuilderImplements
VpnGatewayStatusTunnelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VpnGatewayStatusTunnel build()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel |
|
buildPartial()
public VpnGatewayStatusTunnel buildPartial()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel |
|
clear()
public VpnGatewayStatusTunnel.Builder clear()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
|
clearLocalGatewayInterface()
public VpnGatewayStatusTunnel.Builder clearLocalGatewayInterface()Output only. The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |
clearPeerGatewayInterface()
public VpnGatewayStatusTunnel.Builder clearPeerGatewayInterface()Output only. The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |
clearTunnelUrl()
public VpnGatewayStatusTunnel.Builder clearTunnelUrl()Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VpnGatewayStatusTunnel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocalGatewayInterface()
public int getLocalGatewayInterface()Output only. The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
| Returns | |
|---|---|
| Type | Description |
int |
The localGatewayInterface. |
getPeerGatewayInterface()
public int getPeerGatewayInterface()Output only. The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
| Returns | |
|---|---|
| Type | Description |
int |
The peerGatewayInterface. |
getTunnelUrl()
public String getTunnelUrl()Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
| Returns | |
|---|---|
| Type | Description |
String |
The tunnelUrl. |
getTunnelUrlBytes()
public ByteString getTunnelUrlBytes()Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tunnelUrl. |
hasLocalGatewayInterface()
public boolean hasLocalGatewayInterface()Output only. The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the localGatewayInterface field is set. |
hasPeerGatewayInterface()
public boolean hasPeerGatewayInterface()Output only. The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the peerGatewayInterface field is set. |
hasTunnelUrl()
public boolean hasTunnelUrl()Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tunnelUrl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VpnGatewayStatusTunnel other)
public VpnGatewayStatusTunnel.Builder mergeFrom(VpnGatewayStatusTunnel other)| Parameter | |
|---|---|
| Name | Description |
other |
VpnGatewayStatusTunnel |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnGatewayStatusTunnel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VpnGatewayStatusTunnel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
|
setLocalGatewayInterface(int value)
public VpnGatewayStatusTunnel.Builder setLocalGatewayInterface(int value)Output only. The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe localGatewayInterface to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |
setPeerGatewayInterface(int value)
public VpnGatewayStatusTunnel.Builder setPeerGatewayInterface(int value)Output only. The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe peerGatewayInterface to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |
setTunnelUrl(String value)
public VpnGatewayStatusTunnel.Builder setTunnelUrl(String value)Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tunnelUrl to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |
setTunnelUrlBytes(ByteString value)
public VpnGatewayStatusTunnel.Builder setTunnelUrlBytes(ByteString value)Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tunnelUrl to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusTunnel.Builder |
This builder for chaining. |