Class ReservationErrorDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationErrorDetails.Builder>
com.google.ads.googleads.v23.errors.ReservationErrorDetails.Builder
- All Implemented Interfaces:
ReservationErrorDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationErrorDetails
public static final class ReservationErrorDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationErrorDetails.Builder>
implements ReservationErrorDetailsOrBuilder
Error details returned for BookCampaigns or QuoteCampaigns.Protobuf type
google.ads.googleads.v23.errors.ReservationErrorDetails-
Method Summary
Modifier and TypeMethodDescriptionaddAllQuotes(Iterable<? extends CampaignReservationQuote> values) A list of proposed quotes for all the campaigns in the request.addQuotes(int index, CampaignReservationQuote value) A list of proposed quotes for all the campaigns in the request.addQuotes(int index, CampaignReservationQuote.Builder builderForValue) A list of proposed quotes for all the campaigns in the request.A list of proposed quotes for all the campaigns in the request.addQuotes(CampaignReservationQuote.Builder builderForValue) A list of proposed quotes for all the campaigns in the request.A list of proposed quotes for all the campaigns in the request.addQuotesBuilder(int index) A list of proposed quotes for all the campaigns in the request.build()clear()The resource name of the campaign affected by the error, as it was specified in the request.A list of proposed quotes for all the campaigns in the request.A signature of the returned quote.The resource name of the campaign affected by the error, as it was specified in the request.com.google.protobuf.ByteStringThe resource name of the campaign affected by the error, as it was specified in the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetQuotes(int index) A list of proposed quotes for all the campaigns in the request.getQuotesBuilder(int index) A list of proposed quotes for all the campaigns in the request.A list of proposed quotes for all the campaigns in the request.intA list of proposed quotes for all the campaigns in the request.A signature of the returned quote.com.google.protobuf.ByteStringA signature of the returned quote.A list of proposed quotes for all the campaigns in the request.getQuotesOrBuilder(int index) A list of proposed quotes for all the campaigns in the request.List<? extends CampaignReservationQuoteOrBuilder>A list of proposed quotes for all the campaigns in the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReservationErrorDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeQuotes(int index) A list of proposed quotes for all the campaigns in the request.setCampaign(String value) The resource name of the campaign affected by the error, as it was specified in the request.setCampaignBytes(com.google.protobuf.ByteString value) The resource name of the campaign affected by the error, as it was specified in the request.setQuotes(int index, CampaignReservationQuote value) A list of proposed quotes for all the campaigns in the request.setQuotes(int index, CampaignReservationQuote.Builder builderForValue) A list of proposed quotes for all the campaigns in the request.setQuoteSignature(String value) A signature of the returned quote.setQuoteSignatureBytes(com.google.protobuf.ByteString value) A signature of the returned quote.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReservationErrorDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReservationErrorDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReservationErrorDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationErrorDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationErrorDetails.Builder>
-
mergeFrom
public ReservationErrorDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationErrorDetails.Builder>- Throws:
IOException
-
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:
getCampaignin interfaceReservationErrorDetailsOrBuilder- 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:
getCampaignBytesin interfaceReservationErrorDetailsOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
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;- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
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;- Returns:
- This builder for chaining.
-
setCampaignBytes
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;- Parameters:
value- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
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:
getQuotesListin interfaceReservationErrorDetailsOrBuilder
-
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:
getQuotesCountin interfaceReservationErrorDetailsOrBuilder
-
getQuotes
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:
getQuotesin interfaceReservationErrorDetailsOrBuilder
-
setQuotes
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; -
setQuotes
public ReservationErrorDetails.Builder setQuotes(int index, CampaignReservationQuote.Builder builderForValue) 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; -
addQuotes
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; -
addQuotes
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; -
addQuotes
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; -
addQuotes
public ReservationErrorDetails.Builder addQuotes(int index, CampaignReservationQuote.Builder builderForValue) 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; -
addAllQuotes
public ReservationErrorDetails.Builder addAllQuotes(Iterable<? extends CampaignReservationQuote> values) 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; -
clearQuotes
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; -
removeQuotes
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; -
getQuotesBuilder
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; -
getQuotesOrBuilder
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:
getQuotesOrBuilderin interfaceReservationErrorDetailsOrBuilder
-
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:
getQuotesOrBuilderListin interfaceReservationErrorDetailsOrBuilder
-
addQuotesBuilder
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; -
addQuotesBuilder
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; -
getQuotesBuilderList
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; -
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:
getQuoteSignaturein interfaceReservationErrorDetailsOrBuilder- 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:
getQuoteSignatureBytesin interfaceReservationErrorDetailsOrBuilder- Returns:
- The bytes for quoteSignature.
-
setQuoteSignature
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;- Parameters:
value- The quoteSignature to set.- Returns:
- This builder for chaining.
-
clearQuoteSignature
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;- Returns:
- This builder for chaining.
-
setQuoteSignatureBytes
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;- Parameters:
value- The bytes for quoteSignature to set.- Returns:
- This builder for chaining.
-