Class LineupAttributeMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.Builder>
com.google.ads.googleads.v21.common.LineupAttributeMetadata.Builder
All Implemented Interfaces:
LineupAttributeMetadataOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LineupAttributeMetadata

public static final class LineupAttributeMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.Builder> implements LineupAttributeMetadataOrBuilder
 Metadata associated with a Lineup attribute.
 
Protobuf type google.ads.googleads.v21.common.LineupAttributeMetadata
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.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<LineupAttributeMetadata.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.GeneratedMessage.Builder<LineupAttributeMetadata.Builder>
    • getDefaultInstanceForType

      public LineupAttributeMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

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

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

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

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

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

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

    • isInitialized

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

      public LineupAttributeMetadata.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<LineupAttributeMetadata.Builder>
      Throws:
      IOException
    • hasInventoryCountry

      public boolean hasInventoryCountry()
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
      Specified by:
      hasInventoryCountry in interface LineupAttributeMetadataOrBuilder
      Returns:
      Whether the inventoryCountry field is set.
    • getInventoryCountry

      public LocationInfo getInventoryCountry()
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
      Specified by:
      getInventoryCountry in interface LineupAttributeMetadataOrBuilder
      Returns:
      The inventoryCountry.
    • setInventoryCountry

      public LineupAttributeMetadata.Builder setInventoryCountry(LocationInfo value)
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
    • setInventoryCountry

      public LineupAttributeMetadata.Builder setInventoryCountry(LocationInfo.Builder builderForValue)
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
    • mergeInventoryCountry

      public LineupAttributeMetadata.Builder mergeInventoryCountry(LocationInfo value)
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
    • clearInventoryCountry

      public LineupAttributeMetadata.Builder clearInventoryCountry()
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
    • getInventoryCountryBuilder

      public LocationInfo.Builder getInventoryCountryBuilder()
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
    • getInventoryCountryOrBuilder

      public LocationInfoOrBuilder getInventoryCountryOrBuilder()
       The national market associated with the lineup.
       
      .google.ads.googleads.v21.common.LocationInfo inventory_country = 1;
      Specified by:
      getInventoryCountryOrBuilder in interface LineupAttributeMetadataOrBuilder
    • hasMedianMonthlyInventory

      public boolean hasMedianMonthlyInventory()
       The median number of impressions per month on this lineup.
       
      optional int64 median_monthly_inventory = 2;
      Specified by:
      hasMedianMonthlyInventory in interface LineupAttributeMetadataOrBuilder
      Returns:
      Whether the medianMonthlyInventory field is set.
    • getMedianMonthlyInventory

      public long getMedianMonthlyInventory()
       The median number of impressions per month on this lineup.
       
      optional int64 median_monthly_inventory = 2;
      Specified by:
      getMedianMonthlyInventory in interface LineupAttributeMetadataOrBuilder
      Returns:
      The medianMonthlyInventory.
    • setMedianMonthlyInventory

      public LineupAttributeMetadata.Builder setMedianMonthlyInventory(long value)
       The median number of impressions per month on this lineup.
       
      optional int64 median_monthly_inventory = 2;
      Parameters:
      value - The medianMonthlyInventory to set.
      Returns:
      This builder for chaining.
    • clearMedianMonthlyInventory

      public LineupAttributeMetadata.Builder clearMedianMonthlyInventory()
       The median number of impressions per month on this lineup.
       
      optional int64 median_monthly_inventory = 2;
      Returns:
      This builder for chaining.
    • hasChannelCountLowerBound

      public boolean hasChannelCountLowerBound()
       The lower end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_lower_bound = 3;
      Specified by:
      hasChannelCountLowerBound in interface LineupAttributeMetadataOrBuilder
      Returns:
      Whether the channelCountLowerBound field is set.
    • getChannelCountLowerBound

      public long getChannelCountLowerBound()
       The lower end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_lower_bound = 3;
      Specified by:
      getChannelCountLowerBound in interface LineupAttributeMetadataOrBuilder
      Returns:
      The channelCountLowerBound.
    • setChannelCountLowerBound

      public LineupAttributeMetadata.Builder setChannelCountLowerBound(long value)
       The lower end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_lower_bound = 3;
      Parameters:
      value - The channelCountLowerBound to set.
      Returns:
      This builder for chaining.
    • clearChannelCountLowerBound

      public LineupAttributeMetadata.Builder clearChannelCountLowerBound()
       The lower end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_lower_bound = 3;
      Returns:
      This builder for chaining.
    • hasChannelCountUpperBound

      public boolean hasChannelCountUpperBound()
       The upper end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_upper_bound = 4;
      Specified by:
      hasChannelCountUpperBound in interface LineupAttributeMetadataOrBuilder
      Returns:
      Whether the channelCountUpperBound field is set.
    • getChannelCountUpperBound

      public long getChannelCountUpperBound()
       The upper end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_upper_bound = 4;
      Specified by:
      getChannelCountUpperBound in interface LineupAttributeMetadataOrBuilder
      Returns:
      The channelCountUpperBound.
    • setChannelCountUpperBound

      public LineupAttributeMetadata.Builder setChannelCountUpperBound(long value)
       The upper end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_upper_bound = 4;
      Parameters:
      value - The channelCountUpperBound to set.
      Returns:
      This builder for chaining.
    • clearChannelCountUpperBound

      public LineupAttributeMetadata.Builder clearChannelCountUpperBound()
       The upper end of a range containing the number of channels in the lineup.
       
      optional int64 channel_count_upper_bound = 4;
      Returns:
      This builder for chaining.
    • getSampleChannelsList

      public List<LineupAttributeMetadata.SampleChannel> getSampleChannelsList()
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
      Specified by:
      getSampleChannelsList in interface LineupAttributeMetadataOrBuilder
    • getSampleChannelsCount

      public int getSampleChannelsCount()
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
      Specified by:
      getSampleChannelsCount in interface LineupAttributeMetadataOrBuilder
    • getSampleChannels

      public LineupAttributeMetadata.SampleChannel getSampleChannels(int index)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
      Specified by:
      getSampleChannels in interface LineupAttributeMetadataOrBuilder
    • setSampleChannels

      public LineupAttributeMetadata.Builder setSampleChannels(int index, LineupAttributeMetadata.SampleChannel value)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • setSampleChannels

      public LineupAttributeMetadata.Builder setSampleChannels(int index, LineupAttributeMetadata.SampleChannel.Builder builderForValue)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • addSampleChannels

       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • addSampleChannels

      public LineupAttributeMetadata.Builder addSampleChannels(int index, LineupAttributeMetadata.SampleChannel value)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • addSampleChannels

       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • addSampleChannels

      public LineupAttributeMetadata.Builder addSampleChannels(int index, LineupAttributeMetadata.SampleChannel.Builder builderForValue)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • addAllSampleChannels

      public LineupAttributeMetadata.Builder addAllSampleChannels(Iterable<? extends LineupAttributeMetadata.SampleChannel> values)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • clearSampleChannels

      public LineupAttributeMetadata.Builder clearSampleChannels()
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • removeSampleChannels

      public LineupAttributeMetadata.Builder removeSampleChannels(int index)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • getSampleChannelsBuilder

      public LineupAttributeMetadata.SampleChannel.Builder getSampleChannelsBuilder(int index)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • getSampleChannelsOrBuilder

      public LineupAttributeMetadata.SampleChannelOrBuilder getSampleChannelsOrBuilder(int index)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
      Specified by:
      getSampleChannelsOrBuilder in interface LineupAttributeMetadataOrBuilder
    • getSampleChannelsOrBuilderList

      public List<? extends LineupAttributeMetadata.SampleChannelOrBuilder> getSampleChannelsOrBuilderList()
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
      Specified by:
      getSampleChannelsOrBuilderList in interface LineupAttributeMetadataOrBuilder
    • addSampleChannelsBuilder

      public LineupAttributeMetadata.SampleChannel.Builder addSampleChannelsBuilder()
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • addSampleChannelsBuilder

      public LineupAttributeMetadata.SampleChannel.Builder addSampleChannelsBuilder(int index)
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • getSampleChannelsBuilderList

      public List<LineupAttributeMetadata.SampleChannel.Builder> getSampleChannelsBuilderList()
       Examples of channels that are included in the lineup.
       
      repeated .google.ads.googleads.v21.common.LineupAttributeMetadata.SampleChannel sample_channels = 5;
    • setUnknownFields

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

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