Class DiagnoseNetworkResponse.NetworkStatus (0.20.0)

public static final class DiagnoseNetworkResponse.NetworkStatus extends GeneratedMessageV3 implements DiagnoseNetworkResponse.NetworkStatusOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiagnoseNetworkResponse.NetworkStatus

Static Fields

public static final int MACSEC_STATUS_INTERNAL_LINKS_FIELD_NUMBER
Field Value
Type Description
int

SUBNET_STATUS_FIELD_NUMBER

public static final int SUBNET_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiagnoseNetworkResponse.NetworkStatus getDefaultInstance()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus

getDescriptor()

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

newBuilder()

public static DiagnoseNetworkResponse.NetworkStatus.Builder newBuilder()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

newBuilder(DiagnoseNetworkResponse.NetworkStatus prototype)

public static DiagnoseNetworkResponse.NetworkStatus.Builder newBuilder(DiagnoseNetworkResponse.NetworkStatus prototype)
Parameter
Name Description
prototype DiagnoseNetworkResponse.NetworkStatus
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

parseDelimitedFrom(InputStream input)

public static DiagnoseNetworkResponse.NetworkStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DiagnoseNetworkResponse.NetworkStatus> parser()
Returns
Type Description
Parser<NetworkStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DiagnoseNetworkResponse.NetworkStatus getDefaultInstanceForType()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus
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.

getParserForType()

public Parser<DiagnoseNetworkResponse.NetworkStatus> getParserForType()
Returns
Type Description
Parser<NetworkStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiagnoseNetworkResponse.NetworkStatus.Builder newBuilderForType()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiagnoseNetworkResponse.NetworkStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DiagnoseNetworkResponse.NetworkStatus.Builder toBuilder()
Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException