Class WireGroupTopologyEndpoint.Builder (1.91.0)

public static final class WireGroupTopologyEndpoint.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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