Class TargetVpnGatewaysScopedList.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public TargetVpnGatewaysScopedList.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<TargetVpnGatewaysScopedList.Builder>
      Throws:
      IOException
    • getTargetVpnGatewaysList

      public List<TargetVpnGateway> getTargetVpnGatewaysList()
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
      Specified by:
      getTargetVpnGatewaysList in interface TargetVpnGatewaysScopedListOrBuilder
    • getTargetVpnGatewaysCount

      public int getTargetVpnGatewaysCount()
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
      Specified by:
      getTargetVpnGatewaysCount in interface TargetVpnGatewaysScopedListOrBuilder
    • getTargetVpnGateways

      public TargetVpnGateway getTargetVpnGateways(int index)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
      Specified by:
      getTargetVpnGateways in interface TargetVpnGatewaysScopedListOrBuilder
    • setTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder setTargetVpnGateways(int index, TargetVpnGateway value)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • setTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder setTargetVpnGateways(int index, TargetVpnGateway.Builder builderForValue)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • addTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(TargetVpnGateway value)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • addTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(int index, TargetVpnGateway value)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • addTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(TargetVpnGateway.Builder builderForValue)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • addTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(int index, TargetVpnGateway.Builder builderForValue)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • addAllTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder addAllTargetVpnGateways(Iterable<? extends TargetVpnGateway> values)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • clearTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder clearTargetVpnGateways()
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • removeTargetVpnGateways

      public TargetVpnGatewaysScopedList.Builder removeTargetVpnGateways(int index)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • getTargetVpnGatewaysBuilder

      public TargetVpnGateway.Builder getTargetVpnGatewaysBuilder(int index)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • getTargetVpnGatewaysOrBuilder

      public TargetVpnGatewayOrBuilder getTargetVpnGatewaysOrBuilder(int index)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
      Specified by:
      getTargetVpnGatewaysOrBuilder in interface TargetVpnGatewaysScopedListOrBuilder
    • getTargetVpnGatewaysOrBuilderList

      public List<? extends TargetVpnGatewayOrBuilder> getTargetVpnGatewaysOrBuilderList()
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
      Specified by:
      getTargetVpnGatewaysOrBuilderList in interface TargetVpnGatewaysScopedListOrBuilder
    • addTargetVpnGatewaysBuilder

      public TargetVpnGateway.Builder addTargetVpnGatewaysBuilder()
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • addTargetVpnGatewaysBuilder

      public TargetVpnGateway.Builder addTargetVpnGatewaysBuilder(int index)
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • getTargetVpnGatewaysBuilderList

      public List<TargetVpnGateway.Builder> getTargetVpnGatewaysBuilderList()
       [Output Only] A list of target VPN gateways contained in this scope.
       
      repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;
    • 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 TargetVpnGatewaysScopedListOrBuilder
      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 TargetVpnGatewaysScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public TargetVpnGatewaysScopedList.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 TargetVpnGatewaysScopedList.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 TargetVpnGatewaysScopedList.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 TargetVpnGatewaysScopedList.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 TargetVpnGatewaysScopedListOrBuilder