Class LinkLayerAddress.Builder (0.23.0)

public static final class LinkLayerAddress.Builder extends GeneratedMessageV3.Builder<LinkLayerAddress.Builder> implements LinkLayerAddressOrBuilder

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

Protobuf type google.cloud.edgenetwork.v1.LinkLayerAddress

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LinkLayerAddress.Builder clone()
Returns
Type Description
LinkLayerAddress.Builder
Overrides

getDefaultInstanceForType()

public LinkLayerAddress getDefaultInstanceForType()
Returns
Type Description
LinkLayerAddress

getDescriptorForType()

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

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIpAddress(String value)

public LinkLayerAddress.Builder setIpAddress(String value)

The IP address of this neighbor.

string ip_address = 2;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for macAddress to set.

Returns
Type Description
LinkLayerAddress.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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