Class ReachabilityDetails.Builder (1.43.0)

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

Static Methods

getDescriptor()

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

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.v1beta1.Trace traces = 5;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkmanagement.v1beta1.Trace>
Returns
Type Description
ReachabilityDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReachabilityDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameter
Name Description
value Trace
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameter
Name Description
builderForValue Trace.Builder
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameters
Name Description
index int
value Trace
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameters
Name Description
index int
builderForValue Trace.Builder
Returns
Type Description
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.v1beta1.Trace traces = 5;

Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameter
Name Description
index int
Returns
Type Description
Trace.Builder

build()

public ReachabilityDetails build()
Returns
Type Description
ReachabilityDetails

buildPartial()

public ReachabilityDetails buildPartial()
Returns
Type Description
ReachabilityDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ReachabilityDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReachabilityDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReachabilityDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReachabilityDetails.Builder
Overrides

clearResult()

public ReachabilityDetails.Builder clearResult()

The overall result of the test's configuration analysis.

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

Returns
Type Description
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.v1beta1.Trace traces = 5;

Returns
Type Description
ReachabilityDetails.Builder

clearVerifyTime()

public ReachabilityDetails.Builder clearVerifyTime()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
ReachabilityDetails.Builder

clone()

public ReachabilityDetails.Builder clone()
Returns
Type Description
ReachabilityDetails.Builder
Overrides

getDefaultInstanceForType()

public ReachabilityDetails getDefaultInstanceForType()
Returns
Type Description
ReachabilityDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getErrorBuilder()

public Status.Builder getErrorBuilder()

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

.google.rpc.Status error = 3;

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

getResult()

public ReachabilityDetails.Result getResult()

The overall result of the test's configuration analysis.

.google.cloud.networkmanagement.v1beta1.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.v1beta1.ReachabilityDetails.Result result = 1;

Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameter
Name Description
index int
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameter
Name Description
index int
Returns
Type Description
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.v1beta1.Trace traces = 5;

Returns
Type Description
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Trace traces = 5;

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

getVerifyTime()

public Timestamp getVerifyTime()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
Timestamp

The verifyTime.

getVerifyTimeBuilder()

public Timestamp.Builder getVerifyTimeBuilder()

The time of the configuration analysis.

.google.protobuf.Timestamp verify_time = 2;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
ReachabilityDetails.Builder

mergeFrom(ReachabilityDetails other)

public ReachabilityDetails.Builder mergeFrom(ReachabilityDetails other)
Parameter
Name Description
other ReachabilityDetails
Returns
Type Description
ReachabilityDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReachabilityDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReachabilityDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReachabilityDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReachabilityDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReachabilityDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ReachabilityDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReachabilityDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReachabilityDetails.Builder
Overrides

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

public ReachabilityDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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.v1beta1.ReachabilityDetails.Result result = 1;

Parameter
Name Description
value ReachabilityDetails.Result

The result to set.

Returns
Type Description
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.v1beta1.ReachabilityDetails.Result result = 1;

Parameter
Name Description
value int

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

Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameters
Name Description
index int
value Trace
Returns
Type Description
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.v1beta1.Trace traces = 5;

Parameters
Name Description
index int
builderForValue Trace.Builder
Returns
Type Description
ReachabilityDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReachabilityDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
ReachabilityDetails.Builder