public static final class VpnTunnelInfo.Builder extends GeneratedMessageV3.Builder<VpnTunnelInfo.Builder> implements VpnTunnelInfoOrBuilder
For display only. Metadata associated with a Compute Engine VPN tunnel.
Protobuf type google.cloud.networkmanagement.v1beta1.VpnTunnelInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnTunnelInfo.BuilderImplements
VpnTunnelInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnTunnelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder |
build()
public VpnTunnelInfo build()
Returns | |
---|---|
Type | Description |
VpnTunnelInfo |
buildPartial()
public VpnTunnelInfo buildPartial()
Returns | |
---|---|
Type | Description |
VpnTunnelInfo |
clear()
public VpnTunnelInfo.Builder clear()
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder |
clearDisplayName()
public VpnTunnelInfo.Builder clearDisplayName()
Name of a VPN tunnel.
string display_name = 1;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VpnTunnelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder |
clearNetworkUri()
public VpnTunnelInfo.Builder clearNetworkUri()
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnTunnelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder |
clearRegion()
public VpnTunnelInfo.Builder clearRegion()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearRemoteGateway()
public VpnTunnelInfo.Builder clearRemoteGateway()
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearRemoteGatewayIp()
public VpnTunnelInfo.Builder clearRemoteGatewayIp()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearRoutingType()
public VpnTunnelInfo.Builder clearRoutingType()
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearSourceGateway()
public VpnTunnelInfo.Builder clearSourceGateway()
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearSourceGatewayIp()
public VpnTunnelInfo.Builder clearSourceGatewayIp()
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearUri()
public VpnTunnelInfo.Builder clearUri()
URI of a VPN tunnel.
string uri = 2;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clone()
public VpnTunnelInfo.Builder clone()
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.Builder |
getDefaultInstanceForType()
public VpnTunnelInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VpnTunnelInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name of a VPN tunnel.
string display_name = 1;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a VPN tunnel.
string display_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getNetworkUri()
public String getNetworkUri()
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;
Returns | |
---|---|
Type | Description |
String | The networkUri. |
getNetworkUriBytes()
public ByteString getNetworkUriBytes()
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for networkUri. |
getRegion()
public String getRegion()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
Returns | |
---|---|
Type | Description |
String | The region. |
getRegionBytes()
public ByteString getRegionBytes()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for region. |
getRemoteGateway()
public String getRemoteGateway()
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;
Returns | |
---|---|
Type | Description |
String | The remoteGateway. |
getRemoteGatewayBytes()
public ByteString getRemoteGatewayBytes()
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for remoteGateway. |
getRemoteGatewayIp()
public String getRemoteGatewayIp()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
Returns | |
---|---|
Type | Description |
String | The remoteGatewayIp. |
getRemoteGatewayIpBytes()
public ByteString getRemoteGatewayIpBytes()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for remoteGatewayIp. |
getRoutingType()
public VpnTunnelInfo.RoutingType getRoutingType()
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;
Returns | |
---|---|
Type | Description |
VpnTunnelInfo.RoutingType | The routingType. |
getRoutingTypeValue()
public int getRoutingTypeValue()
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for routingType. |
getSourceGateway()
public String getSourceGateway()
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;
Returns | |
---|---|
Type | Description |
String | The sourceGateway. |
getSourceGatewayBytes()
public ByteString getSourceGatewayBytes()
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceGateway. |
getSourceGatewayIp()
public String getSourceGatewayIp()
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Returns | |
---|---|
Type | Description |
String | The sourceGatewayIp. |
getSourceGatewayIpBytes()
public ByteString getSourceGatewayIpBytes()
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceGatewayIp. |
getUri()
public String getUri()
URI of a VPN tunnel.
string uri = 2;
Returns | |
---|---|
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
URI of a VPN tunnel.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VpnTunnelInfo other)
public VpnTunnelInfo.Builder mergeFrom(VpnTunnelInfo other)