Interface CustomerSearchTermInsightOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CustomerSearchTermInsight, CustomerSearchTermInsight.Builder

    public interface CustomerSearchTermInsightOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCategoryLabel()
      Output only.
      com.google.protobuf.ByteString getCategoryLabelBytes()
      Output only.
      long getId()
      Output only.
      java.lang.String getResourceName()
      Output only.
      com.google.protobuf.ByteString getResourceNameBytes()
      Output only.
      boolean hasCategoryLabel()
      Output only.
      boolean hasId()
      Output only.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getResourceName

        java.lang.String getResourceName()
         Output only. The resource name of the customer level search term insight.
         Customer level search term insight resource names have the form:
        
         `customers/{customer_id}/customerSearchTermInsights/{category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the customer level search term insight.
         Customer level search term insight resource names have the form:
        
         `customers/{customer_id}/customerSearchTermInsights/{category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • hasCategoryLabel

        boolean hasCategoryLabel()
         Output only. The label for the search category. An empty string denotes the
         catch-all category for search terms that didn't fit into another category.
         
        optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the categoryLabel field is set.
      • getCategoryLabel

        java.lang.String getCategoryLabel()
         Output only. The label for the search category. An empty string denotes the
         catch-all category for search terms that didn't fit into another category.
         
        optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The categoryLabel.
      • getCategoryLabelBytes

        com.google.protobuf.ByteString getCategoryLabelBytes()
         Output only. The label for the search category. An empty string denotes the
         catch-all category for search terms that didn't fit into another category.
         
        optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for categoryLabel.
      • hasId

        boolean hasId()
         Output only. The ID of the insight.
         
        optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         Output only. The ID of the insight.
         
        optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The id.