Class LinkedVpcNetwork (1.29.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
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LinkedVpcNetwork getDefaultInstance()
Returns
TypeDescription
LinkedVpcNetwork

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LinkedVpcNetwork.Builder newBuilder()
Returns
TypeDescription
LinkedVpcNetwork.Builder

newBuilder(LinkedVpcNetwork prototype)

public static LinkedVpcNetwork.Builder newBuilder(LinkedVpcNetwork prototype)
Parameter
NameDescription
prototypeLinkedVpcNetwork
Returns
TypeDescription
LinkedVpcNetwork.Builder

parseDelimitedFrom(InputStream input)

public static LinkedVpcNetwork parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkedVpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LinkedVpcNetwork parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LinkedVpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LinkedVpcNetwork parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LinkedVpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LinkedVpcNetwork parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkedVpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LinkedVpcNetwork parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkedVpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LinkedVpcNetwork parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LinkedVpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkedVpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LinkedVpcNetwork> parser()
Returns
TypeDescription
Parser<LinkedVpcNetwork>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LinkedVpcNetwork getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the excludeExportRanges.

getParserForType()

public Parser<LinkedVpcNetwork> getParserForType()
Returns
TypeDescription
Parser<LinkedVpcNetwork>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LinkedVpcNetwork.Builder newBuilderForType()
Returns
TypeDescription
LinkedVpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LinkedVpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LinkedVpcNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LinkedVpcNetwork.Builder toBuilder()
Returns
TypeDescription
LinkedVpcNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException