Class GenerateCreatorInsightsRequest.SearchBrand.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateCreatorInsightsRequest.SearchBrand.Builder>
com.google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.Builder
- All Implemented Interfaces:
GenerateCreatorInsightsRequest.SearchBrandOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateCreatorInsightsRequest.SearchBrand
public static final class GenerateCreatorInsightsRequest.SearchBrand.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GenerateCreatorInsightsRequest.SearchBrand.Builder>
implements GenerateCreatorInsightsRequest.SearchBrandOrBuilder
The brand used to search for top creators.Protobuf type
google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand-
Method Summary
Modifier and TypeMethodDescriptionaddAllBrandEntities(Iterable<? extends AudienceInsightsAttribute> values) Optional.addBrandEntities(int index, AudienceInsightsAttribute value) Optional.addBrandEntities(int index, AudienceInsightsAttribute.Builder builderForValue) Optional.Optional.addBrandEntities(AudienceInsightsAttribute.Builder builderForValue) Optional.Optional.addBrandEntitiesBuilder(int index) Optional.build()clear()Optional.Optional.getBrandEntities(int index) Optional.getBrandEntitiesBuilder(int index) Optional.Optional.intOptional.Optional.getBrandEntitiesOrBuilder(int index) Optional.List<? extends AudienceInsightsAttributeOrBuilder>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBrandEntities(int index) Optional.setBrandEntities(int index, AudienceInsightsAttribute value) Optional.setBrandEntities(int index, AudienceInsightsAttribute.Builder builderForValue) Optional.setIncludeRelatedTopics(boolean 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<GenerateCreatorInsightsRequest.SearchBrand.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<GenerateCreatorInsightsRequest.SearchBrand.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<GenerateCreatorInsightsRequest.SearchBrand.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 GenerateCreatorInsightsRequest.SearchBrand.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateCreatorInsightsRequest.SearchBrand.Builder>
-
mergeFrom
public GenerateCreatorInsightsRequest.SearchBrand.Builder mergeFrom(GenerateCreatorInsightsRequest.SearchBrand other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenerateCreatorInsightsRequest.SearchBrand.Builder>
-
mergeFrom
public GenerateCreatorInsightsRequest.SearchBrand.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<GenerateCreatorInsightsRequest.SearchBrand.Builder>- Throws:
IOException
-
getBrandEntitiesList
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandEntitiesListin interfaceGenerateCreatorInsightsRequest.SearchBrandOrBuilder
-
getBrandEntitiesCount
public int getBrandEntitiesCount()Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandEntitiesCountin interfaceGenerateCreatorInsightsRequest.SearchBrandOrBuilder
-
getBrandEntities
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandEntitiesin interfaceGenerateCreatorInsightsRequest.SearchBrandOrBuilder
-
setBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder setBrandEntities(int index, AudienceInsightsAttribute value) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder setBrandEntities(int index, AudienceInsightsAttribute.Builder builderForValue) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder addBrandEntities(AudienceInsightsAttribute value) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder addBrandEntities(int index, AudienceInsightsAttribute value) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder addBrandEntities(AudienceInsightsAttribute.Builder builderForValue) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder addBrandEntities(int index, AudienceInsightsAttribute.Builder builderForValue) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addAllBrandEntities
public GenerateCreatorInsightsRequest.SearchBrand.Builder addAllBrandEntities(Iterable<? extends AudienceInsightsAttribute> values) Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
clearBrandEntities
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
removeBrandEntities
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getBrandEntitiesBuilder
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getBrandEntitiesOrBuilder
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandEntitiesOrBuilderin interfaceGenerateCreatorInsightsRequest.SearchBrandOrBuilder
-
getBrandEntitiesOrBuilderList
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandEntitiesOrBuilderListin interfaceGenerateCreatorInsightsRequest.SearchBrandOrBuilder
-
addBrandEntitiesBuilder
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addBrandEntitiesBuilder
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getBrandEntitiesBuilderList
Optional. One or more Knowledge Graph Entities that represent the brand for which to find insights.
repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getIncludeRelatedTopics
public boolean getIncludeRelatedTopics()Optional. When true, we will expand the search to beyond just the entities specified in [brand_entities][google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.brand_entities] to other related knowledge graph entities similar to the brand. The default value is `false`.
bool include_related_topics = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeRelatedTopicsin interfaceGenerateCreatorInsightsRequest.SearchBrandOrBuilder- Returns:
- The includeRelatedTopics.
-
setIncludeRelatedTopics
Optional. When true, we will expand the search to beyond just the entities specified in [brand_entities][google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.brand_entities] to other related knowledge graph entities similar to the brand. The default value is `false`.
bool include_related_topics = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The includeRelatedTopics to set.- Returns:
- This builder for chaining.
-
clearIncludeRelatedTopics
Optional. When true, we will expand the search to beyond just the entities specified in [brand_entities][google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.brand_entities] to other related knowledge graph entities similar to the brand. The default value is `false`.
bool include_related_topics = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-