Class LinkLayerAddress (0.4.0)

public final class LinkLayerAddress extends GeneratedMessageV3 implements LinkLayerAddressOrBuilder

LinkLayerAddress contains an IP address and corresponding link-layer address.

Protobuf type google.cloud.edgenetwork.v1.LinkLayerAddress

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

MAC_ADDRESS_FIELD_NUMBER

public static final int MAC_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LinkLayerAddress getDefaultInstance()
Returns
TypeDescription
LinkLayerAddress

getDescriptor()

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

newBuilder()

public static LinkLayerAddress.Builder newBuilder()
Returns
TypeDescription
LinkLayerAddress.Builder

newBuilder(LinkLayerAddress prototype)

public static LinkLayerAddress.Builder newBuilder(LinkLayerAddress prototype)
Parameter
NameDescription
prototypeLinkLayerAddress
Returns
TypeDescription
LinkLayerAddress.Builder

parseDelimitedFrom(InputStream input)

public static LinkLayerAddress parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinkLayerAddress
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static LinkLayerAddress parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LinkLayerAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static LinkLayerAddress parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LinkLayerAddress
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static LinkLayerAddress parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinkLayerAddress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static LinkLayerAddress parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LinkLayerAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<LinkLayerAddress> parser()
Returns
TypeDescription
Parser<LinkLayerAddress>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LinkLayerAddress getDefaultInstanceForType()
Returns
TypeDescription
LinkLayerAddress

getIpAddress()

public String getIpAddress()

The IP address of this neighbor.

string ip_address = 2;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address of this neighbor.

string ip_address = 2;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getMacAddress()

public String getMacAddress()

The MAC address of this neighbor.

string mac_address = 1;

Returns
TypeDescription
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of this neighbor.

string mac_address = 1;

Returns
TypeDescription
ByteString

The bytes for macAddress.

getParserForType()

public Parser<LinkLayerAddress> getParserForType()
Returns
TypeDescription
Parser<LinkLayerAddress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 LinkLayerAddress.Builder newBuilderForType()
Returns
TypeDescription
LinkLayerAddress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public LinkLayerAddress.Builder toBuilder()
Returns
TypeDescription
LinkLayerAddress.Builder

writeTo(CodedOutputStream output)

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