Interface LiveSession.GamSettingsOrBuilder (0.51.0)

public static interface LiveSession.GamSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTargetingParameters(String key)

public abstract boolean containsTargetingParameters(String key)

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

map<string, string> targeting_parameters = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getStreamId()

public abstract String getStreamId()

Required. The stream ID generated by Ad Manager. This must be set if GAM is being used for ads and the session uses client-side ad tracking.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The streamId.

getStreamIdBytes()

public abstract ByteString getStreamIdBytes()

Required. The stream ID generated by Ad Manager. This must be set if GAM is being used for ads and the session uses client-side ad tracking.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for streamId.

getTargetingParameters() (deprecated)

public abstract Map<String,String> getTargetingParameters()
Returns
Type Description
Map<String,String>

getTargetingParametersCount()

public abstract int getTargetingParametersCount()

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

map<string, string> targeting_parameters = 4;

Returns
Type Description
int

getTargetingParametersMap()

public abstract Map<String,String> getTargetingParametersMap()

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

map<string, string> targeting_parameters = 4;

Returns
Type Description
Map<String,String>

getTargetingParametersOrDefault(String key, String defaultValue)

public abstract String getTargetingParametersOrDefault(String key, String defaultValue)

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

map<string, string> targeting_parameters = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTargetingParametersOrThrow(String key)

public abstract String getTargetingParametersOrThrow(String key)

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

map<string, string> targeting_parameters = 4;

Parameter
Name Description
key String
Returns
Type Description
String