Class YieldAdSource.OpenBiddingSettings.Builder (0.62.0)

public static final class YieldAdSource.OpenBiddingSettings.Builder extends GeneratedMessage.Builder<YieldAdSource.OpenBiddingSettings.Builder> implements YieldAdSource.OpenBiddingSettingsOrBuilder

Configuration for Open Bidding in a YieldAdSource.

Protobuf type google.ads.admanager.v1.YieldAdSource.OpenBiddingSettings

Static Methods

getDescriptor()

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

Methods

build()

public YieldAdSource.OpenBiddingSettings build()
Returns
Type Description
YieldAdSource.OpenBiddingSettings

buildPartial()

public YieldAdSource.OpenBiddingSettings buildPartial()
Returns
Type Description
YieldAdSource.OpenBiddingSettings

clear()

public YieldAdSource.OpenBiddingSettings.Builder clear()
Returns
Type Description
YieldAdSource.OpenBiddingSettings.Builder
Overrides

clearIntegrationType()

public YieldAdSource.OpenBiddingSettings.Builder clearIntegrationType()

Required. The integration type of the yield partner.

optional .google.ads.admanager.v1.YieldIntegrationTypeEnum.YieldIntegrationType integration_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
YieldAdSource.OpenBiddingSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public YieldAdSource.OpenBiddingSettings getDefaultInstanceForType()
Returns
Type Description
YieldAdSource.OpenBiddingSettings

getDescriptorForType()

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

getIntegrationType()

public YieldIntegrationTypeEnum.YieldIntegrationType getIntegrationType()

Required. The integration type of the yield partner.

optional .google.ads.admanager.v1.YieldIntegrationTypeEnum.YieldIntegrationType integration_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
YieldIntegrationTypeEnum.YieldIntegrationType

The integrationType.

getIntegrationTypeValue()

public int getIntegrationTypeValue()

Required. The integration type of the yield partner.

optional .google.ads.admanager.v1.YieldIntegrationTypeEnum.YieldIntegrationType integration_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for integrationType.

hasIntegrationType()

public boolean hasIntegrationType()

Required. The integration type of the yield partner.

optional .google.ads.admanager.v1.YieldIntegrationTypeEnum.YieldIntegrationType integration_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the integrationType field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(YieldAdSource.OpenBiddingSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIntegrationType(YieldIntegrationTypeEnum.YieldIntegrationType value)

public YieldAdSource.OpenBiddingSettings.Builder setIntegrationType(YieldIntegrationTypeEnum.YieldIntegrationType value)

Required. The integration type of the yield partner.

optional .google.ads.admanager.v1.YieldIntegrationTypeEnum.YieldIntegrationType integration_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value YieldIntegrationTypeEnum.YieldIntegrationType

The integrationType to set.

Returns
Type Description
YieldAdSource.OpenBiddingSettings.Builder

This builder for chaining.

setIntegrationTypeValue(int value)

public YieldAdSource.OpenBiddingSettings.Builder setIntegrationTypeValue(int value)

Required. The integration type of the yield partner.

optional .google.ads.admanager.v1.YieldIntegrationTypeEnum.YieldIntegrationType integration_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
YieldAdSource.OpenBiddingSettings.Builder

This builder for chaining.