Class LiveSession.GamSettings (0.45.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 0.45.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  LiveSession . GamSettings   extends   GeneratedMessageV3   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.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  STREAM_ID_FIELD_NUMBER 
  
    
public   static   final   int   STREAM_ID_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  TARGETING_PARAMETERS_FIELD_NUMBER 
  
    
public   static   final   int   TARGETING_PARAMETERS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   LiveSession . GamSettings   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   LiveSession . GamSettings . Builder   newBuilder ()  
   
  
   
  newBuilder(LiveSession.GamSettings prototype) 
  
    
public   static   LiveSession . GamSettings . Builder   newBuilder ( LiveSession . GamSettings   prototype )  
   
  
  
   
  
  
    
public   static   LiveSession . GamSettings   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   LiveSession . GamSettings   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   LiveSession . GamSettings   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LiveSession . GamSettings   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   LiveSession . GamSettings   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LiveSession . GamSettings   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   LiveSession . GamSettings   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   LiveSession . GamSettings   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   LiveSession . GamSettings   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   LiveSession . GamSettings   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   LiveSession . GamSettings   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LiveSession . GamSettings   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<LiveSession . GamSettings >  parser ()  
   
  
  Methods
   
   
  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  
       
     
  
  
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   LiveSession . GamSettings   getDefaultInstanceForType ()  
   
  
   
  getParserForType() 
  
    
public   Parser<LiveSession . GamSettings >  getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  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  
         
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  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.internalGetMapFieldReflection(int) 
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   LiveSession . GamSettings . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   LiveSession . GamSettings . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   LiveSession . GamSettings . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]