Class InterconnectDiagnostics.LinkStatus (0.4.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
TypeDescription
int

LACP_STATUS_FIELD_NUMBER

public static final int LACP_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

LLDP_STATUSES_FIELD_NUMBER

public static final int LLDP_STATUSES_FIELD_NUMBER
Field Value
TypeDescription
int

PACKET_COUNTS_FIELD_NUMBER

public static final int PACKET_COUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectDiagnostics.LinkStatus getDefaultInstance()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InterconnectDiagnostics.LinkStatus.Builder newBuilder()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

newBuilder(InterconnectDiagnostics.LinkStatus prototype)

public static InterconnectDiagnostics.LinkStatus.Builder newBuilder(InterconnectDiagnostics.LinkStatus prototype)
Parameter
NameDescription
prototypeInterconnectDiagnostics.LinkStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectDiagnostics.LinkStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectDiagnostics.LinkStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InterconnectDiagnostics.LinkStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectDiagnostics.LinkStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectDiagnostics.LinkStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectDiagnostics.LinkStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectDiagnostics.LinkStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectDiagnostics.LinkStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InterconnectDiagnostics.LinkStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectDiagnostics.LinkStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InterconnectDiagnostics.LinkStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectDiagnostics.LinkStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCircuitId()

public String getCircuitId()

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

string circuit_id = 1;

Returns
TypeDescription
String

The circuitId.

getCircuitIdBytes()

public ByteString getCircuitIdBytes()

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

string circuit_id = 1;

Returns
TypeDescription
ByteString

The bytes for circuitId.

getDefaultInstanceForType()

public InterconnectDiagnostics.LinkStatus getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus

getLacpStatus()

public InterconnectDiagnostics.LinkLACPStatus getLacpStatus()

Describing the state of a LACP link.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectDiagnostics.PacketCountsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasLacpStatus()

public boolean hasLacpStatus()

Describing the state of a LACP link.

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

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

Whether the packetCounts field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InterconnectDiagnostics.LinkStatus.Builder newBuilderForType()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectDiagnostics.LinkStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InterconnectDiagnostics.LinkStatus.Builder toBuilder()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException