Class V1FindResponse.Builder
-
- All Implemented Interfaces:
public final class V1FindResponse.BuilderA builder for V1FindResponse.
-
-
Method Summary
-
-
Method Detail
-
candidates
final V1FindResponse.Builder candidates(List<V1FindResponse.Candidate> candidates)
-
candidates
final V1FindResponse.Builder candidates(JsonField<List<V1FindResponse.Candidate>> candidates)
Sets Builder.candidates to an arbitrary JSON value.
You should usually call Builder.candidates with a well-typed
List<Candidate>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCandidate
final V1FindResponse.Builder addCandidate(V1FindResponse.Candidate candidate)
Adds a single Candidate to candidates.
-
found
final V1FindResponse.Builder found(Long found)
Number of candidates found
-
found
final V1FindResponse.Builder found(JsonField<Long> found)
Sets Builder.found to an arbitrary JSON value.
You should usually call Builder.found with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hint
final V1FindResponse.Builder hint(String hint)
Usage guidance
-
hint
final V1FindResponse.Builder hint(JsonField<String> hint)
Sets Builder.hint to an arbitrary JSON value.
You should usually call Builder.hint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
jurisdiction
final V1FindResponse.Builder jurisdiction(String jurisdiction)
Jurisdiction filter applied
-
jurisdiction
final V1FindResponse.Builder jurisdiction(JsonField<String> jurisdiction)
Sets Builder.jurisdiction to an arbitrary JSON value.
You should usually call Builder.jurisdiction with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
query
final V1FindResponse.Builder query(String query)
Original search query
-
query
final V1FindResponse.Builder query(JsonField<String> query)
Sets Builder.query to an arbitrary JSON value.
You should usually call Builder.query with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1FindResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1FindResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1FindResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1FindResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1FindResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1FindResponse build()
Returns an immutable instance of V1FindResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-