SearchOptionalParameter Clase
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. SearchOptionalParameter
- com.
public class SearchOptionalParameter
El modelo SearchOptionalParameter.
Resumen del método
Modificador y tipo | Método y descripción |
---|---|
String |
acceptLanguage()
Obtiene el valor acceptLanguage. |
Integer |
answerCount()
Obtenga el valor answerCount. |
String |
clientId()
Obtenga el valor clientId. |
String |
clientIp()
Obtenga el valor clientIp. |
Integer |
count()
Obtiene el valor de recuento. |
String |
countryCode()
Obtenga el valor countryCode. |
Freshness |
freshness()
Obtenga el valor de actualización. |
String |
location()
Obtenga el valor de ubicación. |
String |
market()
Obtenga el valor del mercado. |
Integer |
offset()
Obtiene el valor de desplazamiento. |
String |
pragma()
Obtenga el valor pragma. |
List<Answer |
promote()
Obtiene el valor de promoción. |
List<Answer |
responseFilter()
Obtenga el valor responseFilter. |
Safe |
safeSearch()
Obtenga el valor safeSearch. |
String |
setLang()
Obtenga el valor setLang. |
Boolean |
textDecorations()
Obtiene el valor textDecorations. |
Text |
textFormat()
Obtiene el valor textFormat. |
String |
userAgent()
Obtenga el valor userAgent. |
Search |
withAcceptLanguage(String acceptLanguage)
Establezca el valor acceptLanguage. |
Search |
withAnswerCount(Integer answerCount)
Establezca el valor answerCount. |
Search |
withClientId(String clientId)
Establezca el valor clientId. |
Search |
withClientIp(String clientIp)
Establezca el valor clientIp. |
Search |
withCount(Integer count)
Establezca el valor de recuento. |
Search |
withCountryCode(String countryCode)
Establezca el valor countryCode. |
Search |
withFreshness(Freshness freshness)
Establezca el valor de actualización. |
Search |
withLocation(String location)
Establezca el valor de ubicación. |
Search |
withMarket(String market)
Establezca el valor de mercado. |
Search |
withOffset(Integer offset)
Establezca el valor de desplazamiento. |
Search |
withPragma(String pragma)
Establezca el valor pragma. |
Search |
withPromote(List<AnswerType> promote)
Establezca el valor de promoción. |
Search |
withResponseFilter(List<AnswerType> responseFilter)
Establezca el valor responseFilter. |
Search |
withSafeSearch(SafeSearch safeSearch)
Establezca el valor safeSearch. |
Search |
withSetLang(String setLang)
Establezca el valor setLang. |
Search |
withTextDecorations(Boolean textDecorations)
Establezca el valor textDecorations. |
Search |
withTextFormat(TextFormat textFormat)
Establezca el valor textFormat. |
Search |
withUserAgent(String userAgent)
Establezca el valor userAgent. |
Detalles del método
acceptLanguage
public String acceptLanguage()
Obtiene el valor acceptLanguage.
Returns:
answerCount
public Integer answerCount()
Obtenga el valor answerCount.
Returns:
clientId
public String clientId()
Obtenga el valor clientId.
Returns:
clientIp
public String clientIp()
Obtenga el valor clientIp.
Returns:
count
public Integer count()
Obtiene el valor de recuento.
Returns:
countryCode
public String countryCode()
Obtenga el valor countryCode.
Returns:
freshness
public Freshness freshness()
Obtenga el valor de actualización.
Returns:
location
public String location()
Obtenga el valor de ubicación.
Returns:
market
public String market()
Obtenga el valor del mercado.
Returns:
offset
public Integer offset()
Obtiene el valor de desplazamiento.
Returns:
pragma
public String pragma()
Obtenga el valor pragma.
Returns:
promote
public List
Obtiene el valor de promoción.
Returns:
responseFilter
public List
Obtenga el valor responseFilter.
Returns:
safeSearch
public SafeSearch safeSearch()
Obtenga el valor safeSearch.
Returns:
setLang
public String setLang()
Obtenga el valor setLang.
Returns:
textDecorations
public Boolean textDecorations()
Obtiene el valor textDecorations.
Returns:
textFormat
public TextFormat textFormat()
Obtiene el valor textFormat.
Returns:
userAgent
public String userAgent()
Obtenga el valor userAgent.
Returns:
withAcceptLanguage
public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)
Establezca el valor acceptLanguage.
Parameters:
Returns:
withAnswerCount
public SearchOptionalParameter withAnswerCount(Integer answerCount)
Establezca el valor answerCount.
Parameters:
Returns:
withClientId
public SearchOptionalParameter withClientId(String clientId)
Establezca el valor clientId.
Parameters:
Returns:
withClientIp
public SearchOptionalParameter withClientIp(String clientIp)
Establezca el valor clientIp.
Parameters:
Returns:
withCount
public SearchOptionalParameter withCount(Integer count)
Establezca el valor de recuento.
Parameters:
Returns:
withCountryCode
public SearchOptionalParameter withCountryCode(String countryCode)
Establezca el valor countryCode.
Parameters:
Returns:
withFreshness
public SearchOptionalParameter withFreshness(Freshness freshness)
Establezca el valor de actualización.
Parameters:
Returns:
withLocation
public SearchOptionalParameter withLocation(String location)
Establezca el valor de ubicación.
Parameters:
Returns:
withMarket
public SearchOptionalParameter withMarket(String market)
Establezca el valor de mercado.
Parameters:
Returns:
withOffset
public SearchOptionalParameter withOffset(Integer offset)
Establezca el valor de desplazamiento.
Parameters:
Returns:
withPragma
public SearchOptionalParameter withPragma(String pragma)
Establezca el valor pragma.
Parameters:
Returns:
withPromote
public SearchOptionalParameter withPromote(List
Establezca el valor de promoción.
Parameters:
Returns:
withResponseFilter
public SearchOptionalParameter withResponseFilter(List
Establezca el valor responseFilter.
Parameters:
Returns:
withSafeSearch
public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)
Establezca el valor safeSearch.
Parameters:
Returns:
withSetLang
public SearchOptionalParameter withSetLang(String setLang)
Establezca el valor setLang.
Parameters:
Returns:
withTextDecorations
public SearchOptionalParameter withTextDecorations(Boolean textDecorations)
Establezca el valor textDecorations.
Parameters:
Returns:
withTextFormat
public SearchOptionalParameter withTextFormat(TextFormat textFormat)
Establezca el valor textFormat.
Parameters:
Returns:
withUserAgent
public SearchOptionalParameter withUserAgent(String userAgent)
Establezca el valor userAgent.
Parameters:
Returns:
Se aplica a
Azure SDK for Java