Class SubnetStatus.Builder (0.2.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.LinkLayerAddress>
Returns
TypeDescription
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
NameDescription
valueLinkLayerAddress
Returns
TypeDescription
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
NameDescription
builderForValueLinkLayerAddress.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLinkLayerAddress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLinkLayerAddress.Builder
Returns
TypeDescription
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
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 subnet.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LinkLayerAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubnetStatus build()
Returns
TypeDescription
SubnetStatus

buildPartial()

public SubnetStatus buildPartial()
Returns
TypeDescription
SubnetStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMacAddress()

public SubnetStatus.Builder clearMacAddress()

BVI MAC address.

string mac_address = 2;

Returns
TypeDescription
SubnetStatus.Builder

This builder for chaining.

clearName()

public SubnetStatus.Builder clearName()

The name of CCFE subnet resource.

string name = 1;

Returns
TypeDescription
SubnetStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SubnetStatus getDefaultInstanceForType()
Returns
TypeDescription
SubnetStatus

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getMacAddress()

public String getMacAddress()

BVI MAC address.

string mac_address = 2;

Returns
TypeDescription
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

BVI MAC address.

string mac_address = 2;

Returns
TypeDescription
ByteString

The bytes for macAddress.

getName()

public String getName()

The name of CCFE subnet resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of CCFE subnet resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubnetStatus other)

public SubnetStatus.Builder mergeFrom(SubnetStatus other)
Parameter
NameDescription
otherSubnetStatus
Returns
TypeDescription
SubnetStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubnetStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SubnetStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SubnetStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueLinkLayerAddress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLinkLayerAddress.Builder
Returns
TypeDescription
SubnetStatus.Builder

setMacAddress(String value)

public SubnetStatus.Builder setMacAddress(String value)

BVI MAC address.

string mac_address = 2;

Parameter
NameDescription
valueString

The macAddress to set.

Returns
TypeDescription
SubnetStatus.Builder

This builder for chaining.

setMacAddressBytes(ByteString value)

public SubnetStatus.Builder setMacAddressBytes(ByteString value)

BVI MAC address.

string mac_address = 2;

Parameter
NameDescription
valueByteString

The bytes for macAddress to set.

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubnetStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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