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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static LinkedVpcNetwork parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinkedVpcNetwork parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LinkedVpcNetwork parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static LinkedVpcNetwork.Builder newBuilder()
    • newBuilder

      public static LinkedVpcNetwork.Builder newBuilder(LinkedVpcNetwork prototype)
    • toBuilder

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

      protected LinkedVpcNetwork.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LinkedVpcNetwork getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LinkedVpcNetwork> parser()
    • getParserForType

      public com.google.protobuf.Parser<LinkedVpcNetwork> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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