Class InterconnectDiagnosticsARPEntry.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnosticsARPEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

build()

public InterconnectDiagnosticsARPEntry build()
Returns
TypeDescription
InterconnectDiagnosticsARPEntry

buildPartial()

public InterconnectDiagnosticsARPEntry buildPartial()
Returns
TypeDescription
InterconnectDiagnosticsARPEntry

clear()

public InterconnectDiagnosticsARPEntry.Builder clear()
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnosticsARPEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

clearIpAddress()

public InterconnectDiagnosticsARPEntry.Builder clearIpAddress()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

clearMacAddress()

public InterconnectDiagnosticsARPEntry.Builder clearMacAddress()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnosticsARPEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

clone()

public InterconnectDiagnosticsARPEntry.Builder clone()
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

getDefaultInstanceForType()

public InterconnectDiagnosticsARPEntry getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnosticsARPEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpAddress()

public String getIpAddress()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getMacAddress()

public String getMacAddress()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
TypeDescription
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
TypeDescription
ByteString

The bytes for macAddress.

hasIpAddress()

public boolean hasIpAddress()

The IP address of this ARP neighbor.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.

hasMacAddress()

public boolean hasMacAddress()

The MAC address of this ARP neighbor.

optional string mac_address = 332540164;

Returns
TypeDescription
boolean

Whether the macAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnosticsARPEntry other)

public InterconnectDiagnosticsARPEntry.Builder mergeFrom(InterconnectDiagnosticsARPEntry other)
Parameter
NameDescription
otherInterconnectDiagnosticsARPEntry
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectDiagnosticsARPEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InterconnectDiagnosticsARPEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnosticsARPEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnosticsARPEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The ipAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for ipAddress to set.

Returns
TypeDescription
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
NameDescription
valueString

The macAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for macAddress to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnosticsARPEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
Overrides