public static final class LinkLayerAddress.Builder extends GeneratedMessage.Builder<LinkLayerAddress.Builder> implements LinkLayerAddressOrBuilderLinkLayerAddress contains an IP address and corresponding link-layer address.
Protobuf type google.cloud.edgenetwork.v1.LinkLayerAddress
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LinkLayerAddress.BuilderImplements
LinkLayerAddressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LinkLayerAddress build()| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress |
|
buildPartial()
public LinkLayerAddress buildPartial()| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress |
|
clear()
public LinkLayerAddress.Builder clear()| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
|
clearIpAddress()
public LinkLayerAddress.Builder clearIpAddress()The IP address of this neighbor.
string ip_address = 2;
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
This builder for chaining. |
clearMacAddress()
public LinkLayerAddress.Builder clearMacAddress()The MAC address of this neighbor.
string mac_address = 1;
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LinkLayerAddress getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LinkLayerAddress other)
public LinkLayerAddress.Builder mergeFrom(LinkLayerAddress other)| Parameter | |
|---|---|
| Name | Description |
other |
LinkLayerAddress |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinkLayerAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LinkLayerAddress.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
|
setIpAddress(String value)
public LinkLayerAddress.Builder setIpAddress(String value)The IP address of this neighbor.
string ip_address = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public LinkLayerAddress.Builder setIpAddressBytes(ByteString value)The IP address of this neighbor.
string ip_address = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
This builder for chaining. |
setMacAddress(String value)
public LinkLayerAddress.Builder setMacAddress(String value)The MAC address of this neighbor.
string mac_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe macAddress to set. |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
This builder for chaining. |
setMacAddressBytes(ByteString value)
public LinkLayerAddress.Builder setMacAddressBytes(ByteString value)The MAC address of this neighbor.
string mac_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for macAddress to set. |
| Returns | |
|---|---|
| Type | Description |
LinkLayerAddress.Builder |
This builder for chaining. |