Class InterconnectDiagnostics.LinkStatus.Builder (0.3.0)

public static final class InterconnectDiagnostics.LinkStatus.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnostics.LinkStatus.Builder> implements InterconnectDiagnostics.LinkStatusOrBuilder

Describing the status for each link on the Interconnect.

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

Static Methods

getDescriptor()

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

Methods

addAllLldpStatuses(Iterable<? extends InterconnectDiagnostics.LinkLLDPStatus> values)

public InterconnectDiagnostics.LinkStatus.Builder addAllLldpStatuses(Iterable<? extends InterconnectDiagnostics.LinkLLDPStatus> values)

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
valuesIterable<? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus>
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

addLldpStatuses(InterconnectDiagnostics.LinkLLDPStatus value)

public InterconnectDiagnostics.LinkStatus.Builder addLldpStatuses(InterconnectDiagnostics.LinkLLDPStatus value)

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
valueInterconnectDiagnostics.LinkLLDPStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

addLldpStatuses(InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue)

public InterconnectDiagnostics.LinkStatus.Builder addLldpStatuses(InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue)

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
builderForValueInterconnectDiagnostics.LinkLLDPStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

addLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus value)

public InterconnectDiagnostics.LinkStatus.Builder addLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus value)

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;

Parameters
NameDescription
indexint
valueInterconnectDiagnostics.LinkLLDPStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

addLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue)

public InterconnectDiagnostics.LinkStatus.Builder addLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueInterconnectDiagnostics.LinkLLDPStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

addLldpStatusesBuilder()

public InterconnectDiagnostics.LinkLLDPStatus.Builder addLldpStatusesBuilder()

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
InterconnectDiagnostics.LinkLLDPStatus.Builder

addLldpStatusesBuilder(int index)

public InterconnectDiagnostics.LinkLLDPStatus.Builder addLldpStatusesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public InterconnectDiagnostics.LinkStatus.Builder clear()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
Overrides

clearCircuitId()

public InterconnectDiagnostics.LinkStatus.Builder clearCircuitId()

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

string circuit_id = 1;

Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.LinkStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
Overrides

clearLacpStatus()

public InterconnectDiagnostics.LinkStatus.Builder clearLacpStatus()

Describing the state of a LACP link.

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

Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

clearLldpStatuses()

public InterconnectDiagnostics.LinkStatus.Builder clearLldpStatuses()

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
InterconnectDiagnostics.LinkStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPacketCounts()

public InterconnectDiagnostics.LinkStatus.Builder clearPacketCounts()

Packet counts specific statistics for this link.

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

Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

clone()

public InterconnectDiagnostics.LinkStatus.Builder clone()
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getLacpStatusBuilder()

public InterconnectDiagnostics.LinkLACPStatus.Builder getLacpStatusBuilder()

Describing the state of a LACP link.

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

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

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

getLldpStatusesBuilder(int index)

public InterconnectDiagnostics.LinkLLDPStatus.Builder getLldpStatusesBuilder(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.Builder

getLldpStatusesBuilderList()

public List<InterconnectDiagnostics.LinkLLDPStatus.Builder> getLldpStatusesBuilderList()

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<Builder>

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.

getPacketCountsBuilder()

public InterconnectDiagnostics.PacketCounts.Builder getPacketCountsBuilder()

Packet counts specific statistics for this link.

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

Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnostics.LinkStatus other)

public InterconnectDiagnostics.LinkStatus.Builder mergeFrom(InterconnectDiagnostics.LinkStatus other)
Parameter
NameDescription
otherInterconnectDiagnostics.LinkStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLacpStatus(InterconnectDiagnostics.LinkLACPStatus value)

public InterconnectDiagnostics.LinkStatus.Builder mergeLacpStatus(InterconnectDiagnostics.LinkLACPStatus value)

Describing the state of a LACP link.

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

Parameter
NameDescription
valueInterconnectDiagnostics.LinkLACPStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

mergePacketCounts(InterconnectDiagnostics.PacketCounts value)

public InterconnectDiagnostics.LinkStatus.Builder mergePacketCounts(InterconnectDiagnostics.PacketCounts value)

Packet counts specific statistics for this link.

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

Parameter
NameDescription
valueInterconnectDiagnostics.PacketCounts
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.LinkStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
Overrides

removeLldpStatuses(int index)

public InterconnectDiagnostics.LinkStatus.Builder removeLldpStatuses(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.LinkStatus.Builder

setCircuitId(String value)

public InterconnectDiagnostics.LinkStatus.Builder setCircuitId(String value)

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

string circuit_id = 1;

Parameter
NameDescription
valueString

The circuitId to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

This builder for chaining.

setCircuitIdBytes(ByteString value)

public InterconnectDiagnostics.LinkStatus.Builder setCircuitIdBytes(ByteString value)

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

string circuit_id = 1;

Parameter
NameDescription
valueByteString

The bytes for circuitId to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.LinkStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
Overrides

setLacpStatus(InterconnectDiagnostics.LinkLACPStatus value)

public InterconnectDiagnostics.LinkStatus.Builder setLacpStatus(InterconnectDiagnostics.LinkLACPStatus value)

Describing the state of a LACP link.

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

Parameter
NameDescription
valueInterconnectDiagnostics.LinkLACPStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

setLacpStatus(InterconnectDiagnostics.LinkLACPStatus.Builder builderForValue)

public InterconnectDiagnostics.LinkStatus.Builder setLacpStatus(InterconnectDiagnostics.LinkLACPStatus.Builder builderForValue)

Describing the state of a LACP link.

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

Parameter
NameDescription
builderForValueInterconnectDiagnostics.LinkLACPStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

setLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus value)

public InterconnectDiagnostics.LinkStatus.Builder setLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus value)

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;

Parameters
NameDescription
indexint
valueInterconnectDiagnostics.LinkLLDPStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

setLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue)

public InterconnectDiagnostics.LinkStatus.Builder setLldpStatuses(int index, InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueInterconnectDiagnostics.LinkLLDPStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

setPacketCounts(InterconnectDiagnostics.PacketCounts value)

public InterconnectDiagnostics.LinkStatus.Builder setPacketCounts(InterconnectDiagnostics.PacketCounts value)

Packet counts specific statistics for this link.

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

Parameter
NameDescription
valueInterconnectDiagnostics.PacketCounts
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

setPacketCounts(InterconnectDiagnostics.PacketCounts.Builder builderForValue)

public InterconnectDiagnostics.LinkStatus.Builder setPacketCounts(InterconnectDiagnostics.PacketCounts.Builder builderForValue)

Packet counts specific statistics for this link.

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

Parameter
NameDescription
builderForValueInterconnectDiagnostics.PacketCounts.Builder
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InterconnectDiagnostics.LinkStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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