Class InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder (1.91.0)

public static final class InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder extends GeneratedMessageV3.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder> implements InterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder

[Output Only] The zones that Interconnects in this facility are present in.

Protobuf type google.cloud.compute.v1.InterconnectGroupPhysicalStructureMetrosFacilitiesZones

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

Static Methods

getDescriptor()

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

Methods

addAllInterconnects(Iterable<String> values)

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder addAllInterconnects(Iterable<String> values)

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Parameter
Name Description
values Iterable<String>

The interconnects to add.

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

addInterconnects(String value)

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder addInterconnects(String value)

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Parameter
Name Description
value String

The interconnects to add.

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

addInterconnectsBytes(ByteString value)

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder addInterconnectsBytes(ByteString value)

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Parameter
Name Description
value ByteString

The bytes of the interconnects to add.

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones build()
Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones

buildPartial()

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones buildPartial()
Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnects()

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder clearInterconnects()

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearZone()

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder clearZone()

Output only. [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility.

optional string zone = 3744684;

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones getDefaultInstanceForType()
Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones

getDescriptorForType()

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

getInterconnects(int index)

public String getInterconnects(int index)

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The interconnects at the given index.

getInterconnectsBytes(int index)

public ByteString getInterconnectsBytes(int index)

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the interconnects at the given index.

getInterconnectsCount()

public int getInterconnectsCount()

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Returns
Type Description
int

The count of interconnects.

getInterconnectsList()

public ProtocolStringList getInterconnectsList()

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Returns
Type Description
ProtocolStringList

A list containing the interconnects.

getZone()

public String getZone()

Output only. [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility.

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Output only. [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility.

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasZone()

public boolean hasZone()

Output only. [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility.

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(InterconnectGroupPhysicalStructureMetrosFacilitiesZones other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnects(int index, String value)

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder setInterconnects(int index, String value)

Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.

repeated string interconnects = 520187301;

Parameters
Name Description
index int

The index to set the value at.

value String

The interconnects to set.

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder setZone(String value)

Output only. [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility.

optional string zone = 3744684;

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder setZoneBytes(ByteString value)

Output only. [Output Only] The name of the zone, either "zone1" or "zone2". This is the second component of the location of Interconnects in this facility.

optional string zone = 3744684;

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder

This builder for chaining.