public static final class LiveSession.GamSettings.Builder extends GeneratedMessageV3.Builder<LiveSession.GamSettings.Builder> implements LiveSession.GamSettingsOrBuilder
Defines fields related to Google Ad Manager (GAM).
Protobuf type google.cloud.video.stitcher.v1.LiveSession.GamSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LiveSession.GamSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LiveSession.GamSettings build()
buildPartial()
public LiveSession.GamSettings buildPartial()
clear()
public LiveSession.GamSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LiveSession.GamSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LiveSession.GamSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStreamId()
public LiveSession.GamSettings.Builder clearStreamId()
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];
clearTargetingParameters()
public LiveSession.GamSettings.Builder clearTargetingParameters()
clone()
public LiveSession.GamSettings.Builder clone()
Overrides
containsTargetingParameters(String key)
public 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
|
getDefaultInstanceForType()
public LiveSession.GamSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableTargetingParameters() (deprecated)
public Map<String,String> getMutableTargetingParameters()
Use alternate mutation accessors instead.
getStreamId()
public 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 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 Map<String,String> getTargetingParameters()
getTargetingParametersCount()
public 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 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;
getTargetingParametersOrDefault(String key, String defaultValue)
public 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;
Returns |
Type |
Description |
String |
|
getTargetingParametersOrThrow(String key)
public 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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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.GeneratedMessageV3.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.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LiveSession.GamSettings other)
public LiveSession.GamSettings.Builder mergeFrom(LiveSession.GamSettings other)
public LiveSession.GamSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LiveSession.GamSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LiveSession.GamSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllTargetingParameters(Map<String,String> values)
public LiveSession.GamSettings.Builder putAllTargetingParameters(Map<String,String> values)
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;
putTargetingParameters(String key, String value)
public LiveSession.GamSettings.Builder putTargetingParameters(String key, String value)
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;
removeTargetingParameters(String key)
public LiveSession.GamSettings.Builder removeTargetingParameters(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public LiveSession.GamSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LiveSession.GamSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStreamId(String value)
public LiveSession.GamSettings.Builder setStreamId(String value)
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];
Parameter |
Name |
Description |
value |
String
The streamId to set.
|
setStreamIdBytes(ByteString value)
public LiveSession.GamSettings.Builder setStreamIdBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for streamId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LiveSession.GamSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides