Class LiveSession.GamSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.stitcher.v1.LiveSession.GamSettings
- All Implemented Interfaces:
LiveSession.GamSettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- LiveSession
public static final class LiveSession.GamSettings
extends com.google.protobuf.GeneratedMessage
implements LiveSession.GamSettingsOrBuilder
Defines fields related to Google Ad Manager (GAM).Protobuf type
google.cloud.video.stitcher.v1.LiveSession.GamSettings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines fields related to Google Ad Manager (GAM).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean[Targeting parameters](https://support.google.com/admanager/answer/7320899) to send to Ad Manager to generate a stream ID.booleanstatic LiveSession.GamSettingsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<LiveSession.GamSettings>intRequired.com.google.protobuf.ByteStringRequired.Deprecated.int[Targeting parameters](https://support.google.com/admanager/answer/7320899) to send to Ad Manager to generate a stream ID.[Targeting parameters](https://support.google.com/admanager/answer/7320899) to send to Ad Manager to generate a stream ID.getTargetingParametersOrDefault(String key, String defaultValue) [Targeting parameters](https://support.google.com/admanager/answer/7320899) to send to Ad Manager to generate a stream ID.[Targeting parameters](https://support.google.com/admanager/answer/7320899) to send to Ad Manager to generate a stream ID.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(LiveSession.GamSettings prototype) protected LiveSession.GamSettings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LiveSession.GamSettingsparseDelimitedFrom(InputStream input) static LiveSession.GamSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveSession.GamSettingsparseFrom(byte[] data) static LiveSession.GamSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveSession.GamSettingsparseFrom(com.google.protobuf.ByteString data) static LiveSession.GamSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveSession.GamSettingsparseFrom(com.google.protobuf.CodedInputStream input) static LiveSession.GamSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveSession.GamSettingsparseFrom(InputStream input) static LiveSession.GamSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveSession.GamSettingsparseFrom(ByteBuffer data) static LiveSession.GamSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LiveSession.GamSettings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STREAM_ID_FIELD_NUMBER
public static final int STREAM_ID_FIELD_NUMBER- See Also:
-
TARGETING_PARAMETERS_FIELD_NUMBER
public static final int TARGETING_PARAMETERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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];- Specified by:
getStreamIdin interfaceLiveSession.GamSettingsOrBuilder- Returns:
- The streamId.
-
getStreamIdBytes
public com.google.protobuf.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];- Specified by:
getStreamIdBytesin interfaceLiveSession.GamSettingsOrBuilder- Returns:
- The bytes for streamId.
-
getTargetingParametersCount
public int getTargetingParametersCount()Description copied from interface:LiveSession.GamSettingsOrBuilder[Targeting parameters](https://support.google.com/admanager/answer/7320899) 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;- Specified by:
getTargetingParametersCountin interfaceLiveSession.GamSettingsOrBuilder
-
containsTargetingParameters
[Targeting parameters](https://support.google.com/admanager/answer/7320899) 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;- Specified by:
containsTargetingParametersin interfaceLiveSession.GamSettingsOrBuilder
-
getTargetingParameters
Deprecated.UsegetTargetingParametersMap()instead.- Specified by:
getTargetingParametersin interfaceLiveSession.GamSettingsOrBuilder
-
getTargetingParametersMap
[Targeting parameters](https://support.google.com/admanager/answer/7320899) 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;- Specified by:
getTargetingParametersMapin interfaceLiveSession.GamSettingsOrBuilder
-
getTargetingParametersOrDefault
[Targeting parameters](https://support.google.com/admanager/answer/7320899) 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;- Specified by:
getTargetingParametersOrDefaultin interfaceLiveSession.GamSettingsOrBuilder
-
getTargetingParametersOrThrow
[Targeting parameters](https://support.google.com/admanager/answer/7320899) 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;- Specified by:
getTargetingParametersOrThrowin interfaceLiveSession.GamSettingsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LiveSession.GamSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveSession.GamSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveSession.GamSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveSession.GamSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveSession.GamSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveSession.GamSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LiveSession.GamSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LiveSession.GamSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LiveSession.GamSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LiveSession.GamSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LiveSession.GamSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-