Class LinkedProducerVpcNetwork

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork
All Implemented Interfaces:
LinkedProducerVpcNetworkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class LinkedProducerVpcNetwork extends com.google.protobuf.GeneratedMessage implements LinkedProducerVpcNetworkOrBuilder
Protobuf type google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork
See Also:
  • Field Details

    • NETWORK_FIELD_NUMBER

      public static final int NETWORK_FIELD_NUMBER
      See Also:
    • SERVICE_CONSUMER_VPC_SPOKE_FIELD_NUMBER

      public static final int SERVICE_CONSUMER_VPC_SPOKE_FIELD_NUMBER
      See Also:
    • PEERING_FIELD_NUMBER

      public static final int PEERING_FIELD_NUMBER
      See Also:
    • PRODUCER_NETWORK_FIELD_NUMBER

      public static final int PRODUCER_NETWORK_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:
  • 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
    • getNetwork

      public String getNetwork()
       Immutable. The URI of the Service Consumer VPC that the Producer VPC is
       peered with.
       
      string network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetwork in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Immutable. The URI of the Service Consumer VPC that the Producer VPC is
       peered with.
       
      string network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkBytes in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The bytes for network.
    • getServiceConsumerVpcSpoke

      public String getServiceConsumerVpcSpoke()
       Output only. The Service Consumer Network spoke.
       
      string service_consumer_vpc_spoke = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getServiceConsumerVpcSpoke in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The serviceConsumerVpcSpoke.
    • getServiceConsumerVpcSpokeBytes

      public com.google.protobuf.ByteString getServiceConsumerVpcSpokeBytes()
       Output only. The Service Consumer Network spoke.
       
      string service_consumer_vpc_spoke = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getServiceConsumerVpcSpokeBytes in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The bytes for serviceConsumerVpcSpoke.
    • getPeering

      public String getPeering()
       Immutable. The name of the VPC peering between the Service Consumer VPC and
       the Producer VPC (defined in the Tenant project) which is added to the NCC
       hub. This peering must be in ACTIVE state.
       
      string peering = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPeering in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The peering.
    • getPeeringBytes

      public com.google.protobuf.ByteString getPeeringBytes()
       Immutable. The name of the VPC peering between the Service Consumer VPC and
       the Producer VPC (defined in the Tenant project) which is added to the NCC
       hub. This peering must be in ACTIVE state.
       
      string peering = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPeeringBytes in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The bytes for peering.
    • getProducerNetwork

      public String getProducerNetwork()
       Output only. The URI of the Producer VPC.
       
      string producer_network = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getProducerNetwork in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The producerNetwork.
    • getProducerNetworkBytes

      public com.google.protobuf.ByteString getProducerNetworkBytes()
       Output only. The URI of the Producer VPC.
       
      string producer_network = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getProducerNetworkBytes in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      The bytes for producerNetwork.
    • getExcludeExportRangesList

      public com.google.protobuf.ProtocolStringList getExcludeExportRangesList()
       Optional. IP ranges encompassing the subnets to be excluded from peering.
       
      repeated string exclude_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRangesList in interface LinkedProducerVpcNetworkOrBuilder
      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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRangesCount in interface LinkedProducerVpcNetworkOrBuilder
      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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRanges in interface LinkedProducerVpcNetworkOrBuilder
      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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludeExportRangesBytes in interface LinkedProducerVpcNetworkOrBuilder
      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRangesList in interface LinkedProducerVpcNetworkOrBuilder
      Returns:
      A list containing the includeExportRanges.
    • getIncludeExportRangesCount

      public int getIncludeExportRangesCount()
       Optional. IP ranges allowed to be included from peering.
       
      repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRangesCount in interface LinkedProducerVpcNetworkOrBuilder
      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRanges in interface LinkedProducerVpcNetworkOrBuilder
      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeExportRangesBytes in interface LinkedProducerVpcNetworkOrBuilder
      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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRangesList in interface LinkedProducerVpcNetworkOrBuilder
      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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRangesCount in interface LinkedProducerVpcNetworkOrBuilder
      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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRanges in interface LinkedProducerVpcNetworkOrBuilder
      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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedIncludeExportRangesBytes in interface LinkedProducerVpcNetworkOrBuilder
      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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRangesList in interface LinkedProducerVpcNetworkOrBuilder
      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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRangesCount in interface LinkedProducerVpcNetworkOrBuilder
      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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRanges in interface LinkedProducerVpcNetworkOrBuilder
      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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedExcludeExportRangesBytes in interface LinkedProducerVpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the proposedExcludeExportRanges 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 LinkedProducerVpcNetwork parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkedProducerVpcNetwork parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkedProducerVpcNetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkedProducerVpcNetwork parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static LinkedProducerVpcNetwork parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinkedProducerVpcNetwork parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static LinkedProducerVpcNetwork.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static LinkedProducerVpcNetwork getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<LinkedProducerVpcNetwork> 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 LinkedProducerVpcNetwork getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder