你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BingVisualSearchAPI Interface
public interface BingVisualSearchAPI
The interface for BingVisualSearchAPI class.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
acceptLanguage()
Gets Gets or sets the preferred language for the response.. |
abstract
Bing |
bingImages()
Gets the Bing |
abstract boolean |
generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. |
abstract com.microsoft.azure.AzureClient |
getAzureClient()
Gets the AzureClient used for long running operations. |
abstract int |
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. |
abstract com.microsoft.rest.RestClient |
restClient()
Gets the REST client. |
abstract java.lang.String |
userAgent()
Gets the User-Agent header for the client. |
abstract
Bing |
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.. |
abstract
Bing |
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. |
abstract
Bing |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. |
Method Details
acceptLanguage
public abstract String acceptLanguage()
Gets Gets or sets the preferred language for the response..
Returns:
bingImages
public abstract BingImages bingImages()
Gets the BingImages object to access its operations.
Returns:
generateClientRequestId
public abstract boolean generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Returns:
getAzureClient
public abstract AzureClient getAzureClient()
Gets the AzureClient used for long running operations.
Returns:
longRunningOperationRetryTimeout
public abstract int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
restClient
public abstract RestClient restClient()
Gets the REST client.
Returns:
userAgent
public abstract String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public abstract BingVisualSearchAPI withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..
Parameters:
Returns:
withGenerateClientRequestId
public abstract BingVisualSearchAPI withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Parameters:
Returns:
withLongRunningOperationRetryTimeout
public abstract BingVisualSearchAPI withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Parameters:
Returns:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈