Class ReachabilityDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReachabilityDetails.Builder>
com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Builder
All Implemented Interfaces:
ReachabilityDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReachabilityDetails

public static final class ReachabilityDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReachabilityDetails.Builder> implements ReachabilityDetailsOrBuilder
 Results of the configuration analysis from the last run of the test.
 
Protobuf type google.cloud.networkmanagement.v1beta1.ReachabilityDetails
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    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.
    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.
    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.
    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.
    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.
     
     
     
    The details of a failure or a cancellation of reachability analysis.
    The overall result of the test's configuration analysis.
    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.
    The time of the configuration analysis.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The details of a failure or a cancellation of reachability analysis.
    The details of a failure or a cancellation of reachability analysis.
    The details of a failure or a cancellation of reachability analysis.
    The overall result of the test's configuration analysis.
    int
    The overall result of the test's configuration analysis.
    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.
    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.
    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.
    int
    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.
    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.
    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.
    List<? extends TraceOrBuilder>
    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.
    com.google.protobuf.Timestamp
    The time of the configuration analysis.
    com.google.protobuf.Timestamp.Builder
    The time of the configuration analysis.
    com.google.protobuf.TimestampOrBuilder
    The time of the configuration analysis.
    boolean
    The details of a failure or a cancellation of reachability analysis.
    boolean
    The time of the configuration analysis.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    The details of a failure or a cancellation of reachability analysis.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeVerifyTime(com.google.protobuf.Timestamp value)
    The time of the configuration analysis.
    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.
    The details of a failure or a cancellation of reachability analysis.
    setError(Status.Builder builderForValue)
    The details of a failure or a cancellation of reachability analysis.
    The overall result of the test's configuration analysis.
    setResultValue(int value)
    The overall result of the test's configuration analysis.
    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.
    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.
    setVerifyTime(com.google.protobuf.Timestamp value)
    The time of the configuration analysis.
    setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue)
    The time of the configuration analysis.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReachabilityDetails.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReachabilityDetails.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReachabilityDetails.Builder>
    • getDefaultInstanceForType

      public ReachabilityDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReachabilityDetails build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReachabilityDetails buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReachabilityDetails.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReachabilityDetails.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReachabilityDetails.Builder>
    • mergeFrom

      public ReachabilityDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReachabilityDetails.Builder>
      Throws:
      IOException
    • getResultValue

      public int getResultValue()
       The overall result of the test's configuration analysis.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1;
      Specified by:
      getResultValue in interface ReachabilityDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for result.
    • setResultValue

      public ReachabilityDetails.Builder setResultValue(int value)
       The overall result of the test's configuration analysis.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1;
      Parameters:
      value - The enum numeric value on the wire for result to set.
      Returns:
      This builder for chaining.
    • getResult

      public ReachabilityDetails.Result getResult()
       The overall result of the test's configuration analysis.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1;
      Specified by:
      getResult in interface ReachabilityDetailsOrBuilder
      Returns:
      The result.
    • setResult

       The overall result of the test's configuration analysis.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1;
      Parameters:
      value - The result to set.
      Returns:
      This builder for chaining.
    • clearResult

      public ReachabilityDetails.Builder clearResult()
       The overall result of the test's configuration analysis.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result result = 1;
      Returns:
      This builder for chaining.
    • hasVerifyTime

      public boolean hasVerifyTime()
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
      Specified by:
      hasVerifyTime in interface ReachabilityDetailsOrBuilder
      Returns:
      Whether the verifyTime field is set.
    • getVerifyTime

      public com.google.protobuf.Timestamp getVerifyTime()
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
      Specified by:
      getVerifyTime in interface ReachabilityDetailsOrBuilder
      Returns:
      The verifyTime.
    • setVerifyTime

      public ReachabilityDetails.Builder setVerifyTime(com.google.protobuf.Timestamp value)
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
    • setVerifyTime

      public ReachabilityDetails.Builder setVerifyTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
    • mergeVerifyTime

      public ReachabilityDetails.Builder mergeVerifyTime(com.google.protobuf.Timestamp value)
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
    • clearVerifyTime

      public ReachabilityDetails.Builder clearVerifyTime()
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
    • getVerifyTimeBuilder

      public com.google.protobuf.Timestamp.Builder getVerifyTimeBuilder()
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
    • getVerifyTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getVerifyTimeOrBuilder()
       The time of the configuration analysis.
       
      .google.protobuf.Timestamp verify_time = 2;
      Specified by:
      getVerifyTimeOrBuilder in interface ReachabilityDetailsOrBuilder
    • hasError

      public boolean hasError()
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
      Specified by:
      hasError in interface ReachabilityDetailsOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
      Specified by:
      getError in interface ReachabilityDetailsOrBuilder
      Returns:
      The error.
    • setError

      public ReachabilityDetails.Builder setError(Status value)
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
    • setError

      public ReachabilityDetails.Builder setError(Status.Builder builderForValue)
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
    • mergeError

      public ReachabilityDetails.Builder mergeError(Status value)
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
    • clearError

      public ReachabilityDetails.Builder clearError()
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
       The details of a failure or a cancellation of reachability analysis.
       
      .google.rpc.Status error = 3;
      Specified by:
      getErrorOrBuilder in interface ReachabilityDetailsOrBuilder
    • 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;
      Specified by:
      getTracesList in interface ReachabilityDetailsOrBuilder
    • 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;
      Specified by:
      getTracesCount in interface ReachabilityDetailsOrBuilder
    • getTraces

      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;
      Specified by:
      getTraces in interface ReachabilityDetailsOrBuilder
    • setTraces

      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;
    • setTraces

      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;
    • addTraces

      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;
    • addTraces

      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;
    • addTraces

      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;
    • addTraces

      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;
    • addAllTraces

      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;
    • 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;
    • removeTraces

      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;
    • getTracesBuilder

      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;
    • getTracesOrBuilder

      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;
      Specified by:
      getTracesOrBuilder in interface ReachabilityDetailsOrBuilder
    • 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;
      Specified by:
      getTracesOrBuilderList in interface ReachabilityDetailsOrBuilder
    • 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;
    • addTracesBuilder

      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;
    • 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;