Class YieldAdSource.SdkMediationSettings.Builder (0.62.0)

public static final class YieldAdSource.SdkMediationSettings.Builder extends GeneratedMessage.Builder<YieldAdSource.SdkMediationSettings.Builder> implements YieldAdSource.SdkMediationSettingsOrBuilder

Display settings for mobile SDK adapters.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearIntegrationType()

public YieldAdSource.SdkMediationSettings.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.SdkMediationSettings.Builder

This builder for chaining.

clearParameters()

public YieldAdSource.SdkMediationSettings.Builder clearParameters()
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

clearPlatform()

public YieldAdSource.SdkMediationSettings.Builder clearPlatform()

Required. The platform of the adapter.

optional .google.ads.admanager.v1.YieldPlatformEnum.YieldPlatform platform = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

This builder for chaining.

containsParameters(String key)

public boolean containsParameters(String key)

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

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

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.

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public int getParametersCount()

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersMap()

public Map<String,String> getParametersMap()

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getPlatform()

public YieldPlatformEnum.YieldPlatform getPlatform()

Required. The platform of the adapter.

optional .google.ads.admanager.v1.YieldPlatformEnum.YieldPlatform platform = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
YieldPlatformEnum.YieldPlatform

The platform.

getPlatformValue()

public int getPlatformValue()

Required. The platform of the adapter.

optional .google.ads.admanager.v1.YieldPlatformEnum.YieldPlatform platform = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for platform.

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.

hasPlatform()

public boolean hasPlatform()

Required. The platform of the adapter.

optional .google.ads.admanager.v1.YieldPlatformEnum.YieldPlatform platform = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the platform field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(YieldAdSource.SdkMediationSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

putAllParameters(Map<String,String> values)

public YieldAdSource.SdkMediationSettings.Builder putAllParameters(Map<String,String> values)

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

putParameters(String key, String value)

public YieldAdSource.SdkMediationSettings.Builder putParameters(String key, String value)

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

removeParameters(String key)

public YieldAdSource.SdkMediationSettings.Builder removeParameters(String key)

Optional. The parameters for the mobile SDK adapter.

map<string, string> parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

setIntegrationType(YieldIntegrationTypeEnum.YieldIntegrationType value)

public YieldAdSource.SdkMediationSettings.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.SdkMediationSettings.Builder

This builder for chaining.

setIntegrationTypeValue(int value)

public YieldAdSource.SdkMediationSettings.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.SdkMediationSettings.Builder

This builder for chaining.

setPlatform(YieldPlatformEnum.YieldPlatform value)

public YieldAdSource.SdkMediationSettings.Builder setPlatform(YieldPlatformEnum.YieldPlatform value)

Required. The platform of the adapter.

optional .google.ads.admanager.v1.YieldPlatformEnum.YieldPlatform platform = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value YieldPlatformEnum.YieldPlatform

The platform to set.

Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

This builder for chaining.

setPlatformValue(int value)

public YieldAdSource.SdkMediationSettings.Builder setPlatformValue(int value)

Required. The platform of the adapter.

optional .google.ads.admanager.v1.YieldPlatformEnum.YieldPlatform platform = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

This builder for chaining.