Class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder (1.74.0)

public static final class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder extends GeneratedMessageV3.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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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] 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] 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] 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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

clearZone()

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder clearZone()

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

optional string zone = 3744684;

Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder

This builder for chaining.

clone()

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

getAttachments(int index)

public String getAttachments(int index)

[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] 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] 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] 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] 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] 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] 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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

setAttachments(int index, String value)

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

[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.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder
Overrides

setZone(String value)

public InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone.Builder setZone(String value)

[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] 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.