Package com.google.cloud.compute.v1
Class InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
com.google.cloud.compute.v1.InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder
- All Implemented Interfaces:
InterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InterconnectGroupPhysicalStructureMetrosFacilitiesZones
public static final class InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
implements InterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder
[Output Only] The zones that Interconnects in this facility are present in.Protobuf type
google.cloud.compute.v1.InterconnectGroupPhysicalStructureMetrosFacilitiesZones-
Method Summary
Modifier and TypeMethodDescriptionaddAllInterconnects(Iterable<String> values) Output only.addInterconnects(String value) Output only.addInterconnectsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInterconnects(int index) Output only.com.google.protobuf.ByteStringgetInterconnectsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanhasZone()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setInterconnects(int index, String value) Output only.Output only.setZoneBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>
-
mergeFrom
public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder>- Throws:
IOException
-
getInterconnectsList
public com.google.protobuf.ProtocolStringList getInterconnectsList()Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.
repeated string interconnects = 520187301;- Specified by:
getInterconnectsListin interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Returns:
- A list containing the interconnects.
-
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;- Specified by:
getInterconnectsCountin interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Returns:
- The count of interconnects.
-
getInterconnects
Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.
repeated string interconnects = 520187301;- Specified by:
getInterconnectsin interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The interconnects at the given index.
-
getInterconnectsBytes
public com.google.protobuf.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;- Specified by:
getInterconnectsBytesin interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the interconnects at the given index.
-
setInterconnects
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:
index- The index to set the value at.value- The interconnects to set.- Returns:
- This builder for chaining.
-
addInterconnects
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;- Parameters:
value- The interconnects to add.- Returns:
- This builder for chaining.
-
addAllInterconnects
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;- Parameters:
values- The interconnects to add.- Returns:
- This builder for chaining.
-
clearInterconnects
Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.
repeated string interconnects = 520187301;- Returns:
- This builder for chaining.
-
addInterconnectsBytes
public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder addInterconnectsBytes(com.google.protobuf.ByteString value) Output only. [Output Only] URLs of Interconnects in this redundancy group in the given metro, facility, and zone.
repeated string interconnects = 520187301;- Parameters:
value- The bytes of the interconnects to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasZonein interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Returns:
- Whether the zone field is set.
-
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;- Specified by:
getZonein interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.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;- Specified by:
getZoneBytesin interfaceInterconnectGroupPhysicalStructureMetrosFacilitiesZonesOrBuilder- Returns:
- The bytes for zone.
-
setZone
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;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setZoneBytes
public InterconnectGroupPhysicalStructureMetrosFacilitiesZones.Builder setZoneBytes(com.google.protobuf.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;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-