Class KeywordPlanAggregateMetricResults.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
com.google.ads.googleads.v18.common.KeywordPlanAggregateMetricResults.Builder
All Implemented Interfaces:
KeywordPlanAggregateMetricResultsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
KeywordPlanAggregateMetricResults

public static final class KeywordPlanAggregateMetricResults.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder> implements KeywordPlanAggregateMetricResultsOrBuilder
 The aggregated historical metrics for keyword plan keywords.
 
Protobuf type google.ads.googleads.v18.common.KeywordPlanAggregateMetricResults
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • getDefaultInstanceForType

      public KeywordPlanAggregateMetricResults getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public KeywordPlanAggregateMetricResults buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • setField

      public KeywordPlanAggregateMetricResults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • clearField

      public KeywordPlanAggregateMetricResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • clearOneof

      public KeywordPlanAggregateMetricResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • setRepeatedField

      public KeywordPlanAggregateMetricResults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • addRepeatedField

      public KeywordPlanAggregateMetricResults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • mergeFrom

      public KeywordPlanAggregateMetricResults.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeywordPlanAggregateMetricResults.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • mergeFrom

      public KeywordPlanAggregateMetricResults.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeywordPlanAggregateMetricResults.Builder>
      Throws:
      IOException
    • getDeviceSearchesList

      public List<KeywordPlanDeviceSearches> getDeviceSearchesList()
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
      Specified by:
      getDeviceSearchesList in interface KeywordPlanAggregateMetricResultsOrBuilder
    • getDeviceSearchesCount

      public int getDeviceSearchesCount()
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
      Specified by:
      getDeviceSearchesCount in interface KeywordPlanAggregateMetricResultsOrBuilder
    • getDeviceSearches

      public KeywordPlanDeviceSearches getDeviceSearches(int index)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
      Specified by:
      getDeviceSearches in interface KeywordPlanAggregateMetricResultsOrBuilder
    • setDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder setDeviceSearches(int index, KeywordPlanDeviceSearches value)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • setDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder setDeviceSearches(int index, KeywordPlanDeviceSearches.Builder builderForValue)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • addDeviceSearches

       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • addDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder addDeviceSearches(int index, KeywordPlanDeviceSearches value)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • addDeviceSearches

       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • addDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder addDeviceSearches(int index, KeywordPlanDeviceSearches.Builder builderForValue)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • addAllDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder addAllDeviceSearches(Iterable<? extends KeywordPlanDeviceSearches> values)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • clearDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder clearDeviceSearches()
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • removeDeviceSearches

      public KeywordPlanAggregateMetricResults.Builder removeDeviceSearches(int index)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • getDeviceSearchesBuilder

      public KeywordPlanDeviceSearches.Builder getDeviceSearchesBuilder(int index)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • getDeviceSearchesOrBuilder

      public KeywordPlanDeviceSearchesOrBuilder getDeviceSearchesOrBuilder(int index)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
      Specified by:
      getDeviceSearchesOrBuilder in interface KeywordPlanAggregateMetricResultsOrBuilder
    • getDeviceSearchesOrBuilderList

      public List<? extends KeywordPlanDeviceSearchesOrBuilder> getDeviceSearchesOrBuilderList()
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
      Specified by:
      getDeviceSearchesOrBuilderList in interface KeywordPlanAggregateMetricResultsOrBuilder
    • addDeviceSearchesBuilder

      public KeywordPlanDeviceSearches.Builder addDeviceSearchesBuilder()
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • addDeviceSearchesBuilder

      public KeywordPlanDeviceSearches.Builder addDeviceSearchesBuilder(int index)
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • getDeviceSearchesBuilderList

      public List<KeywordPlanDeviceSearches.Builder> getDeviceSearchesBuilderList()
       The aggregate searches for all the keywords segmented by device
       for the specified time.
       Supports the following device types: MOBILE, TABLET, DESKTOP.
      
       This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set
       in the KeywordPlanAggregateMetrics field in the request.
       
      repeated .google.ads.googleads.v18.common.KeywordPlanDeviceSearches device_searches = 1;
    • setUnknownFields

      public final KeywordPlanAggregateMetricResults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>
    • mergeUnknownFields

      public final KeywordPlanAggregateMetricResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetricResults.Builder>