Class InterconnectLocationRegionInfo (1.61.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectLocationRegionInfo

Static Fields

EXPECTED_RTT_MS_FIELD_NUMBER

public static final int EXPECTED_RTT_MS_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_PRESENCE_FIELD_NUMBER

public static final int LOCATION_PRESENCE_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectLocationRegionInfo getDefaultInstance()
Returns
Type Description
InterconnectLocationRegionInfo

getDescriptor()

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

newBuilder()

public static InterconnectLocationRegionInfo.Builder newBuilder()
Returns
Type Description
InterconnectLocationRegionInfo.Builder

newBuilder(InterconnectLocationRegionInfo prototype)

public static InterconnectLocationRegionInfo.Builder newBuilder(InterconnectLocationRegionInfo prototype)
Parameter
Name Description
prototype InterconnectLocationRegionInfo
Returns
Type Description
InterconnectLocationRegionInfo.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectLocationRegionInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectLocationRegionInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InterconnectLocationRegionInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectLocationRegionInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectLocationRegionInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectLocationRegionInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectLocationRegionInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectLocationRegionInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InterconnectLocationRegionInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectLocationRegionInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InterconnectLocationRegionInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectLocationRegionInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocationRegionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InterconnectLocationRegionInfo> parser()
Returns
Type Description
Parser<InterconnectLocationRegionInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InterconnectLocationRegionInfo getDefaultInstanceForType()
Returns
Type Description
InterconnectLocationRegionInfo

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.

getParserForType()

public Parser<InterconnectLocationRegionInfo> getParserForType()
Returns
Type Description
Parser<InterconnectLocationRegionInfo>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InterconnectLocationRegionInfo.Builder newBuilderForType()
Returns
Type Description
InterconnectLocationRegionInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectLocationRegionInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectLocationRegionInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InterconnectLocationRegionInfo.Builder toBuilder()
Returns
Type Description
InterconnectLocationRegionInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException