Class LinkedProducerVpcNetwork (1.54.0)

public final class LinkedProducerVpcNetwork extends GeneratedMessageV3 implements LinkedProducerVpcNetworkOrBuilder

Protobuf type google.cloud.networkconnectivity.v1.LinkedProducerVpcNetwork

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()
Returns
Type Description
LinkedProducerVpcNetwork

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LinkedProducerVpcNetwork.Builder newBuilder()
Returns
Type Description
LinkedProducerVpcNetwork.Builder

newBuilder(LinkedProducerVpcNetwork prototype)

public static LinkedProducerVpcNetwork.Builder newBuilder(LinkedProducerVpcNetwork prototype)
Parameter
Name Description
prototype LinkedProducerVpcNetwork
Returns
Type Description
LinkedProducerVpcNetwork.Builder

parseDelimitedFrom(InputStream input)

public static LinkedProducerVpcNetwork parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkedProducerVpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LinkedProducerVpcNetwork parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LinkedProducerVpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LinkedProducerVpcNetwork parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LinkedProducerVpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LinkedProducerVpcNetwork parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkedProducerVpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LinkedProducerVpcNetwork parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkedProducerVpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LinkedProducerVpcNetwork parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LinkedProducerVpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedProducerVpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LinkedProducerVpcNetwork> parser()
Returns
Type Description
Parser<LinkedProducerVpcNetwork>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LinkedProducerVpcNetwork getDefaultInstanceForType()
Returns
Type Description
LinkedProducerVpcNetwork

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];

Returns
Type Description
ProtocolStringList

A list containing the excludeExportRanges.

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];

Returns
Type Description
ProtocolStringList

A list containing the includeExportRanges.

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()
Returns
Type Description
Parser<LinkedProducerVpcNetwork>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LinkedProducerVpcNetwork.Builder newBuilderForType()
Returns
Type Description
LinkedProducerVpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LinkedProducerVpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LinkedProducerVpcNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LinkedProducerVpcNetwork.Builder toBuilder()
Returns
Type Description
LinkedProducerVpcNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException