Class InterconnectLocationRegionInfo.Builder (1.58.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()

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

clearLocationPresence()

public InterconnectLocationRegionInfo.Builder clearLocationPresence()

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()

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()

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.

getLocationPresence()

public String getLocationPresence()

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()

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()

URL for the region of this location.

optional string region = 138946292;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

URL for the region of this location.

optional string region = 138946292;

Returns
Type Description
ByteString

The bytes for region.

hasExpectedRttMs()

public boolean hasExpectedRttMs()

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.

hasLocationPresence()

public boolean hasLocationPresence()

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()

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)

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

setLocationPresence(String value)

public InterconnectLocationRegionInfo.Builder setLocationPresence(String value)

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)

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)

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)

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