- 1.54.0 (latest)
- 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 VpnGatewayInfo.Builder extends GeneratedMessageV3.Builder<VpnGatewayInfo.Builder> implements VpnGatewayInfoOrBuilder
For display only. Metadata associated with a Compute Engine VPN gateway.
Protobuf type google.cloud.networkmanagement.v1beta1.VpnGatewayInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnGatewayInfo.BuilderImplements
VpnGatewayInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
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. |
clone()
public VpnGatewayInfo.Builder clone()
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
setIpAddress(String value)
public VpnGatewayInfo.Builder setIpAddress(String value)
IP address of the VPN gateway.
string ip_address = 4;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for region to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnGatewayInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder |
setUri(String value)
public VpnGatewayInfo.Builder setUri(String value)
URI of a VPN gateway.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for vpnTunnelUri to set. |
Returns | |
---|---|
Type | Description |
VpnGatewayInfo.Builder | This builder for chaining. |