Class KnowledgeGraphEntitySearchOptions.SearchFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<KnowledgeGraphEntitySearchOptions.SearchFilter.Builder>
com.google.ads.googleads.v24.services.KnowledgeGraphEntitySearchOptions.SearchFilter.Builder
- All Implemented Interfaces:
KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- KnowledgeGraphEntitySearchOptions.SearchFilter
public static final class KnowledgeGraphEntitySearchOptions.SearchFilter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<KnowledgeGraphEntitySearchOptions.SearchFilter.Builder>
implements KnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder
Filter options for Knowledge Graph Entities.Protobuf type
google.ads.googleads.v24.services.KnowledgeGraphEntitySearchOptions.SearchFilter-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntityCapabilityFilters(Iterable<? extends InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities> values) Optional.Optional.addEntityCapabilityFilters(InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities value) Optional.addEntityCapabilityFiltersValue(int value) Optional.build()clear()Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntityCapabilityFilters(int index) Optional.intOptional.Optional.intgetEntityCapabilityFiltersValue(int index) Optional.Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEntityCapabilityFilters(int index, InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities value) Optional.setEntityCapabilityFiltersValue(int index, int value) Optional.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<KnowledgeGraphEntitySearchOptions.SearchFilter.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<KnowledgeGraphEntitySearchOptions.SearchFilter.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<KnowledgeGraphEntitySearchOptions.SearchFilter.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 KnowledgeGraphEntitySearchOptions.SearchFilter.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KnowledgeGraphEntitySearchOptions.SearchFilter.Builder>
-
mergeFrom
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder mergeFrom(KnowledgeGraphEntitySearchOptions.SearchFilter other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<KnowledgeGraphEntitySearchOptions.SearchFilter.Builder>
-
mergeFrom
public KnowledgeGraphEntitySearchOptions.SearchFilter.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<KnowledgeGraphEntitySearchOptions.SearchFilter.Builder>- Throws:
IOException
-
getEntityCapabilityFiltersList
public List<InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities> getEntityCapabilityFiltersList()Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEntityCapabilityFiltersListin interfaceKnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder- Returns:
- A list containing the entityCapabilityFilters.
-
getEntityCapabilityFiltersCount
public int getEntityCapabilityFiltersCount()Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEntityCapabilityFiltersCountin interfaceKnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder- Returns:
- The count of entityCapabilityFilters.
-
getEntityCapabilityFilters
public InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities getEntityCapabilityFilters(int index) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEntityCapabilityFiltersin interfaceKnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entityCapabilityFilters at the given index.
-
setEntityCapabilityFilters
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder setEntityCapabilityFilters(int index, InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities value) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The entityCapabilityFilters to set.- Returns:
- This builder for chaining.
-
addEntityCapabilityFilters
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder addEntityCapabilityFilters(InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities value) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The entityCapabilityFilters to add.- Returns:
- This builder for chaining.
-
addAllEntityCapabilityFilters
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder addAllEntityCapabilityFilters(Iterable<? extends InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities> values) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The entityCapabilityFilters to add.- Returns:
- This builder for chaining.
-
clearEntityCapabilityFilters
Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getEntityCapabilityFiltersValueList
Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEntityCapabilityFiltersValueListin interfaceKnowledgeGraphEntitySearchOptions.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.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEntityCapabilityFiltersValuein interfaceKnowledgeGraphEntitySearchOptions.SearchFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of entityCapabilityFilters at the given index.
-
setEntityCapabilityFiltersValue
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder setEntityCapabilityFiltersValue(int index, int value) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for entityCapabilityFilters to set.- Returns:
- This builder for chaining.
-
addEntityCapabilityFiltersValue
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder addEntityCapabilityFiltersValue(int value) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for entityCapabilityFilters to add.- Returns:
- This builder for chaining.
-
addAllEntityCapabilityFiltersValue
public KnowledgeGraphEntitySearchOptions.SearchFilter.Builder addAllEntityCapabilityFiltersValue(Iterable<Integer> values) Optional. A list of entity capability filters supported for [ContentCreatorInsightsService][google.ads.googleads.v24.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.v24.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilities entity_capability_filters = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The enum numeric values on the wire for entityCapabilityFilters to add.- Returns:
- This builder for chaining.
-