Class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder (1.93.0)

public static final class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder extends GeneratedMessage.Builder<InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder> implements InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZoneOrBuilder

[Output Only] The zones that Attachments in this group are present in, in the given facilities. This is inherited from their Interconnects.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

Static Methods

getDescriptor()

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

Methods

addAllAttachments(Iterable<String> values)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder addAllAttachments(Iterable<String> values)

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Parameter
Name Description
values Iterable<String>

The attachments to add.

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

addAttachments(String value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder addAttachments(String value)

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Parameter
Name Description
value String

The attachments to add.

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

addAttachmentsBytes(ByteString value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder addAttachmentsBytes(ByteString value)

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Parameter
Name Description
value ByteString

The bytes of the attachments to add.

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

build()

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone build()
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone

buildPartial()

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone buildPartial()
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone

clear()

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

clearAttachments()

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder clearAttachments()

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

clearZone()

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder clearZone()

Output only. [Output Only] The name of a zone, either "zone1" or "zone2".

optional string zone = 3744684;

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

getAttachments(int index)

public String getAttachments(int index)

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The attachments at the given index.

getAttachmentsBytes(int index)

public ByteString getAttachmentsBytes(int index)

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the attachments at the given index.

getAttachmentsCount()

public int getAttachmentsCount()

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Returns
Type Description
int

The count of attachments.

getAttachmentsList()

public ProtocolStringList getAttachmentsList()

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Returns
Type Description
ProtocolStringList

A list containing the attachments.

getDefaultInstanceForType()

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone

getDescriptorForType()

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

getZone()

public String getZone()

Output only. [Output Only] The name of a zone, either "zone1" or "zone2".

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Output only. [Output Only] The name of a zone, either "zone1" or "zone2".

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasZone()

public boolean hasZone()

Output only. [Output Only] The name of a zone, either "zone1" or "zone2".

optional string zone = 3744684;

Returns
Type Description
boolean

Whether the zone field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAttachments(int index, String value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setAttachments(int index, String value)

Output only. [Output Only] URLs of Attachments in the given zone, to the given region, on Interconnects in the given facility and metro. Every Attachment in the AG has such an entry.

repeated string attachments = 334744496;

Parameters
Name Description
index int

The index to set the value at.

value String

The attachments to set.

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

setZone(String value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setZone(String value)

Output only. [Output Only] The name of a zone, either "zone1" or "zone2".

optional string zone = 3744684;

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setZoneBytes(ByteString value)

Output only. [Output Only] The name of a zone, either "zone1" or "zone2".

optional string zone = 3744684;

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.