public static final class VpnGatewayStatusTunnel.Builder extends GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder> implements VpnGatewayStatusTunnelOrBuilder
Contains some information about a VPN tunnel.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel
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 VpnGatewayStatusTunnel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VpnGatewayStatusTunnel build()
buildPartial()
public VpnGatewayStatusTunnel buildPartial()
clear()
public VpnGatewayStatusTunnel.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayStatusTunnel.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocalGatewayInterface()
public VpnGatewayStatusTunnel.Builder clearLocalGatewayInterface()
Output only. The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayStatusTunnel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clearTunnelUrl()
public VpnGatewayStatusTunnel.Builder clearTunnelUrl()
Output only. URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
clone()
public VpnGatewayStatusTunnel.Builder clone()
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusTunnel getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VpnGatewayStatusTunnel other)
public VpnGatewayStatusTunnel.Builder mergeFrom(VpnGatewayStatusTunnel other)
public VpnGatewayStatusTunnel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VpnGatewayStatusTunnel.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusTunnel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusTunnel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
int
The localGatewayInterface to set.
|
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;