Class BookCampaignsOperation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v23.actions.BookCampaignsOperation
All Implemented Interfaces:
BookCampaignsOperationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BookCampaignsOperation extends com.google.protobuf.GeneratedMessage implements BookCampaignsOperationOrBuilder
 Request message for the BookCampaigns 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.BookCampaignsOperation
See Also:
  • Field Details

    • CAMPAIGNS_FIELD_NUMBER

      public static final int CAMPAIGNS_FIELD_NUMBER
      See Also:
    • QUOTE_SIGNATURE_FIELD_NUMBER

      public static final int QUOTE_SIGNATURE_FIELD_NUMBER
      See Also:
  • 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
    • getCampaignsList

      public List<BookCampaignsOperation.Campaign> getCampaignsList()
       Campaigns to book. Maximum 2 campaigns per request.
       
      repeated .google.ads.googleads.v23.actions.BookCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsList in interface BookCampaignsOperationOrBuilder
    • getCampaignsOrBuilderList

      public List<? extends BookCampaignsOperation.CampaignOrBuilder> getCampaignsOrBuilderList()
       Campaigns to book. Maximum 2 campaigns per request.
       
      repeated .google.ads.googleads.v23.actions.BookCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsOrBuilderList in interface BookCampaignsOperationOrBuilder
    • getCampaignsCount

      public int getCampaignsCount()
       Campaigns to book. Maximum 2 campaigns per request.
       
      repeated .google.ads.googleads.v23.actions.BookCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsCount in interface BookCampaignsOperationOrBuilder
    • getCampaigns

      public BookCampaignsOperation.Campaign getCampaigns(int index)
       Campaigns to book. Maximum 2 campaigns per request.
       
      repeated .google.ads.googleads.v23.actions.BookCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaigns in interface BookCampaignsOperationOrBuilder
    • getCampaignsOrBuilder

      public BookCampaignsOperation.CampaignOrBuilder getCampaignsOrBuilder(int index)
       Campaigns to book. Maximum 2 campaigns per request.
       
      repeated .google.ads.googleads.v23.actions.BookCampaignsOperation.Campaign campaigns = 1;
      Specified by:
      getCampaignsOrBuilder in interface BookCampaignsOperationOrBuilder
    • 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 BookCampaignsOperationOrBuilder
      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 BookCampaignsOperationOrBuilder
      Returns:
      The bytes for quoteSignature.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BookCampaignsOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BookCampaignsOperation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BookCampaignsOperation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BookCampaignsOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BookCampaignsOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BookCampaignsOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BookCampaignsOperation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BookCampaignsOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BookCampaignsOperation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BookCampaignsOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BookCampaignsOperation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BookCampaignsOperation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public BookCampaignsOperation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BookCampaignsOperation.Builder newBuilder()
    • newBuilder

      public static BookCampaignsOperation.Builder newBuilder(BookCampaignsOperation prototype)
    • toBuilder

      public BookCampaignsOperation.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BookCampaignsOperation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BookCampaignsOperation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BookCampaignsOperation> parser()
    • getParserForType

      public com.google.protobuf.Parser<BookCampaignsOperation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BookCampaignsOperation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder