Class InterconnectDiagnosticsARPEntry.Builder (1.58.0)

public static final class InterconnectDiagnosticsARPEntry.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnosticsARPEntry.Builder> implements InterconnectDiagnosticsARPEntryOrBuilder

Describing the ARP neighbor entries seen on this link

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsARPEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnosticsARPEntry build()
Returns
Type Description
InterconnectDiagnosticsARPEntry

buildPartial()

public InterconnectDiagnosticsARPEntry buildPartial()
Returns
Type Description
InterconnectDiagnosticsARPEntry

clear()

public InterconnectDiagnosticsARPEntry.Builder clear()
Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIpAddress()

public InterconnectDiagnosticsARPEntry.Builder clearIpAddress()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

clearMacAddress()

public InterconnectDiagnosticsARPEntry.Builder clearMacAddress()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectDiagnosticsARPEntry getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnosticsARPEntry

getDescriptorForType()

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

getIpAddress()

public String getIpAddress()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
Type Description
ByteString

The bytes for ipAddress.

getMacAddress()

public String getMacAddress()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
Type Description
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
Type Description
ByteString

The bytes for macAddress.

hasIpAddress()

public boolean hasIpAddress()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
Type Description
boolean

Whether the ipAddress field is set.

hasMacAddress()

public boolean hasMacAddress()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
Type Description
boolean

Whether the macAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectDiagnosticsARPEntry other)

public InterconnectDiagnosticsARPEntry.Builder mergeFrom(InterconnectDiagnosticsARPEntry other)
Parameter
Name Description
other InterconnectDiagnosticsARPEntry
Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectDiagnosticsARPEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIpAddress(String value)

public InterconnectDiagnosticsARPEntry.Builder setIpAddress(String value)

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public InterconnectDiagnosticsARPEntry.Builder setIpAddressBytes(ByteString value)

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

setMacAddress(String value)

public InterconnectDiagnosticsARPEntry.Builder setMacAddress(String value)

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Parameter
Name Description
value String

The macAddress to set.

Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

setMacAddressBytes(ByteString value)

public InterconnectDiagnosticsARPEntry.Builder setMacAddressBytes(ByteString value)

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Parameter
Name Description
value ByteString

The bytes for macAddress to set.

Returns
Type Description
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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