Class InterconnectDiagnostics.LinkLLDPStatus.Builder (0.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnostics.LinkLLDPStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectDiagnostics.LinkLLDPStatus.Builder

This builder for chaining.

clone()

public InterconnectDiagnostics.LinkLLDPStatus.Builder clone()
Returns
TypeDescription
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The peerChassisIdType.

getPeerChassisIdTypeBytes()

public ByteString getPeerChassisIdTypeBytes()

The format and source of the peer chassis identifier string.

string peer_chassis_id_type = 4;

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

The peerPortIdType.

getPeerPortIdTypeBytes()

public ByteString getPeerPortIdTypeBytes()

The format and source of the peer port identifier string.

string peer_port_id_type = 6;

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

The peerSystemDescription.

getPeerSystemDescriptionBytes()

public ByteString getPeerSystemDescriptionBytes()

The textual description of the network entity of LLDP peer.

string peer_system_description = 2;

Returns
TypeDescription
ByteString

The bytes for peerSystemDescription.

getPeerSystemName()

public String getPeerSystemName()

The peer system's administratively assigned name.

string peer_system_name = 1;

Returns
TypeDescription
String

The peerSystemName.

getPeerSystemNameBytes()

public ByteString getPeerSystemNameBytes()

The peer system's administratively assigned name.

string peer_system_name = 1;

Returns
TypeDescription
ByteString

The bytes for peerSystemName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnostics.LinkLLDPStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.LinkLLDPStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The peerChassisId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerChassisId to set.

Returns
TypeDescription
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
NameDescription
valueString

The peerChassisIdType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerChassisIdType to set.

Returns
TypeDescription
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
NameDescription
valueString

The peerPortId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerPortId to set.

Returns
TypeDescription
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
NameDescription
valueString

The peerPortIdType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerPortIdType to set.

Returns
TypeDescription
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
NameDescription
valueString

The peerSystemDescription to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerSystemDescription to set.

Returns
TypeDescription
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
NameDescription
valueString

The peerSystemName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerSystemName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectDiagnostics.LinkLLDPStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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