Package com.google.cloud.retail.v2alpha
Class CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
com.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder
- All Implemented Interfaces:
CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CatalogAttribute.FacetConfig.IgnoredFacetValues
public static final class CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
implements CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
[Facet values][google.cloud.retail.v2alpha.SearchResponse.Facet.values] to ignore on [facets][google.cloud.retail.v2alpha.SearchResponse.Facet] during the specified time range for the given [SearchResponse.Facet.key][google.cloud.retail.v2alpha.SearchResponse.Facet.key] attribute.Protobuf type
google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues-
Method Summary
Modifier and TypeMethodDescriptionaddAllValues(Iterable<String> values) List of facet values to ignore for the following time range.List of facet values to ignore for the following time range.addValuesBytes(com.google.protobuf.ByteString value) List of facet values to ignore for the following time range.build()clear()If start time is empty and end time is not empty, then ignore these facet values before end time.Time range for the current list of facet values to ignore.List of facet values to ignore for the following time range.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampIf start time is empty and end time is not empty, then ignore these facet values before end time.com.google.protobuf.Timestamp.BuilderIf start time is empty and end time is not empty, then ignore these facet values before end time.com.google.protobuf.TimestampOrBuilderIf start time is empty and end time is not empty, then ignore these facet values before end time.com.google.protobuf.TimestampTime range for the current list of facet values to ignore.com.google.protobuf.Timestamp.BuilderTime range for the current list of facet values to ignore.com.google.protobuf.TimestampOrBuilderTime range for the current list of facet values to ignore.getValues(int index) List of facet values to ignore for the following time range.com.google.protobuf.ByteStringgetValuesBytes(int index) List of facet values to ignore for the following time range.intList of facet values to ignore for the following time range.com.google.protobuf.ProtocolStringListList of facet values to ignore for the following time range.booleanIf start time is empty and end time is not empty, then ignore these facet values before end time.booleanTime range for the current list of facet values to ignore.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) If start time is empty and end time is not empty, then ignore these facet values before end time.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Time range for the current list of facet values to ignore.setEndTime(com.google.protobuf.Timestamp value) If start time is empty and end time is not empty, then ignore these facet values before end time.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) If start time is empty and end time is not empty, then ignore these facet values before end time.setStartTime(com.google.protobuf.Timestamp value) Time range for the current list of facet values to ignore.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Time range for the current list of facet values to ignore.List of facet values to ignore for the following time range.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>
-
mergeFrom
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder>- Throws:
IOException
-
getValuesList
public com.google.protobuf.ProtocolStringList getValuesList()List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Specified by:
getValuesListin interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Specified by:
getValuesCountin interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Returns:
- The count of values.
-
getValues
List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Specified by:
getValuesin interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
public com.google.protobuf.ByteString getValuesBytes(int index) List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Specified by:
getValuesBytesin interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
setValues
List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Parameters:
index- The index to set the value at.value- The values to set.- Returns:
- This builder for chaining.
-
addValues
List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Parameters:
value- The values to add.- Returns:
- This builder for chaining.
-
addAllValues
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder addAllValues(Iterable<String> values) List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Parameters:
values- The values to add.- Returns:
- This builder for chaining.
-
clearValues
List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Returns:
- This builder for chaining.
-
addValuesBytes
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder addValuesBytes(com.google.protobuf.ByteString value) List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.
repeated string values = 1;- Parameters:
value- The bytes of the values to add.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2;- Specified by:
hasStartTimein interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimein interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Returns:
- The startTime.
-
setStartTime
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder setStartTime(com.google.protobuf.Timestamp value) Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2; -
setStartTime
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2; -
mergeStartTime
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder mergeStartTime(com.google.protobuf.Timestamp value) Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2; -
clearStartTime
Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimeOrBuilderin interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
-
hasEndTime
public boolean hasEndTime()If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3;- Specified by:
hasEndTimein interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3;- Specified by:
getEndTimein interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder- Returns:
- The endTime.
-
setEndTime
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder setEndTime(com.google.protobuf.Timestamp value) If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3; -
setEndTime
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3; -
mergeEndTime
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder mergeEndTime(com.google.protobuf.Timestamp value) If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3; -
clearEndTime
If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()If start time is empty and end time is not empty, then ignore these facet values before end time.
.google.protobuf.Timestamp end_time = 3;- Specified by:
getEndTimeOrBuilderin interfaceCatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
-