Class WireGroupEndpoint.Builder (1.91.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnects()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public WireGroupEndpoint.Builder clone()
Returns
Type Description
WireGroupEndpoint.Builder
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
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 GeneratedMessageV3.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.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()
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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WireGroupEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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