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

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

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

        public ListConnectivityTestsRequest 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<ListConnectivityTestsRequest.Builder>
      • mergeFrom

        public ListConnectivityTestsRequest.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<ListConnectivityTestsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParent in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParentBytes in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListConnectivityTestsRequest.Builder setParent​(String value)
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListConnectivityTestsRequest.Builder clearParent()
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListConnectivityTestsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • setPageSize

        public ListConnectivityTestsRequest.Builder setPageSize​(int value)
         Number of `ConnectivityTests` to return.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Page token from an earlier query, as returned in `next_page_token`.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListConnectivityTestsRequest.Builder setPageToken​(String value)
         Page token from an earlier query, as returned in `next_page_token`.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListConnectivityTestsRequest.Builder clearPageToken()
         Page token from an earlier query, as returned in `next_page_token`.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListConnectivityTestsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Page token from an earlier query, as returned in `next_page_token`.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Specified by:
        getFilter in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListConnectivityTestsRequest.Builder setFilter​(String value)
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListConnectivityTestsRequest.Builder clearFilter()
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListConnectivityTestsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setOrderBy

        public ListConnectivityTestsRequest.Builder setOrderBy​(String value)
         Field to use to sort the list.
         
        string order_by = 5;
        Parameters:
        value - The orderBy to set.
        Returns:
        This builder for chaining.
      • setOrderByBytes

        public ListConnectivityTestsRequest.Builder setOrderByBytes​(com.google.protobuf.ByteString value)
         Field to use to sort the list.
         
        string order_by = 5;
        Parameters:
        value - The bytes for orderBy to set.
        Returns:
        This builder for chaining.