- 2.64.0 (latest)
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class ConversationalSearchRequest.SearchParams.Builder extends GeneratedMessageV3.Builder<ConversationalSearchRequest.SearchParams.Builder> implements ConversationalSearchRequest.SearchParamsOrBuilder
Search parameters.
Protobuf type google.cloud.retail.v2alpha.ConversationalSearchRequest.SearchParams
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationalSearchRequest.SearchParams.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationalSearchRequest.SearchParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
build()
public ConversationalSearchRequest.SearchParams build()
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams |
buildPartial()
public ConversationalSearchRequest.SearchParams buildPartial()
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams |
clear()
public ConversationalSearchRequest.SearchParams.Builder clear()
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
clearBoostSpec()
public ConversationalSearchRequest.SearchParams.Builder clearBoostSpec()
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
clearCanonicalFilter()
public ConversationalSearchRequest.SearchParams.Builder clearCanonicalFilter()
Optional. The canonical filter string to restrict search results.
The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.
string canonical_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConversationalSearchRequest.SearchParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
clearFilter()
public ConversationalSearchRequest.SearchParams.Builder clearFilter()
Optional. The filter string to restrict search results.
The syntax of the filter string is the same as SearchRequest.filter.
string filter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationalSearchRequest.SearchParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
clearSortBy()
public ConversationalSearchRequest.SearchParams.Builder clearSortBy()
Optional. The sort string to specify the sorting of search results.
The syntax of the sort string is the same as [SearchRequest.sort][].
string sort_by = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
clone()
public ConversationalSearchRequest.SearchParams.Builder clone()
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
getBoostSpec()
public SearchRequest.BoostSpec getBoostSpec()
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchRequest.BoostSpec |
The boostSpec. |
getBoostSpecBuilder()
public SearchRequest.BoostSpec.Builder getBoostSpecBuilder()
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchRequest.BoostSpec.Builder |
getBoostSpecOrBuilder()
public SearchRequest.BoostSpecOrBuilder getBoostSpecOrBuilder()
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchRequest.BoostSpecOrBuilder |
getCanonicalFilter()
public String getCanonicalFilter()
Optional. The canonical filter string to restrict search results.
The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.
string canonical_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The canonicalFilter. |
getCanonicalFilterBytes()
public ByteString getCanonicalFilterBytes()
Optional. The canonical filter string to restrict search results.
The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.
string canonical_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for canonicalFilter. |
getDefaultInstanceForType()
public ConversationalSearchRequest.SearchParams getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
Optional. The filter string to restrict search results.
The syntax of the filter string is the same as SearchRequest.filter.
string filter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Optional. The filter string to restrict search results.
The syntax of the filter string is the same as SearchRequest.filter.
string filter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getSortBy()
public String getSortBy()
Optional. The sort string to specify the sorting of search results.
The syntax of the sort string is the same as [SearchRequest.sort][].
string sort_by = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The sortBy. |
getSortByBytes()
public ByteString getSortByBytes()
Optional. The sort string to specify the sorting of search results.
The syntax of the sort string is the same as [SearchRequest.sort][].
string sort_by = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sortBy. |
hasBoostSpec()
public boolean hasBoostSpec()
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the boostSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBoostSpec(SearchRequest.BoostSpec value)
public ConversationalSearchRequest.SearchParams.Builder mergeBoostSpec(SearchRequest.BoostSpec value)
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
SearchRequest.BoostSpec |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
mergeFrom(ConversationalSearchRequest.SearchParams other)
public ConversationalSearchRequest.SearchParams.Builder mergeFrom(ConversationalSearchRequest.SearchParams other)
Parameter | |
---|---|
Name | Description |
other |
ConversationalSearchRequest.SearchParams |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationalSearchRequest.SearchParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationalSearchRequest.SearchParams.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationalSearchRequest.SearchParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
setBoostSpec(SearchRequest.BoostSpec value)
public ConversationalSearchRequest.SearchParams.Builder setBoostSpec(SearchRequest.BoostSpec value)
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
SearchRequest.BoostSpec |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
setBoostSpec(SearchRequest.BoostSpec.Builder builderForValue)
public ConversationalSearchRequest.SearchParams.Builder setBoostSpec(SearchRequest.BoostSpec.Builder builderForValue)
Optional. The boost spec to specify the boosting of search results.
The syntax of the boost spec is the same as SearchRequest.boost_spec.
.google.cloud.retail.v2alpha.SearchRequest.BoostSpec boost_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
SearchRequest.BoostSpec.Builder |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
setCanonicalFilter(String value)
public ConversationalSearchRequest.SearchParams.Builder setCanonicalFilter(String value)
Optional. The canonical filter string to restrict search results.
The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.
string canonical_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The canonicalFilter to set. |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
setCanonicalFilterBytes(ByteString value)
public ConversationalSearchRequest.SearchParams.Builder setCanonicalFilterBytes(ByteString value)
Optional. The canonical filter string to restrict search results.
The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.
string canonical_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for canonicalFilter to set. |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationalSearchRequest.SearchParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
setFilter(String value)
public ConversationalSearchRequest.SearchParams.Builder setFilter(String value)
Optional. The filter string to restrict search results.
The syntax of the filter string is the same as SearchRequest.filter.
string filter = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ConversationalSearchRequest.SearchParams.Builder setFilterBytes(ByteString value)
Optional. The filter string to restrict search results.
The syntax of the filter string is the same as SearchRequest.filter.
string filter = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationalSearchRequest.SearchParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
setSortBy(String value)
public ConversationalSearchRequest.SearchParams.Builder setSortBy(String value)
Optional. The sort string to specify the sorting of search results.
The syntax of the sort string is the same as [SearchRequest.sort][].
string sort_by = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The sortBy to set. |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
setSortByBytes(ByteString value)
public ConversationalSearchRequest.SearchParams.Builder setSortByBytes(ByteString value)
Optional. The sort string to specify the sorting of search results.
The syntax of the sort string is the same as [SearchRequest.sort][].
string sort_by = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sortBy to set. |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationalSearchRequest.SearchParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationalSearchRequest.SearchParams.Builder |