Class InterconnectDiagnostics.LinkLLDPStatus.Builder (0.16.0)

public static final class InterconnectDiagnostics.LinkLLDPStatus.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnostics.LinkLLDPStatus.Builder> implements InterconnectDiagnostics.LinkLLDPStatusOrBuilder

Describing a LLDP link.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clear()
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

clearPeerChassisId()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearPeerChassisId()

The peer chassis component of the endpoint identifier associated with the transmitting LLDP agent.

string peer_chassis_id = 3;

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clearPeerChassisIdType()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearPeerChassisIdType()

The format and source of the peer chassis identifier string.

string peer_chassis_id_type = 4;

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clearPeerPortId()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearPeerPortId()

The port component of the endpoint identifier associated with the transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater port, then this TLV is optional.

string peer_port_id = 5;

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clearPeerPortIdType()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearPeerPortIdType()

The format and source of the peer port identifier string.

string peer_port_id_type = 6;

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clearPeerSystemDescription()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearPeerSystemDescription()

The textual description of the network entity of LLDP peer.

string peer_system_description = 2;

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clearPeerSystemName()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearPeerSystemName()

The peer system's administratively assigned name.

string peer_system_name = 1;

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clone()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clone()
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPeerChassisId()

public String getPeerChassisId()

The peer chassis component of the endpoint identifier associated with the transmitting LLDP agent.

string peer_chassis_id = 3;

Returns
Type Description
String

The peerChassisId.

getPeerChassisIdBytes()

public ByteString getPeerChassisIdBytes()

The peer chassis component of the endpoint identifier associated with the transmitting LLDP agent.

string peer_chassis_id = 3;

Returns
Type Description
ByteString

The bytes for peerChassisId.

getPeerChassisIdType()

public String getPeerChassisIdType()

The format and source of the peer chassis identifier string.

string peer_chassis_id_type = 4;

Returns
Type Description
String

The peerChassisIdType.

getPeerChassisIdTypeBytes()

public ByteString getPeerChassisIdTypeBytes()

The format and source of the peer chassis identifier string.

string peer_chassis_id_type = 4;

Returns
Type Description
ByteString

The bytes for peerChassisIdType.

getPeerPortId()

public String getPeerPortId()

The port component of the endpoint identifier associated with the transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater port, then this TLV is optional.

string peer_port_id = 5;

Returns
Type Description
String

The peerPortId.

getPeerPortIdBytes()

public ByteString getPeerPortIdBytes()

The port component of the endpoint identifier associated with the transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater port, then this TLV is optional.

string peer_port_id = 5;

Returns
Type Description
ByteString

The bytes for peerPortId.

getPeerPortIdType()

public String getPeerPortIdType()

The format and source of the peer port identifier string.

string peer_port_id_type = 6;

Returns
Type Description
String

The peerPortIdType.

getPeerPortIdTypeBytes()

public ByteString getPeerPortIdTypeBytes()

The format and source of the peer port identifier string.

string peer_port_id_type = 6;

Returns
Type Description
ByteString

The bytes for peerPortIdType.

getPeerSystemDescription()

public String getPeerSystemDescription()

The textual description of the network entity of LLDP peer.

string peer_system_description = 2;

Returns
Type Description
String

The peerSystemDescription.

getPeerSystemDescriptionBytes()

public ByteString getPeerSystemDescriptionBytes()

The textual description of the network entity of LLDP peer.

string peer_system_description = 2;

Returns
Type Description
ByteString

The bytes for peerSystemDescription.

getPeerSystemName()

public String getPeerSystemName()

The peer system's administratively assigned name.

string peer_system_name = 1;

Returns
Type Description
String

The peerSystemName.

getPeerSystemNameBytes()

public ByteString getPeerSystemNameBytes()

The peer system's administratively assigned name.

string peer_system_name = 1;

Returns
Type Description
ByteString

The bytes for peerSystemName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectDiagnostics.LinkLLDPStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InterconnectDiagnostics.LinkLLDPStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.LinkLLDPStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPeerChassisId(String value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerChassisId(String value)

The peer chassis component of the endpoint identifier associated with the transmitting LLDP agent.

string peer_chassis_id = 3;

Parameter
Name Description
value String

The peerChassisId to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerChassisIdBytes(ByteString value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerChassisIdBytes(ByteString value)

The peer chassis component of the endpoint identifier associated with the transmitting LLDP agent.

string peer_chassis_id = 3;

Parameter
Name Description
value ByteString

The bytes for peerChassisId to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerChassisIdType(String value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerChassisIdType(String value)

The format and source of the peer chassis identifier string.

string peer_chassis_id_type = 4;

Parameter
Name Description
value String

The peerChassisIdType to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerChassisIdTypeBytes(ByteString value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerChassisIdTypeBytes(ByteString value)

The format and source of the peer chassis identifier string.

string peer_chassis_id_type = 4;

Parameter
Name Description
value ByteString

The bytes for peerChassisIdType to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerPortId(String value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerPortId(String value)

The port component of the endpoint identifier associated with the transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater port, then this TLV is optional.

string peer_port_id = 5;

Parameter
Name Description
value String

The peerPortId to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerPortIdBytes(ByteString value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerPortIdBytes(ByteString value)

The port component of the endpoint identifier associated with the transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater port, then this TLV is optional.

string peer_port_id = 5;

Parameter
Name Description
value ByteString

The bytes for peerPortId to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerPortIdType(String value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerPortIdType(String value)

The format and source of the peer port identifier string.

string peer_port_id_type = 6;

Parameter
Name Description
value String

The peerPortIdType to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerPortIdTypeBytes(ByteString value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerPortIdTypeBytes(ByteString value)

The format and source of the peer port identifier string.

string peer_port_id_type = 6;

Parameter
Name Description
value ByteString

The bytes for peerPortIdType to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerSystemDescription(String value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerSystemDescription(String value)

The textual description of the network entity of LLDP peer.

string peer_system_description = 2;

Parameter
Name Description
value String

The peerSystemDescription to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerSystemDescriptionBytes(ByteString value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerSystemDescriptionBytes(ByteString value)

The textual description of the network entity of LLDP peer.

string peer_system_description = 2;

Parameter
Name Description
value ByteString

The bytes for peerSystemDescription to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerSystemName(String value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerSystemName(String value)

The peer system's administratively assigned name.

string peer_system_name = 1;

Parameter
Name Description
value String

The peerSystemName to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

setPeerSystemNameBytes(ByteString value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setPeerSystemNameBytes(ByteString value)

The peer system's administratively assigned name.

string peer_system_name = 1;

Parameter
Name Description
value ByteString

The bytes for peerSystemName to set.

Returns
Type Description
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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