Class QuoteCampaignsResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuoteCampaignsResult.Builder>
com.google.ads.googleads.v23.actions.QuoteCampaignsResult.Builder
All Implemented Interfaces:
QuoteCampaignsResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QuoteCampaignsResult

public static final class QuoteCampaignsResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuoteCampaignsResult.Builder> implements QuoteCampaignsResultOrBuilder
 The response of the QuoteCampaigns action, when the action is successful.
 Note that if the response contains errors, the action response will not be
 returned, but a quote may still be returned in the
 ErrorDetails.reservation_error_details field.
 
Protobuf type google.ads.googleads.v23.actions.QuoteCampaignsResult
  • Method Details

    • getDescriptor

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

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

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

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

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

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

    • isInitialized

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

      public QuoteCampaignsResult.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<QuoteCampaignsResult.Builder>
      Throws:
      IOException
    • getQuotesList

      public List<CampaignReservationQuote> getQuotesList()
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
      Specified by:
      getQuotesList in interface QuoteCampaignsResultOrBuilder
    • getQuotesCount

      public int getQuotesCount()
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
      Specified by:
      getQuotesCount in interface QuoteCampaignsResultOrBuilder
    • getQuotes

      public CampaignReservationQuote getQuotes(int index)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
      Specified by:
      getQuotes in interface QuoteCampaignsResultOrBuilder
    • setQuotes

      public QuoteCampaignsResult.Builder setQuotes(int index, CampaignReservationQuote value)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • setQuotes

      public QuoteCampaignsResult.Builder setQuotes(int index, CampaignReservationQuote.Builder builderForValue)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • addQuotes

       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • addQuotes

      public QuoteCampaignsResult.Builder addQuotes(int index, CampaignReservationQuote value)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • addQuotes

       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • addQuotes

      public QuoteCampaignsResult.Builder addQuotes(int index, CampaignReservationQuote.Builder builderForValue)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • addAllQuotes

      public QuoteCampaignsResult.Builder addAllQuotes(Iterable<? extends CampaignReservationQuote> values)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • clearQuotes

      public QuoteCampaignsResult.Builder clearQuotes()
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • removeQuotes

      public QuoteCampaignsResult.Builder removeQuotes(int index)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • getQuotesBuilder

      public CampaignReservationQuote.Builder getQuotesBuilder(int index)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • getQuotesOrBuilder

      public CampaignReservationQuoteOrBuilder getQuotesOrBuilder(int index)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
      Specified by:
      getQuotesOrBuilder in interface QuoteCampaignsResultOrBuilder
    • getQuotesOrBuilderList

      public List<? extends CampaignReservationQuoteOrBuilder> getQuotesOrBuilderList()
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
      Specified by:
      getQuotesOrBuilderList in interface QuoteCampaignsResultOrBuilder
    • addQuotesBuilder

      public CampaignReservationQuote.Builder addQuotesBuilder()
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • addQuotesBuilder

      public CampaignReservationQuote.Builder addQuotesBuilder(int index)
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • getQuotesBuilderList

      public List<CampaignReservationQuote.Builder> getQuotesBuilderList()
       The quotes for the requested campaigns.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;
    • getQuoteSignature

      public String getQuoteSignature()
       The signature of the quote. This signature should be used when booking the
       quote.
       
      string quote_signature = 2;
      Specified by:
      getQuoteSignature in interface QuoteCampaignsResultOrBuilder
      Returns:
      The quoteSignature.
    • getQuoteSignatureBytes

      public com.google.protobuf.ByteString getQuoteSignatureBytes()
       The signature of the quote. This signature should be used when booking the
       quote.
       
      string quote_signature = 2;
      Specified by:
      getQuoteSignatureBytes in interface QuoteCampaignsResultOrBuilder
      Returns:
      The bytes for quoteSignature.
    • setQuoteSignature

      public QuoteCampaignsResult.Builder setQuoteSignature(String value)
       The signature of the quote. This signature should be used when booking the
       quote.
       
      string quote_signature = 2;
      Parameters:
      value - The quoteSignature to set.
      Returns:
      This builder for chaining.
    • clearQuoteSignature

      public QuoteCampaignsResult.Builder clearQuoteSignature()
       The signature of the quote. This signature should be used when booking the
       quote.
       
      string quote_signature = 2;
      Returns:
      This builder for chaining.
    • setQuoteSignatureBytes

      public QuoteCampaignsResult.Builder setQuoteSignatureBytes(com.google.protobuf.ByteString value)
       The signature of the quote. This signature should be used when booking the
       quote.
       
      string quote_signature = 2;
      Parameters:
      value - The bytes for quoteSignature to set.
      Returns:
      This builder for chaining.