public static final class ElasticItem.Facet.FacetValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder> implements ElasticItem.Facet.FacetValueOrBuilder
dstore.elastic.item.Facet.FacetValue| Modifier and Type | Method and Description |
|---|---|
ElasticItem.Facet.FacetValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ElasticItem.Facet.FacetValue |
build() |
ElasticItem.Facet.FacetValue |
buildPartial() |
ElasticItem.Facet.FacetValue.Builder |
clear() |
ElasticItem.Facet.FacetValue.Builder |
clearActive()
Only filled when using a term-facet
|
ElasticItem.Facet.FacetValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ElasticItem.Facet.FacetValue.Builder |
clearMatchingItemCount()
optional int32 matching_item_count = 3; |
ElasticItem.Facet.FacetValue.Builder |
clearMaxValue()
Only filled when using a range-facet
|
ElasticItem.Facet.FacetValue.Builder |
clearMinValue()
Only filled when using a range-facet
|
ElasticItem.Facet.FacetValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ElasticItem.Facet.FacetValue.Builder |
clearTotalItemCount()
optional int32 total_item_count = 2; |
ElasticItem.Facet.FacetValue.Builder |
clearValue()
optional .dstore.values.Value value = 1; |
ElasticItem.Facet.FacetValue.Builder |
clone() |
boolean |
getActive()
Only filled when using a term-facet
|
ElasticItem.Facet.FacetValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMatchingItemCount()
optional int32 matching_item_count = 3; |
double |
getMaxValue()
Only filled when using a range-facet
|
double |
getMinValue()
Only filled when using a range-facet
|
int |
getTotalItemCount()
optional int32 total_item_count = 2; |
Values.Value |
getValue()
optional .dstore.values.Value value = 1; |
Values.Value.Builder |
getValueBuilder()
optional .dstore.values.Value value = 1; |
Values.ValueOrBuilder |
getValueOrBuilder()
optional .dstore.values.Value value = 1; |
boolean |
hasValue()
optional .dstore.values.Value value = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ElasticItem.Facet.FacetValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ElasticItem.Facet.FacetValue.Builder |
mergeFrom(ElasticItem.Facet.FacetValue other) |
ElasticItem.Facet.FacetValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
ElasticItem.Facet.FacetValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ElasticItem.Facet.FacetValue.Builder |
mergeValue(Values.Value value)
optional .dstore.values.Value value = 1; |
ElasticItem.Facet.FacetValue.Builder |
setActive(boolean value)
Only filled when using a term-facet
|
ElasticItem.Facet.FacetValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ElasticItem.Facet.FacetValue.Builder |
setMatchingItemCount(int value)
optional int32 matching_item_count = 3; |
ElasticItem.Facet.FacetValue.Builder |
setMaxValue(double value)
Only filled when using a range-facet
|
ElasticItem.Facet.FacetValue.Builder |
setMinValue(double value)
Only filled when using a range-facet
|
ElasticItem.Facet.FacetValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ElasticItem.Facet.FacetValue.Builder |
setTotalItemCount(int value)
optional int32 total_item_count = 2; |
ElasticItem.Facet.FacetValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ElasticItem.Facet.FacetValue.Builder |
setValue(Values.Value.Builder builderForValue)
optional .dstore.values.Value value = 1; |
ElasticItem.Facet.FacetValue.Builder |
setValue(Values.Value value)
optional .dstore.values.Value value = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ElasticItem.Facet.FacetValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ElasticItem.Facet.FacetValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ElasticItem.Facet.FacetValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder mergeFrom(ElasticItem.Facet.FacetValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public ElasticItem.Facet.FacetValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ElasticItem.Facet.FacetValue.Builder>java.io.IOExceptionpublic boolean hasValue()
optional .dstore.values.Value value = 1;hasValue in interface ElasticItem.Facet.FacetValueOrBuilderpublic Values.Value getValue()
optional .dstore.values.Value value = 1;getValue in interface ElasticItem.Facet.FacetValueOrBuilderpublic ElasticItem.Facet.FacetValue.Builder setValue(Values.Value value)
optional .dstore.values.Value value = 1;public ElasticItem.Facet.FacetValue.Builder setValue(Values.Value.Builder builderForValue)
optional .dstore.values.Value value = 1;public ElasticItem.Facet.FacetValue.Builder mergeValue(Values.Value value)
optional .dstore.values.Value value = 1;public ElasticItem.Facet.FacetValue.Builder clearValue()
optional .dstore.values.Value value = 1;public Values.Value.Builder getValueBuilder()
optional .dstore.values.Value value = 1;public Values.ValueOrBuilder getValueOrBuilder()
optional .dstore.values.Value value = 1;getValueOrBuilder in interface ElasticItem.Facet.FacetValueOrBuilderpublic int getTotalItemCount()
optional int32 total_item_count = 2;getTotalItemCount in interface ElasticItem.Facet.FacetValueOrBuilderpublic ElasticItem.Facet.FacetValue.Builder setTotalItemCount(int value)
optional int32 total_item_count = 2;public ElasticItem.Facet.FacetValue.Builder clearTotalItemCount()
optional int32 total_item_count = 2;public int getMatchingItemCount()
optional int32 matching_item_count = 3;getMatchingItemCount in interface ElasticItem.Facet.FacetValueOrBuilderpublic ElasticItem.Facet.FacetValue.Builder setMatchingItemCount(int value)
optional int32 matching_item_count = 3;public ElasticItem.Facet.FacetValue.Builder clearMatchingItemCount()
optional int32 matching_item_count = 3;public boolean getActive()
Only filled when using a term-facet
optional bool active = 4;getActive in interface ElasticItem.Facet.FacetValueOrBuilderpublic ElasticItem.Facet.FacetValue.Builder setActive(boolean value)
Only filled when using a term-facet
optional bool active = 4;public ElasticItem.Facet.FacetValue.Builder clearActive()
Only filled when using a term-facet
optional bool active = 4;public double getMinValue()
Only filled when using a range-facet
optional double min_value = 5;getMinValue in interface ElasticItem.Facet.FacetValueOrBuilderpublic ElasticItem.Facet.FacetValue.Builder setMinValue(double value)
Only filled when using a range-facet
optional double min_value = 5;public ElasticItem.Facet.FacetValue.Builder clearMinValue()
Only filled when using a range-facet
optional double min_value = 5;public double getMaxValue()
Only filled when using a range-facet
optional double max_value = 6;getMaxValue in interface ElasticItem.Facet.FacetValueOrBuilderpublic ElasticItem.Facet.FacetValue.Builder setMaxValue(double value)
Only filled when using a range-facet
optional double max_value = 6;public ElasticItem.Facet.FacetValue.Builder clearMaxValue()
Only filled when using a range-facet
optional double max_value = 6;public final ElasticItem.Facet.FacetValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>public final ElasticItem.Facet.FacetValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ElasticItem.Facet.FacetValue.Builder>