Class InterconnectDiagnostics.Builder (1.15.0)

public static final class InterconnectDiagnostics.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnostics.Builder> implements InterconnectDiagnosticsOrBuilder

Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection.

Protobuf type google.cloud.compute.v1.InterconnectDiagnostics

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllArpCaches(Iterable<? extends InterconnectDiagnosticsARPEntry> values)

public InterconnectDiagnostics.Builder addAllArpCaches(Iterable<? extends InterconnectDiagnosticsARPEntry> values)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsARPEntry>
Returns
TypeDescription
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addAllLinks(Iterable<? extends InterconnectDiagnosticsLinkStatus> values)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus>
Returns
TypeDescription
InterconnectDiagnostics.Builder

addArpCaches(InterconnectDiagnosticsARPEntry value)

public InterconnectDiagnostics.Builder addArpCaches(InterconnectDiagnosticsARPEntry value)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
valueInterconnectDiagnosticsARPEntry
Returns
TypeDescription
InterconnectDiagnostics.Builder

addArpCaches(InterconnectDiagnosticsARPEntry.Builder builderForValue)

public InterconnectDiagnostics.Builder addArpCaches(InterconnectDiagnosticsARPEntry.Builder builderForValue)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
builderForValueInterconnectDiagnosticsARPEntry.Builder
Returns
TypeDescription
InterconnectDiagnostics.Builder

addArpCaches(int index, InterconnectDiagnosticsARPEntry value)

public InterconnectDiagnostics.Builder addArpCaches(int index, InterconnectDiagnosticsARPEntry value)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameters
NameDescription
indexint
valueInterconnectDiagnosticsARPEntry
Returns
TypeDescription
InterconnectDiagnostics.Builder

addArpCaches(int index, InterconnectDiagnosticsARPEntry.Builder builderForValue)

public InterconnectDiagnostics.Builder addArpCaches(int index, InterconnectDiagnosticsARPEntry.Builder builderForValue)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameters
NameDescription
indexint
builderForValueInterconnectDiagnosticsARPEntry.Builder
Returns
TypeDescription
InterconnectDiagnostics.Builder

addArpCachesBuilder()

public InterconnectDiagnosticsARPEntry.Builder addArpCachesBuilder()

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder

addArpCachesBuilder(int index)

public InterconnectDiagnosticsARPEntry.Builder addArpCachesBuilder(int index)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder
public InterconnectDiagnostics.Builder addLinks(InterconnectDiagnosticsLinkStatus value)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
valueInterconnectDiagnosticsLinkStatus
Returns
TypeDescription
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addLinks(InterconnectDiagnosticsLinkStatus.Builder builderForValue)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
builderForValueInterconnectDiagnosticsLinkStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addLinks(int index, InterconnectDiagnosticsLinkStatus value)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameters
NameDescription
indexint
valueInterconnectDiagnosticsLinkStatus
Returns
TypeDescription
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addLinks(int index, InterconnectDiagnosticsLinkStatus.Builder builderForValue)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameters
NameDescription
indexint
builderForValueInterconnectDiagnosticsLinkStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.Builder

addLinksBuilder()

public InterconnectDiagnosticsLinkStatus.Builder addLinksBuilder()

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Returns
TypeDescription
InterconnectDiagnosticsLinkStatus.Builder

addLinksBuilder(int index)

public InterconnectDiagnosticsLinkStatus.Builder addLinksBuilder(int index)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsLinkStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnostics build()
Returns
TypeDescription
InterconnectDiagnostics

buildPartial()

public InterconnectDiagnostics buildPartial()
Returns
TypeDescription
InterconnectDiagnostics

clear()

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

clearArpCaches()

public InterconnectDiagnostics.Builder clearArpCaches()

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Returns
TypeDescription
InterconnectDiagnostics.Builder

clearField(Descriptors.FieldDescriptor field)

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

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Returns
TypeDescription
InterconnectDiagnostics.Builder

clearMacAddress()

public InterconnectDiagnostics.Builder clearMacAddress()

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Returns
TypeDescription
InterconnectDiagnostics.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getArpCaches(int index)

public InterconnectDiagnosticsARPEntry getArpCaches(int index)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsARPEntry

getArpCachesBuilder(int index)

public InterconnectDiagnosticsARPEntry.Builder getArpCachesBuilder(int index)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsARPEntry.Builder

getArpCachesBuilderList()

public List<InterconnectDiagnosticsARPEntry.Builder> getArpCachesBuilderList()

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Returns
TypeDescription
List<Builder>

getArpCachesCount()

public int getArpCachesCount()

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Returns
TypeDescription
int

getArpCachesList()

public List<InterconnectDiagnosticsARPEntry> getArpCachesList()

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Returns
TypeDescription
List<InterconnectDiagnosticsARPEntry>

getArpCachesOrBuilder(int index)

public InterconnectDiagnosticsARPEntryOrBuilder getArpCachesOrBuilder(int index)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsARPEntryOrBuilder

getArpCachesOrBuilderList()

public List<? extends InterconnectDiagnosticsARPEntryOrBuilder> getArpCachesOrBuilderList()

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsARPEntryOrBuilder>

getDefaultInstanceForType()

public InterconnectDiagnostics getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnostics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public InterconnectDiagnosticsLinkStatus getLinks(int index)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsLinkStatus

getLinksBuilder(int index)

public InterconnectDiagnosticsLinkStatus.Builder getLinksBuilder(int index)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsLinkStatus.Builder

getLinksBuilderList()

public List<InterconnectDiagnosticsLinkStatus.Builder> getLinksBuilderList()

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Returns
TypeDescription
List<Builder>

getLinksCount()

public int getLinksCount()

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Returns
TypeDescription
int
public List<InterconnectDiagnosticsLinkStatus> getLinksList()

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Returns
TypeDescription
List<InterconnectDiagnosticsLinkStatus>

getLinksOrBuilder(int index)

public InterconnectDiagnosticsLinkStatusOrBuilder getLinksOrBuilder(int index)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnosticsLinkStatusOrBuilder

getLinksOrBuilderList()

public List<? extends InterconnectDiagnosticsLinkStatusOrBuilder> getLinksOrBuilderList()

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsLinkStatusOrBuilder>

getMacAddress()

public String getMacAddress()

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Returns
TypeDescription
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Returns
TypeDescription
ByteString

The bytes for macAddress.

hasMacAddress()

public boolean hasMacAddress()

The MAC address of the Interconnect's bundle interface.

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(InterconnectDiagnostics other)

public InterconnectDiagnostics.Builder mergeFrom(InterconnectDiagnostics other)
Parameter
NameDescription
otherInterconnectDiagnostics
Returns
TypeDescription
InterconnectDiagnostics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeArpCaches(int index)

public InterconnectDiagnostics.Builder removeArpCaches(int index)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder removeLinks(int index)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnostics.Builder

setArpCaches(int index, InterconnectDiagnosticsARPEntry value)

public InterconnectDiagnostics.Builder setArpCaches(int index, InterconnectDiagnosticsARPEntry value)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameters
NameDescription
indexint
valueInterconnectDiagnosticsARPEntry
Returns
TypeDescription
InterconnectDiagnostics.Builder

setArpCaches(int index, InterconnectDiagnosticsARPEntry.Builder builderForValue)

public InterconnectDiagnostics.Builder setArpCaches(int index, InterconnectDiagnosticsARPEntry.Builder builderForValue)

A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;

Parameters
NameDescription
indexint
builderForValueInterconnectDiagnosticsARPEntry.Builder
Returns
TypeDescription
InterconnectDiagnostics.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectDiagnostics.Builder
Overrides
public InterconnectDiagnostics.Builder setLinks(int index, InterconnectDiagnosticsLinkStatus value)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameters
NameDescription
indexint
valueInterconnectDiagnosticsLinkStatus
Returns
TypeDescription
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder setLinks(int index, InterconnectDiagnosticsLinkStatus.Builder builderForValue)

A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.

repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;

Parameters
NameDescription
indexint
builderForValueInterconnectDiagnosticsLinkStatus.Builder
Returns
TypeDescription
InterconnectDiagnostics.Builder

setMacAddress(String value)

public InterconnectDiagnostics.Builder setMacAddress(String value)

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Parameter
NameDescription
valueString

The macAddress to set.

Returns
TypeDescription
InterconnectDiagnostics.Builder

This builder for chaining.

setMacAddressBytes(ByteString value)

public InterconnectDiagnostics.Builder setMacAddressBytes(ByteString value)

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Parameter
NameDescription
valueByteString

The bytes for macAddress to set.

Returns
TypeDescription
InterconnectDiagnostics.Builder

This builder for chaining.

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

public InterconnectDiagnostics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectDiagnostics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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