Class KeywordPlanAggregateMetrics.Builder

    • Method Detail

      • 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<KeywordPlanAggregateMetrics.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<KeywordPlanAggregateMetrics.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public KeywordPlanAggregateMetrics.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAggregateMetrics.Builder>
      • isInitialized

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

        public KeywordPlanAggregateMetrics.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.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<KeywordPlanAggregateMetrics.Builder>
        Throws:
        java.io.IOException
      • getAggregateMetricTypesCount

        public int getAggregateMetricTypesCount()
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Specified by:
        getAggregateMetricTypesCount in interface KeywordPlanAggregateMetricsOrBuilder
        Returns:
        The count of aggregateMetricTypes.
      • clearAggregateMetricTypes

        public KeywordPlanAggregateMetrics.Builder clearAggregateMetricTypes()
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Returns:
        This builder for chaining.
      • getAggregateMetricTypesValueList

        public java.util.List<java.lang.Integer> getAggregateMetricTypesValueList()
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Specified by:
        getAggregateMetricTypesValueList in interface KeywordPlanAggregateMetricsOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for aggregateMetricTypes.
      • getAggregateMetricTypesValue

        public int getAggregateMetricTypesValue​(int index)
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Specified by:
        getAggregateMetricTypesValue in interface KeywordPlanAggregateMetricsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of aggregateMetricTypes at the given index.
      • setAggregateMetricTypesValue

        public KeywordPlanAggregateMetrics.Builder setAggregateMetricTypesValue​(int index,
                                                                                int value)
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of aggregateMetricTypes at the given index.
      • addAggregateMetricTypesValue

        public KeywordPlanAggregateMetrics.Builder addAggregateMetricTypesValue​(int value)
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Parameters:
        value - The enum numeric value on the wire for aggregateMetricTypes to add.
        Returns:
        This builder for chaining.
      • addAllAggregateMetricTypesValue

        public KeywordPlanAggregateMetrics.Builder addAllAggregateMetricTypesValue​(java.lang.Iterable<java.lang.Integer> values)
         The list of aggregate metrics to fetch data.
         
        repeated .google.ads.googleads.v10.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1;
        Parameters:
        values - The enum numeric values on the wire for aggregateMetricTypes to add.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final KeywordPlanAggregateMetrics.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<KeywordPlanAggregateMetrics.Builder>