Class InterconnectDiagnostics.Builder (0.4.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.LinkLayerAddress>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus>
Returns
TypeDescription
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
NameDescription
valueLinkLayerAddress
Returns
TypeDescription
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
NameDescription
builderForValueLinkLayerAddress.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLinkLayerAddress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLinkLayerAddress.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueInterconnectDiagnostics.LinkStatus
Returns
TypeDescription
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
NameDescription
builderForValueInterconnectDiagnostics.LinkStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectDiagnostics.LinkStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectDiagnostics.LinkStatus.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InterconnectDiagnostics.LinkStatus.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

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectDiagnostics.Builder

clearMacAddress()

public InterconnectDiagnostics.Builder clearMacAddress()

The MAC address of the Interconnect's bundle interface.

string mac_address = 1;

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

getDefaultInstanceForType()

public InterconnectDiagnostics getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnostics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

The MAC address of the Interconnect's bundle interface.

string mac_address = 1;

Returns
TypeDescription
ByteString

The bytes for macAddress.

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

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

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
NameDescription
indexint
valueLinkLayerAddress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLinkLayerAddress.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectDiagnostics.LinkStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectDiagnostics.LinkStatus.Builder
Returns
TypeDescription
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
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.

string mac_address = 1;

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