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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VpnGatewayInfo
build()
VpnGatewayInfo
buildPartial()
VpnGatewayInfo.Builder
clear()
VpnGatewayInfo.Builder
clearDisplayName()
Name of a VPN gateway.VpnGatewayInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VpnGatewayInfo.Builder
clearIpAddress()
IP address of the VPN gateway.VpnGatewayInfo.Builder
clearNetworkUri()
URI of a Compute Engine network where the VPN gateway is configured.VpnGatewayInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VpnGatewayInfo.Builder
clearRegion()
Name of a Google Cloud region where this VPN gateway is configured.VpnGatewayInfo.Builder
clearUri()
URI of a VPN gateway.VpnGatewayInfo.Builder
clearVpnTunnelUri()
A VPN tunnel that is associated with this VPN gateway.VpnGatewayInfo.Builder
clone()
VpnGatewayInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Name of a VPN gateway.com.google.protobuf.ByteString
getDisplayNameBytes()
Name of a VPN gateway.String
getIpAddress()
IP address of the VPN gateway.com.google.protobuf.ByteString
getIpAddressBytes()
IP address of the VPN gateway.String
getNetworkUri()
URI of a Compute Engine network where the VPN gateway is configured.com.google.protobuf.ByteString
getNetworkUriBytes()
URI of a Compute Engine network where the VPN gateway is configured.String
getRegion()
Name of a Google Cloud region where this VPN gateway is configured.com.google.protobuf.ByteString
getRegionBytes()
Name of a Google Cloud region where this VPN gateway is configured.String
getUri()
URI of a VPN gateway.com.google.protobuf.ByteString
getUriBytes()
URI of a VPN gateway.String
getVpnTunnelUri()
A VPN tunnel that is associated with this VPN gateway.com.google.protobuf.ByteString
getVpnTunnelUriBytes()
A VPN tunnel that is associated with this VPN gateway.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VpnGatewayInfo.Builder
mergeFrom(VpnGatewayInfo other)
VpnGatewayInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VpnGatewayInfo.Builder
mergeFrom(com.google.protobuf.Message other)
VpnGatewayInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VpnGatewayInfo.Builder
setDisplayName(String value)
Name of a VPN gateway.VpnGatewayInfo.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Name of a VPN gateway.VpnGatewayInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VpnGatewayInfo.Builder
setIpAddress(String value)
IP address of the VPN gateway.VpnGatewayInfo.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the VPN gateway.VpnGatewayInfo.Builder
setNetworkUri(String value)
URI of a Compute Engine network where the VPN gateway is configured.VpnGatewayInfo.Builder
setNetworkUriBytes(com.google.protobuf.ByteString value)
URI of a Compute Engine network where the VPN gateway is configured.VpnGatewayInfo.Builder
setRegion(String value)
Name of a Google Cloud region where this VPN gateway is configured.VpnGatewayInfo.Builder
setRegionBytes(com.google.protobuf.ByteString value)
Name of a Google Cloud region where this VPN gateway is configured.VpnGatewayInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VpnGatewayInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VpnGatewayInfo.Builder
setUri(String value)
URI of a VPN gateway.VpnGatewayInfo.Builder
setUriBytes(com.google.protobuf.ByteString value)
URI of a VPN gateway.VpnGatewayInfo.Builder
setVpnTunnelUri(String value)
A VPN tunnel that is associated with this VPN gateway.VpnGatewayInfo.Builder
setVpnTunnelUriBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
clear
public VpnGatewayInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
getDefaultInstanceForType
public VpnGatewayInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
setField
public VpnGatewayInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
clearField
public VpnGatewayInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
clearOneof
public VpnGatewayInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
setRepeatedField
public VpnGatewayInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
addRepeatedField
public VpnGatewayInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
mergeFrom
public VpnGatewayInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayInfo.Builder>
-
mergeFrom
public VpnGatewayInfo.Builder mergeFrom(VpnGatewayInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayInfo.Builder>
- Throws:
IOException
-
getDisplayName
public String getDisplayName()
Name of a VPN gateway.
string display_name = 1;
- Specified by:
getDisplayName
in interfaceVpnGatewayInfoOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Name of a VPN gateway.
string display_name = 1;
- Specified by:
getDisplayNameBytes
in 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:
getUri
in interfaceVpnGatewayInfoOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
URI of a VPN gateway.
string uri = 2;
- Specified by:
getUriBytes
in 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:
getNetworkUri
in 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:
getNetworkUriBytes
in 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:
getIpAddress
in interfaceVpnGatewayInfoOrBuilder
- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
IP address of the VPN gateway.
string ip_address = 4;
- Specified by:
getIpAddressBytes
in 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:
getVpnTunnelUri
in 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:
getVpnTunnelUriBytes
in 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:
getRegion
in 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:
getRegionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
mergeUnknownFields
public final VpnGatewayInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayInfo.Builder>
-
-