Class QuoteCampaignsOperation.Builder

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

public static final class QuoteCampaignsOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuoteCampaignsOperation.Builder> implements QuoteCampaignsOperationOrBuilder
 Request message for the QuoteCampaigns action.
 Request including this operation can have a latency of up to 30 seconds.
 This feature is not publicly available.
 
Protobuf type google.ads.googleads.v23.actions.QuoteCampaignsOperation
  • 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<QuoteCampaignsOperation.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<QuoteCampaignsOperation.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<QuoteCampaignsOperation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public QuoteCampaignsOperation.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<QuoteCampaignsOperation.Builder>
      Throws:
      IOException
    • getCampaignsList

      public List<QuoteCampaignsOperation.Campaign> getCampaignsList()
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsList in interface QuoteCampaignsOperationOrBuilder
    • getCampaignsCount

      public int getCampaignsCount()
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsCount in interface QuoteCampaignsOperationOrBuilder
    • getCampaigns

      public QuoteCampaignsOperation.Campaign getCampaigns(int index)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaigns in interface QuoteCampaignsOperationOrBuilder
    • setCampaigns

      public QuoteCampaignsOperation.Builder setCampaigns(int index, QuoteCampaignsOperation.Campaign value)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • setCampaigns

      public QuoteCampaignsOperation.Builder setCampaigns(int index, QuoteCampaignsOperation.Campaign.Builder builderForValue)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • addCampaigns

       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • addCampaigns

      public QuoteCampaignsOperation.Builder addCampaigns(int index, QuoteCampaignsOperation.Campaign value)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • addCampaigns

       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • addCampaigns

      public QuoteCampaignsOperation.Builder addCampaigns(int index, QuoteCampaignsOperation.Campaign.Builder builderForValue)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • addAllCampaigns

       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • clearCampaigns

      public QuoteCampaignsOperation.Builder clearCampaigns()
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • removeCampaigns

      public QuoteCampaignsOperation.Builder removeCampaigns(int index)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • getCampaignsBuilder

      public QuoteCampaignsOperation.Campaign.Builder getCampaignsBuilder(int index)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • getCampaignsOrBuilder

      public QuoteCampaignsOperation.CampaignOrBuilder getCampaignsOrBuilder(int index)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsOrBuilder in interface QuoteCampaignsOperationOrBuilder
    • getCampaignsOrBuilderList

      public List<? extends QuoteCampaignsOperation.CampaignOrBuilder> getCampaignsOrBuilderList()
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsOrBuilderList in interface QuoteCampaignsOperationOrBuilder
    • addCampaignsBuilder

      public QuoteCampaignsOperation.Campaign.Builder addCampaignsBuilder()
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • addCampaignsBuilder

      public QuoteCampaignsOperation.Campaign.Builder addCampaignsBuilder(int index)
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • getCampaignsBuilderList

      public List<QuoteCampaignsOperation.Campaign.Builder> getCampaignsBuilderList()
       Campaigns for which the quotes are requested. Maximum 2 campaigns per
       request.
       
      repeated .google.ads.googleads.v23.actions.QuoteCampaignsOperation.Campaign campaigns = 1;
    • getQuoteSignature

      public String getQuoteSignature()
       If provided, the signature of the previous quote. Clients should always
       provide the quote signature from previous quotes if they haven't changed
       the campaigns to prevent price fluctuations within a user session.
       
      string quote_signature = 2;
      Specified by:
      getQuoteSignature in interface QuoteCampaignsOperationOrBuilder
      Returns:
      The quoteSignature.
    • getQuoteSignatureBytes

      public com.google.protobuf.ByteString getQuoteSignatureBytes()
       If provided, the signature of the previous quote. Clients should always
       provide the quote signature from previous quotes if they haven't changed
       the campaigns to prevent price fluctuations within a user session.
       
      string quote_signature = 2;
      Specified by:
      getQuoteSignatureBytes in interface QuoteCampaignsOperationOrBuilder
      Returns:
      The bytes for quoteSignature.
    • setQuoteSignature

      public QuoteCampaignsOperation.Builder setQuoteSignature(String value)
       If provided, the signature of the previous quote. Clients should always
       provide the quote signature from previous quotes if they haven't changed
       the campaigns to prevent price fluctuations within a user session.
       
      string quote_signature = 2;
      Parameters:
      value - The quoteSignature to set.
      Returns:
      This builder for chaining.
    • clearQuoteSignature

      public QuoteCampaignsOperation.Builder clearQuoteSignature()
       If provided, the signature of the previous quote. Clients should always
       provide the quote signature from previous quotes if they haven't changed
       the campaigns to prevent price fluctuations within a user session.
       
      string quote_signature = 2;
      Returns:
      This builder for chaining.
    • setQuoteSignatureBytes

      public QuoteCampaignsOperation.Builder setQuoteSignatureBytes(com.google.protobuf.ByteString value)
       If provided, the signature of the previous quote. Clients should always
       provide the quote signature from previous quotes if they haven't changed
       the campaigns to prevent price fluctuations within a user session.
       
      string quote_signature = 2;
      Parameters:
      value - The bytes for quoteSignature to set.
      Returns:
      This builder for chaining.