Send feedback
Class LinkedProducerVpcNetwork (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class LinkedProducerVpcNetwork extends GeneratedMessageV3 implements LinkedProducerVpcNetworkOrBuilder
Protobuf type google.cloud.networkconnectivity.v1.LinkedProducerVpcNetwork
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value
Type
Description
int
INCLUDE_EXPORT_RANGES_FIELD_NUMBER
public static final int INCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value
Type
Description
int
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
Type
Description
int
PEERING_FIELD_NUMBER
public static final int PEERING_FIELD_NUMBER
Field Value
Type
Description
int
PRODUCER_NETWORK_FIELD_NUMBER
public static final int PRODUCER_NETWORK_FIELD_NUMBER
Field Value
Type
Description
int
SERVICE_CONSUMER_VPC_SPOKE_FIELD_NUMBER
public static final int SERVICE_CONSUMER_VPC_SPOKE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static LinkedProducerVpcNetwork getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LinkedProducerVpcNetwork . Builder newBuilder ()
newBuilder(LinkedProducerVpcNetwork prototype)
public static LinkedProducerVpcNetwork . Builder newBuilder ( LinkedProducerVpcNetwork prototype )
public static LinkedProducerVpcNetwork parseDelimitedFrom ( InputStream input )
public static LinkedProducerVpcNetwork parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LinkedProducerVpcNetwork parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LinkedProducerVpcNetwork parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LinkedProducerVpcNetwork parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinkedProducerVpcNetwork parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LinkedProducerVpcNetwork parseFrom ( CodedInputStream input )
public static LinkedProducerVpcNetwork parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LinkedProducerVpcNetwork parseFrom ( InputStream input )
public static LinkedProducerVpcNetwork parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LinkedProducerVpcNetwork parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LinkedProducerVpcNetwork parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LinkedProducerVpcNetwork> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public LinkedProducerVpcNetwork getDefaultInstanceForType ()
getExcludeExportRanges(int index)
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];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The excludeExportRanges at the given index.
getExcludeExportRangesBytes(int index)
public 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];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the excludeExportRanges at the given index.
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];
Returns
Type
Description
int
The count of excludeExportRanges.
getExcludeExportRangesList()
public ProtocolStringList getExcludeExportRangesList ()
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
getIncludeExportRanges(int index)
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];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The includeExportRanges at the given index.
getIncludeExportRangesBytes(int index)
public ByteString getIncludeExportRangesBytes ( int index )
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the includeExportRanges at the given index.
getIncludeExportRangesCount()
public int getIncludeExportRangesCount ()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of includeExportRanges.
getIncludeExportRangesList()
public ProtocolStringList getIncludeExportRangesList ()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
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) = { ... }
Returns
Type
Description
String
The network.
getNetworkBytes()
public 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) = { ... }
Returns
Type
Description
ByteString
The bytes for network.
getParserForType()
public Parser<LinkedProducerVpcNetwork> getParserForType ()
Overrides
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];
Returns
Type
Description
String
The peering.
getPeeringBytes()
public 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];
Returns
Type
Description
ByteString
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) = { ... }
Returns
Type
Description
String
The producerNetwork.
getProducerNetworkBytes()
public ByteString getProducerNetworkBytes ()
Output only. The URI of the Producer VPC.
string producer_network = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for producerNetwork.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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) = { ... }
Returns
Type
Description
String
The serviceConsumerVpcSpoke.
getServiceConsumerVpcSpokeBytes()
public 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) = { ... }
Returns
Type
Description
ByteString
The bytes for serviceConsumerVpcSpoke.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LinkedProducerVpcNetwork . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LinkedProducerVpcNetwork . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public LinkedProducerVpcNetwork . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]