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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAC_ADDRESS_FIELD_NUMBER
public static final int MAC_ADDRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LinkLayerAddress getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LinkLayerAddress.Builder newBuilder()
newBuilder(LinkLayerAddress prototype)
public static LinkLayerAddress.Builder newBuilder(LinkLayerAddress prototype)
public static LinkLayerAddress parseDelimitedFrom(InputStream input)
public static LinkLayerAddress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LinkLayerAddress parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LinkLayerAddress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LinkLayerAddress parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinkLayerAddress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinkLayerAddress parseFrom(CodedInputStream input)
public static LinkLayerAddress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LinkLayerAddress parseFrom(InputStream input)
public static LinkLayerAddress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LinkLayerAddress parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LinkLayerAddress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LinkLayerAddress> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LinkLayerAddress getDefaultInstanceForType()
getIpAddress()
public String getIpAddress()
The IP address of this neighbor.
string ip_address = 2;
Returns |
Type |
Description |
String |
The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
The IP address of this neighbor.
string ip_address = 2;
Returns |
Type |
Description |
ByteString |
The bytes for ipAddress.
|
getMacAddress()
public String getMacAddress()
The MAC address of this neighbor.
string mac_address = 1;
Returns |
Type |
Description |
String |
The macAddress.
|
getMacAddressBytes()
public ByteString getMacAddressBytes()
The MAC address of this neighbor.
string mac_address = 1;
Returns |
Type |
Description |
ByteString |
The bytes for macAddress.
|
getParserForType()
public Parser<LinkLayerAddress> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LinkLayerAddress.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LinkLayerAddress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LinkLayerAddress.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides