Class LinkedVpcNetwork (1.41.0)

public final class LinkedVpcNetwork extends GeneratedMessageV3 implements LinkedVpcNetworkOrBuilder

An existing VPC network.

Protobuf type google.cloud.networkconnectivity.v1.LinkedVpcNetwork

Static Fields

EXCLUDE_EXPORT_RANGES_FIELD_NUMBER

public static final int EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LinkedVpcNetwork getDefaultInstance()
Returns
Type Description
LinkedVpcNetwork

getDescriptor()

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

newBuilder()

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

newBuilder(LinkedVpcNetwork prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LinkedVpcNetwork getDefaultInstanceForType()
Returns
Type Description
LinkedVpcNetwork

getExcludeExportRanges(int index)

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

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 = 2 [(.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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludeExportRanges.

getParserForType()

public Parser<LinkedVpcNetwork> getParserForType()
Returns
Type Description
Parser<LinkedVpcNetwork>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

Required. The URI of the VPC network resource.

string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. The URI of the VPC network resource.

string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for uri.

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 LinkedVpcNetwork.Builder newBuilderForType()
Returns
Type Description
LinkedVpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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