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 Summary
Modifier and TypeMethodDescriptionaddAllExcludeExportRanges(Iterable<String> values) Optional.addAllIncludeExportRanges(Iterable<String> values) Optional.addAllProducerVpcSpokes(Iterable<String> values) Output only.Output only.Output only.addExcludeExportRanges(String value) Optional.addExcludeExportRangesBytes(com.google.protobuf.ByteString value) Optional.addIncludeExportRanges(String value) Optional.addIncludeExportRangesBytes(com.google.protobuf.ByteString value) Optional.addProducerVpcSpokes(String value) Output only.addProducerVpcSpokesBytes(com.google.protobuf.ByteString value) Output only.Output only.addProposedExcludeExportRangesBytes(com.google.protobuf.ByteString value) Output only.Output only.addProposedIncludeExportRangesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Optional.Optional.Output only.Output only.Output only.clearUri()Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExcludeExportRanges(int index) Optional.com.google.protobuf.ByteStringgetExcludeExportRangesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getIncludeExportRanges(int index) Optional.com.google.protobuf.ByteStringgetIncludeExportRangesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getProducerVpcSpokes(int index) Output only.com.google.protobuf.ByteStringgetProducerVpcSpokesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getProposedExcludeExportRanges(int index) Output only.com.google.protobuf.ByteStringgetProposedExcludeExportRangesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getProposedIncludeExportRanges(int index) Output only.com.google.protobuf.ByteStringgetProposedIncludeExportRangesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getUri()Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(LinkedVpcNetwork other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExcludeExportRanges(int index, String value) Optional.setIncludeExportRanges(int index, String value) Optional.setProducerVpcSpokes(int index, String value) Output only.setProposedExcludeExportRanges(int index, String value) Output only.setProposedIncludeExportRanges(int index, String value) Output only.Required.setUriBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LinkedVpcNetwork.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LinkedVpcNetwork.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LinkedVpcNetwork.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LinkedVpcNetwork.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LinkedVpcNetwork.Builder>- Throws:
IOException
-
getUri
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getUriin interfaceLinkedVpcNetworkOrBuilder- 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:
getUriBytesin interfaceLinkedVpcNetworkOrBuilder- Returns:
- The bytes for uri.
-
setUri
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
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
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:
getExcludeExportRangesListin interfaceLinkedVpcNetworkOrBuilder- 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:
getExcludeExportRangesCountin interfaceLinkedVpcNetworkOrBuilder- Returns:
- The count of excludeExportRanges.
-
getExcludeExportRanges
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeExportRangesin interfaceLinkedVpcNetworkOrBuilder- 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:
getExcludeExportRangesBytesin interfaceLinkedVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeExportRanges at the given index.
-
setExcludeExportRanges
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
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
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
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
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:
getIncludeExportRangesListin interfaceLinkedVpcNetworkOrBuilder- 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:
getIncludeExportRangesCountin interfaceLinkedVpcNetworkOrBuilder- Returns:
- The count of includeExportRanges.
-
getIncludeExportRanges
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeExportRangesin interfaceLinkedVpcNetworkOrBuilder- 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:
getIncludeExportRangesBytesin interfaceLinkedVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeExportRanges at the given index.
-
setIncludeExportRanges
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
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
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
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
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:
getProposedIncludeExportRangesListin interfaceLinkedVpcNetworkOrBuilder- 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:
getProposedIncludeExportRangesCountin interfaceLinkedVpcNetworkOrBuilder- Returns:
- The count of proposedIncludeExportRanges.
-
getProposedIncludeExportRanges
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:
getProposedIncludeExportRangesin interfaceLinkedVpcNetworkOrBuilder- 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:
getProposedIncludeExportRangesBytesin interfaceLinkedVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the proposedIncludeExportRanges at the given index.
-
setProposedIncludeExportRanges
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
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
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
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:
getProposedExcludeExportRangesListin interfaceLinkedVpcNetworkOrBuilder- 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:
getProposedExcludeExportRangesCountin interfaceLinkedVpcNetworkOrBuilder- Returns:
- The count of proposedExcludeExportRanges.
-
getProposedExcludeExportRanges
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:
getProposedExcludeExportRangesin interfaceLinkedVpcNetworkOrBuilder- 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:
getProposedExcludeExportRangesBytesin interfaceLinkedVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the proposedExcludeExportRanges at the given index.
-
setProposedExcludeExportRanges
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
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
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
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:
getProducerVpcSpokesListin interfaceLinkedVpcNetworkOrBuilder- 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:
getProducerVpcSpokesCountin interfaceLinkedVpcNetworkOrBuilder- Returns:
- The count of producerVpcSpokes.
-
getProducerVpcSpokes
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:
getProducerVpcSpokesin interfaceLinkedVpcNetworkOrBuilder- 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:
getProducerVpcSpokesBytesin interfaceLinkedVpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the producerVpcSpokes at the given index.
-
setProducerVpcSpokes
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
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
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
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
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.
-