Class WireGroupEndpoint.Builder (1.91.0)
Version 1.91.0keyboard_arrow_down
public static final class WireGroupEndpoint . Builder extends GeneratedMessageV3 . Builder<WireGroupEndpoint . Builder > implements WireGroupEndpointOrBuilder
A logical endpoint for the wire group. An endpoint represents a metro that
contains redundant Interconnect connections. A wire group is created
between two endpoints.
Protobuf type google.cloud.compute.v1.WireGroupEndpoint
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 WireGroupEndpoint . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public WireGroupEndpoint build ()
buildPartial()
public WireGroupEndpoint buildPartial ()
clear()
public WireGroupEndpoint . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WireGroupEndpoint . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInterconnects()
public WireGroupEndpoint . Builder clearInterconnects ()
clearOneof(Descriptors.OneofDescriptor oneof)
public WireGroupEndpoint . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public WireGroupEndpoint . Builder clone ()
Overrides
containsInterconnects(String key)
public boolean containsInterconnects ( String key )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
Parameter
Name
Description
key
String
getDefaultInstanceForType()
public WireGroupEndpoint getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getInterconnects() (deprecated)
public Map<String , WireGroupEndpointInterconnect > getInterconnects ()
getInterconnectsCount()
public int getInterconnectsCount ()
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
Returns
Type
Description
int
getInterconnectsMap()
public Map<String , WireGroupEndpointInterconnect > getInterconnectsMap ()
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
getInterconnectsOrDefault(String key, WireGroupEndpointInterconnect defaultValue)
public WireGroupEndpointInterconnect getInterconnectsOrDefault ( String key , WireGroupEndpointInterconnect defaultValue )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
getInterconnectsOrThrow(String key)
public WireGroupEndpointInterconnect getInterconnectsOrThrow ( String key )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
Parameter
Name
Description
key
String
getMutableInterconnects() (deprecated)
public Map<String , WireGroupEndpointInterconnect > getMutableInterconnects ()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(WireGroupEndpoint other)
public WireGroupEndpoint . Builder mergeFrom ( WireGroupEndpoint other )
public WireGroupEndpoint . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public WireGroupEndpoint . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WireGroupEndpoint . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
putAllInterconnects(Map<String,WireGroupEndpointInterconnect> values)
public WireGroupEndpoint . Builder putAllInterconnects ( Map<String , WireGroupEndpointInterconnect > values )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
putInterconnects(String key, WireGroupEndpointInterconnect value)
public WireGroupEndpoint . Builder putInterconnects ( String key , WireGroupEndpointInterconnect value )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
putInterconnectsBuilderIfAbsent(String key)
public WireGroupEndpointInterconnect . Builder putInterconnectsBuilderIfAbsent ( String key )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
Parameter
Name
Description
key
String
removeInterconnects(String key)
public WireGroupEndpoint . Builder removeInterconnects ( String key )
A map that contains the redundant Interconnect connections. Specify
key-value pairs for the map as follows:
- Key: an RFC1035 user-specified label.
- Value: an Interconnect object.
map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
Parameter
Name
Description
key
String
setField(Descriptors.FieldDescriptor field, Object value)
public WireGroupEndpoint . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WireGroupEndpoint . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WireGroupEndpoint . 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-24 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-24 UTC."],[],[]]