Class ListingDimensionPath.Builder

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

public static final class ListingDimensionPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListingDimensionPath.Builder> implements ListingDimensionPathOrBuilder
 The path of dimensions defining a listing group.
 
Protobuf type google.ads.googleads.v18.common.ListingDimensionPath
  • 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<ListingDimensionPath.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<ListingDimensionPath.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<ListingDimensionPath.Builder>
    • getDefaultInstanceForType

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

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

      public ListingDimensionPath 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<ListingDimensionPath.Builder>
    • setField

      public ListingDimensionPath.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<ListingDimensionPath.Builder>
    • clearField

      public ListingDimensionPath.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<ListingDimensionPath.Builder>
    • clearOneof

      public ListingDimensionPath.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<ListingDimensionPath.Builder>
    • setRepeatedField

      public ListingDimensionPath.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<ListingDimensionPath.Builder>
    • addRepeatedField

      public ListingDimensionPath.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<ListingDimensionPath.Builder>
    • mergeFrom

      public ListingDimensionPath.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<ListingDimensionPath.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<ListingDimensionPath.Builder>
    • mergeFrom

      public ListingDimensionPath.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<ListingDimensionPath.Builder>
      Throws:
      IOException
    • getDimensionsList

      public List<ListingDimensionInfo> getDimensionsList()
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
      Specified by:
      getDimensionsList in interface ListingDimensionPathOrBuilder
    • getDimensionsCount

      public int getDimensionsCount()
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
      Specified by:
      getDimensionsCount in interface ListingDimensionPathOrBuilder
    • getDimensions

      public ListingDimensionInfo getDimensions(int index)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
      Specified by:
      getDimensions in interface ListingDimensionPathOrBuilder
    • setDimensions

      public ListingDimensionPath.Builder setDimensions(int index, ListingDimensionInfo value)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • setDimensions

      public ListingDimensionPath.Builder setDimensions(int index, ListingDimensionInfo.Builder builderForValue)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • addDimensions

      public ListingDimensionPath.Builder addDimensions(ListingDimensionInfo value)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • addDimensions

      public ListingDimensionPath.Builder addDimensions(int index, ListingDimensionInfo value)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • addDimensions

      public ListingDimensionPath.Builder addDimensions(ListingDimensionInfo.Builder builderForValue)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • addDimensions

      public ListingDimensionPath.Builder addDimensions(int index, ListingDimensionInfo.Builder builderForValue)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • addAllDimensions

      public ListingDimensionPath.Builder addAllDimensions(Iterable<? extends ListingDimensionInfo> values)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • clearDimensions

      public ListingDimensionPath.Builder clearDimensions()
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • removeDimensions

      public ListingDimensionPath.Builder removeDimensions(int index)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • getDimensionsBuilder

      public ListingDimensionInfo.Builder getDimensionsBuilder(int index)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • getDimensionsOrBuilder

      public ListingDimensionInfoOrBuilder getDimensionsOrBuilder(int index)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
      Specified by:
      getDimensionsOrBuilder in interface ListingDimensionPathOrBuilder
    • getDimensionsOrBuilderList

      public List<? extends ListingDimensionInfoOrBuilder> getDimensionsOrBuilderList()
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
      Specified by:
      getDimensionsOrBuilderList in interface ListingDimensionPathOrBuilder
    • addDimensionsBuilder

      public ListingDimensionInfo.Builder addDimensionsBuilder()
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • addDimensionsBuilder

      public ListingDimensionInfo.Builder addDimensionsBuilder(int index)
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • getDimensionsBuilderList

      public List<ListingDimensionInfo.Builder> getDimensionsBuilderList()
       The complete path of dimensions through the listing group hierarchy, from
       the root (excluding the root itself) to this listing group.
       
      repeated .google.ads.googleads.v18.common.ListingDimensionInfo dimensions = 1;
    • setUnknownFields

      public final ListingDimensionPath.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<ListingDimensionPath.Builder>
    • mergeUnknownFields

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