Class LinkedVpcNetwork.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LinkedVpcNetwork.Builder>
com.google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork.Builder
All Implemented Interfaces:
LinkedVpcNetworkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LinkedVpcNetwork

public static final class LinkedVpcNetwork.Builder extends com.google.protobuf.GeneratedMessage.Builder<LinkedVpcNetwork.Builder> implements LinkedVpcNetworkOrBuilder
 An existing VPC network.
 
Protobuf type google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork
  • 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<LinkedVpcNetwork.Builder>
    • clear

      public LinkedVpcNetwork.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<LinkedVpcNetwork.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<LinkedVpcNetwork.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public LinkedVpcNetwork.Builder mergeFrom(LinkedVpcNetwork other)
    • isInitialized

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

      public LinkedVpcNetwork.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<LinkedVpcNetwork.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       Required. The URI of the VPC network resource.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getUri in interface LinkedVpcNetworkOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The URI of the VPC network resource.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getUriBytes in interface LinkedVpcNetworkOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public LinkedVpcNetwork.Builder setUri(String value)
       Required. The URI of the VPC network resource.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public LinkedVpcNetwork.Builder clearUri()
       Required. The URI of the VPC network resource.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setUriBytes

      public LinkedVpcNetwork.Builder setUriBytes(com.google.protobuf.ByteString value)
       Required. The URI of the VPC network resource.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getExcludeExportRangesList

      public com.google.protobuf.ProtocolStringList getExcludeExportRangesList()
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRangesList in interface LinkedVpcNetworkOrBuilder
      Returns:
      A list containing the excludeExportRanges.
    • getExcludeExportRangesCount

      public int getExcludeExportRangesCount()
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRangesCount in interface LinkedVpcNetworkOrBuilder
      Returns:
      The count of excludeExportRanges.
    • getExcludeExportRanges

      public String getExcludeExportRanges(int index)
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRanges in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludeExportRanges at the given index.
    • getExcludeExportRangesBytes

      public com.google.protobuf.ByteString getExcludeExportRangesBytes(int index)
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRangesBytes in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludeExportRanges at the given index.
    • setExcludeExportRanges

      public LinkedVpcNetwork.Builder setExcludeExportRanges(int index, String value)
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The excludeExportRanges to set.
      Returns:
      This builder for chaining.
    • addExcludeExportRanges

      public LinkedVpcNetwork.Builder addExcludeExportRanges(String value)
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The excludeExportRanges to add.
      Returns:
      This builder for chaining.
    • addAllExcludeExportRanges

      public LinkedVpcNetwork.Builder addAllExcludeExportRanges(Iterable<String> values)
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The excludeExportRanges to add.
      Returns:
      This builder for chaining.
    • clearExcludeExportRanges

      public LinkedVpcNetwork.Builder clearExcludeExportRanges()
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addExcludeExportRangesBytes

      public LinkedVpcNetwork.Builder addExcludeExportRangesBytes(com.google.protobuf.ByteString value)
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the excludeExportRanges to add.
      Returns:
      This builder for chaining.
    • getIncludeExportRangesList

      public com.google.protobuf.ProtocolStringList getIncludeExportRangesList()
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRangesList in interface LinkedVpcNetworkOrBuilder
      Returns:
      A list containing the includeExportRanges.
    • getIncludeExportRangesCount

      public int getIncludeExportRangesCount()
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRangesCount in interface LinkedVpcNetworkOrBuilder
      Returns:
      The count of includeExportRanges.
    • getIncludeExportRanges

      public String getIncludeExportRanges(int index)
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRanges in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The includeExportRanges at the given index.
    • getIncludeExportRangesBytes

      public com.google.protobuf.ByteString getIncludeExportRangesBytes(int index)
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRangesBytes in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the includeExportRanges at the given index.
    • setIncludeExportRanges

      public LinkedVpcNetwork.Builder setIncludeExportRanges(int index, String value)
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The includeExportRanges to set.
      Returns:
      This builder for chaining.
    • addIncludeExportRanges

      public LinkedVpcNetwork.Builder addIncludeExportRanges(String value)
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The includeExportRanges to add.
      Returns:
      This builder for chaining.
    • addAllIncludeExportRanges

      public LinkedVpcNetwork.Builder addAllIncludeExportRanges(Iterable<String> values)
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The includeExportRanges to add.
      Returns:
      This builder for chaining.
    • clearIncludeExportRanges

      public LinkedVpcNetwork.Builder clearIncludeExportRanges()
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addIncludeExportRangesBytes

      public LinkedVpcNetwork.Builder addIncludeExportRangesBytes(com.google.protobuf.ByteString value)
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the includeExportRanges to add.
      Returns:
      This builder for chaining.
    • getProposedIncludeExportRangesList

      public com.google.protobuf.ProtocolStringList getProposedIncludeExportRangesList()
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRangesList in interface LinkedVpcNetworkOrBuilder
      Returns:
      A list containing the proposedIncludeExportRanges.
    • getProposedIncludeExportRangesCount

      public int getProposedIncludeExportRangesCount()
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRangesCount in interface LinkedVpcNetworkOrBuilder
      Returns:
      The count of proposedIncludeExportRanges.
    • getProposedIncludeExportRanges

      public String getProposedIncludeExportRanges(int index)
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRanges in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The proposedIncludeExportRanges at the given index.
    • getProposedIncludeExportRangesBytes

      public com.google.protobuf.ByteString getProposedIncludeExportRangesBytes(int index)
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRangesBytes in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the proposedIncludeExportRanges at the given index.
    • setProposedIncludeExportRanges

      public LinkedVpcNetwork.Builder setProposedIncludeExportRanges(int index, String value)
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The proposedIncludeExportRanges to set.
      Returns:
      This builder for chaining.
    • addProposedIncludeExportRanges

      public LinkedVpcNetwork.Builder addProposedIncludeExportRanges(String value)
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The proposedIncludeExportRanges to add.
      Returns:
      This builder for chaining.
    • addAllProposedIncludeExportRanges

      public LinkedVpcNetwork.Builder addAllProposedIncludeExportRanges(Iterable<String> values)
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The proposedIncludeExportRanges to add.
      Returns:
      This builder for chaining.
    • clearProposedIncludeExportRanges

      public LinkedVpcNetwork.Builder clearProposedIncludeExportRanges()
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addProposedIncludeExportRangesBytes

      public LinkedVpcNetwork.Builder addProposedIncludeExportRangesBytes(com.google.protobuf.ByteString value)
       Output only. The proposed include export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_include_export_ranges = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the proposedIncludeExportRanges to add.
      Returns:
      This builder for chaining.
    • getProposedExcludeExportRangesList

      public com.google.protobuf.ProtocolStringList getProposedExcludeExportRangesList()
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRangesList in interface LinkedVpcNetworkOrBuilder
      Returns:
      A list containing the proposedExcludeExportRanges.
    • getProposedExcludeExportRangesCount

      public int getProposedExcludeExportRangesCount()
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRangesCount in interface LinkedVpcNetworkOrBuilder
      Returns:
      The count of proposedExcludeExportRanges.
    • getProposedExcludeExportRanges

      public String getProposedExcludeExportRanges(int index)
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRanges in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The proposedExcludeExportRanges at the given index.
    • getProposedExcludeExportRangesBytes

      public com.google.protobuf.ByteString getProposedExcludeExportRangesBytes(int index)
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRangesBytes in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the proposedExcludeExportRanges at the given index.
    • setProposedExcludeExportRanges

      public LinkedVpcNetwork.Builder setProposedExcludeExportRanges(int index, String value)
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The proposedExcludeExportRanges to set.
      Returns:
      This builder for chaining.
    • addProposedExcludeExportRanges

      public LinkedVpcNetwork.Builder addProposedExcludeExportRanges(String value)
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The proposedExcludeExportRanges to add.
      Returns:
      This builder for chaining.
    • addAllProposedExcludeExportRanges

      public LinkedVpcNetwork.Builder addAllProposedExcludeExportRanges(Iterable<String> values)
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The proposedExcludeExportRanges to add.
      Returns:
      This builder for chaining.
    • clearProposedExcludeExportRanges

      public LinkedVpcNetwork.Builder clearProposedExcludeExportRanges()
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addProposedExcludeExportRangesBytes

      public LinkedVpcNetwork.Builder addProposedExcludeExportRangesBytes(com.google.protobuf.ByteString value)
       Output only. The proposed exclude export IP ranges waiting for hub
       administrator's approval.
       
      repeated string proposed_exclude_export_ranges = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the proposedExcludeExportRanges to add.
      Returns:
      This builder for chaining.
    • getProducerVpcSpokesList

      public com.google.protobuf.ProtocolStringList getProducerVpcSpokesList()
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getProducerVpcSpokesList in interface LinkedVpcNetworkOrBuilder
      Returns:
      A list containing the producerVpcSpokes.
    • getProducerVpcSpokesCount

      public int getProducerVpcSpokesCount()
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getProducerVpcSpokesCount in interface LinkedVpcNetworkOrBuilder
      Returns:
      The count of producerVpcSpokes.
    • getProducerVpcSpokes

      public String getProducerVpcSpokes(int index)
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getProducerVpcSpokes in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The producerVpcSpokes at the given index.
    • getProducerVpcSpokesBytes

      public com.google.protobuf.ByteString getProducerVpcSpokesBytes(int index)
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getProducerVpcSpokesBytes in interface LinkedVpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the producerVpcSpokes at the given index.
    • setProducerVpcSpokes

      public LinkedVpcNetwork.Builder setProducerVpcSpokes(int index, String value)
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The producerVpcSpokes to set.
      Returns:
      This builder for chaining.
    • addProducerVpcSpokes

      public LinkedVpcNetwork.Builder addProducerVpcSpokes(String value)
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The producerVpcSpokes to add.
      Returns:
      This builder for chaining.
    • addAllProducerVpcSpokes

      public LinkedVpcNetwork.Builder addAllProducerVpcSpokes(Iterable<String> values)
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The producerVpcSpokes to add.
      Returns:
      This builder for chaining.
    • clearProducerVpcSpokes

      public LinkedVpcNetwork.Builder clearProducerVpcSpokes()
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addProducerVpcSpokesBytes

      public LinkedVpcNetwork.Builder addProducerVpcSpokesBytes(com.google.protobuf.ByteString value)
       Output only. The list of Producer VPC spokes that this VPC spoke is a
       service consumer VPC spoke for. These producer VPCs are connected through
       VPC peering to this spoke's backing VPC network. Because they are directly
       connected through VPC peering, NCC export filters do not apply between the
       service consumer VPC spoke and any of its producer VPC spokes. This VPC
       spoke cannot be deleted as long as any of these producer VPC spokes are
       connected to the NCC Hub.
       
      repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the producerVpcSpokes to add.
      Returns:
      This builder for chaining.