Class CatalogAttribute.FacetConfig.IgnoredFacetValues

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues
All Implemented Interfaces:
CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
CatalogAttribute.FacetConfig

public static final class CatalogAttribute.FacetConfig.IgnoredFacetValues extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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:
      getValuesList in interface CatalogAttribute.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:
      getValuesCount in interface CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
      Returns:
      The count of values.
    • getValues

      public String getValues(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:
      getValues in interface CatalogAttribute.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:
      getValuesBytes in interface CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • 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:
      hasStartTime in interface CatalogAttribute.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:
      getStartTime in interface CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
      Returns:
      The startTime.
    • 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:
      getStartTimeOrBuilder in interface CatalogAttribute.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:
      hasEndTime in interface CatalogAttribute.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:
      getEndTime in interface CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
      Returns:
      The endTime.
    • 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:
      getEndTimeOrBuilder in interface CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CatalogAttribute.FacetConfig.IgnoredFacetValues getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CatalogAttribute.FacetConfig.IgnoredFacetValues> parser()
    • getParserForType

      public com.google.protobuf.Parser<CatalogAttribute.FacetConfig.IgnoredFacetValues> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CatalogAttribute.FacetConfig.IgnoredFacetValues getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder