Class InterconnectLocationRegionInfo.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectLocationRegionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides

build()

public InterconnectLocationRegionInfo build()
Returns
TypeDescription
InterconnectLocationRegionInfo

buildPartial()

public InterconnectLocationRegionInfo buildPartial()
Returns
TypeDescription
InterconnectLocationRegionInfo

clear()

public InterconnectLocationRegionInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
InterconnectLocationRegionInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectLocationRegionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InterconnectLocationRegionInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectLocationRegionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides

clearRegion()

public InterconnectLocationRegionInfo.Builder clearRegion()

URL for the region of this location.

optional string region = 138946292;

Returns
TypeDescription
InterconnectLocationRegionInfo.Builder

This builder for chaining.

clone()

public InterconnectLocationRegionInfo.Builder clone()
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides

getDefaultInstanceForType()

public InterconnectLocationRegionInfo getDefaultInstanceForType()
Returns
TypeDescription
InterconnectLocationRegionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for locationPresence.

getRegion()

public String getRegion()

URL for the region of this location.

optional string region = 138946292;

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

URL for the region of this location.

optional string region = 138946292;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the locationPresence field is set.

hasRegion()

public boolean hasRegion()

URL for the region of this location.

optional string region = 138946292;

Returns
TypeDescription
boolean

Whether the region field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectLocationRegionInfo other)

public InterconnectLocationRegionInfo.Builder mergeFrom(InterconnectLocationRegionInfo other)
Parameter
NameDescription
otherInterconnectLocationRegionInfo
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectLocationRegionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InterconnectLocationRegionInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectLocationRegionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The expectedRttMs to set.

Returns
TypeDescription
InterconnectLocationRegionInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectLocationRegionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The locationPresence to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for locationPresence to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectLocationRegionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder
Overrides