Class VodSessionAdBreak (0.1.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.1.2keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  VodSessionAdBreak   extends   GeneratedMessageV3   implements   VodSessionAdBreakOrBuilder  
   Metadata for an inserted ad break.
 Protobuf type google.cloud.video.stitcher.v1.VodSessionAdBreak
Static Fields
   
  ADS_FIELD_NUMBER 
  
    
public   static   final   int   ADS_FIELD_NUMBER  
  Field Value 
  
  END_TIME_OFFSET_FIELD_NUMBER 
  
    
public   static   final   int   END_TIME_OFFSET_FIELD_NUMBER  
  Field Value 
  
  PROGRESS_EVENTS_FIELD_NUMBER 
  
    
public   static   final   int   PROGRESS_EVENTS_FIELD_NUMBER  
  Field Value 
  
  START_TIME_OFFSET_FIELD_NUMBER 
  
    
public   static   final   int   START_TIME_OFFSET_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   VodSessionAdBreak   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   VodSessionAdBreak . Builder   newBuilder ()  
  Returns 
  
  newBuilder(VodSessionAdBreak prototype) 
  
    
public   static   VodSessionAdBreak . Builder   newBuilder ( VodSessionAdBreak   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   VodSessionAdBreak   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   VodSessionAdBreak   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   VodSessionAdBreak   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        data byte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   VodSessionAdBreak   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   VodSessionAdBreak   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   VodSessionAdBreak   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   VodSessionAdBreak   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   VodSessionAdBreak   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   VodSessionAdBreak   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   VodSessionAdBreak   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   VodSessionAdBreak   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   VodSessionAdBreak   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<VodSessionAdBreak>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getAds(int index) 
  
    
public   VodSessionAd   getAds ( int   index )  
   Ordered list of ads stitched into the ad break.
 repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Parameter 
  
    
      
        Name Description  
      
        index int  
     
  
  Returns 
  
  getAdsCount() 
  
   Ordered list of ads stitched into the ad break.
 repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns 
  
  getAdsList() 
  
    
public   List<VodSessionAd>   getAdsList ()  
   Ordered list of ads stitched into the ad break.
 repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns 
  
  getAdsOrBuilder(int index) 
  
    
public   VodSessionAdOrBuilder   getAdsOrBuilder ( int   index )  
   Ordered list of ads stitched into the ad break.
 repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Parameter 
  
    
      
        Name Description  
      
        index int  
     
  
  Returns 
  
  getAdsOrBuilderList() 
  
    
public   List <?   extends   VodSessionAdOrBuilder >  getAdsOrBuilderList ()  
   Ordered list of ads stitched into the ad break.
 repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns 
  
    
      
        Type Description  
      
        List <? extends com.google.cloud.video.stitcher.v1.VodSessionAdOrBuilder > 
     
  
  getDefaultInstanceForType() 
  
    
public   VodSessionAdBreak   getDefaultInstanceForType ()  
  Returns 
  
  getEndTimeOffset() 
  
    
public   Duration   getEndTimeOffset ()  
   Ad break end time in seconds relative to the start of the VOD asset.
 .google.protobuf.Duration end_time_offset = 3;
Returns 
  
    
      
        Type Description  
      
        Duration The endTimeOffset.
 
     
  
  getEndTimeOffsetOrBuilder() 
  
    
public   DurationOrBuilder   getEndTimeOffsetOrBuilder ()  
   Ad break end time in seconds relative to the start of the VOD asset.
 .google.protobuf.Duration end_time_offset = 3;
Returns 
  
  getParserForType() 
  
    
public   Parser<VodSessionAdBreak>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getProgressEvents(int index) 
  
    
public   ProgressEvent   getProgressEvents ( int   index )  
   List of events that are expected to be triggered, ordered by time.
 repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
Parameter 
  
    
      
        Name Description  
      
        index int  
     
  
  Returns 
  
  getProgressEventsCount() 
  
    
public   int   getProgressEventsCount ()  
   List of events that are expected to be triggered, ordered by time.
 repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
Returns 
  
  getProgressEventsList() 
  
    
public   List<ProgressEvent>   getProgressEventsList ()  
   List of events that are expected to be triggered, ordered by time.
 repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
Returns 
  
  getProgressEventsOrBuilder(int index) 
  
    
public   ProgressEventOrBuilder   getProgressEventsOrBuilder ( int   index )  
   List of events that are expected to be triggered, ordered by time.
 repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
Parameter 
  
    
      
        Name Description  
      
        index int  
     
  
  Returns 
  
  getProgressEventsOrBuilderList() 
  
    
public   List <?   extends   ProgressEventOrBuilder >  getProgressEventsOrBuilderList ()  
   List of events that are expected to be triggered, ordered by time.
 repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
Returns 
  
    
      
        Type Description  
      
        List <? extends com.google.cloud.video.stitcher.v1.ProgressEventOrBuilder > 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getStartTimeOffset() 
  
    
public   Duration   getStartTimeOffset ()  
   Ad break start time in seconds relative to the start of the VOD asset.
 .google.protobuf.Duration start_time_offset = 4;
Returns 
  
    
      
        Type Description  
      
        Duration The startTimeOffset.
 
     
  
  getStartTimeOffsetOrBuilder() 
  
    
public   DurationOrBuilder   getStartTimeOffsetOrBuilder ()  
   Ad break start time in seconds relative to the start of the VOD asset.
 .google.protobuf.Duration start_time_offset = 4;
Returns 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasEndTimeOffset() 
  
    
public   boolean   hasEndTimeOffset ()  
   Ad break end time in seconds relative to the start of the VOD asset.
 .google.protobuf.Duration end_time_offset = 3;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the endTimeOffset field is set.
 
     
  
  hasStartTimeOffset() 
  
    
public   boolean   hasStartTimeOffset ()  
   Ad break start time in seconds relative to the start of the VOD asset.
 .google.protobuf.Duration start_time_offset = 4;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the startTimeOffset field is set.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   VodSessionAdBreak . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   VodSessionAdBreak . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   VodSessionAdBreak . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 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-29 UTC."],[],[]]