Class InterconnectLocationCrossSiteInterconnectInfo.Builder (1.91.0)
Version latestkeyboard_arrow_down
public static final class InterconnectLocationCrossSiteInterconnectInfo . Builder extends GeneratedMessageV3 . Builder<InterconnectLocationCrossSiteInterconnectInfo . Builder > implements InterconnectLocationCrossSiteInterconnectInfoOrBuilder
Information about Cross-Site Interconnect wires which may be created
between the containing location and another remote location.
Protobuf type google.cloud.compute.v1.InterconnectLocationCrossSiteInterconnectInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectLocationCrossSiteInterconnectInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public InterconnectLocationCrossSiteInterconnectInfo build ()
buildPartial()
public InterconnectLocationCrossSiteInterconnectInfo buildPartial ()
clear()
public InterconnectLocationCrossSiteInterconnectInfo . Builder clear ()
Overrides
clearCity()
public InterconnectLocationCrossSiteInterconnectInfo . Builder clearCity ()
Output only. The remote location for Cross-Site Interconnect wires. This specifies an
InterconnectLocation city (metropolitan area designator), which itself
may match multiple InterconnectLocations.
optional string city = 3053931;
clearField(Descriptors.FieldDescriptor field)
public InterconnectLocationCrossSiteInterconnectInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectLocationCrossSiteInterconnectInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public InterconnectLocationCrossSiteInterconnectInfo . Builder clone ()
Overrides
getCity()
Output only. The remote location for Cross-Site Interconnect wires. This specifies an
InterconnectLocation city (metropolitan area designator), which itself
may match multiple InterconnectLocations.
optional string city = 3053931;
Returns
Type
Description
String
The city.
getCityBytes()
public ByteString getCityBytes ()
Output only. The remote location for Cross-Site Interconnect wires. This specifies an
InterconnectLocation city (metropolitan area designator), which itself
may match multiple InterconnectLocations.
optional string city = 3053931;
Returns
Type
Description
ByteString
The bytes for city.
getDefaultInstanceForType()
public InterconnectLocationCrossSiteInterconnectInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
hasCity()
Output only. The remote location for Cross-Site Interconnect wires. This specifies an
InterconnectLocation city (metropolitan area designator), which itself
may match multiple InterconnectLocations.
optional string city = 3053931;
Returns
Type
Description
boolean
Whether the city field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(InterconnectLocationCrossSiteInterconnectInfo other)
public InterconnectLocationCrossSiteInterconnectInfo . Builder mergeFrom ( InterconnectLocationCrossSiteInterconnectInfo other )
public InterconnectLocationCrossSiteInterconnectInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public InterconnectLocationCrossSiteInterconnectInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectLocationCrossSiteInterconnectInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCity(String value)
public InterconnectLocationCrossSiteInterconnectInfo . Builder setCity ( String value )
Output only. The remote location for Cross-Site Interconnect wires. This specifies an
InterconnectLocation city (metropolitan area designator), which itself
may match multiple InterconnectLocations.
optional string city = 3053931;
Parameter
Name
Description
value
String The city to set.
setCityBytes(ByteString value)
public InterconnectLocationCrossSiteInterconnectInfo . Builder setCityBytes ( ByteString value )
Output only. The remote location for Cross-Site Interconnect wires. This specifies an
InterconnectLocation city (metropolitan area designator), which itself
may match multiple InterconnectLocations.
optional string city = 3053931;
Parameter
Name
Description
value
ByteString The bytes for city to set.
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectLocationCrossSiteInterconnectInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectLocationCrossSiteInterconnectInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectLocationCrossSiteInterconnectInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-09 UTC."],[],[]]