Class InterconnectDiagnostics.Builder (1.56.0)

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

Diagnostics information about the Interconnect connection, which 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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsARPEntry>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus>
Returns
Type Description
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
Name Description
value InterconnectDiagnosticsARPEntry
Returns
Type Description
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
Name Description
builderForValue InterconnectDiagnosticsARPEntry.Builder
Returns
Type Description
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
Name Description
index int
value InterconnectDiagnosticsARPEntry
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectDiagnosticsARPEntry.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value InterconnectDiagnosticsLinkStatus
Returns
Type Description
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
Name Description
builderForValue InterconnectDiagnosticsLinkStatus.Builder
Returns
Type Description
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
Name Description
index int
value InterconnectDiagnosticsLinkStatus
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectDiagnosticsLinkStatus.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InterconnectDiagnosticsLinkStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnostics build()
Returns
Type Description
InterconnectDiagnostics

buildPartial()

public InterconnectDiagnostics buildPartial()
Returns
Type Description
InterconnectDiagnostics

clear()

public InterconnectDiagnostics.Builder clear()
Returns
Type Description
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
Type Description
InterconnectDiagnostics.Builder

clearBundleAggregationType()

public InterconnectDiagnostics.Builder clearBundleAggregationType()

The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values.

optional string bundle_aggregation_type = 434939028;

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

clearBundleOperationalStatus()

public InterconnectDiagnostics.Builder clearBundleOperationalStatus()

The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values.

optional string bundle_operational_status = 106433500;

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
InterconnectDiagnostics.Builder

clearMacAddress()

public InterconnectDiagnostics.Builder clearMacAddress()

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InterconnectDiagnostics.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.InterconnectDiagnosticsARPEntryOrBuilder>

getBundleAggregationType()

public String getBundleAggregationType()

The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values.

optional string bundle_aggregation_type = 434939028;

Returns
Type Description
String

The bundleAggregationType.

getBundleAggregationTypeBytes()

public ByteString getBundleAggregationTypeBytes()

The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values.

optional string bundle_aggregation_type = 434939028;

Returns
Type Description
ByteString

The bytes for bundleAggregationType.

getBundleOperationalStatus()

public String getBundleOperationalStatus()

The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values.

optional string bundle_operational_status = 106433500;

Returns
Type Description
String

The bundleOperationalStatus.

getBundleOperationalStatusBytes()

public ByteString getBundleOperationalStatusBytes()

The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values.

optional string bundle_operational_status = 106433500;

Returns
Type Description
ByteString

The bytes for bundleOperationalStatus.

getDefaultInstanceForType()

public InterconnectDiagnostics getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnostics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of the Interconnect's bundle interface.

optional string mac_address = 332540164;

Returns
Type Description
ByteString

The bytes for macAddress.

hasBundleAggregationType()

public boolean hasBundleAggregationType()

The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values.

optional string bundle_aggregation_type = 434939028;

Returns
Type Description
boolean

Whether the bundleAggregationType field is set.

hasBundleOperationalStatus()

public boolean hasBundleOperationalStatus()

The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values.

optional string bundle_operational_status = 106433500;

Returns
Type Description
boolean

Whether the bundleOperationalStatus field is set.

hasMacAddress()

public boolean hasMacAddress()

The MAC address of the Interconnect's bundle interface.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value InterconnectDiagnosticsARPEntry
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectDiagnosticsARPEntry.Builder
Returns
Type Description
InterconnectDiagnostics.Builder

setBundleAggregationType(String value)

public InterconnectDiagnostics.Builder setBundleAggregationType(String value)

The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values.

optional string bundle_aggregation_type = 434939028;

Parameter
Name Description
value String

The bundleAggregationType to set.

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

setBundleAggregationTypeBytes(ByteString value)

public InterconnectDiagnostics.Builder setBundleAggregationTypeBytes(ByteString value)

The aggregation type of the bundle interface. Check the BundleAggregationType enum for the list of possible values.

optional string bundle_aggregation_type = 434939028;

Parameter
Name Description
value ByteString

The bytes for bundleAggregationType to set.

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

setBundleOperationalStatus(String value)

public InterconnectDiagnostics.Builder setBundleOperationalStatus(String value)

The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values.

optional string bundle_operational_status = 106433500;

Parameter
Name Description
value String

The bundleOperationalStatus to set.

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

setBundleOperationalStatusBytes(ByteString value)

public InterconnectDiagnostics.Builder setBundleOperationalStatusBytes(ByteString value)

The operational status of the bundle interface. Check the BundleOperationalStatus enum for the list of possible values.

optional string bundle_operational_status = 106433500;

Parameter
Name Description
value ByteString

The bytes for bundleOperationalStatus to set.

Returns
Type Description
InterconnectDiagnostics.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value InterconnectDiagnosticsLinkStatus
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectDiagnosticsLinkStatus.Builder
Returns
Type Description
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
Name Description
value String

The macAddress to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for macAddress to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectDiagnostics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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