Class DiagnoseNetworkResponse.NetworkStatus.Builder (0.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.SubnetStatus>
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiagnoseNetworkResponse.NetworkStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSubnetStatus
Returns
TypeDescription
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
NameDescription
builderForValueSubnetStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSubnetStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubnetStatus.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SubnetStatus.Builder

build()

public DiagnoseNetworkResponse.NetworkStatus build()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus

buildPartial()

public DiagnoseNetworkResponse.NetworkStatus buildPartial()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus

clear()

public DiagnoseNetworkResponse.NetworkStatus.Builder clear()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DiagnoseNetworkResponse.NetworkStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

clone()

public DiagnoseNetworkResponse.NetworkStatus.Builder clone()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides

getDefaultInstanceForType()

public DiagnoseNetworkResponse.NetworkStatus getDefaultInstanceForType()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiagnoseNetworkResponse.NetworkStatus other)

public DiagnoseNetworkResponse.NetworkStatus.Builder mergeFrom(DiagnoseNetworkResponse.NetworkStatus other)
Parameter
NameDescription
otherDiagnoseNetworkResponse.NetworkStatus
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DiagnoseNetworkResponse.NetworkStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDiagnoseNetworkResponse.NetworkStatus.MacsecStatus

The macsecStatusInternalLinks to set.

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

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSubnetStatus
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubnetStatus.Builder
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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