Class WireGroupEndpoint.Builder (1.93.0)

public static final class WireGroupEndpoint.Builder extends GeneratedMessage.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

Static Methods

getDescriptor()

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

Methods

build()

public WireGroupEndpoint build()
Returns
Type Description
WireGroupEndpoint

buildPartial()

public WireGroupEndpoint buildPartial()
Returns
Type Description
WireGroupEndpoint

clear()

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

clearInterconnects()

public WireGroupEndpoint.Builder clearInterconnects()
Returns
Type Description
WireGroupEndpoint.Builder

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
Returns
Type Description
boolean

getDefaultInstanceForType()

public WireGroupEndpoint getDefaultInstanceForType()
Returns
Type Description
WireGroupEndpoint

getDescriptorForType()

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

getInterconnects() (deprecated)

public Map<String,WireGroupEndpointInterconnect> getInterconnects()
Returns
Type Description
Map<String,WireGroupEndpointInterconnect>

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;

Returns
Type Description
Map<String,WireGroupEndpointInterconnect>

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;

Parameters
Name Description
key String
defaultValue WireGroupEndpointInterconnect
Returns
Type Description
WireGroupEndpointInterconnect

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
Returns
Type Description
WireGroupEndpointInterconnect

getMutableInterconnects() (deprecated)

public Map<String,WireGroupEndpointInterconnect> getMutableInterconnects()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,WireGroupEndpointInterconnect>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.GeneratedMessage.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.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WireGroupEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WireGroupEndpoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WireGroupEndpoint.Builder
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;

Parameter
Name Description
values Map<String,WireGroupEndpointInterconnect>
Returns
Type Description
WireGroupEndpoint.Builder

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;

Parameters
Name Description
key String
value WireGroupEndpointInterconnect
Returns
Type Description
WireGroupEndpoint.Builder

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
Returns
Type Description
WireGroupEndpointInterconnect.Builder

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
Returns
Type Description
WireGroupEndpoint.Builder