Class TargetVpnGatewaysScopedList.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public TargetVpnGatewaysScopedList 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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
      • 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​(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;
      • 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;
      • mergeUnknownFields

        public final TargetVpnGatewaysScopedList.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGatewaysScopedList.Builder>