Class InterconnectDiagnostics.LinkStatus.Builder (0.14.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus>
Returns
Type Description
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
Name Description
value InterconnectDiagnostics.LinkLLDPStatus
Returns
Type Description
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
Name Description
builderForValue InterconnectDiagnostics.LinkLLDPStatus.Builder
Returns
Type Description
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
Name Description
index int
value InterconnectDiagnostics.LinkLLDPStatus
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectDiagnostics.LinkLLDPStatus.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.LinkStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder
Overrides

build()

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

buildPartial()

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

clear()

public InterconnectDiagnostics.LinkStatus.Builder clear()
Returns
Type Description
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
Type Description
InterconnectDiagnostics.LinkStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.LinkStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
InterconnectDiagnostics.LinkStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnostics.LinkStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
InterconnectDiagnostics.LinkStatus.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getLacpStatusBuilder()

public InterconnectDiagnostics.LinkLACPStatus.Builder getLacpStatusBuilder()

Describing the state of a LACP link.

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

Returns
Type Description
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
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

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
Name Description
index int
Returns
Type Description
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
Type Description
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
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.

getPacketCountsBuilder()

public InterconnectDiagnostics.PacketCounts.Builder getPacketCountsBuilder()

Packet counts specific statistics for this link.

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

Returns
Type Description
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
Type Description
InterconnectDiagnostics.PacketCountsOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectDiagnostics.LinkStatus other)

public InterconnectDiagnostics.LinkStatus.Builder mergeFrom(InterconnectDiagnostics.LinkStatus other)
Parameter
Name Description
other InterconnectDiagnostics.LinkStatus
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectDiagnostics.LinkStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectDiagnostics.LinkStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value InterconnectDiagnostics.LinkLACPStatus
Returns
Type Description
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
Name Description
value InterconnectDiagnostics.PacketCounts
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.LinkStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value String

The circuitId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for circuitId to set.

Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.LinkStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value InterconnectDiagnostics.LinkLACPStatus
Returns
Type Description
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
Name Description
builderForValue InterconnectDiagnostics.LinkLACPStatus.Builder
Returns
Type Description
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
Name Description
index int
value InterconnectDiagnostics.LinkLLDPStatus
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectDiagnostics.LinkLLDPStatus.Builder
Returns
Type Description
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
Name Description
value InterconnectDiagnostics.PacketCounts
Returns
Type Description
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
Name Description
builderForValue InterconnectDiagnostics.PacketCounts.Builder
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

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

public InterconnectDiagnostics.LinkStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.LinkStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder
Overrides