Class SubnetStatus.Builder (0.22.0)

public static final class SubnetStatus.Builder extends GeneratedMessageV3.Builder<SubnetStatus.Builder> implements SubnetStatusOrBuilder

SubnetStatus contains detailed and current technical information about this subnet resource.

Protobuf type google.cloud.edgenetwork.v1.SubnetStatus

Static Methods

getDescriptor()

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

Methods

addAllLinkLayerAddresses(Iterable<? extends LinkLayerAddress> values)

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

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

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

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

addLinkLayerAddresses(LinkLayerAddress value)

public SubnetStatus.Builder addLinkLayerAddresses(LinkLayerAddress value)

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

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

Parameter
Name Description
value LinkLayerAddress
Returns
Type Description
SubnetStatus.Builder

addLinkLayerAddresses(LinkLayerAddress.Builder builderForValue)

public SubnetStatus.Builder addLinkLayerAddresses(LinkLayerAddress.Builder builderForValue)

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

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

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

addLinkLayerAddresses(int index, LinkLayerAddress value)

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

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

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

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

addLinkLayerAddresses(int index, LinkLayerAddress.Builder builderForValue)

public SubnetStatus.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 subnet.

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

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

addLinkLayerAddressesBuilder()

public LinkLayerAddress.Builder addLinkLayerAddressesBuilder()

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

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

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 subnet.

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

Parameter
Name Description
index int
Returns
Type Description
LinkLayerAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubnetStatus build()
Returns
Type Description
SubnetStatus

buildPartial()

public SubnetStatus buildPartial()
Returns
Type Description
SubnetStatus

clear()

public SubnetStatus.Builder clear()
Returns
Type Description
SubnetStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLinkLayerAddresses()

public SubnetStatus.Builder clearLinkLayerAddresses()

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

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

Returns
Type Description
SubnetStatus.Builder

clearMacAddress()

public SubnetStatus.Builder clearMacAddress()

BVI MAC address.

string mac_address = 2;

Returns
Type Description
SubnetStatus.Builder

This builder for chaining.

clearName()

public SubnetStatus.Builder clearName()

The name of CCFE subnet resource.

string name = 1;

Returns
Type Description
SubnetStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SubnetStatus.Builder clone()
Returns
Type Description
SubnetStatus.Builder
Overrides

getDefaultInstanceForType()

public SubnetStatus getDefaultInstanceForType()
Returns
Type Description
SubnetStatus

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 subnet.

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

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 subnet.

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

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 subnet.

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

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 subnet.

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

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 subnet.

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

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 subnet.

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

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 subnet.

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

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

getMacAddress()

public String getMacAddress()

BVI MAC address.

string mac_address = 2;

Returns
Type Description
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

BVI MAC address.

string mac_address = 2;

Returns
Type Description
ByteString

The bytes for macAddress.

getName()

public String getName()

The name of CCFE subnet resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of CCFE subnet resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubnetStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubnetStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubnetStatus.Builder
Overrides

removeLinkLayerAddresses(int index)

public SubnetStatus.Builder removeLinkLayerAddresses(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
SubnetStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLinkLayerAddresses(int index, LinkLayerAddress value)

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

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

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

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

setLinkLayerAddresses(int index, LinkLayerAddress.Builder builderForValue)

public SubnetStatus.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 subnet.

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

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

setMacAddress(String value)

public SubnetStatus.Builder setMacAddress(String value)

BVI MAC address.

string mac_address = 2;

Parameter
Name Description
value String

The macAddress to set.

Returns
Type Description
SubnetStatus.Builder

This builder for chaining.

setMacAddressBytes(ByteString value)

public SubnetStatus.Builder setMacAddressBytes(ByteString value)

BVI MAC address.

string mac_address = 2;

Parameter
Name Description
value ByteString

The bytes for macAddress to set.

Returns
Type Description
SubnetStatus.Builder

This builder for chaining.

setName(String value)

public SubnetStatus.Builder setName(String value)

The name of CCFE subnet resource.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SubnetStatus.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SubnetStatus.Builder setNameBytes(ByteString value)

The name of CCFE subnet resource.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SubnetStatus.Builder

This builder for chaining.

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

public SubnetStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubnetStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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