Class YieldAdSource.SdkMediationSettings (0.62.0)

public static final class YieldAdSource.SdkMediationSettings extends GeneratedMessage implements YieldAdSource.SdkMediationSettingsOrBuilder

Display settings for mobile SDK adapters.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > YieldAdSource.SdkMediationSettings

Static Fields

INTEGRATION_TYPE_FIELD_NUMBER

public static final int INTEGRATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static YieldAdSource.SdkMediationSettings getDefaultInstance()
Returns
Type Description
YieldAdSource.SdkMediationSettings

getDescriptor()

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

newBuilder()

public static YieldAdSource.SdkMediationSettings.Builder newBuilder()
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

newBuilder(YieldAdSource.SdkMediationSettings prototype)

public static YieldAdSource.SdkMediationSettings.Builder newBuilder(YieldAdSource.SdkMediationSettings prototype)
Parameter
Name Description
prototype YieldAdSource.SdkMediationSettings
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder

parseDelimitedFrom(InputStream input)

public static YieldAdSource.SdkMediationSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YieldAdSource.SdkMediationSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static YieldAdSource.SdkMediationSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static YieldAdSource.SdkMediationSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static YieldAdSource.SdkMediationSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static YieldAdSource.SdkMediationSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static YieldAdSource.SdkMediationSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static YieldAdSource.SdkMediationSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static YieldAdSource.SdkMediationSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YieldAdSource.SdkMediationSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static YieldAdSource.SdkMediationSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static YieldAdSource.SdkMediationSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YieldAdSource.SdkMediationSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<YieldAdSource.SdkMediationSettings> parser()
Returns
Type Description
Parser<SdkMediationSettings>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<YieldAdSource.SdkMediationSettings> getParserForType()
Returns
Type Description
Parser<SdkMediationSettings>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected YieldAdSource.SdkMediationSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
YieldAdSource.SdkMediationSettings.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException