Class WireGroupTopologyEndpoint.Builder (1.93.0)

public static final class WireGroupTopologyEndpoint.Builder extends GeneratedMessage.Builder<WireGroupTopologyEndpoint.Builder> implements WireGroupTopologyEndpointOrBuilder

Topology details for a single wire group endpoint.

Protobuf type google.cloud.compute.v1.WireGroupTopologyEndpoint

Static Methods

getDescriptor()

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

Methods

build()

public WireGroupTopologyEndpoint build()
Returns
Type Description
WireGroupTopologyEndpoint

buildPartial()

public WireGroupTopologyEndpoint buildPartial()
Returns
Type Description
WireGroupTopologyEndpoint

clear()

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

clearCity()

public WireGroupTopologyEndpoint.Builder clearCity()

Output only. The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.

optional string city = 3053931;

Returns
Type Description
WireGroupTopologyEndpoint.Builder

This builder for chaining.

clearLabel()

public WireGroupTopologyEndpoint.Builder clearLabel()

Output only. Endpoint label from the wire group.

optional string label = 102727412;

Returns
Type Description
WireGroupTopologyEndpoint.Builder

This builder for chaining.

getCity()

public String getCity()

Output only. The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.

optional string city = 3053931;

Returns
Type Description
String

The city.

getCityBytes()

public ByteString getCityBytes()

Output only. The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.

optional string city = 3053931;

Returns
Type Description
ByteString

The bytes for city.

getDefaultInstanceForType()

public WireGroupTopologyEndpoint getDefaultInstanceForType()
Returns
Type Description
WireGroupTopologyEndpoint

getDescriptorForType()

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

getLabel()

public String getLabel()

Output only. Endpoint label from the wire group.

optional string label = 102727412;

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

Output only. Endpoint label from the wire group.

optional string label = 102727412;

Returns
Type Description
ByteString

The bytes for label.

hasCity()

public boolean hasCity()

Output only. The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.

optional string city = 3053931;

Returns
Type Description
boolean

Whether the city field is set.

hasLabel()

public boolean hasLabel()

Output only. Endpoint label from the wire group.

optional string label = 102727412;

Returns
Type Description
boolean

Whether the label field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WireGroupTopologyEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WireGroupTopologyEndpoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WireGroupTopologyEndpoint.Builder
Overrides

setCity(String value)

public WireGroupTopologyEndpoint.Builder setCity(String value)

Output only. The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.

optional string city = 3053931;

Parameter
Name Description
value String

The city to set.

Returns
Type Description
WireGroupTopologyEndpoint.Builder

This builder for chaining.

setCityBytes(ByteString value)

public WireGroupTopologyEndpoint.Builder setCityBytes(ByteString value)

Output only. The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.

optional string city = 3053931;

Parameter
Name Description
value ByteString

The bytes for city to set.

Returns
Type Description
WireGroupTopologyEndpoint.Builder

This builder for chaining.

setLabel(String value)

public WireGroupTopologyEndpoint.Builder setLabel(String value)

Output only. Endpoint label from the wire group.

optional string label = 102727412;

Parameter
Name Description
value String

The label to set.

Returns
Type Description
WireGroupTopologyEndpoint.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public WireGroupTopologyEndpoint.Builder setLabelBytes(ByteString value)

Output only. Endpoint label from the wire group.

optional string label = 102727412;

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
WireGroupTopologyEndpoint.Builder

This builder for chaining.