- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnTunnelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VpnTunnelInfo.Builder |
build()
public VpnTunnelInfo build()
Type | Description |
VpnTunnelInfo |
buildPartial()
public VpnTunnelInfo buildPartial()
Type | Description |
VpnTunnelInfo |
clear()
public VpnTunnelInfo.Builder clear()
Type | Description |
VpnTunnelInfo.Builder |
clearDisplayName()
public VpnTunnelInfo.Builder clearDisplayName()
Name of a VPN tunnel.
string display_name = 1;
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VpnTunnelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnTunnelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VpnTunnelInfo.Builder |
clearRegion()
public VpnTunnelInfo.Builder clearRegion()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
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;
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearRemoteGatewayIp()
public VpnTunnelInfo.Builder clearRemoteGatewayIp()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
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;
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;
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearSourceGatewayIp()
public VpnTunnelInfo.Builder clearSourceGatewayIp()
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clearUri()
public VpnTunnelInfo.Builder clearUri()
URI of a VPN tunnel.
string uri = 2;
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
clone()
public VpnTunnelInfo.Builder clone()
Type | Description |
VpnTunnelInfo.Builder |
getDefaultInstanceForType()
public VpnTunnelInfo getDefaultInstanceForType()
Type | Description |
VpnTunnelInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name of a VPN tunnel.
string display_name = 1;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a VPN tunnel.
string display_name = 1;
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;
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;
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;
Type | Description |
String | The region. |
getRegionBytes()
public ByteString getRegionBytes()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
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;
Type | Description |
String | The remoteGateway. |
getRemoteGatewayBytes()
public ByteString getRemoteGatewayBytes()
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;
Type | Description |
ByteString | The bytes for remoteGateway. |
getRemoteGatewayIp()
public String getRemoteGatewayIp()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
Type | Description |
String | The remoteGatewayIp. |
getRemoteGatewayIpBytes()
public ByteString getRemoteGatewayIpBytes()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
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;
Type | Description |
VpnTunnelInfo.RoutingType | The routingType. |
getRoutingTypeValue()
public int getRoutingTypeValue()
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;
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;
Type | Description |
String | The sourceGateway. |
getSourceGatewayBytes()
public ByteString getSourceGatewayBytes()
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;
Type | Description |
ByteString | The bytes for sourceGateway. |
getSourceGatewayIp()
public String getSourceGatewayIp()
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Type | Description |
String | The sourceGatewayIp. |
getSourceGatewayIpBytes()
public ByteString getSourceGatewayIpBytes()
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Type | Description |
ByteString | The bytes for sourceGatewayIp. |
getUri()
public String getUri()
URI of a VPN tunnel.
string uri = 2;
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
URI of a VPN tunnel.
string uri = 2;
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(VpnTunnelInfo other)
public VpnTunnelInfo.Builder mergeFrom(VpnTunnelInfo other)
Name | Description |
other | VpnTunnelInfo |
Type | Description |
VpnTunnelInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnTunnelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VpnTunnelInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VpnTunnelInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VpnTunnelInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnTunnelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VpnTunnelInfo.Builder |
setDisplayName(String value)
public VpnTunnelInfo.Builder setDisplayName(String value)
Name of a VPN tunnel.
string display_name = 1;
Name | Description |
value | String The displayName to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public VpnTunnelInfo.Builder setDisplayNameBytes(ByteString value)
Name of a VPN tunnel.
string display_name = 1;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnTunnelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VpnTunnelInfo.Builder |
setNetworkUri(String value)
public VpnTunnelInfo.Builder setNetworkUri(String value)
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;
Name | Description |
value | String The networkUri to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setNetworkUriBytes(ByteString value)
public VpnTunnelInfo.Builder setNetworkUriBytes(ByteString value)
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;
Name | Description |
value | ByteString The bytes for networkUri to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRegion(String value)
public VpnTunnelInfo.Builder setRegion(String value)
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
Name | Description |
value | String The region to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRegionBytes(ByteString value)
public VpnTunnelInfo.Builder setRegionBytes(ByteString value)
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;
Name | Description |
value | ByteString The bytes for region to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRemoteGateway(String value)
public VpnTunnelInfo.Builder setRemoteGateway(String value)
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;
Name | Description |
value | String The remoteGateway to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRemoteGatewayBytes(ByteString value)
public VpnTunnelInfo.Builder setRemoteGatewayBytes(ByteString value)
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;
Name | Description |
value | ByteString The bytes for remoteGateway to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRemoteGatewayIp(String value)
public VpnTunnelInfo.Builder setRemoteGatewayIp(String value)
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
Name | Description |
value | String The remoteGatewayIp to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRemoteGatewayIpBytes(ByteString value)
public VpnTunnelInfo.Builder setRemoteGatewayIpBytes(ByteString value)
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;
Name | Description |
value | ByteString The bytes for remoteGatewayIp to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnTunnelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VpnTunnelInfo.Builder |
setRoutingType(VpnTunnelInfo.RoutingType value)
public VpnTunnelInfo.Builder setRoutingType(VpnTunnelInfo.RoutingType value)
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;
Name | Description |
value | VpnTunnelInfo.RoutingType The routingType to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setRoutingTypeValue(int value)
public VpnTunnelInfo.Builder setRoutingTypeValue(int value)
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;
Name | Description |
value | int The enum numeric value on the wire for routingType to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setSourceGateway(String value)
public VpnTunnelInfo.Builder setSourceGateway(String value)
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;
Name | Description |
value | String The sourceGateway to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setSourceGatewayBytes(ByteString value)
public VpnTunnelInfo.Builder setSourceGatewayBytes(ByteString value)
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;
Name | Description |
value | ByteString The bytes for sourceGateway to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setSourceGatewayIp(String value)
public VpnTunnelInfo.Builder setSourceGatewayIp(String value)
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Name | Description |
value | String The sourceGatewayIp to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setSourceGatewayIpBytes(ByteString value)
public VpnTunnelInfo.Builder setSourceGatewayIpBytes(ByteString value)
Local VPN gateway's IP address.
string source_gateway_ip = 6;
Name | Description |
value | ByteString The bytes for sourceGatewayIp to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnTunnelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VpnTunnelInfo.Builder |
setUri(String value)
public VpnTunnelInfo.Builder setUri(String value)
URI of a VPN tunnel.
string uri = 2;
Name | Description |
value | String The uri to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public VpnTunnelInfo.Builder setUriBytes(ByteString value)
URI of a VPN tunnel.
string uri = 2;
Name | Description |
value | ByteString The bytes for uri to set. |
Type | Description |
VpnTunnelInfo.Builder | This builder for chaining. |