Class LinkedRouterApplianceInstances.Builder

  • All Implemented Interfaces:
    LinkedRouterApplianceInstancesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    LinkedRouterApplianceInstances

    public static final class LinkedRouterApplianceInstances.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<LinkedRouterApplianceInstances.Builder>
    implements LinkedRouterApplianceInstancesOrBuilder
     A collection of router appliance instances. If you configure multiple router
     appliance instances to receive data from the same set of sites outside of
     Google Cloud, we recommend that you associate those instances with the same
     spoke.
     
    Protobuf type google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances
    • 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<LinkedRouterApplianceInstances.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<LinkedRouterApplianceInstances.Builder>
      • getDefaultInstanceForType

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

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

        public LinkedRouterApplianceInstances 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<LinkedRouterApplianceInstances.Builder>
      • clearInstances

        public LinkedRouterApplianceInstances.Builder clearInstances()
         The list of router appliance instances.
         
        repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
      • removeInstances

        public LinkedRouterApplianceInstances.Builder removeInstances​(int index)
         The list of router appliance instances.
         
        repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
      • getInstancesBuilder

        public RouterApplianceInstance.Builder getInstancesBuilder​(int index)
         The list of router appliance instances.
         
        repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
      • addInstancesBuilder

        public RouterApplianceInstance.Builder addInstancesBuilder()
         The list of router appliance instances.
         
        repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
      • addInstancesBuilder

        public RouterApplianceInstance.Builder addInstancesBuilder​(int index)
         The list of router appliance instances.
         
        repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
      • getInstancesBuilderList

        public List<RouterApplianceInstance.Builder> getInstancesBuilderList()
         The list of router appliance instances.
         
        repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
      • getSiteToSiteDataTransfer

        public boolean getSiteToSiteDataTransfer()
         A value that controls whether site-to-site data transfer is enabled for
         these resources. Data transfer is available only in [supported
         locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
         
        bool site_to_site_data_transfer = 2;
        Specified by:
        getSiteToSiteDataTransfer in interface LinkedRouterApplianceInstancesOrBuilder
        Returns:
        The siteToSiteDataTransfer.
      • setSiteToSiteDataTransfer

        public LinkedRouterApplianceInstances.Builder setSiteToSiteDataTransfer​(boolean value)
         A value that controls whether site-to-site data transfer is enabled for
         these resources. Data transfer is available only in [supported
         locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
         
        bool site_to_site_data_transfer = 2;
        Parameters:
        value - The siteToSiteDataTransfer to set.
        Returns:
        This builder for chaining.
      • clearSiteToSiteDataTransfer

        public LinkedRouterApplianceInstances.Builder clearSiteToSiteDataTransfer()
         A value that controls whether site-to-site data transfer is enabled for
         these resources. Data transfer is available only in [supported
         locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
         
        bool site_to_site_data_transfer = 2;
        Returns:
        This builder for chaining.
      • getVpcNetwork

        public String getVpcNetwork()
         Output only. The VPC network where these router appliance instances are
         located.
         
        string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getVpcNetwork in interface LinkedRouterApplianceInstancesOrBuilder
        Returns:
        The vpcNetwork.
      • getVpcNetworkBytes

        public com.google.protobuf.ByteString getVpcNetworkBytes()
         Output only. The VPC network where these router appliance instances are
         located.
         
        string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getVpcNetworkBytes in interface LinkedRouterApplianceInstancesOrBuilder
        Returns:
        The bytes for vpcNetwork.
      • setVpcNetwork

        public LinkedRouterApplianceInstances.Builder setVpcNetwork​(String value)
         Output only. The VPC network where these router appliance instances are
         located.
         
        string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The vpcNetwork to set.
        Returns:
        This builder for chaining.
      • clearVpcNetwork

        public LinkedRouterApplianceInstances.Builder clearVpcNetwork()
         Output only. The VPC network where these router appliance instances are
         located.
         
        string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setVpcNetworkBytes

        public LinkedRouterApplianceInstances.Builder setVpcNetworkBytes​(com.google.protobuf.ByteString value)
         Output only. The VPC network where these router appliance instances are
         located.
         
        string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for vpcNetwork to set.
        Returns:
        This builder for chaining.