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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
    • clear

      public VpnGatewayInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VpnGatewayInfo.Builder>
    • getDefaultInstanceForType

      public VpnGatewayInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public VpnGatewayInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public VpnGatewayInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public VpnGatewayInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnGatewayInfo.Builder>
    • mergeFrom

      public VpnGatewayInfo.Builder mergeFrom(VpnGatewayInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface VpnGatewayInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Name of a VPN gateway.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of a VPN gateway.
       
      string uri = 2;
      Specified by:
      getUriBytes in interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       IP address of the VPN gateway.
       
      string ip_address = 4;
      Specified by:
      getIpAddressBytes in interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      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 interface VpnGatewayInfoOrBuilder
      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.