Class InterconnectLocationRegionInfo.Builder (1.93.0)

public static final class InterconnectLocationRegionInfo.Builder extends GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder> implements InterconnectLocationRegionInfoOrBuilder

Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.

Protobuf type google.cloud.compute.v1.InterconnectLocationRegionInfo

Static Methods

getDescriptor()

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

Methods

build()

public InterconnectLocationRegionInfo build()
Returns
Type Description
InterconnectLocationRegionInfo

buildPartial()

public InterconnectLocationRegionInfo buildPartial()
Returns
Type Description
InterconnectLocationRegionInfo

clear()

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

clearExpectedRttMs()

public InterconnectLocationRegionInfo.Builder clearExpectedRttMs()

Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.

optional int64 expected_rtt_ms = 422543866;

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

clearL2ForwardingEnabled()

public InterconnectLocationRegionInfo.Builder clearL2ForwardingEnabled()

Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.

optional bool l2_forwarding_enabled = 241364888;

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

clearLocationPresence()

public InterconnectLocationRegionInfo.Builder clearLocationPresence()

Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.

optional string location_presence = 101517893;

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

clearRegion()

public InterconnectLocationRegionInfo.Builder clearRegion()

Output only. URL for the region of this location.

optional string region = 138946292;

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public InterconnectLocationRegionInfo getDefaultInstanceForType()
Returns
Type Description
InterconnectLocationRegionInfo

getDescriptorForType()

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

getExpectedRttMs()

public long getExpectedRttMs()

Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.

optional int64 expected_rtt_ms = 422543866;

Returns
Type Description
long

The expectedRttMs.

getL2ForwardingEnabled()

public boolean getL2ForwardingEnabled()

Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.

optional bool l2_forwarding_enabled = 241364888;

Returns
Type Description
boolean

The l2ForwardingEnabled.

getLocationPresence()

public String getLocationPresence()

Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.

optional string location_presence = 101517893;

Returns
Type Description
String

The locationPresence.

getLocationPresenceBytes()

public ByteString getLocationPresenceBytes()

Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.

optional string location_presence = 101517893;

Returns
Type Description
ByteString

The bytes for locationPresence.

getRegion()

public String getRegion()

Output only. URL for the region of this location.

optional string region = 138946292;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Output only. URL for the region of this location.

optional string region = 138946292;

Returns
Type Description
ByteString

The bytes for region.

hasExpectedRttMs()

public boolean hasExpectedRttMs()

Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.

optional int64 expected_rtt_ms = 422543866;

Returns
Type Description
boolean

Whether the expectedRttMs field is set.

hasL2ForwardingEnabled()

public boolean hasL2ForwardingEnabled()

Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.

optional bool l2_forwarding_enabled = 241364888;

Returns
Type Description
boolean

Whether the l2ForwardingEnabled field is set.

hasLocationPresence()

public boolean hasLocationPresence()

Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.

optional string location_presence = 101517893;

Returns
Type Description
boolean

Whether the locationPresence field is set.

hasRegion()

public boolean hasRegion()

Output only. URL for the region of this location.

optional string region = 138946292;

Returns
Type Description
boolean

Whether the region field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectLocationRegionInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExpectedRttMs(long value)

public InterconnectLocationRegionInfo.Builder setExpectedRttMs(long value)

Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.

optional int64 expected_rtt_ms = 422543866;

Parameter
Name Description
value long

The expectedRttMs to set.

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

setL2ForwardingEnabled(boolean value)

public InterconnectLocationRegionInfo.Builder setL2ForwardingEnabled(boolean value)

Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.

optional bool l2_forwarding_enabled = 241364888;

Parameter
Name Description
value boolean

The l2ForwardingEnabled to set.

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

setLocationPresence(String value)

public InterconnectLocationRegionInfo.Builder setLocationPresence(String value)

Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.

optional string location_presence = 101517893;

Parameter
Name Description
value String

The locationPresence to set.

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

setLocationPresenceBytes(ByteString value)

public InterconnectLocationRegionInfo.Builder setLocationPresenceBytes(ByteString value)

Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.

optional string location_presence = 101517893;

Parameter
Name Description
value ByteString

The bytes for locationPresence to set.

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

setRegion(String value)

public InterconnectLocationRegionInfo.Builder setRegion(String value)

Output only. URL for the region of this location.

optional string region = 138946292;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public InterconnectLocationRegionInfo.Builder setRegionBytes(ByteString value)

Output only. URL for the region of this location.

optional string region = 138946292;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
InterconnectLocationRegionInfo.Builder

This builder for chaining.