Class VpnGatewayInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
- com.google.cloud.networkmanagement.v1.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.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder> implements VpnGatewayInfoOrBuilder
For display only. Metadata associated with a Compute Engine VPN gateway.
Protobuf typegoogle.cloud.networkmanagement.v1.VpnGatewayInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VpnGatewayInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VpnGatewayInfobuild()VpnGatewayInfobuildPartial()VpnGatewayInfo.Builderclear()VpnGatewayInfo.BuilderclearDisplayName()Name of a VPN gateway.VpnGatewayInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VpnGatewayInfo.BuilderclearIpAddress()IP address of the VPN gateway.VpnGatewayInfo.BuilderclearNetworkUri()URI of a Compute Engine network where the VPN gateway is configured.VpnGatewayInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VpnGatewayInfo.BuilderclearRegion()Name of a Google Cloud region where this VPN gateway is configured.VpnGatewayInfo.BuilderclearUri()URI of a VPN gateway.VpnGatewayInfo.BuilderclearVpnTunnelUri()A VPN tunnel that is associated with this VPN gateway.VpnGatewayInfo.Builderclone()VpnGatewayInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Name of a VPN gateway.com.google.protobuf.ByteStringgetDisplayNameBytes()Name of a VPN gateway.StringgetIpAddress()IP address of the VPN gateway.com.google.protobuf.ByteStringgetIpAddressBytes()IP address of the VPN gateway.StringgetNetworkUri()URI of a Compute Engine network where the VPN gateway is configured.com.google.protobuf.ByteStringgetNetworkUriBytes()URI of a Compute Engine network where the VPN gateway is configured.StringgetRegion()Name of a Google Cloud region where this VPN gateway is configured.com.google.protobuf.ByteStringgetRegionBytes()Name of a Google Cloud region where this VPN gateway is configured.StringgetUri()URI of a VPN gateway.com.google.protobuf.ByteStringgetUriBytes()URI of a VPN gateway.StringgetVpnTunnelUri()A VPN tunnel that is associated with this VPN gateway.com.google.protobuf.ByteStringgetVpnTunnelUriBytes()A VPN tunnel that is associated with this VPN gateway.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VpnGatewayInfo.BuildermergeFrom(VpnGatewayInfo other)VpnGatewayInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VpnGatewayInfo.BuildermergeFrom(com.google.protobuf.Message other)VpnGatewayInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VpnGatewayInfo.BuildersetDisplayName(String value)Name of a VPN gateway.VpnGatewayInfo.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Name of a VPN gateway.VpnGatewayInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VpnGatewayInfo.BuildersetIpAddress(String value)IP address of the VPN gateway.VpnGatewayInfo.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)IP address of the VPN gateway.VpnGatewayInfo.BuildersetNetworkUri(String value)URI of a Compute Engine network where the VPN gateway is configured.VpnGatewayInfo.BuildersetNetworkUriBytes(com.google.protobuf.ByteString value)URI of a Compute Engine network where the VPN gateway is configured.VpnGatewayInfo.BuildersetRegion(String value)Name of a Google Cloud region where this VPN gateway is configured.VpnGatewayInfo.BuildersetRegionBytes(com.google.protobuf.ByteString value)Name of a Google Cloud region where this VPN gateway is configured.VpnGatewayInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VpnGatewayInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VpnGatewayInfo.BuildersetUri(String value)URI of a VPN gateway.VpnGatewayInfo.BuildersetUriBytes(com.google.protobuf.ByteString value)URI of a VPN gateway.VpnGatewayInfo.BuildersetVpnTunnelUri(String value)A VPN tunnel that is associated with this VPN gateway.VpnGatewayInfo.BuildersetVpnTunnelUriBytes(com.google.protobuf.ByteString value)A VPN tunnel that is associated with this VPN gateway.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
clear
public VpnGatewayInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
getDefaultInstanceForType
public VpnGatewayInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
setField
public VpnGatewayInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
clearField
public VpnGatewayInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
clearOneof
public VpnGatewayInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
setRepeatedField
public VpnGatewayInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
addRepeatedField
public VpnGatewayInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
mergeFrom
public VpnGatewayInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayInfo.Builder>
-
mergeFrom
public VpnGatewayInfo.Builder mergeFrom(VpnGatewayInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public VpnGatewayInfo.Builder setDisplayName(String value)
Name of a VPN gateway.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public VpnGatewayInfo.Builder clearDisplayName()
Name of a VPN gateway.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public VpnGatewayInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Name of a VPN gateway.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
public String 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
public VpnGatewayInfo.Builder setUri(String value)
URI of a VPN gateway.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public VpnGatewayInfo.Builder clearUri()
URI of a VPN gateway.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
public VpnGatewayInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
URI of a VPN gateway.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getNetworkUri
public String 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
public VpnGatewayInfo.Builder setNetworkUri(String value)
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
public VpnGatewayInfo.Builder clearNetworkUri()
URI of a Compute Engine network where the VPN gateway is configured.
string network_uri = 3;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
public VpnGatewayInfo.Builder setNetworkUriBytes(com.google.protobuf.ByteString value)
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
public String 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
public VpnGatewayInfo.Builder setIpAddress(String value)
IP address of the VPN gateway.
string ip_address = 4;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public VpnGatewayInfo.Builder clearIpAddress()
IP address of the VPN gateway.
string ip_address = 4;- Returns:
- This builder for chaining.
-
setIpAddressBytes
public VpnGatewayInfo.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the VPN gateway.
string ip_address = 4;- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
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;- 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
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;- Parameters:
value- The vpnTunnelUri to set.- Returns:
- 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:
- This builder for chaining.
-
setVpnTunnelUriBytes
public VpnGatewayInfo.Builder setVpnTunnelUriBytes(com.google.protobuf.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;- Parameters:
value- The bytes for vpnTunnelUri to set.- Returns:
- This builder for chaining.
-
getRegion
public String 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
public VpnGatewayInfo.Builder setRegion(String value)
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
public VpnGatewayInfo.Builder clearRegion()
Name of a Google Cloud region where this VPN gateway is configured.
string region = 6;- Returns:
- This builder for chaining.
-
setRegionBytes
public VpnGatewayInfo.Builder setRegionBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final VpnGatewayInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
mergeUnknownFields
public final VpnGatewayInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
-