Class ReachabilityDetails.Builder

public static final class ReachabilityDetails.Builder extends GeneratedMessageV3.Builder<ReachabilityDetails.Builder> implements ReachabilityDetailsOrBuilder

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

Protobuf type google.cloud.networkmanagement.v1.ReachabilityDetails

Methods

addAllTraces(Iterable<? extends Trace> values)

public ReachabilityDetails.Builder addAllTraces(Iterable<? extends Trace> values)

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
valuesIterable<? extends com.google.cloud.networkmanagement.v1.Trace>
Returns
TypeDescription
ReachabilityDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReachabilityDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

addTraces(Trace value)

public ReachabilityDetails.Builder addTraces(Trace value)

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
valueTrace
Returns
TypeDescription
ReachabilityDetails.Builder

addTraces(Trace.Builder builderForValue)

public ReachabilityDetails.Builder addTraces(Trace.Builder builderForValue)

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
builderForValueTrace.Builder
Returns
TypeDescription
ReachabilityDetails.Builder

addTraces(int index, Trace value)

public ReachabilityDetails.Builder addTraces(int index, Trace value)

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;

Parameters
NameDescription
indexint
valueTrace
Returns
TypeDescription
ReachabilityDetails.Builder

addTraces(int index, Trace.Builder builderForValue)

public ReachabilityDetails.Builder addTraces(int index, Trace.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueTrace.Builder
Returns
TypeDescription
ReachabilityDetails.Builder

addTracesBuilder()

public Trace.Builder addTracesBuilder()

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
Trace.Builder

addTracesBuilder(int index)

public Trace.Builder addTracesBuilder(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.Builder

build()

public ReachabilityDetails build()
Returns
TypeDescription
ReachabilityDetails

buildPartial()

public ReachabilityDetails buildPartial()
Returns
TypeDescription
ReachabilityDetails

clear()

public ReachabilityDetails.Builder clear()
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

clearError()

public ReachabilityDetails.Builder clearError()

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

.google.rpc.Status error = 3;

Returns
TypeDescription
ReachabilityDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public ReachabilityDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReachabilityDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

clearResult()

public ReachabilityDetails.Builder clearResult()

The overall result of the test's configuration analysis.

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

Returns
TypeDescription
ReachabilityDetails.Builder

This builder for chaining.

clearTraces()

public ReachabilityDetails.Builder clearTraces()

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
ReachabilityDetails.Builder

clearVerifyTime()

public ReachabilityDetails.Builder clearVerifyTime()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
ReachabilityDetails.Builder

clone()

public ReachabilityDetails.Builder clone()
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

getDefaultInstanceForType()

public ReachabilityDetails getDefaultInstanceForType()
Returns
TypeDescription
ReachabilityDetails

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getErrorBuilder()

public Status.Builder getErrorBuilder()

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

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.Status.Builder

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

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.

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

getTracesBuilder(int index)

public Trace.Builder getTracesBuilder(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.Builder

getTracesBuilderList()

public List<Trace.Builder> getTracesBuilderList()

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<Builder>

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.

getVerifyTimeBuilder()

public Timestamp.Builder getVerifyTimeBuilder()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeError(Status value)

public ReachabilityDetails.Builder mergeError(Status value)

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

.google.rpc.Status error = 3;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ReachabilityDetails.Builder

mergeFrom(ReachabilityDetails other)

public ReachabilityDetails.Builder mergeFrom(ReachabilityDetails other)
Parameter
NameDescription
otherReachabilityDetails
Returns
TypeDescription
ReachabilityDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReachabilityDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

mergeVerifyTime(Timestamp value)

public ReachabilityDetails.Builder mergeVerifyTime(Timestamp value)

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ReachabilityDetails.Builder

removeTraces(int index)

public ReachabilityDetails.Builder removeTraces(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
ReachabilityDetails.Builder

setError(Status value)

public ReachabilityDetails.Builder setError(Status value)

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

.google.rpc.Status error = 3;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ReachabilityDetails.Builder

setError(Status.Builder builderForValue)

public ReachabilityDetails.Builder setError(Status.Builder builderForValue)

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

.google.rpc.Status error = 3;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ReachabilityDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReachabilityDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReachabilityDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReachabilityDetails.Builder
Overrides

setResult(ReachabilityDetails.Result value)

public ReachabilityDetails.Builder setResult(ReachabilityDetails.Result value)

The overall result of the test's configuration analysis.

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

Parameter
NameDescription
valueReachabilityDetails.Result

The result to set.

Returns
TypeDescription
ReachabilityDetails.Builder

This builder for chaining.

setResultValue(int value)

public ReachabilityDetails.Builder setResultValue(int value)

The overall result of the test's configuration analysis.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ReachabilityDetails.Builder

This builder for chaining.

setTraces(int index, Trace value)

public ReachabilityDetails.Builder setTraces(int index, Trace value)

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;

Parameters
NameDescription
indexint
valueTrace
Returns
TypeDescription
ReachabilityDetails.Builder

setTraces(int index, Trace.Builder builderForValue)

public ReachabilityDetails.Builder setTraces(int index, Trace.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueTrace.Builder
Returns
TypeDescription
ReachabilityDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVerifyTime(Timestamp value)

public ReachabilityDetails.Builder setVerifyTime(Timestamp value)

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ReachabilityDetails.Builder

setVerifyTime(Timestamp.Builder builderForValue)

public ReachabilityDetails.Builder setVerifyTime(Timestamp.Builder builderForValue)

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReachabilityDetails.Builder