Class VpnGatewayInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.VpnGatewayInfo.Builder
- All Implemented Interfaces:
VpnGatewayInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VpnGatewayInfo
public static final class VpnGatewayInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
implements VpnGatewayInfoOrBuilder
For display only. Metadata associated with a Compute Engine VPN gateway.Protobuf type
google.cloud.networkmanagement.v1beta1.VpnGatewayInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Name of a VPN gateway.IP address of the VPN gateway.URI of a Compute Engine network where the VPN gateway is configured.Name of a Google Cloud region where this VPN gateway is configured.clearUri()URI of a VPN gateway.A VPN tunnel that is associated with this VPN gateway.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName of a VPN gateway.com.google.protobuf.ByteStringName of a VPN gateway.IP address of the VPN gateway.com.google.protobuf.ByteStringIP address of the VPN gateway.URI of a Compute Engine network where the VPN gateway is configured.com.google.protobuf.ByteStringURI of a Compute Engine network where the VPN gateway is configured.Name of a Google Cloud region where this VPN gateway is configured.com.google.protobuf.ByteStringName of a Google Cloud region where this VPN gateway is configured.getUri()URI of a VPN gateway.com.google.protobuf.ByteStringURI of a VPN gateway.A VPN tunnel that is associated with this VPN gateway.com.google.protobuf.ByteStringA VPN tunnel that is associated with this VPN gateway.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VpnGatewayInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Name of a VPN gateway.setDisplayNameBytes(com.google.protobuf.ByteString value) Name of a VPN gateway.setIpAddress(String value) IP address of the VPN gateway.setIpAddressBytes(com.google.protobuf.ByteString value) IP address of the VPN gateway.setNetworkUri(String value) URI of a Compute Engine network where the VPN gateway is configured.setNetworkUriBytes(com.google.protobuf.ByteString value) URI of a Compute Engine network where the VPN gateway is configured.Name of a Google Cloud region where this VPN gateway is configured.setRegionBytes(com.google.protobuf.ByteString value) Name of a Google Cloud region where this VPN gateway is configured.URI of a VPN gateway.setUriBytes(com.google.protobuf.ByteString value) URI of a VPN gateway.setVpnTunnelUri(String value) A VPN tunnel that is associated with this VPN gateway.setVpnTunnelUriBytes(com.google.protobuf.ByteString value) A VPN tunnel that is associated with this VPN gateway.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
-
mergeFrom
public VpnGatewayInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayInfo.Builder>- Throws:
IOException
-
getDisplayName
Name of a VPN gateway.
string display_name = 1;- Specified by:
getDisplayNamein interfaceVpnGatewayInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of a VPN gateway.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceVpnGatewayInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of a VPN gateway.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of a VPN gateway.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of a VPN gateway.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
URI of a VPN gateway.
string uri = 2;- Specified by:
getUriin interfaceVpnGatewayInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of a VPN gateway.
string uri = 2;- Specified by:
getUriBytesin interfaceVpnGatewayInfoOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of a VPN gateway.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of a VPN gateway.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
URI of a VPN gateway.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getNetworkUri
URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;- Specified by:
getNetworkUriin interfaceVpnGatewayInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;- Specified by:
getNetworkUriBytesin interfaceVpnGatewayInfoOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-
getIpAddress
IP address of the VPN gateway.
string ip_address = 4;- Specified by:
getIpAddressin interfaceVpnGatewayInfoOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()IP address of the VPN gateway.
string ip_address = 4;- Specified by:
getIpAddressBytesin interfaceVpnGatewayInfoOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
IP address of the VPN gateway.
string ip_address = 4;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
IP address of the VPN gateway.
string ip_address = 4;- Returns:
- This builder for chaining.
-
setIpAddressBytes
IP address of the VPN gateway.
string ip_address = 4;- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getVpnTunnelUriin interfaceVpnGatewayInfoOrBuilder- Returns:
- The vpnTunnelUri.
-
getVpnTunnelUriBytes
public com.google.protobuf.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;- Specified by:
getVpnTunnelUriBytesin interfaceVpnGatewayInfoOrBuilder- Returns:
- The bytes for vpnTunnelUri.
-
setVpnTunnelUri
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;- Parameters:
value- The vpnTunnelUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVpnTunnelUriBytes
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;- Parameters:
value- The bytes for vpnTunnelUri to set.- Returns:
- This builder for chaining.
-
getRegion
Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;- Specified by:
getRegionin interfaceVpnGatewayInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;- Specified by:
getRegionBytesin interfaceVpnGatewayInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;- Returns:
- This builder for chaining.
-
setRegionBytes
Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-