Class LinkedVpcNetwork
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork
- All Implemented Interfaces:
LinkedVpcNetworkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LinkedVpcNetwork
extends com.google.protobuf.GeneratedMessage
implements LinkedVpcNetworkOrBuilder
An existing VPC network.Protobuf type
google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn existing VPC network.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinkedVpcNetworkstatic final com.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.com.google.protobuf.Parser<LinkedVpcNetwork>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.intgetUri()Required.com.google.protobuf.ByteStringRequired.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic LinkedVpcNetwork.Builderstatic LinkedVpcNetwork.BuildernewBuilder(LinkedVpcNetwork prototype) protected LinkedVpcNetwork.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LinkedVpcNetworkparseDelimitedFrom(InputStream input) static LinkedVpcNetworkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedVpcNetworkparseFrom(byte[] data) static LinkedVpcNetworkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedVpcNetworkparseFrom(com.google.protobuf.ByteString data) static LinkedVpcNetworkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedVpcNetworkparseFrom(com.google.protobuf.CodedInputStream input) static LinkedVpcNetworkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedVpcNetworkparseFrom(InputStream input) static LinkedVpcNetworkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkedVpcNetworkparseFrom(ByteBuffer data) static LinkedVpcNetworkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LinkedVpcNetwork>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER- See Also:
-
EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int EXCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
INCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int INCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
PROPOSED_INCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int PROPOSED_INCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
PROPOSED_EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int PROPOSED_EXCLUDE_EXPORT_RANGES_FIELD_NUMBER- See Also:
-
PRODUCER_VPC_SPOKES_FIELD_NUMBER
public static final int PRODUCER_VPC_SPOKES_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LinkedVpcNetwork parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedVpcNetwork parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedVpcNetwork parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedVpcNetwork parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedVpcNetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkedVpcNetwork parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LinkedVpcNetwork parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LinkedVpcNetwork parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LinkedVpcNetwork parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LinkedVpcNetwork parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LinkedVpcNetwork.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-