public static final class SearchRequest.DynamicFacetSpec.Builder extends GeneratedMessageV3.Builder<SearchRequest.DynamicFacetSpec.Builder> implements SearchRequest.DynamicFacetSpecOrBuilder
The specifications of dynamically generated facets.
Protobuf type google.cloud.retail.v2.SearchRequest.DynamicFacetSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.DynamicFacetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchRequest.DynamicFacetSpec build()
buildPartial()
public SearchRequest.DynamicFacetSpec buildPartial()
clear()
public SearchRequest.DynamicFacetSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchRequest.DynamicFacetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public SearchRequest.DynamicFacetSpec.Builder clearMode()
Mode of the DynamicFacet feature.
Defaults to
Mode.DISABLED
if it's unset.
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchRequest.DynamicFacetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchRequest.DynamicFacetSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchRequest.DynamicFacetSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMode()
public SearchRequest.DynamicFacetSpec.Mode getMode()
Mode of the DynamicFacet feature.
Defaults to
Mode.DISABLED
if it's unset.
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;
getModeValue()
public int getModeValue()
Mode of the DynamicFacet feature.
Defaults to
Mode.DISABLED
if it's unset.
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchRequest.DynamicFacetSpec other)
public SearchRequest.DynamicFacetSpec.Builder mergeFrom(SearchRequest.DynamicFacetSpec other)
public SearchRequest.DynamicFacetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchRequest.DynamicFacetSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.DynamicFacetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.DynamicFacetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMode(SearchRequest.DynamicFacetSpec.Mode value)
public SearchRequest.DynamicFacetSpec.Builder setMode(SearchRequest.DynamicFacetSpec.Mode value)
Mode of the DynamicFacet feature.
Defaults to
Mode.DISABLED
if it's unset.
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;
setModeValue(int value)
public SearchRequest.DynamicFacetSpec.Builder setModeValue(int value)
Mode of the DynamicFacet feature.
Defaults to
Mode.DISABLED
if it's unset.
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchRequest.DynamicFacetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.DynamicFacetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides