public static final class GetServiceListPageRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetServiceListPageRequest |
build() |
GetServiceListPageRequest.Builder |
namespace(String namespace)
The namespace.
|
GetServiceListPageRequest.Builder |
origin(String origin)
The source of the data.
|
GetServiceListPageRequest.Builder |
page(Integer page)
The number of the page to return.
|
GetServiceListPageRequest.Builder |
region(String region)
The ID of the region.
|
GetServiceListPageRequest.Builder |
searchType(String searchType)
The type of the service.
|
GetServiceListPageRequest.Builder |
searchValue(String searchValue)
The keyword used for the search.
|
GetServiceListPageRequest.Builder |
serviceType(String serviceType)
The type of the service.
|
GetServiceListPageRequest.Builder |
side(String side)
Specifies the provider side or the consumer side.
|
GetServiceListPageRequest.Builder |
size(Integer size)
The number of entries to return on each page.
|
public GetServiceListPageRequest.Builder namespace(String namespace)
public GetServiceListPageRequest.Builder origin(String origin)
* `agent`: Use this value if you use the service query feature of the latest version to pass the query result. * `registry`: Use this value if you use the service query feature of the earlier version to pass the query result.
public GetServiceListPageRequest.Builder page(Integer page)
public GetServiceListPageRequest.Builder region(String region)
public GetServiceListPageRequest.Builder searchType(String searchType)
* `app`: searches by application. * `service`: searches by service. * `providerIp`: searches by IP address.
public GetServiceListPageRequest.Builder searchValue(String searchValue)
* Set this parameter to the ID of the application if you set the searchType parameter to app.`` * Set this parameter to the name of the service if you set the serachType parameter to service.`` * Set this parameter to the IP address of the application if you set the searchType parameter to providerIp.
public GetServiceListPageRequest.Builder serviceType(String serviceType)
* `dubbo` * `springCloud` * `hsf` * `istio`
public GetServiceListPageRequest.Builder side(String side)
* provider * consumer
public GetServiceListPageRequest.Builder size(Integer size)
public GetServiceListPageRequest build()
Copyright © 2023. All rights reserved.