Class GenerateTargetingSuggestionMetricsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateTargetingSuggestionMetricsResponse.Builder>
com.google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsResponse.Builder
- All Implemented Interfaces:
GenerateTargetingSuggestionMetricsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateTargetingSuggestionMetricsResponse
public static final class GenerateTargetingSuggestionMetricsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GenerateTargetingSuggestionMetricsResponse.Builder>
implements GenerateTargetingSuggestionMetricsResponseOrBuilder
Response message for [AudienceInsightsService.GenerateTargetingSuggestionMetrics][google.ads.googleads.v22.services.AudienceInsightsService.GenerateTargetingSuggestionMetrics].Protobuf type
google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllSuggestions(Iterable<? extends TargetingSuggestionMetrics> values) Suggested targetable audiences.addSuggestions(int index, TargetingSuggestionMetrics value) Suggested targetable audiences.addSuggestions(int index, TargetingSuggestionMetrics.Builder builderForValue) Suggested targetable audiences.Suggested targetable audiences.addSuggestions(TargetingSuggestionMetrics.Builder builderForValue) Suggested targetable audiences.Suggested targetable audiences.addSuggestionsBuilder(int index) Suggested targetable audiences.build()clear()Suggested targetable audiences.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSuggestions(int index) Suggested targetable audiences.getSuggestionsBuilder(int index) Suggested targetable audiences.Suggested targetable audiences.intSuggested targetable audiences.Suggested targetable audiences.getSuggestionsOrBuilder(int index) Suggested targetable audiences.List<? extends TargetingSuggestionMetricsOrBuilder>Suggested targetable audiences.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSuggestions(int index) Suggested targetable audiences.setSuggestions(int index, TargetingSuggestionMetrics value) Suggested targetable audiences.setSuggestions(int index, TargetingSuggestionMetrics.Builder builderForValue) Suggested targetable audiences.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<GenerateTargetingSuggestionMetricsResponse.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<GenerateTargetingSuggestionMetricsResponse.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<GenerateTargetingSuggestionMetricsResponse.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 GenerateTargetingSuggestionMetricsResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateTargetingSuggestionMetricsResponse.Builder>
-
mergeFrom
public GenerateTargetingSuggestionMetricsResponse.Builder mergeFrom(GenerateTargetingSuggestionMetricsResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenerateTargetingSuggestionMetricsResponse.Builder>
-
mergeFrom
public GenerateTargetingSuggestionMetricsResponse.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<GenerateTargetingSuggestionMetricsResponse.Builder>- Throws:
IOException
-
getSuggestionsList
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1;- Specified by:
getSuggestionsListin interfaceGenerateTargetingSuggestionMetricsResponseOrBuilder
-
getSuggestionsCount
public int getSuggestionsCount()Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1;- Specified by:
getSuggestionsCountin interfaceGenerateTargetingSuggestionMetricsResponseOrBuilder
-
getSuggestions
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1;- Specified by:
getSuggestionsin interfaceGenerateTargetingSuggestionMetricsResponseOrBuilder
-
setSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder setSuggestions(int index, TargetingSuggestionMetrics value) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
setSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder setSuggestions(int index, TargetingSuggestionMetrics.Builder builderForValue) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
addSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder addSuggestions(TargetingSuggestionMetrics value) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
addSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder addSuggestions(int index, TargetingSuggestionMetrics value) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
addSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder addSuggestions(TargetingSuggestionMetrics.Builder builderForValue) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
addSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder addSuggestions(int index, TargetingSuggestionMetrics.Builder builderForValue) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
addAllSuggestions
public GenerateTargetingSuggestionMetricsResponse.Builder addAllSuggestions(Iterable<? extends TargetingSuggestionMetrics> values) Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
clearSuggestions
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
removeSuggestions
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
getSuggestionsBuilder
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
getSuggestionsOrBuilder
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1;- Specified by:
getSuggestionsOrBuilderin interfaceGenerateTargetingSuggestionMetricsResponseOrBuilder
-
getSuggestionsOrBuilderList
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1;- Specified by:
getSuggestionsOrBuilderListin interfaceGenerateTargetingSuggestionMetricsResponseOrBuilder
-
addSuggestionsBuilder
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
addSuggestionsBuilder
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1; -
getSuggestionsBuilderList
Suggested targetable audiences. There will be one suggestion for each [GenerateTargetingSuggestionMetricsRequest.audiences][google.ads.googleads.v22.services.GenerateTargetingSuggestionMetricsRequest.audiences] requested, matching the order requested.
repeated .google.ads.googleads.v22.services.TargetingSuggestionMetrics suggestions = 1;
-