Class BuyerRfp.Builder (0.62.0)

public static final class BuyerRfp.Builder extends GeneratedMessage.Builder<BuyerRfp.Builder> implements BuyerRfpOrBuilder

Represents the buyer RFP information associated with a Proposal describing the requirements from the buyer.

Protobuf type google.ads.admanager.v1.BuyerRfp

Implements

BuyerRfpOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCreativePlaceholders(Iterable<? extends CreativePlaceholder> values)

public BuyerRfp.Builder addAllCreativePlaceholders(Iterable<? extends CreativePlaceholder> values)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.CreativePlaceholder>
Returns
Type Description
BuyerRfp.Builder

addCreativePlaceholders(CreativePlaceholder value)

public BuyerRfp.Builder addCreativePlaceholders(CreativePlaceholder value)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CreativePlaceholder
Returns
Type Description
BuyerRfp.Builder

addCreativePlaceholders(CreativePlaceholder.Builder builderForValue)

public BuyerRfp.Builder addCreativePlaceholders(CreativePlaceholder.Builder builderForValue)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CreativePlaceholder.Builder
Returns
Type Description
BuyerRfp.Builder

addCreativePlaceholders(int index, CreativePlaceholder value)

public BuyerRfp.Builder addCreativePlaceholders(int index, CreativePlaceholder value)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CreativePlaceholder
Returns
Type Description
BuyerRfp.Builder

addCreativePlaceholders(int index, CreativePlaceholder.Builder builderForValue)

public BuyerRfp.Builder addCreativePlaceholders(int index, CreativePlaceholder.Builder builderForValue)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CreativePlaceholder.Builder
Returns
Type Description
BuyerRfp.Builder

addCreativePlaceholdersBuilder()

public CreativePlaceholder.Builder addCreativePlaceholdersBuilder()

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreativePlaceholder.Builder

addCreativePlaceholdersBuilder(int index)

public CreativePlaceholder.Builder addCreativePlaceholdersBuilder(int index)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CreativePlaceholder.Builder

build()

public BuyerRfp build()
Returns
Type Description
BuyerRfp

buildPartial()

public BuyerRfp buildPartial()
Returns
Type Description
BuyerRfp

clear()

public BuyerRfp.Builder clear()
Returns
Type Description
BuyerRfp.Builder
Overrides

clearAdExchangeEnvironment()

public BuyerRfp.Builder clearAdExchangeEnvironment()

Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include DISPLAY, VIDEO, and MOBILE.

optional .google.ads.admanager.v1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType ad_exchange_environment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

clearAdditionalTerms()

public BuyerRfp.Builder clearAdditionalTerms()

Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal.

optional string additional_terms = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

clearBudget()

public BuyerRfp.Builder clearBudget()

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

clearCostPerUnit()

public BuyerRfp.Builder clearCostPerUnit()

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

clearCreativePlaceholders()

public BuyerRfp.Builder clearCreativePlaceholders()

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

clearDescription()

public BuyerRfp.Builder clearDescription()

Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question.

optional string description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

clearEndTime()

public BuyerRfp.Builder clearEndTime()

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

clearRfpType()

public BuyerRfp.Builder clearRfpType()

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller.

optional .google.ads.admanager.v1.BuyerRfpTypeEnum.BuyerRfpType rfp_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

clearStartTime()

public BuyerRfp.Builder clearStartTime()

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

clearTargeting()

public BuyerRfp.Builder clearTargeting()

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

clearUnits()

public BuyerRfp.Builder clearUnits()

Output only. The number of impressions per day that a buyer wishes to see in the Proposal derived from the request for proposal in question.

optional int64 units = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

getAdExchangeEnvironment()

public ProposalEnvironmentTypeEnum.ProposalEnvironmentType getAdExchangeEnvironment()

Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include DISPLAY, VIDEO, and MOBILE.

optional .google.ads.admanager.v1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType ad_exchange_environment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProposalEnvironmentTypeEnum.ProposalEnvironmentType

The adExchangeEnvironment.

getAdExchangeEnvironmentValue()

public int getAdExchangeEnvironmentValue()

Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include DISPLAY, VIDEO, and MOBILE.

optional .google.ads.admanager.v1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType ad_exchange_environment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for adExchangeEnvironment.

getAdditionalTerms()

public String getAdditionalTerms()

Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal.

optional string additional_terms = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The additionalTerms.

getAdditionalTermsBytes()

public ByteString getAdditionalTermsBytes()

Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal.

optional string additional_terms = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for additionalTerms.

getBudget()

public Money getBudget()

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money

The budget.

getBudgetBuilder()

public Money.Builder getBudgetBuilder()

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money.Builder

getBudgetOrBuilder()

public MoneyOrBuilder getBudgetOrBuilder()

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.MoneyOrBuilder

getCostPerUnit()

public Money getCostPerUnit()

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money

The costPerUnit.

getCostPerUnitBuilder()

public Money.Builder getCostPerUnitBuilder()

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money.Builder

getCostPerUnitOrBuilder()

public MoneyOrBuilder getCostPerUnitOrBuilder()

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.MoneyOrBuilder

getCreativePlaceholders(int index)

public CreativePlaceholder getCreativePlaceholders(int index)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CreativePlaceholder

getCreativePlaceholdersBuilder(int index)

public CreativePlaceholder.Builder getCreativePlaceholdersBuilder(int index)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CreativePlaceholder.Builder

getCreativePlaceholdersBuilderList()

public List<CreativePlaceholder.Builder> getCreativePlaceholdersBuilderList()

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getCreativePlaceholdersCount()

public int getCreativePlaceholdersCount()

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCreativePlaceholdersList()

public List<CreativePlaceholder> getCreativePlaceholdersList()

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CreativePlaceholder>

getCreativePlaceholdersOrBuilder(int index)

public CreativePlaceholderOrBuilder getCreativePlaceholdersOrBuilder(int index)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CreativePlaceholderOrBuilder

getCreativePlaceholdersOrBuilderList()

public List<? extends CreativePlaceholderOrBuilder> getCreativePlaceholdersOrBuilderList()

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.CreativePlaceholderOrBuilder>

getDefaultInstanceForType()

public BuyerRfp getDefaultInstanceForType()
Returns
Type Description
BuyerRfp

getDescription()

public String getDescription()

Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question.

optional string description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question.

optional string description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getRfpType()

public BuyerRfpTypeEnum.BuyerRfpType getRfpType()

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller.

optional .google.ads.admanager.v1.BuyerRfpTypeEnum.BuyerRfpType rfp_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BuyerRfpTypeEnum.BuyerRfpType

The rfpType.

getRfpTypeValue()

public int getRfpTypeValue()

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller.

optional .google.ads.admanager.v1.BuyerRfpTypeEnum.BuyerRfpType rfp_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for rfpType.

getStartTime()

public Timestamp getStartTime()

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getTargeting()

public Targeting getTargeting()

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Targeting

The targeting.

getTargetingBuilder()

public Targeting.Builder getTargetingBuilder()

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Targeting.Builder

getTargetingOrBuilder()

public TargetingOrBuilder getTargetingOrBuilder()

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TargetingOrBuilder

getUnits()

public long getUnits()

Output only. The number of impressions per day that a buyer wishes to see in the Proposal derived from the request for proposal in question.

optional int64 units = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The units.

hasAdExchangeEnvironment()

public boolean hasAdExchangeEnvironment()

Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include DISPLAY, VIDEO, and MOBILE.

optional .google.ads.admanager.v1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType ad_exchange_environment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the adExchangeEnvironment field is set.

hasAdditionalTerms()

public boolean hasAdditionalTerms()

Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal.

optional string additional_terms = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the additionalTerms field is set.

hasBudget()

public boolean hasBudget()

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the budget field is set.

hasCostPerUnit()

public boolean hasCostPerUnit()

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the costPerUnit field is set.

hasDescription()

public boolean hasDescription()

Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question.

optional string description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the description field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasRfpType()

public boolean hasRfpType()

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller.

optional .google.ads.admanager.v1.BuyerRfpTypeEnum.BuyerRfpType rfp_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the rfpType field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasTargeting()

public boolean hasTargeting()

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the targeting field is set.

hasUnits()

public boolean hasUnits()

Output only. The number of impressions per day that a buyer wishes to see in the Proposal derived from the request for proposal in question.

optional int64 units = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the units field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBudget(Money value)

public BuyerRfp.Builder mergeBudget(Money value)

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
BuyerRfp.Builder

mergeCostPerUnit(Money value)

public BuyerRfp.Builder mergeCostPerUnit(Money value)

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
BuyerRfp.Builder

mergeEndTime(Timestamp value)

public BuyerRfp.Builder mergeEndTime(Timestamp value)

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BuyerRfp.Builder

mergeFrom(BuyerRfp other)

public BuyerRfp.Builder mergeFrom(BuyerRfp other)
Parameter
Name Description
other BuyerRfp
Returns
Type Description
BuyerRfp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BuyerRfp.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuyerRfp.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BuyerRfp.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BuyerRfp.Builder
Overrides

mergeStartTime(Timestamp value)

public BuyerRfp.Builder mergeStartTime(Timestamp value)

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BuyerRfp.Builder

mergeTargeting(Targeting value)

public BuyerRfp.Builder mergeTargeting(Targeting value)

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Targeting
Returns
Type Description
BuyerRfp.Builder

removeCreativePlaceholders(int index)

public BuyerRfp.Builder removeCreativePlaceholders(int index)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BuyerRfp.Builder

setAdExchangeEnvironment(ProposalEnvironmentTypeEnum.ProposalEnvironmentType value)

public BuyerRfp.Builder setAdExchangeEnvironment(ProposalEnvironmentTypeEnum.ProposalEnvironmentType value)

Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include DISPLAY, VIDEO, and MOBILE.

optional .google.ads.admanager.v1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType ad_exchange_environment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ProposalEnvironmentTypeEnum.ProposalEnvironmentType

The adExchangeEnvironment to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setAdExchangeEnvironmentValue(int value)

public BuyerRfp.Builder setAdExchangeEnvironmentValue(int value)

Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include DISPLAY, VIDEO, and MOBILE.

optional .google.ads.admanager.v1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType ad_exchange_environment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for adExchangeEnvironment to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setAdditionalTerms(String value)

public BuyerRfp.Builder setAdditionalTerms(String value)

Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal.

optional string additional_terms = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The additionalTerms to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setAdditionalTermsBytes(ByteString value)

public BuyerRfp.Builder setAdditionalTermsBytes(ByteString value)

Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal.

optional string additional_terms = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for additionalTerms to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setBudget(Money value)

public BuyerRfp.Builder setBudget(Money value)

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
BuyerRfp.Builder

setBudget(Money.Builder builderForValue)

public BuyerRfp.Builder setBudget(Money.Builder builderForValue)

Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed.

.google.type.Money budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
BuyerRfp.Builder

setCostPerUnit(Money value)

public BuyerRfp.Builder setCostPerUnit(Money value)

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
BuyerRfp.Builder

setCostPerUnit(Money.Builder builderForValue)

public BuyerRfp.Builder setCostPerUnit(Money.Builder builderForValue)

Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with LineItems reflecting this CPM.

.google.type.Money cost_per_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
BuyerRfp.Builder

setCreativePlaceholders(int index, CreativePlaceholder value)

public BuyerRfp.Builder setCreativePlaceholders(int index, CreativePlaceholder value)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CreativePlaceholder
Returns
Type Description
BuyerRfp.Builder

setCreativePlaceholders(int index, CreativePlaceholder.Builder builderForValue)

public BuyerRfp.Builder setCreativePlaceholders(int index, CreativePlaceholder.Builder builderForValue)

Output only. A list of inventory sizes in which creatives will eventually be served.

repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CreativePlaceholder.Builder
Returns
Type Description
BuyerRfp.Builder

setDescription(String value)

public BuyerRfp.Builder setDescription(String value)

Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question.

optional string description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public BuyerRfp.Builder setDescriptionBytes(ByteString value)

Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question.

optional string description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setEndTime(Timestamp value)

public BuyerRfp.Builder setEndTime(Timestamp value)

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BuyerRfp.Builder

setEndTime(Timestamp.Builder builderForValue)

public BuyerRfp.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time at which the proposed deal should end serving.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BuyerRfp.Builder

setRfpType(BuyerRfpTypeEnum.BuyerRfpType value)

public BuyerRfp.Builder setRfpType(BuyerRfpTypeEnum.BuyerRfpType value)

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller.

optional .google.ads.admanager.v1.BuyerRfpTypeEnum.BuyerRfpType rfp_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value BuyerRfpTypeEnum.BuyerRfpType

The rfpType to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setRfpTypeValue(int value)

public BuyerRfp.Builder setRfpTypeValue(int value)

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller.

optional .google.ads.admanager.v1.BuyerRfpTypeEnum.BuyerRfpType rfp_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for rfpType to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.

setStartTime(Timestamp value)

public BuyerRfp.Builder setStartTime(Timestamp value)

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BuyerRfp.Builder

setStartTime(Timestamp.Builder builderForValue)

public BuyerRfp.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The time at which the proposed deal should start serving.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BuyerRfp.Builder

setTargeting(Targeting value)

public BuyerRfp.Builder setTargeting(Targeting value)

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Targeting
Returns
Type Description
BuyerRfp.Builder

setTargeting(Targeting.Builder builderForValue)

public BuyerRfp.Builder setTargeting(Targeting.Builder builderForValue)

Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information.

.google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Targeting.Builder
Returns
Type Description
BuyerRfp.Builder

setUnits(long value)

public BuyerRfp.Builder setUnits(long value)

Output only. The number of impressions per day that a buyer wishes to see in the Proposal derived from the request for proposal in question.

optional int64 units = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The units to set.

Returns
Type Description
BuyerRfp.Builder

This builder for chaining.