Class InterconnectLocationRegionInfo.Builder (1.91.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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