Class InterconnectDiagnostics.Builder (0.13.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.edgenetwork.v1.InterconnectDiagnostics

Static Methods

getDescriptor()

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

Methods

addAllLinkLayerAddresses(Iterable<? extends LinkLayerAddress> values)

public InterconnectDiagnostics.Builder addAllLinkLayerAddresses(Iterable<? extends LinkLayerAddress> values)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.v1.LinkLayerAddress>
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addAllLinks(Iterable<? extends InterconnectDiagnostics.LinkStatus> values)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus>
Returns
Type Description
InterconnectDiagnostics.Builder

addLinkLayerAddresses(LinkLayerAddress value)

public InterconnectDiagnostics.Builder addLinkLayerAddresses(LinkLayerAddress value)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
value LinkLayerAddress
Returns
Type Description
InterconnectDiagnostics.Builder

addLinkLayerAddresses(LinkLayerAddress.Builder builderForValue)

public InterconnectDiagnostics.Builder addLinkLayerAddresses(LinkLayerAddress.Builder builderForValue)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
builderForValue LinkLayerAddress.Builder
Returns
Type Description
InterconnectDiagnostics.Builder

addLinkLayerAddresses(int index, LinkLayerAddress value)

public InterconnectDiagnostics.Builder addLinkLayerAddresses(int index, LinkLayerAddress value)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameters
Name Description
index int
value LinkLayerAddress
Returns
Type Description
InterconnectDiagnostics.Builder

addLinkLayerAddresses(int index, LinkLayerAddress.Builder builderForValue)

public InterconnectDiagnostics.Builder addLinkLayerAddresses(int index, LinkLayerAddress.Builder builderForValue)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameters
Name Description
index int
builderForValue LinkLayerAddress.Builder
Returns
Type Description
InterconnectDiagnostics.Builder

addLinkLayerAddressesBuilder()

public LinkLayerAddress.Builder addLinkLayerAddressesBuilder()

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Returns
Type Description
LinkLayerAddress.Builder

addLinkLayerAddressesBuilder(int index)

public LinkLayerAddress.Builder addLinkLayerAddressesBuilder(int index)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
index int
Returns
Type Description
LinkLayerAddress.Builder
public InterconnectDiagnostics.Builder addLinks(InterconnectDiagnostics.LinkStatus value)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
value InterconnectDiagnostics.LinkStatus
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addLinks(InterconnectDiagnostics.LinkStatus.Builder builderForValue)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
builderForValue InterconnectDiagnostics.LinkStatus.Builder
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addLinks(int index, InterconnectDiagnostics.LinkStatus value)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameters
Name Description
index int
value InterconnectDiagnostics.LinkStatus
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder addLinks(int index, InterconnectDiagnostics.LinkStatus.Builder builderForValue)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameters
Name Description
index int
builderForValue InterconnectDiagnostics.LinkStatus.Builder
Returns
Type Description
InterconnectDiagnostics.Builder

addLinksBuilder()

public InterconnectDiagnostics.LinkStatus.Builder addLinksBuilder()

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

addLinksBuilder(int index)

public InterconnectDiagnostics.LinkStatus.Builder addLinksBuilder(int index)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkStatus.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

clearField(Descriptors.FieldDescriptor field)

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

clearLinkLayerAddresses()

public InterconnectDiagnostics.Builder clearLinkLayerAddresses()

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder clearLinks()

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Returns
Type Description
InterconnectDiagnostics.Builder

clearMacAddress()

public InterconnectDiagnostics.Builder clearMacAddress()

The MAC address of the Interconnect's bundle interface.

string mac_address = 1;

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

getDefaultInstanceForType()

public InterconnectDiagnostics getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnostics

getDescriptorForType()

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

getLinkLayerAddresses(int index)

public LinkLayerAddress getLinkLayerAddresses(int index)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
index int
Returns
Type Description
LinkLayerAddress

getLinkLayerAddressesBuilder(int index)

public LinkLayerAddress.Builder getLinkLayerAddressesBuilder(int index)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
index int
Returns
Type Description
LinkLayerAddress.Builder

getLinkLayerAddressesBuilderList()

public List<LinkLayerAddress.Builder> getLinkLayerAddressesBuilderList()

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Returns
Type Description
List<Builder>

getLinkLayerAddressesCount()

public int getLinkLayerAddressesCount()

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Returns
Type Description
int

getLinkLayerAddressesList()

public List<LinkLayerAddress> getLinkLayerAddressesList()

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Returns
Type Description
List<LinkLayerAddress>

getLinkLayerAddressesOrBuilder(int index)

public LinkLayerAddressOrBuilder getLinkLayerAddressesOrBuilder(int index)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
index int
Returns
Type Description
LinkLayerAddressOrBuilder

getLinkLayerAddressesOrBuilderList()

public List<? extends LinkLayerAddressOrBuilder> getLinkLayerAddressesOrBuilderList()

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>
public InterconnectDiagnostics.LinkStatus getLinks(int index)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkStatus

getLinksBuilder(int index)

public InterconnectDiagnostics.LinkStatus.Builder getLinksBuilder(int index)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkStatus.Builder

getLinksBuilderList()

public List<InterconnectDiagnostics.LinkStatus.Builder> getLinksBuilderList()

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Returns
Type Description
List<Builder>

getLinksCount()

public int getLinksCount()

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Returns
Type Description
int
public List<InterconnectDiagnostics.LinkStatus> getLinksList()

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Returns
Type Description
List<LinkStatus>

getLinksOrBuilder(int index)

public InterconnectDiagnostics.LinkStatusOrBuilder getLinksOrBuilder(int index)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.LinkStatusOrBuilder

getLinksOrBuilderList()

public List<? extends InterconnectDiagnostics.LinkStatusOrBuilder> getLinksOrBuilderList()

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder>

getMacAddress()

public String getMacAddress()

The MAC address of the Interconnect's bundle interface.

string mac_address = 1;

Returns
Type Description
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of the Interconnect's bundle interface.

string mac_address = 1;

Returns
Type Description
ByteString

The bytes for macAddress.

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

removeLinkLayerAddresses(int index)

public InterconnectDiagnostics.Builder removeLinkLayerAddresses(int index)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder removeLinks(int index)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameter
Name Description
index int
Returns
Type Description
InterconnectDiagnostics.Builder

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

setLinkLayerAddresses(int index, LinkLayerAddress value)

public InterconnectDiagnostics.Builder setLinkLayerAddresses(int index, LinkLayerAddress value)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameters
Name Description
index int
value LinkLayerAddress
Returns
Type Description
InterconnectDiagnostics.Builder

setLinkLayerAddresses(int index, LinkLayerAddress.Builder builderForValue)

public InterconnectDiagnostics.Builder setLinkLayerAddresses(int index, LinkLayerAddress.Builder builderForValue)

A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect.

repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;

Parameters
Name Description
index int
builderForValue LinkLayerAddress.Builder
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder setLinks(int index, InterconnectDiagnostics.LinkStatus value)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameters
Name Description
index int
value InterconnectDiagnostics.LinkStatus
Returns
Type Description
InterconnectDiagnostics.Builder
public InterconnectDiagnostics.Builder setLinks(int index, InterconnectDiagnostics.LinkStatus.Builder builderForValue)

A list of LinkStatus objects, used to describe the status for each link on the Interconnect.

repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3;

Parameters
Name Description
index int
builderForValue InterconnectDiagnostics.LinkStatus.Builder
Returns
Type Description
InterconnectDiagnostics.Builder

setMacAddress(String value)

public InterconnectDiagnostics.Builder setMacAddress(String value)

The MAC address of the Interconnect's bundle interface.

string mac_address = 1;

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.

string mac_address = 1;

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