SearchOptionalParameter Classe
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. customsearch. models. SearchOptionalParameter
- com.
public class SearchOptionalParameter
O modelo SearchOptionalParameter.
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
String |
acceptLanguage()
Obtenha o valor acceptLanguage. |
String |
clientId()
Obtenha o valor clientId. |
String |
clientIp()
Obtenha o valor clientIp. |
Integer |
count()
Obtenha o valor de contagem. |
String |
countryCode()
Obtenha o valor countryCode. |
String |
location()
Obtenha o valor de localização. |
String |
market()
Obtenha o valor de mercado. |
Integer |
offset()
Obtenha o valor de deslocamento. |
Safe |
safeSearch()
Obtenha o valor safeSearch. |
String |
setLang()
Obtenha o valor setLang. |
Boolean |
textDecorations()
Obtenha o valor textDecorations. |
Text |
textFormat()
Obtenha o valor textFormat. |
String |
userAgent()
Obtenha o valor userAgent. |
Search |
withAcceptLanguage(String acceptLanguage)
Defina o valor acceptLanguage. |
Search |
withClientId(String clientId)
Defina o valor clientId. |
Search |
withClientIp(String clientIp)
Defina o valor clientIp. |
Search |
withCount(Integer count)
Defina o valor de contagem. |
Search |
withCountryCode(String countryCode)
Defina o valor countryCode. |
Search |
withLocation(String location)
Defina o valor de localização. |
Search |
withMarket(String market)
Defina o valor de mercado. |
Search |
withOffset(Integer offset)
Defina o valor de deslocamento. |
Search |
withSafeSearch(SafeSearch safeSearch)
Defina o valor safeSearch. |
Search |
withSetLang(String setLang)
Defina o valor setLang. |
Search |
withTextDecorations(Boolean textDecorations)
Defina o valor textDecorations. |
Search |
withTextFormat(TextFormat textFormat)
Defina o valor textFormat. |
Search |
withUserAgent(String userAgent)
Defina o valor userAgent. |
Detalhes do método
acceptLanguage
public String acceptLanguage()
Obtenha o valor acceptLanguage.
Returns:
clientId
public String clientId()
Obtenha o valor clientId.
Returns:
clientIp
public String clientIp()
Obtenha o valor clientIp.
Returns:
count
public Integer count()
Obtenha o valor de contagem.
Returns:
countryCode
public String countryCode()
Obtenha o valor countryCode.
Returns:
location
public String location()
Obtenha o valor de localização.
Returns:
market
public String market()
Obtenha o valor de mercado.
Returns:
offset
public Integer offset()
Obtenha o valor de deslocamento.
Returns:
safeSearch
public SafeSearch safeSearch()
Obtenha o valor safeSearch.
Returns:
setLang
public String setLang()
Obtenha o valor setLang.
Returns:
textDecorations
public Boolean textDecorations()
Obtenha o valor textDecorations.
Returns:
textFormat
public TextFormat textFormat()
Obtenha o valor textFormat.
Returns:
userAgent
public String userAgent()
Obtenha o valor userAgent.
Returns:
withAcceptLanguage
public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)
Defina o valor acceptLanguage.
Parameters:
Returns:
withClientId
public SearchOptionalParameter withClientId(String clientId)
Defina o valor clientId.
Parameters:
Returns:
withClientIp
public SearchOptionalParameter withClientIp(String clientIp)
Defina o valor clientIp.
Parameters:
Returns:
withCount
public SearchOptionalParameter withCount(Integer count)
Defina o valor de contagem.
Parameters:
Returns:
withCountryCode
public SearchOptionalParameter withCountryCode(String countryCode)
Defina o valor countryCode.
Parameters:
Returns:
withLocation
public SearchOptionalParameter withLocation(String location)
Defina o valor de localização.
Parameters:
Returns:
withMarket
public SearchOptionalParameter withMarket(String market)
Defina o valor de mercado.
Parameters:
Returns:
withOffset
public SearchOptionalParameter withOffset(Integer offset)
Defina o valor de deslocamento.
Parameters:
Returns:
withSafeSearch
public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)
Defina o valor safeSearch.
Parameters:
Returns:
withSetLang
public SearchOptionalParameter withSetLang(String setLang)
Defina o valor setLang.
Parameters:
Returns:
withTextDecorations
public SearchOptionalParameter withTextDecorations(Boolean textDecorations)
Defina o valor textDecorations.
Parameters:
Returns:
withTextFormat
public SearchOptionalParameter withTextFormat(TextFormat textFormat)
Defina o valor textFormat.
Parameters:
Returns:
withUserAgent
public SearchOptionalParameter withUserAgent(String userAgent)
Defina o valor userAgent.
Parameters:
Returns:
Aplica-se a
Azure SDK for Java
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários