Class LinkedInterconnectAttachments.Builder (1.94.0)

public static final class LinkedInterconnectAttachments.Builder extends GeneratedMessage.Builder<LinkedInterconnectAttachments.Builder> 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.v1beta.LinkedInterconnectAttachments

Static Methods

getDescriptor()

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

Methods

addAllExcludeExportRanges(Iterable<String> values)

public LinkedInterconnectAttachments.Builder addAllExcludeExportRanges(Iterable<String> values)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The excludeExportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addAllExcludeImportRanges(Iterable<String> values)

public LinkedInterconnectAttachments.Builder addAllExcludeImportRanges(Iterable<String> values)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The excludeImportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addAllIncludeExportRanges(Iterable<String> values)

public LinkedInterconnectAttachments.Builder addAllIncludeExportRanges(Iterable<String> values)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The includeExportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addAllIncludeImportRanges(Iterable<String> values)

public LinkedInterconnectAttachments.Builder addAllIncludeImportRanges(Iterable<String> values)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The includeImportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addAllUris(Iterable<String> values)

public LinkedInterconnectAttachments.Builder addAllUris(Iterable<String> values)

The URIs of linked interconnect attachment resources

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

Parameter
Name Description
values Iterable<String>

The uris to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addExcludeExportRanges(String value)

public LinkedInterconnectAttachments.Builder addExcludeExportRanges(String value)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The excludeExportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addExcludeExportRangesBytes(ByteString value)

public LinkedInterconnectAttachments.Builder addExcludeExportRangesBytes(ByteString value)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the excludeExportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addExcludeImportRanges(String value)

public LinkedInterconnectAttachments.Builder addExcludeImportRanges(String value)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The excludeImportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addExcludeImportRangesBytes(ByteString value)

public LinkedInterconnectAttachments.Builder addExcludeImportRangesBytes(ByteString value)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the excludeImportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addIncludeExportRanges(String value)

public LinkedInterconnectAttachments.Builder addIncludeExportRanges(String value)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The includeExportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addIncludeExportRangesBytes(ByteString value)

public LinkedInterconnectAttachments.Builder addIncludeExportRangesBytes(ByteString value)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the includeExportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addIncludeImportRanges(String value)

public LinkedInterconnectAttachments.Builder addIncludeImportRanges(String value)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The includeImportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addIncludeImportRangesBytes(ByteString value)

public LinkedInterconnectAttachments.Builder addIncludeImportRangesBytes(ByteString value)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the includeImportRanges to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addUris(String value)

public LinkedInterconnectAttachments.Builder addUris(String value)

The URIs of linked interconnect attachment resources

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

Parameter
Name Description
value String

The uris to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

addUrisBytes(ByteString value)

public LinkedInterconnectAttachments.Builder addUrisBytes(ByteString value)

The URIs of linked interconnect attachment resources

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

Parameter
Name Description
value ByteString

The bytes of the uris to add.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

build()

public LinkedInterconnectAttachments build()
Returns
Type Description
LinkedInterconnectAttachments

buildPartial()

public LinkedInterconnectAttachments buildPartial()
Returns
Type Description
LinkedInterconnectAttachments

clear()

public LinkedInterconnectAttachments.Builder clear()
Returns
Type Description
LinkedInterconnectAttachments.Builder
Overrides

clearExcludeExportRanges()

public LinkedInterconnectAttachments.Builder clearExcludeExportRanges()

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

clearExcludeImportRanges()

public LinkedInterconnectAttachments.Builder clearExcludeImportRanges()

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

clearIncludeExportRanges()

public LinkedInterconnectAttachments.Builder clearIncludeExportRanges()

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

clearIncludeImportRanges()

public LinkedInterconnectAttachments.Builder clearIncludeImportRanges()

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

clearSiteToSiteDataTransfer()

public LinkedInterconnectAttachments.Builder clearSiteToSiteDataTransfer()

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
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

clearUris()

public LinkedInterconnectAttachments.Builder clearUris()

The URIs of linked interconnect attachment resources

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

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

clearVpcNetwork()

public LinkedInterconnectAttachments.Builder clearVpcNetwork()

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
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

getDefaultInstanceForType()

public LinkedInterconnectAttachments getDefaultInstanceForType()
Returns
Type Description
LinkedInterconnectAttachments

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExcludeExportRanges(int index)

public String getExcludeExportRanges(int index)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.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. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.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. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of excludeExportRanges.

getExcludeExportRangesList()

public ProtocolStringList getExcludeExportRangesList()

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludeExportRanges.

getExcludeImportRanges(int index)

public String getExcludeImportRanges(int index)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludeImportRanges at the given index.

getExcludeImportRangesBytes(int index)

public ByteString getExcludeImportRangesBytes(int index)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.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 excludeImportRanges at the given index.

getExcludeImportRangesCount()

public int getExcludeImportRangesCount()

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of excludeImportRanges.

getExcludeImportRangesList()

public ProtocolStringList getExcludeImportRangesList()

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludeImportRanges.

getIncludeExportRanges(int index)

public String getIncludeExportRanges(int index)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.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. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.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. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of includeExportRanges.

getIncludeExportRangesList()

public ProtocolStringList getIncludeExportRangesList()

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the includeExportRanges.

getIncludeImportRanges(int index)

public String getIncludeImportRanges(int index)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includeImportRanges at the given index.

getIncludeImportRangesBytes(int index)

public ByteString getIncludeImportRangesBytes(int index)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.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 includeImportRanges at the given index.

getIncludeImportRangesCount()

public int getIncludeImportRangesCount()

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of includeImportRanges.

getIncludeImportRangesList()

public ProtocolStringList getIncludeImportRangesList()

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the includeImportRanges.

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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for vpcNetwork.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LinkedInterconnectAttachments other)

public LinkedInterconnectAttachments.Builder mergeFrom(LinkedInterconnectAttachments other)
Parameter
Name Description
other LinkedInterconnectAttachments
Returns
Type Description
LinkedInterconnectAttachments.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LinkedInterconnectAttachments.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkedInterconnectAttachments.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LinkedInterconnectAttachments.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LinkedInterconnectAttachments.Builder
Overrides

setExcludeExportRanges(int index, String value)

public LinkedInterconnectAttachments.Builder setExcludeExportRanges(int index, String value)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The excludeExportRanges to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setExcludeImportRanges(int index, String value)

public LinkedInterconnectAttachments.Builder setExcludeImportRanges(int index, String value)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The excludeImportRanges to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setIncludeExportRanges(int index, String value)

public LinkedInterconnectAttachments.Builder setIncludeExportRanges(int index, String value)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The includeExportRanges to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setIncludeImportRanges(int index, String value)

public LinkedInterconnectAttachments.Builder setIncludeImportRanges(int index, String value)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The includeImportRanges to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setSiteToSiteDataTransfer(boolean value)

public LinkedInterconnectAttachments.Builder setSiteToSiteDataTransfer(boolean value)

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;

Parameter
Name Description
value boolean

The siteToSiteDataTransfer to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setUris(int index, String value)

public LinkedInterconnectAttachments.Builder setUris(int index, String value)

The URIs of linked interconnect attachment resources

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

Parameters
Name Description
index int

The index to set the value at.

value String

The uris to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setVpcNetwork(String value)

public LinkedInterconnectAttachments.Builder setVpcNetwork(String value)

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) = { ... }

Parameter
Name Description
value String

The vpcNetwork to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.

setVpcNetworkBytes(ByteString value)

public LinkedInterconnectAttachments.Builder setVpcNetworkBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for vpcNetwork to set.

Returns
Type Description
LinkedInterconnectAttachments.Builder

This builder for chaining.