Class LinkedInterconnectAttachments (1.31.0)

public final class LinkedInterconnectAttachments extends GeneratedMessageV3 implements LinkedInterconnectAttachmentsOrBuilder

A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.

Protobuf type google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments

Static Fields

SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER

public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
Field Value
TypeDescription
int

URIS_FIELD_NUMBER

public static final int URIS_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LinkedInterconnectAttachments getDefaultInstance()
Returns
TypeDescription
LinkedInterconnectAttachments

getDescriptor()

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

newBuilder()

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

newBuilder(LinkedInterconnectAttachments prototype)

public static LinkedInterconnectAttachments.Builder newBuilder(LinkedInterconnectAttachments prototype)
Parameter
NameDescription
prototypeLinkedInterconnectAttachments
Returns
TypeDescription
LinkedInterconnectAttachments.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LinkedInterconnectAttachments getDefaultInstanceForType()
Returns
TypeDescription
LinkedInterconnectAttachments

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSiteToSiteDataTransfer()

public boolean getSiteToSiteDataTransfer()

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

bool site_to_site_data_transfer = 2;

Returns
TypeDescription
boolean

The siteToSiteDataTransfer.

getUris(int index)

public String getUris(int index)

The URIs of linked interconnect attachment resources

repeated string uris = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The uris at the given index.

getUrisBytes(int index)

public ByteString getUrisBytes(int index)

The URIs of linked interconnect attachment resources

repeated string uris = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the uris at the given index.

getUrisCount()

public int getUrisCount()

The URIs of linked interconnect attachment resources

repeated string uris = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

The URIs of linked interconnect attachment resources

repeated string uris = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the uris.

getVpcNetwork()

public String getVpcNetwork()

Output only. The VPC network where these VLAN attachments are located.

string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The vpcNetwork.

getVpcNetworkBytes()

public ByteString getVpcNetworkBytes()

Output only. The VPC network where these VLAN attachments are located.

string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for vpcNetwork.

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 LinkedInterconnectAttachments.Builder newBuilderForType()
Returns
TypeDescription
LinkedInterconnectAttachments.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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