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 Summary
Modifier and TypeMethodDescriptionaddAllQuotes(Iterable<? extends CampaignReservationQuote> values) The quotes for the requested campaigns.addQuotes(int index, CampaignReservationQuote value) The quotes for the requested campaigns.addQuotes(int index, CampaignReservationQuote.Builder builderForValue) The quotes for the requested campaigns.The quotes for the requested campaigns.addQuotes(CampaignReservationQuote.Builder builderForValue) The quotes for the requested campaigns.The quotes for the requested campaigns.addQuotesBuilder(int index) The quotes for the requested campaigns.build()clear()The quotes for the requested campaigns.The signature of the quote.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetQuotes(int index) The quotes for the requested campaigns.getQuotesBuilder(int index) The quotes for the requested campaigns.The quotes for the requested campaigns.intThe quotes for the requested campaigns.The signature of the quote.com.google.protobuf.ByteStringThe signature of the quote.The quotes for the requested campaigns.getQuotesOrBuilder(int index) The quotes for the requested campaigns.List<? extends CampaignReservationQuoteOrBuilder>The quotes for the requested campaigns.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(QuoteCampaignsResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeQuotes(int index) The quotes for the requested campaigns.setQuotes(int index, CampaignReservationQuote value) The quotes for the requested campaigns.setQuotes(int index, CampaignReservationQuote.Builder builderForValue) The quotes for the requested campaigns.setQuoteSignature(String value) The signature of the quote.setQuoteSignatureBytes(com.google.protobuf.ByteString value) The signature of the 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<QuoteCampaignsResult.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<QuoteCampaignsResult.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<QuoteCampaignsResult.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<QuoteCampaignsResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuoteCampaignsResult.Builder>- Throws:
IOException
-
getQuotesList
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;- Specified by:
getQuotesListin interfaceQuoteCampaignsResultOrBuilder
-
getQuotesCount
public int getQuotesCount()The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;- Specified by:
getQuotesCountin interfaceQuoteCampaignsResultOrBuilder
-
getQuotes
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;- Specified by:
getQuotesin interfaceQuoteCampaignsResultOrBuilder
-
setQuotes
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
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
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1; -
removeQuotes
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1; -
getQuotesBuilder
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1; -
getQuotesOrBuilder
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;- Specified by:
getQuotesOrBuilderin interfaceQuoteCampaignsResultOrBuilder
-
getQuotesOrBuilderList
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1;- Specified by:
getQuotesOrBuilderListin interfaceQuoteCampaignsResultOrBuilder
-
addQuotesBuilder
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1; -
addQuotesBuilder
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1; -
getQuotesBuilderList
The quotes for the requested campaigns.
repeated .google.ads.googleads.v23.common.CampaignReservationQuote quotes = 1; -
getQuoteSignature
The signature of the quote. This signature should be used when booking the quote.
string quote_signature = 2;- Specified by:
getQuoteSignaturein interfaceQuoteCampaignsResultOrBuilder- 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:
getQuoteSignatureBytesin interfaceQuoteCampaignsResultOrBuilder- Returns:
- The bytes for quoteSignature.
-
setQuoteSignature
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
The signature of the quote. This signature should be used when booking the quote.
string quote_signature = 2;- Returns:
- This builder for chaining.
-
setQuoteSignatureBytes
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.
-