public static final class VpnGatewayInfo.Builder extends GeneratedMessageV3.Builder<VpnGatewayInfo.Builder> implements VpnGatewayInfoOrBuilderFor display only. Metadata associated with a Compute Engine VPN gateway.
Protobuf type google.cloud.networkmanagement.v1.VpnGatewayInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnGatewayInfo.BuilderImplements
VpnGatewayInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| VpnGatewayInfo.Builder |
build()
public VpnGatewayInfo build()| Type | Description |
| VpnGatewayInfo |
buildPartial()
public VpnGatewayInfo buildPartial()| Type | Description |
| VpnGatewayInfo |
clear()
public VpnGatewayInfo.Builder clear()| Type | Description |
| VpnGatewayInfo.Builder |
clearDisplayName()
public VpnGatewayInfo.Builder clearDisplayName()Name of a VPN gateway.
string display_name = 1;
| Type | Description |
| VpnGatewayInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| VpnGatewayInfo.Builder |
clearIpAddress()
public VpnGatewayInfo.Builder clearIpAddress()IP address of the VPN gateway.
string ip_address = 4;
| 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;
| Type | Description |
| VpnGatewayInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| VpnGatewayInfo.Builder |
clearRegion()
public VpnGatewayInfo.Builder clearRegion()Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Type | Description |
| VpnGatewayInfo.Builder | This builder for chaining. |
clearUri()
public VpnGatewayInfo.Builder clearUri()URI of a VPN gateway.
string uri = 2;
| 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;
| Type | Description |
| VpnGatewayInfo.Builder | This builder for chaining. |
clone()
public VpnGatewayInfo.Builder clone()| Type | Description |
| VpnGatewayInfo.Builder |
getDefaultInstanceForType()
public VpnGatewayInfo getDefaultInstanceForType()| Type | Description |
| VpnGatewayInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDisplayName()
public String getDisplayName()Name of a VPN gateway.
string display_name = 1;
| Type | Description |
| String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Name of a VPN gateway.
string display_name = 1;
| Type | Description |
| ByteString | The bytes for displayName. |
getIpAddress()
public String getIpAddress()IP address of the VPN gateway.
string ip_address = 4;
| Type | Description |
| String | The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()IP address of the VPN gateway.
string ip_address = 4;
| 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;
| 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;
| 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;
| Type | Description |
| String | The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;
| Type | Description |
| ByteString | The bytes for region. |
getUri()
public String getUri()URI of a VPN gateway.
string uri = 2;
| Type | Description |
| String | The uri. |
getUriBytes()
public ByteString getUriBytes()URI of a VPN gateway.
string uri = 2;
| 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;
| 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;
| Type | Description |
| ByteString | The bytes for vpnTunnelUri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(VpnGatewayInfo other)
public VpnGatewayInfo.Builder mergeFrom(VpnGatewayInfo other)| Name | Description |
| other | VpnGatewayInfo |
| Type | Description |
| VpnGatewayInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnGatewayInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| VpnGatewayInfo.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public VpnGatewayInfo.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| VpnGatewayInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| VpnGatewayInfo.Builder |
setDisplayName(String value)
public VpnGatewayInfo.Builder setDisplayName(String value)Name of a VPN gateway.
string display_name = 1;
| Name | Description |
| value | StringThe displayName to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for displayName to set. |
| Type | Description |
| VpnGatewayInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| VpnGatewayInfo.Builder |
setIpAddress(String value)
public VpnGatewayInfo.Builder setIpAddress(String value)IP address of the VPN gateway.
string ip_address = 4;
| Name | Description |
| value | StringThe ipAddress to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for ipAddress to set. |
| 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;
| Name | Description |
| value | StringThe networkUri to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for networkUri to set. |
| 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;
| Name | Description |
| value | StringThe region to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for region to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| VpnGatewayInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| VpnGatewayInfo.Builder |
setUri(String value)
public VpnGatewayInfo.Builder setUri(String value)URI of a VPN gateway.
string uri = 2;
| Name | Description |
| value | StringThe uri to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for uri to set. |
| 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;
| Name | Description |
| value | StringThe vpnTunnelUri to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for vpnTunnelUri to set. |
| Type | Description |
| VpnGatewayInfo.Builder | This builder for chaining. |