Class 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.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
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ReachabilityDetails.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>
      • setField

        public ReachabilityDetails.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>
      • clearField

        public ReachabilityDetails.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>
      • clearOneof

        public ReachabilityDetails.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>
      • setRepeatedField

        public ReachabilityDetails.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>
      • addRepeatedField

        public ReachabilityDetails.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setResult

        public ReachabilityDetails.Builder setResult​(ReachabilityDetails.Result value)
         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 com.google.rpc.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​(com.google.rpc.Status value)
         The details of a failure or a cancellation of reachability analysis.
         
        .google.rpc.Status error = 3;
      • setError

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

        public ReachabilityDetails.Builder mergeError​(com.google.rpc.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 com.google.rpc.Status.Builder getErrorBuilder()
         The details of a failure or a cancellation of reachability analysis.
         
        .google.rpc.Status error = 3;
      • getErrorOrBuilder

        public com.google.rpc.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;
      • setUnknownFields

        public final ReachabilityDetails.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>
      • mergeUnknownFields

        public final ReachabilityDetails.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReachabilityDetails.Builder>