Class KnowledgeGraphEntitySearchOptions.SearchFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v25.services.KnowledgeGraphEntitySearchOptions.SearchFilter
All Implemented Interfaces:
KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
KnowledgeGraphEntitySearchOptions

public static final class KnowledgeGraphEntitySearchOptions.SearchFilter extends com.google.protobuf.GeneratedMessage implements KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
 Filter options for Knowledge Graph Entities.
 
Protobuf type google.ads.googleads.v25.services.KnowledgeGraphEntitySearchOptions.SearchFilter
See Also:
  • Field Details

    • ENTITY_CAPABILITY_FILTERS_FIELD_NUMBER

      public static final int ENTITY_CAPABILITY_FILTERS_FIELD_NUMBER
      See Also:
  • 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
    • getEntityCapabilityFiltersList

       Optional. A list of entity capability filters supported for
       [ContentCreatorInsightsService][google.ads.googleads.v25.services.ContentCreatorInsightsService].
       If set, returns entities relevant to the `query_text` and supported for
       any of the specified capabilities.
      
       For example, entity_capability_filters[0] and
       entity_capability_filters[1] are combined with OR so that entities
       supported for either capability are returned.
       
      repeated .google.ads.googleads.v25.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityCapabilityFiltersList in interface KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
      Returns:
      A list containing the entityCapabilityFilters.
    • getEntityCapabilityFiltersCount

      public int getEntityCapabilityFiltersCount()
       Optional. A list of entity capability filters supported for
       [ContentCreatorInsightsService][google.ads.googleads.v25.services.ContentCreatorInsightsService].
       If set, returns entities relevant to the `query_text` and supported for
       any of the specified capabilities.
      
       For example, entity_capability_filters[0] and
       entity_capability_filters[1] are combined with OR so that entities
       supported for either capability are returned.
       
      repeated .google.ads.googleads.v25.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityCapabilityFiltersCount in interface KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
      Returns:
      The count of entityCapabilityFilters.
    • getEntityCapabilityFilters

       Optional. A list of entity capability filters supported for
       [ContentCreatorInsightsService][google.ads.googleads.v25.services.ContentCreatorInsightsService].
       If set, returns entities relevant to the `query_text` and supported for
       any of the specified capabilities.
      
       For example, entity_capability_filters[0] and
       entity_capability_filters[1] are combined with OR so that entities
       supported for either capability are returned.
       
      repeated .google.ads.googleads.v25.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityCapabilityFilters in interface KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entityCapabilityFilters at the given index.
    • getEntityCapabilityFiltersValueList

      public List<Integer> getEntityCapabilityFiltersValueList()
       Optional. A list of entity capability filters supported for
       [ContentCreatorInsightsService][google.ads.googleads.v25.services.ContentCreatorInsightsService].
       If set, returns entities relevant to the `query_text` and supported for
       any of the specified capabilities.
      
       For example, entity_capability_filters[0] and
       entity_capability_filters[1] are combined with OR so that entities
       supported for either capability are returned.
       
      repeated .google.ads.googleads.v25.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityCapabilityFiltersValueList in interface KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for entityCapabilityFilters.
    • getEntityCapabilityFiltersValue

      public int getEntityCapabilityFiltersValue(int index)
       Optional. A list of entity capability filters supported for
       [ContentCreatorInsightsService][google.ads.googleads.v25.services.ContentCreatorInsightsService].
       If set, returns entities relevant to the `query_text` and supported for
       any of the specified capabilities.
      
       For example, entity_capability_filters[0] and
       entity_capability_filters[1] are combined with OR so that entities
       supported for either capability are returned.
       
      repeated .google.ads.googleads.v25.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityCapabilityFiltersValue in interface KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of entityCapabilityFilters at the given index.
    • 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 KnowledgeGraphEntitySearchOptions.SearchFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KnowledgeGraphEntitySearchOptions.SearchFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KnowledgeGraphEntitySearchOptions.SearchFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KnowledgeGraphEntitySearchOptions.SearchFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KnowledgeGraphEntitySearchOptions.SearchFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      Throws:
      IOException
    • parseFrom

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

      public static KnowledgeGraphEntitySearchOptions.SearchFilter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static KnowledgeGraphEntitySearchOptions.SearchFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KnowledgeGraphEntitySearchOptions.SearchFilter 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 KnowledgeGraphEntitySearchOptions.SearchFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static KnowledgeGraphEntitySearchOptions.SearchFilter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<KnowledgeGraphEntitySearchOptions.SearchFilter> parser()
    • getParserForType

      public com.google.protobuf.Parser<KnowledgeGraphEntitySearchOptions.SearchFilter> 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 KnowledgeGraphEntitySearchOptions.SearchFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder