Class DiagnoseNetworkResponse.NetworkStatus (0.7.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
TypeDescription
int

SUBNET_STATUS_FIELD_NUMBER

public static final int SUBNET_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiagnoseNetworkResponse.NetworkStatus getDefaultInstance()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DiagnoseNetworkResponse.NetworkStatus.Builder newBuilder()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

newBuilder(DiagnoseNetworkResponse.NetworkStatus prototype)

public static DiagnoseNetworkResponse.NetworkStatus.Builder newBuilder(DiagnoseNetworkResponse.NetworkStatus prototype)
Parameter
NameDescription
prototypeDiagnoseNetworkResponse.NetworkStatus
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

parseDelimitedFrom(InputStream input)

public static DiagnoseNetworkResponse.NetworkStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiagnoseNetworkResponse.NetworkStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DiagnoseNetworkResponse.NetworkStatus.Builder newBuilderForType()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiagnoseNetworkResponse.NetworkStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DiagnoseNetworkResponse.NetworkStatus.Builder toBuilder()
Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException