Class ListConnectivityTestsResponse.Builder

    • 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<ListConnectivityTestsResponse.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<ListConnectivityTestsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public ListConnectivityTestsResponse.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<ListConnectivityTestsResponse.Builder>
        Throws:
        IOException
      • clearResources

        public ListConnectivityTestsResponse.Builder clearResources()
         List of Connectivity Tests.
         
        repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
      • removeResources

        public ListConnectivityTestsResponse.Builder removeResources​(int index)
         List of Connectivity Tests.
         
        repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
      • getResourcesBuilder

        public ConnectivityTest.Builder getResourcesBuilder​(int index)
         List of Connectivity Tests.
         
        repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
      • addResourcesBuilder

        public ConnectivityTest.Builder addResourcesBuilder()
         List of Connectivity Tests.
         
        repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
      • addResourcesBuilder

        public ConnectivityTest.Builder addResourcesBuilder​(int index)
         List of Connectivity Tests.
         
        repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
      • getResourcesBuilderList

        public List<ConnectivityTest.Builder> getResourcesBuilderList()
         List of Connectivity Tests.
         
        repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Page token to fetch the next set of Connectivity Tests.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListConnectivityTestsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListConnectivityTestsResponse.Builder setNextPageToken​(String value)
         Page token to fetch the next set of Connectivity Tests.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListConnectivityTestsResponse.Builder clearNextPageToken()
         Page token to fetch the next set of Connectivity Tests.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListConnectivityTestsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Page token to fetch the next set of Connectivity Tests.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getUnreachableList

        public com.google.protobuf.ProtocolStringList getUnreachableList()
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableList in interface ListConnectivityTestsResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachableCount

        public int getUnreachableCount()
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableCount in interface ListConnectivityTestsResponseOrBuilder
        Returns:
        The count of unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListConnectivityTestsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unreachable at the given index.
      • getUnreachableBytes

        public com.google.protobuf.ByteString getUnreachableBytes​(int index)
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableBytes in interface ListConnectivityTestsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListConnectivityTestsResponse.Builder setUnreachable​(int index,
                                                                    String value)
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Parameters:
        index - The index to set the value at.
        value - The unreachable to set.
        Returns:
        This builder for chaining.
      • addUnreachable

        public ListConnectivityTestsResponse.Builder addUnreachable​(String value)
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListConnectivityTestsResponse.Builder addAllUnreachable​(Iterable<String> values)
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListConnectivityTestsResponse.Builder clearUnreachable()
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListConnectivityTestsResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Locations that could not be reached (when querying all locations with `-`).
         
        repeated string unreachable = 3;
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.