Class VpnTunnelsScopedList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnTunnelsScopedList.Builder>
com.google.cloud.compute.v1.VpnTunnelsScopedList.Builder
All Implemented Interfaces:
VpnTunnelsScopedListOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VpnTunnelsScopedList

public static final class VpnTunnelsScopedList.Builder extends com.google.protobuf.GeneratedMessage.Builder<VpnTunnelsScopedList.Builder> implements VpnTunnelsScopedListOrBuilder
 
Protobuf type google.cloud.compute.v1.VpnTunnelsScopedList
  • 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<VpnTunnelsScopedList.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<VpnTunnelsScopedList.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<VpnTunnelsScopedList.Builder>
    • getDefaultInstanceForType

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

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

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

      public VpnTunnelsScopedList.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<VpnTunnelsScopedList.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<VpnTunnelsScopedList.Builder>
    • mergeFrom

      public VpnTunnelsScopedList.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<VpnTunnelsScopedList.Builder>
      Throws:
      IOException
    • getVpnTunnelsList

      public List<VpnTunnel> getVpnTunnelsList()
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
      Specified by:
      getVpnTunnelsList in interface VpnTunnelsScopedListOrBuilder
    • getVpnTunnelsCount

      public int getVpnTunnelsCount()
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
      Specified by:
      getVpnTunnelsCount in interface VpnTunnelsScopedListOrBuilder
    • getVpnTunnels

      public VpnTunnel getVpnTunnels(int index)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
      Specified by:
      getVpnTunnels in interface VpnTunnelsScopedListOrBuilder
    • setVpnTunnels

      public VpnTunnelsScopedList.Builder setVpnTunnels(int index, VpnTunnel value)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • setVpnTunnels

      public VpnTunnelsScopedList.Builder setVpnTunnels(int index, VpnTunnel.Builder builderForValue)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • addVpnTunnels

      public VpnTunnelsScopedList.Builder addVpnTunnels(VpnTunnel value)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • addVpnTunnels

      public VpnTunnelsScopedList.Builder addVpnTunnels(int index, VpnTunnel value)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • addVpnTunnels

      public VpnTunnelsScopedList.Builder addVpnTunnels(VpnTunnel.Builder builderForValue)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • addVpnTunnels

      public VpnTunnelsScopedList.Builder addVpnTunnels(int index, VpnTunnel.Builder builderForValue)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • addAllVpnTunnels

      public VpnTunnelsScopedList.Builder addAllVpnTunnels(Iterable<? extends VpnTunnel> values)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • clearVpnTunnels

      public VpnTunnelsScopedList.Builder clearVpnTunnels()
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • removeVpnTunnels

      public VpnTunnelsScopedList.Builder removeVpnTunnels(int index)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • getVpnTunnelsBuilder

      public VpnTunnel.Builder getVpnTunnelsBuilder(int index)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • getVpnTunnelsOrBuilder

      public VpnTunnelOrBuilder getVpnTunnelsOrBuilder(int index)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
      Specified by:
      getVpnTunnelsOrBuilder in interface VpnTunnelsScopedListOrBuilder
    • getVpnTunnelsOrBuilderList

      public List<? extends VpnTunnelOrBuilder> getVpnTunnelsOrBuilderList()
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
      Specified by:
      getVpnTunnelsOrBuilderList in interface VpnTunnelsScopedListOrBuilder
    • addVpnTunnelsBuilder

      public VpnTunnel.Builder addVpnTunnelsBuilder()
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • addVpnTunnelsBuilder

      public VpnTunnel.Builder addVpnTunnelsBuilder(int index)
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • getVpnTunnelsBuilderList

      public List<VpnTunnel.Builder> getVpnTunnelsBuilderList()
       A list of VPN tunnels contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;
    • hasWarning

      public boolean hasWarning()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface VpnTunnelsScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface VpnTunnelsScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public VpnTunnelsScopedList.Builder setWarning(Warning value)
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public VpnTunnelsScopedList.Builder setWarning(Warning.Builder builderForValue)
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public VpnTunnelsScopedList.Builder mergeWarning(Warning value)
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public VpnTunnelsScopedList.Builder clearWarning()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Informational warning which replaces the list of addresses when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface VpnTunnelsScopedListOrBuilder