Class ReservationErrorDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v23.errors.ReservationErrorDetails
All Implemented Interfaces:
ReservationErrorDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ReservationErrorDetails extends com.google.protobuf.GeneratedMessage implements ReservationErrorDetailsOrBuilder
 Error details returned for BookCampaigns or QuoteCampaigns.
 
Protobuf type google.ads.googleads.v23.errors.ReservationErrorDetails
See Also:
  • Field Details

    • CAMPAIGN_FIELD_NUMBER

      public static final int CAMPAIGN_FIELD_NUMBER
      See Also:
    • QUOTES_FIELD_NUMBER

      public static final int QUOTES_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
    • getCampaign

      public String getCampaign()
       The resource name of the campaign affected by the error, as it was
       specified in the request. It could contain a temporary ID. Format:
       customers/{customer_id}/campaigns/{campaign_id}
       
      string campaign = 1;
      Specified by:
      getCampaign in interface ReservationErrorDetailsOrBuilder
      Returns:
      The campaign.
    • getCampaignBytes

      public com.google.protobuf.ByteString getCampaignBytes()
       The resource name of the campaign affected by the error, as it was
       specified in the request. It could contain a temporary ID. Format:
       customers/{customer_id}/campaigns/{campaign_id}
       
      string campaign = 1;
      Specified by:
      getCampaignBytes in interface ReservationErrorDetailsOrBuilder
      Returns:
      The bytes for campaign.
    • getQuotesList

      public List<CampaignReservationQuote> getQuotesList()
       A list of proposed quotes for all the campaigns in the request. For the
       failed campaign, the given quote allows booking.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 2;
      Specified by:
      getQuotesList in interface ReservationErrorDetailsOrBuilder
    • getQuotesOrBuilderList

      public List<? extends CampaignReservationQuoteOrBuilder> getQuotesOrBuilderList()
       A list of proposed quotes for all the campaigns in the request. For the
       failed campaign, the given quote allows booking.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 2;
      Specified by:
      getQuotesOrBuilderList in interface ReservationErrorDetailsOrBuilder
    • getQuotesCount

      public int getQuotesCount()
       A list of proposed quotes for all the campaigns in the request. For the
       failed campaign, the given quote allows booking.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 2;
      Specified by:
      getQuotesCount in interface ReservationErrorDetailsOrBuilder
    • getQuotes

      public CampaignReservationQuote getQuotes(int index)
       A list of proposed quotes for all the campaigns in the request. For the
       failed campaign, the given quote allows booking.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 2;
      Specified by:
      getQuotes in interface ReservationErrorDetailsOrBuilder
    • getQuotesOrBuilder

      public CampaignReservationQuoteOrBuilder getQuotesOrBuilder(int index)
       A list of proposed quotes for all the campaigns in the request. For the
       failed campaign, the given quote allows booking.
       
      repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 2;
      Specified by:
      getQuotesOrBuilder in interface ReservationErrorDetailsOrBuilder
    • getQuoteSignature

      public String getQuoteSignature()
       A signature of the returned quote. The signature covers the entire set of
       campaigns in the request, and can be used in subsequent requests for the
       same set of campaigns.
       
      string quote_signature = 3;
      Specified by:
      getQuoteSignature in interface ReservationErrorDetailsOrBuilder
      Returns:
      The quoteSignature.
    • getQuoteSignatureBytes

      public com.google.protobuf.ByteString getQuoteSignatureBytes()
       A signature of the returned quote. The signature covers the entire set of
       campaigns in the request, and can be used in subsequent requests for the
       same set of campaigns.
       
      string quote_signature = 3;
      Specified by:
      getQuoteSignatureBytes in interface ReservationErrorDetailsOrBuilder
      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 ReservationErrorDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ReservationErrorDetails.Builder newBuilder()
    • newBuilder

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

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

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

      public static ReservationErrorDetails getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ReservationErrorDetails> 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 ReservationErrorDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder