Class PrivateAuctionDeal.Builder (0.27.0)

public static final class PrivateAuctionDeal.Builder extends GeneratedMessageV3.Builder<PrivateAuctionDeal.Builder> implements PrivateAuctionDealOrBuilder

The PrivateAuctionDeal resource.

Protobuf type google.ads.admanager.v1.PrivateAuctionDeal

Static Methods

getDescriptor()

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

Methods

addAllCreativeSizes(Iterable<? extends Size> values)

public PrivateAuctionDeal.Builder addAllCreativeSizes(Iterable<? extends Size> values)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

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

addCreativeSizes(Size value)

public PrivateAuctionDeal.Builder addCreativeSizes(Size value)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Size
Returns
Type Description
PrivateAuctionDeal.Builder

addCreativeSizes(Size.Builder builderForValue)

public PrivateAuctionDeal.Builder addCreativeSizes(Size.Builder builderForValue)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Size.Builder
Returns
Type Description
PrivateAuctionDeal.Builder

addCreativeSizes(int index, Size value)

public PrivateAuctionDeal.Builder addCreativeSizes(int index, Size value)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Size
Returns
Type Description
PrivateAuctionDeal.Builder

addCreativeSizes(int index, Size.Builder builderForValue)

public PrivateAuctionDeal.Builder addCreativeSizes(int index, Size.Builder builderForValue)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Size.Builder
Returns
Type Description
PrivateAuctionDeal.Builder

addCreativeSizesBuilder()

public Size.Builder addCreativeSizesBuilder()

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Size.Builder

addCreativeSizesBuilder(int index)

public Size.Builder addCreativeSizesBuilder(int index)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Size.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateAuctionDeal.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

build()

public PrivateAuctionDeal build()
Returns
Type Description
PrivateAuctionDeal

buildPartial()

public PrivateAuctionDeal buildPartial()
Returns
Type Description
PrivateAuctionDeal

clear()

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

clearAuctionPriorityEnabled()

public PrivateAuctionDeal.Builder clearAuctionPriorityEnabled()

Optional. Whether the deal is enabled with priority over open auction.

optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearBlockOverrideEnabled()

public PrivateAuctionDeal.Builder clearBlockOverrideEnabled()

Optional. Whether the deal has block override enabled.

optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearBuyerAccountId()

public PrivateAuctionDeal.Builder clearBuyerAccountId()

Immutable. The account ID of the buyer of the PrivateAuctionDeal.

optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearBuyerData()

public PrivateAuctionDeal.Builder clearBuyerData()

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.Builder

clearBuyerPermissionType()

public PrivateAuctionDeal.Builder clearBuyerPermissionType()

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearCreateTime()

public PrivateAuctionDeal.Builder clearCreateTime()

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateAuctionDeal.Builder

clearCreativeSizes()

public PrivateAuctionDeal.Builder clearCreativeSizes()

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.Builder

clearEndTime()

public PrivateAuctionDeal.Builder clearEndTime()

Optional. The end time of the PrivateAuctionDeal.

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

Returns
Type Description
PrivateAuctionDeal.Builder

clearExternalDealId()

public PrivateAuctionDeal.Builder clearExternalDealId()

Output only. The external ID of the PrivateAuctionDeal.

optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PrivateAuctionDeal.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

clearFloorPrice()

public PrivateAuctionDeal.Builder clearFloorPrice()

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateAuctionDeal.Builder

clearName()

public PrivateAuctionDeal.Builder clearName()

Identifier. The resource name of the PrivateAuctionDeal. Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateAuctionDeal.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

clearPrivateAuctionDealId()

public PrivateAuctionDeal.Builder clearPrivateAuctionDealId()

Output only. PrivateAuctionDeal ID.

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

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearPrivateAuctionDisplayName()

public PrivateAuctionDeal.Builder clearPrivateAuctionDisplayName()

Output only. The display name of the PrivateAuction.

optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearPrivateAuctionId()

public PrivateAuctionDeal.Builder clearPrivateAuctionId()

Immutable. The ID of the PrivateAuction.

optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearStatus()

public PrivateAuctionDeal.Builder clearStatus()

Output only. The status of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

clearTargeting()

public PrivateAuctionDeal.Builder clearTargeting()

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.Builder

clearUpdateTime()

public PrivateAuctionDeal.Builder clearUpdateTime()

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateAuctionDeal.Builder

clone()

public PrivateAuctionDeal.Builder clone()
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

getAuctionPriorityEnabled()

public boolean getAuctionPriorityEnabled()

Optional. Whether the deal is enabled with priority over open auction.

optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The auctionPriorityEnabled.

getBlockOverrideEnabled()

public boolean getBlockOverrideEnabled()

Optional. Whether the deal has block override enabled.

optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The blockOverrideEnabled.

getBuyerAccountId()

public long getBuyerAccountId()

Immutable. The account ID of the buyer of the PrivateAuctionDeal.

optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
long

The buyerAccountId.

getBuyerData()

public PrivateAuctionDeal.BuyerData getBuyerData()

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.BuyerData

The buyerData.

getBuyerDataBuilder()

public PrivateAuctionDeal.BuyerData.Builder getBuyerDataBuilder()

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.BuyerData.Builder

getBuyerDataOrBuilder()

public PrivateAuctionDeal.BuyerDataOrBuilder getBuyerDataOrBuilder()

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateAuctionDeal.BuyerDataOrBuilder

getBuyerPermissionType()

public DealBuyerPermissionTypeEnum.DealBuyerPermissionType getBuyerPermissionType()

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DealBuyerPermissionTypeEnum.DealBuyerPermissionType

The buyerPermissionType.

getBuyerPermissionTypeValue()

public int getBuyerPermissionTypeValue()

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for buyerPermissionType.

getCreateTime()

public Timestamp getCreateTime()

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCreativeSizes(int index)

public Size getCreativeSizes(int index)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Size

getCreativeSizesBuilder(int index)

public Size.Builder getCreativeSizesBuilder(int index)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Size.Builder

getCreativeSizesBuilderList()

public List<Size.Builder> getCreativeSizesBuilderList()

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getCreativeSizesCount()

public int getCreativeSizesCount()

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCreativeSizesList()

public List<Size> getCreativeSizesList()

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Size>

getCreativeSizesOrBuilder(int index)

public SizeOrBuilder getCreativeSizesOrBuilder(int index)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SizeOrBuilder

getCreativeSizesOrBuilderList()

public List<? extends SizeOrBuilder> getCreativeSizesOrBuilderList()

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

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

getDefaultInstanceForType()

public PrivateAuctionDeal getDefaultInstanceForType()
Returns
Type Description
PrivateAuctionDeal

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Optional. The end time of the PrivateAuctionDeal.

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

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Optional. The end time of the PrivateAuctionDeal.

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

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Optional. The end time of the PrivateAuctionDeal.

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

Returns
Type Description
TimestampOrBuilder

getExternalDealId()

public long getExternalDealId()

Output only. The external ID of the PrivateAuctionDeal.

optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The externalDealId.

getFloorPrice()

public Money getFloorPrice()

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Money

The floorPrice.

getFloorPriceBuilder()

public Money.Builder getFloorPriceBuilder()

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

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

getFloorPriceOrBuilder()

public MoneyOrBuilder getFloorPriceOrBuilder()

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.MoneyOrBuilder

getName()

public String getName()

Identifier. The resource name of the PrivateAuctionDeal. Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the PrivateAuctionDeal. Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPrivateAuctionDealId()

public long getPrivateAuctionDealId()

Output only. PrivateAuctionDeal ID.

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

Returns
Type Description
long

The privateAuctionDealId.

getPrivateAuctionDisplayName()

public String getPrivateAuctionDisplayName()

Output only. The display name of the PrivateAuction.

optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The privateAuctionDisplayName.

getPrivateAuctionDisplayNameBytes()

public ByteString getPrivateAuctionDisplayNameBytes()

Output only. The display name of the PrivateAuction.

optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for privateAuctionDisplayName.

getPrivateAuctionId()

public long getPrivateAuctionId()

Immutable. The ID of the PrivateAuction.

optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
long

The privateAuctionId.

getStatus()

public PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus getStatus()

Output only. The status of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus

The status.

getStatusValue()

public int getStatusValue()

Output only. The status of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getTargeting()

public Targeting getTargeting()

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Targeting

The targeting.

getTargetingBuilder()

public Targeting.Builder getTargetingBuilder()

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Targeting.Builder

getTargetingOrBuilder()

public TargetingOrBuilder getTargetingOrBuilder()

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TargetingOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAuctionPriorityEnabled()

public boolean hasAuctionPriorityEnabled()

Optional. Whether the deal is enabled with priority over open auction.

optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the auctionPriorityEnabled field is set.

hasBlockOverrideEnabled()

public boolean hasBlockOverrideEnabled()

Optional. Whether the deal has block override enabled.

optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the blockOverrideEnabled field is set.

hasBuyerAccountId()

public boolean hasBuyerAccountId()

Immutable. The account ID of the buyer of the PrivateAuctionDeal.

optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the buyerAccountId field is set.

hasBuyerData()

public boolean hasBuyerData()

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the buyerData field is set.

hasBuyerPermissionType()

public boolean hasBuyerPermissionType()

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the buyerPermissionType field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Optional. The end time of the PrivateAuctionDeal.

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

Returns
Type Description
boolean

Whether the endTime field is set.

hasExternalDealId()

public boolean hasExternalDealId()

Output only. The external ID of the PrivateAuctionDeal.

optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the externalDealId field is set.

hasFloorPrice()

public boolean hasFloorPrice()

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the floorPrice field is set.

hasPrivateAuctionDealId()

public boolean hasPrivateAuctionDealId()

Output only. PrivateAuctionDeal ID.

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

Returns
Type Description
boolean

Whether the privateAuctionDealId field is set.

hasPrivateAuctionDisplayName()

public boolean hasPrivateAuctionDisplayName()

Output only. The display name of the PrivateAuction.

optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the privateAuctionDisplayName field is set.

hasPrivateAuctionId()

public boolean hasPrivateAuctionId()

Immutable. The ID of the PrivateAuction.

optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the privateAuctionId field is set.

hasStatus()

public boolean hasStatus()

Output only. The status of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.

hasTargeting()

public boolean hasTargeting()

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the targeting field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBuyerData(PrivateAuctionDeal.BuyerData value)

public PrivateAuctionDeal.Builder mergeBuyerData(PrivateAuctionDeal.BuyerData value)

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PrivateAuctionDeal.BuyerData
Returns
Type Description
PrivateAuctionDeal.Builder

mergeCreateTime(Timestamp value)

public PrivateAuctionDeal.Builder mergeCreateTime(Timestamp value)

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateAuctionDeal.Builder

mergeEndTime(Timestamp value)

public PrivateAuctionDeal.Builder mergeEndTime(Timestamp value)

Optional. The end time of the PrivateAuctionDeal.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateAuctionDeal.Builder

mergeFloorPrice(Money value)

public PrivateAuctionDeal.Builder mergeFloorPrice(Money value)

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

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

mergeFrom(PrivateAuctionDeal other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTargeting(Targeting value)

public PrivateAuctionDeal.Builder mergeTargeting(Targeting value)

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Targeting
Returns
Type Description
PrivateAuctionDeal.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateAuctionDeal.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

mergeUpdateTime(Timestamp value)

public PrivateAuctionDeal.Builder mergeUpdateTime(Timestamp value)

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateAuctionDeal.Builder

removeCreativeSizes(int index)

public PrivateAuctionDeal.Builder removeCreativeSizes(int index)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
PrivateAuctionDeal.Builder

setAuctionPriorityEnabled(boolean value)

public PrivateAuctionDeal.Builder setAuctionPriorityEnabled(boolean value)

Optional. Whether the deal is enabled with priority over open auction.

optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The auctionPriorityEnabled to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setBlockOverrideEnabled(boolean value)

public PrivateAuctionDeal.Builder setBlockOverrideEnabled(boolean value)

Optional. Whether the deal has block override enabled.

optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The blockOverrideEnabled to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setBuyerAccountId(long value)

public PrivateAuctionDeal.Builder setBuyerAccountId(long value)

Immutable. The account ID of the buyer of the PrivateAuctionDeal.

optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value long

The buyerAccountId to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setBuyerData(PrivateAuctionDeal.BuyerData value)

public PrivateAuctionDeal.Builder setBuyerData(PrivateAuctionDeal.BuyerData value)

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PrivateAuctionDeal.BuyerData
Returns
Type Description
PrivateAuctionDeal.Builder

setBuyerData(PrivateAuctionDeal.BuyerData.Builder builderForValue)

public PrivateAuctionDeal.Builder setBuyerData(PrivateAuctionDeal.BuyerData.Builder builderForValue)

Optional. The buyer data required by the Marketplace API.

optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PrivateAuctionDeal.BuyerData.Builder
Returns
Type Description
PrivateAuctionDeal.Builder

setBuyerPermissionType(DealBuyerPermissionTypeEnum.DealBuyerPermissionType value)

public PrivateAuctionDeal.Builder setBuyerPermissionType(DealBuyerPermissionTypeEnum.DealBuyerPermissionType value)

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DealBuyerPermissionTypeEnum.DealBuyerPermissionType

The buyerPermissionType to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setBuyerPermissionTypeValue(int value)

public PrivateAuctionDeal.Builder setBuyerPermissionTypeValue(int value)

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public PrivateAuctionDeal.Builder setCreateTime(Timestamp value)

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateAuctionDeal.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PrivateAuctionDeal.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The instant at which the PrivateAuctionDeal was created.

optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateAuctionDeal.Builder

setCreativeSizes(int index, Size value)

public PrivateAuctionDeal.Builder setCreativeSizes(int index, Size value)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Size
Returns
Type Description
PrivateAuctionDeal.Builder

setCreativeSizes(int index, Size.Builder builderForValue)

public PrivateAuctionDeal.Builder setCreativeSizes(int index, Size.Builder builderForValue)

Optional. The expected creative sizes of the PrivateAuctionDeal.

repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Size.Builder
Returns
Type Description
PrivateAuctionDeal.Builder

setEndTime(Timestamp value)

public PrivateAuctionDeal.Builder setEndTime(Timestamp value)

Optional. The end time of the PrivateAuctionDeal.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateAuctionDeal.Builder

setEndTime(Timestamp.Builder builderForValue)

public PrivateAuctionDeal.Builder setEndTime(Timestamp.Builder builderForValue)

Optional. The end time of the PrivateAuctionDeal.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateAuctionDeal.Builder

setExternalDealId(long value)

public PrivateAuctionDeal.Builder setExternalDealId(long value)

Output only. The external ID of the PrivateAuctionDeal.

optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The externalDealId to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateAuctionDeal.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

setFloorPrice(Money value)

public PrivateAuctionDeal.Builder setFloorPrice(Money value)

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

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

setFloorPrice(Money.Builder builderForValue)

public PrivateAuctionDeal.Builder setFloorPrice(Money.Builder builderForValue)

Required. The floor price of the PrivateAuctionDeal.

optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED];

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

setName(String value)

public PrivateAuctionDeal.Builder setName(String value)

Identifier. The resource name of the PrivateAuctionDeal. Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PrivateAuctionDeal.Builder setNameBytes(ByteString value)

Identifier. The resource name of the PrivateAuctionDeal. Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setPrivateAuctionDealId(long value)

public PrivateAuctionDeal.Builder setPrivateAuctionDealId(long value)

Output only. PrivateAuctionDeal ID.

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

Parameter
Name Description
value long

The privateAuctionDealId to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setPrivateAuctionDisplayName(String value)

public PrivateAuctionDeal.Builder setPrivateAuctionDisplayName(String value)

Output only. The display name of the PrivateAuction.

optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The privateAuctionDisplayName to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setPrivateAuctionDisplayNameBytes(ByteString value)

public PrivateAuctionDeal.Builder setPrivateAuctionDisplayNameBytes(ByteString value)

Output only. The display name of the PrivateAuction.

optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for privateAuctionDisplayName to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setPrivateAuctionId(long value)

public PrivateAuctionDeal.Builder setPrivateAuctionId(long value)

Immutable. The ID of the PrivateAuction.

optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value long

The privateAuctionId to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PrivateAuctionDeal.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

setStatus(PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus value)

public PrivateAuctionDeal.Builder setStatus(PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus value)

Output only. The status of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus

The status to set.

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setStatusValue(int value)

public PrivateAuctionDeal.Builder setStatusValue(int value)

Output only. The status of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
PrivateAuctionDeal.Builder

This builder for chaining.

setTargeting(Targeting value)

public PrivateAuctionDeal.Builder setTargeting(Targeting value)

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Targeting
Returns
Type Description
PrivateAuctionDeal.Builder

setTargeting(Targeting.Builder builderForValue)

public PrivateAuctionDeal.Builder setTargeting(Targeting.Builder builderForValue)

Optional. The targeting of the PrivateAuctionDeal.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateAuctionDeal.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateAuctionDeal.Builder
Overrides

setUpdateTime(Timestamp value)

public PrivateAuctionDeal.Builder setUpdateTime(Timestamp value)

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PrivateAuctionDeal.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public PrivateAuctionDeal.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The instant at which the PrivateAuctionDeal was last updated.

optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PrivateAuctionDeal.Builder