Class ReachabilityDetails (1.47.0)

public final class ReachabilityDetails extends GeneratedMessageV3 implements ReachabilityDetailsOrBuilder

Results of the configuration analysis from the last run of the test.

Protobuf type google.cloud.networkmanagement.v1.ReachabilityDetails

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

TRACES_FIELD_NUMBER

public static final int TRACES_FIELD_NUMBER
Field Value
Type Description
int

VERIFY_TIME_FIELD_NUMBER

public static final int VERIFY_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReachabilityDetails getDefaultInstance()
Returns
Type Description
ReachabilityDetails

getDescriptor()

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

newBuilder()

public static ReachabilityDetails.Builder newBuilder()
Returns
Type Description
ReachabilityDetails.Builder

newBuilder(ReachabilityDetails prototype)

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

parseDelimitedFrom(InputStream input)

public static ReachabilityDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReachabilityDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReachabilityDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReachabilityDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ReachabilityDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReachabilityDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ReachabilityDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReachabilityDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ReachabilityDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReachabilityDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ReachabilityDetails> parser()
Returns
Type Description
Parser<ReachabilityDetails>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReachabilityDetails getDefaultInstanceForType()
Returns
Type Description
ReachabilityDetails

getError()

public Status getError()

The details of a failure or a cancellation of reachability analysis.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The details of a failure or a cancellation of reachability analysis.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getParserForType()

public Parser<ReachabilityDetails> getParserForType()
Returns
Type Description
Parser<ReachabilityDetails>
Overrides

getResult()

public ReachabilityDetails.Result getResult()

The overall result of the test's configuration analysis.

.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1;

Returns
Type Description
ReachabilityDetails.Result

The result.

getResultValue()

public int getResultValue()

The overall result of the test's configuration analysis.

.google.cloud.networkmanagement.v1.ReachabilityDetails.Result result = 1;

Returns
Type Description
int

The enum numeric value on the wire for result.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTraces(int index)

public Trace getTraces(int index)

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

repeated .google.cloud.networkmanagement.v1.Trace traces = 5;

Parameter
Name Description
index int
Returns
Type Description
Trace

getTracesCount()

public int getTracesCount()

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

repeated .google.cloud.networkmanagement.v1.Trace traces = 5;

Returns
Type Description
int

getTracesList()

public List<Trace> getTracesList()

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

repeated .google.cloud.networkmanagement.v1.Trace traces = 5;

Returns
Type Description
List<Trace>

getTracesOrBuilder(int index)

public TraceOrBuilder getTracesOrBuilder(int index)

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

repeated .google.cloud.networkmanagement.v1.Trace traces = 5;

Parameter
Name Description
index int
Returns
Type Description
TraceOrBuilder

getTracesOrBuilderList()

public List<? extends TraceOrBuilder> getTracesOrBuilderList()

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

repeated .google.cloud.networkmanagement.v1.Trace traces = 5;

Returns
Type Description
List<? extends com.google.cloud.networkmanagement.v1.TraceOrBuilder>

getVerifyTime()

public Timestamp getVerifyTime()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
Timestamp

The verifyTime.

getVerifyTimeOrBuilder()

public TimestampOrBuilder getVerifyTimeOrBuilder()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
TimestampOrBuilder

hasError()

public boolean hasError()

The details of a failure or a cancellation of reachability analysis.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.

hasVerifyTime()

public boolean hasVerifyTime()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
boolean

Whether the verifyTime field is set.

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 ReachabilityDetails.Builder newBuilderForType()
Returns
Type Description
ReachabilityDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReachabilityDetails.Builder toBuilder()
Returns
Type Description
ReachabilityDetails.Builder

writeTo(CodedOutputStream output)

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