Class ReachabilityDetails (1.33.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
TypeDescription
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

TRACES_FIELD_NUMBER

public static final int TRACES_FIELD_NUMBER
Field Value
TypeDescription
int

VERIFY_TIME_FIELD_NUMBER

public static final int VERIFY_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReachabilityDetails getDefaultInstance()
Returns
TypeDescription
ReachabilityDetails

getDescriptor()

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

newBuilder()

public static ReachabilityDetails.Builder newBuilder()
Returns
TypeDescription
ReachabilityDetails.Builder

newBuilder(ReachabilityDetails prototype)

public static ReachabilityDetails.Builder newBuilder(ReachabilityDetails prototype)
Parameter
NameDescription
prototypeReachabilityDetails
Returns
TypeDescription
ReachabilityDetails.Builder

parseDelimitedFrom(InputStream input)

public static ReachabilityDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReachabilityDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReachabilityDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReachabilityDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ReachabilityDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReachabilityDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ReachabilityDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReachabilityDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ReachabilityDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReachabilityDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ReachabilityDetails> parser()
Returns
TypeDescription
Parser<ReachabilityDetails>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReachabilityDetails getDefaultInstanceForType()
Returns
TypeDescription
ReachabilityDetails

getError()

public Status getError()

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

.google.rpc.Status error = 3;

Returns
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getParserForType()

public Parser<ReachabilityDetails> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for result.

getSerializedSize()

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

The verifyTime.

getVerifyTimeOrBuilder()

public TimestampOrBuilder getVerifyTimeOrBuilder()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasError()

public boolean hasError()

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

.google.rpc.Status error = 3;

Returns
TypeDescription
boolean

Whether the error field is set.

hasVerifyTime()

public boolean hasVerifyTime()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
boolean

Whether the verifyTime field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReachabilityDetails.Builder toBuilder()
Returns
TypeDescription
ReachabilityDetails.Builder

writeTo(CodedOutputStream output)

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