Class DiagnoseNetworkResponse.NetworkStatus.Builder (0.10.0)

public static final class DiagnoseNetworkResponse.NetworkStatus.Builder extends GeneratedMessageV3.Builder<DiagnoseNetworkResponse.NetworkStatus.Builder> implements DiagnoseNetworkResponse.NetworkStatusOrBuilder

NetworkStatus has a list of status for the subnets under the current network.

Protobuf type google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus

Static Methods

getDescriptor()

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

Methods

addAllSubnetStatus(Iterable<? extends SubnetStatus> values)

public DiagnoseNetworkResponse.NetworkStatus.Builder addAllSubnetStatus(Iterable<? extends SubnetStatus> values)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSubnetStatus(SubnetStatus value)

public DiagnoseNetworkResponse.NetworkStatus.Builder addSubnetStatus(SubnetStatus value)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
value SubnetStatus
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

addSubnetStatus(SubnetStatus.Builder builderForValue)

public DiagnoseNetworkResponse.NetworkStatus.Builder addSubnetStatus(SubnetStatus.Builder builderForValue)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
builderForValue SubnetStatus.Builder
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

addSubnetStatus(int index, SubnetStatus value)

public DiagnoseNetworkResponse.NetworkStatus.Builder addSubnetStatus(int index, SubnetStatus value)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameters
Name Description
index int
value SubnetStatus
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

addSubnetStatus(int index, SubnetStatus.Builder builderForValue)

public DiagnoseNetworkResponse.NetworkStatus.Builder addSubnetStatus(int index, SubnetStatus.Builder builderForValue)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameters
Name Description
index int
builderForValue SubnetStatus.Builder
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

addSubnetStatusBuilder()

public SubnetStatus.Builder addSubnetStatusBuilder()

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Returns
Type Description
SubnetStatus.Builder

addSubnetStatusBuilder(int index)

public SubnetStatus.Builder addSubnetStatusBuilder(int index)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
index int
Returns
Type Description
SubnetStatus.Builder

build()

public DiagnoseNetworkResponse.NetworkStatus build()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus

buildPartial()

public DiagnoseNetworkResponse.NetworkStatus buildPartial()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus

clear()

public DiagnoseNetworkResponse.NetworkStatus.Builder clear()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiagnoseNetworkResponse.NetworkStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides
public DiagnoseNetworkResponse.NetworkStatus.Builder clearMacsecStatusInternalLinks()

The MACsec status of internal links.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2;

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubnetStatus()

public DiagnoseNetworkResponse.NetworkStatus.Builder clearSubnetStatus()

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

clone()

public DiagnoseNetworkResponse.NetworkStatus.Builder clone()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides

getDefaultInstanceForType()

public DiagnoseNetworkResponse.NetworkStatus getDefaultInstanceForType()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public DiagnoseNetworkResponse.NetworkStatus.MacsecStatus getMacsecStatusInternalLinks()

The MACsec status of internal links.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2;

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.MacsecStatus

The macsecStatusInternalLinks.

getMacsecStatusInternalLinksValue()

public int getMacsecStatusInternalLinksValue()

The MACsec status of internal links.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2;

Returns
Type Description
int

The enum numeric value on the wire for macsecStatusInternalLinks.

getSubnetStatus(int index)

public SubnetStatus getSubnetStatus(int index)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
index int
Returns
Type Description
SubnetStatus

getSubnetStatusBuilder(int index)

public SubnetStatus.Builder getSubnetStatusBuilder(int index)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
index int
Returns
Type Description
SubnetStatus.Builder

getSubnetStatusBuilderList()

public List<SubnetStatus.Builder> getSubnetStatusBuilderList()

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Returns
Type Description
List<Builder>

getSubnetStatusCount()

public int getSubnetStatusCount()

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Returns
Type Description
int

getSubnetStatusList()

public List<SubnetStatus> getSubnetStatusList()

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Returns
Type Description
List<SubnetStatus>

getSubnetStatusOrBuilder(int index)

public SubnetStatusOrBuilder getSubnetStatusOrBuilder(int index)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
index int
Returns
Type Description
SubnetStatusOrBuilder

getSubnetStatusOrBuilderList()

public List<? extends SubnetStatusOrBuilder> getSubnetStatusOrBuilderList()

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiagnoseNetworkResponse.NetworkStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSubnetStatus(int index)

public DiagnoseNetworkResponse.NetworkStatus.Builder removeSubnetStatus(int index)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameter
Name Description
index int
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiagnoseNetworkResponse.NetworkStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides
public DiagnoseNetworkResponse.NetworkStatus.Builder setMacsecStatusInternalLinks(DiagnoseNetworkResponse.NetworkStatus.MacsecStatus value)

The MACsec status of internal links.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2;

Parameter
Name Description
value DiagnoseNetworkResponse.NetworkStatus.MacsecStatus

The macsecStatusInternalLinks to set.

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

This builder for chaining.

setMacsecStatusInternalLinksValue(int value)

public DiagnoseNetworkResponse.NetworkStatus.Builder setMacsecStatusInternalLinksValue(int value)

The MACsec status of internal links.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for macsecStatusInternalLinks to set.

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

This builder for chaining.

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

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

setSubnetStatus(int index, SubnetStatus value)

public DiagnoseNetworkResponse.NetworkStatus.Builder setSubnetStatus(int index, SubnetStatus value)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameters
Name Description
index int
value SubnetStatus
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

setSubnetStatus(int index, SubnetStatus.Builder builderForValue)

public DiagnoseNetworkResponse.NetworkStatus.Builder setSubnetStatus(int index, SubnetStatus.Builder builderForValue)

A list of status for the subnets under the current network.

repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1;

Parameters
Name Description
index int
builderForValue SubnetStatus.Builder
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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