Class VpnGatewaysScopedList.Builder

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

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

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

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

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

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

      public VpnGatewaysScopedList.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<VpnGatewaysScopedList.Builder>
      Throws:
      IOException
    • getVpnGatewaysList

      public List<VpnGateway> getVpnGatewaysList()
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
      Specified by:
      getVpnGatewaysList in interface VpnGatewaysScopedListOrBuilder
    • getVpnGatewaysCount

      public int getVpnGatewaysCount()
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
      Specified by:
      getVpnGatewaysCount in interface VpnGatewaysScopedListOrBuilder
    • getVpnGateways

      public VpnGateway getVpnGateways(int index)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
      Specified by:
      getVpnGateways in interface VpnGatewaysScopedListOrBuilder
    • setVpnGateways

      public VpnGatewaysScopedList.Builder setVpnGateways(int index, VpnGateway value)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • setVpnGateways

      public VpnGatewaysScopedList.Builder setVpnGateways(int index, VpnGateway.Builder builderForValue)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • addVpnGateways

      public VpnGatewaysScopedList.Builder addVpnGateways(VpnGateway value)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • addVpnGateways

      public VpnGatewaysScopedList.Builder addVpnGateways(int index, VpnGateway value)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • addVpnGateways

      public VpnGatewaysScopedList.Builder addVpnGateways(VpnGateway.Builder builderForValue)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • addVpnGateways

      public VpnGatewaysScopedList.Builder addVpnGateways(int index, VpnGateway.Builder builderForValue)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • addAllVpnGateways

      public VpnGatewaysScopedList.Builder addAllVpnGateways(Iterable<? extends VpnGateway> values)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • clearVpnGateways

      public VpnGatewaysScopedList.Builder clearVpnGateways()
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • removeVpnGateways

      public VpnGatewaysScopedList.Builder removeVpnGateways(int index)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • getVpnGatewaysBuilder

      public VpnGateway.Builder getVpnGatewaysBuilder(int index)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • getVpnGatewaysOrBuilder

      public VpnGatewayOrBuilder getVpnGatewaysOrBuilder(int index)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
      Specified by:
      getVpnGatewaysOrBuilder in interface VpnGatewaysScopedListOrBuilder
    • getVpnGatewaysOrBuilderList

      public List<? extends VpnGatewayOrBuilder> getVpnGatewaysOrBuilderList()
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
      Specified by:
      getVpnGatewaysOrBuilderList in interface VpnGatewaysScopedListOrBuilder
    • addVpnGatewaysBuilder

      public VpnGateway.Builder addVpnGatewaysBuilder()
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • addVpnGatewaysBuilder

      public VpnGateway.Builder addVpnGatewaysBuilder(int index)
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • getVpnGatewaysBuilderList

      public List<VpnGateway.Builder> getVpnGatewaysBuilderList()
       [Output Only] A list of VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;
    • hasWarning

      public boolean hasWarning()
       [Output Only] 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 VpnGatewaysScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       [Output Only] 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 VpnGatewaysScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

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

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

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

      public VpnGatewaysScopedList.Builder clearWarning()
       [Output Only] 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()
       [Output Only] 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()
       [Output Only] 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 VpnGatewaysScopedListOrBuilder