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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinkLayerAddress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LinkLayerAddress build()
buildPartial()
public LinkLayerAddress buildPartial()
clear()
public LinkLayerAddress.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LinkLayerAddress.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIpAddress()
public LinkLayerAddress.Builder clearIpAddress()
The IP address of this neighbor.
string ip_address = 2;
clearMacAddress()
public LinkLayerAddress.Builder clearMacAddress()
The MAC address of this neighbor.
string mac_address = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public LinkLayerAddress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LinkLayerAddress.Builder clone()
Overrides
getDefaultInstanceForType()
public LinkLayerAddress getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LinkLayerAddress other)
public LinkLayerAddress.Builder mergeFrom(LinkLayerAddress other)
public LinkLayerAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LinkLayerAddress.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinkLayerAddress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LinkLayerAddress.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinkLayerAddress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LinkLayerAddress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides