Class InterconnectDiagnostics.LinkStatus (0.21.0)

public static final class InterconnectDiagnostics.LinkStatus extends GeneratedMessageV3 implements InterconnectDiagnostics.LinkStatusOrBuilder

Describing the status for each link on the Interconnect.

Protobuf type google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectDiagnostics.LinkStatus

Static Fields

CIRCUIT_ID_FIELD_NUMBER

public static final int CIRCUIT_ID_FIELD_NUMBER
Field Value
Type Description
int

LACP_STATUS_FIELD_NUMBER

public static final int LACP_STATUS_FIELD_NUMBER
Field Value
Type Description
int

LLDP_STATUSES_FIELD_NUMBER

public static final int LLDP_STATUSES_FIELD_NUMBER
Field Value
Type Description
int

PACKET_COUNTS_FIELD_NUMBER

public static final int PACKET_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectDiagnostics.LinkStatus getDefaultInstance()
Returns
Type Description
InterconnectDiagnostics.LinkStatus

getDescriptor()

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

newBuilder()

public static InterconnectDiagnostics.LinkStatus.Builder newBuilder()
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

newBuilder(InterconnectDiagnostics.LinkStatus prototype)

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

parseDelimitedFrom(InputStream input)

public static InterconnectDiagnostics.LinkStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectDiagnostics.LinkStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static InterconnectDiagnostics.LinkStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectDiagnostics.LinkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static InterconnectDiagnostics.LinkStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectDiagnostics.LinkStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static InterconnectDiagnostics.LinkStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectDiagnostics.LinkStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static InterconnectDiagnostics.LinkStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectDiagnostics.LinkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<InterconnectDiagnostics.LinkStatus> parser()
Returns
Type Description
Parser<LinkStatus>

Methods

equals(Object obj)

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

getCircuitId()

public String getCircuitId()

The unique ID for this link assigned during turn up by Google.

string circuit_id = 1;

Returns
Type Description
String

The circuitId.

getCircuitIdBytes()

public ByteString getCircuitIdBytes()

The unique ID for this link assigned during turn up by Google.

string circuit_id = 1;

Returns
Type Description
ByteString

The bytes for circuitId.

getDefaultInstanceForType()

public InterconnectDiagnostics.LinkStatus getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnostics.LinkStatus

getLacpStatus()

public InterconnectDiagnostics.LinkLACPStatus getLacpStatus()

Describing the state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2;

Returns
Type Description
InterconnectDiagnostics.LinkLACPStatus

The lacpStatus.

getLacpStatusOrBuilder()

public InterconnectDiagnostics.LinkLACPStatusOrBuilder getLacpStatusOrBuilder()

Describing the state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2;

Returns
Type Description
InterconnectDiagnostics.LinkLACPStatusOrBuilder

getLldpStatuses(int index)

public InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses(int index)

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus

getLldpStatusesCount()

public int getLldpStatusesCount()

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3;

Returns
Type Description
int

getLldpStatusesList()

public List<InterconnectDiagnostics.LinkLLDPStatus> getLldpStatusesList()

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3;

Returns
Type Description
List<LinkLLDPStatus>

getLldpStatusesOrBuilder(int index)

public InterconnectDiagnostics.LinkLLDPStatusOrBuilder getLldpStatusesOrBuilder(int index)

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatusOrBuilder

getLldpStatusesOrBuilderList()

public List<? extends InterconnectDiagnostics.LinkLLDPStatusOrBuilder> getLldpStatusesOrBuilderList()

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3;

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder>

getPacketCounts()

public InterconnectDiagnostics.PacketCounts getPacketCounts()

Packet counts specific statistics for this link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4;

Returns
Type Description
InterconnectDiagnostics.PacketCounts

The packetCounts.

getPacketCountsOrBuilder()

public InterconnectDiagnostics.PacketCountsOrBuilder getPacketCountsOrBuilder()

Packet counts specific statistics for this link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4;

Returns
Type Description
InterconnectDiagnostics.PacketCountsOrBuilder

getParserForType()

public Parser<InterconnectDiagnostics.LinkStatus> getParserForType()
Returns
Type Description
Parser<LinkStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLacpStatus()

public boolean hasLacpStatus()

Describing the state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2;

Returns
Type Description
boolean

Whether the lacpStatus field is set.

hasPacketCounts()

public boolean hasPacketCounts()

Packet counts specific statistics for this link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4;

Returns
Type Description
boolean

Whether the packetCounts 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 InterconnectDiagnostics.LinkStatus.Builder newBuilderForType()
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public InterconnectDiagnostics.LinkStatus.Builder toBuilder()
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

writeTo(CodedOutputStream output)

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