Interface SpriteSheetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SpriteSheet, SpriteSheet.Builder

@Generated public interface SpriteSheetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The maximum number of sprites per row in a sprite sheet.
    com.google.protobuf.Duration
    End time in seconds, relative to the output file timeline.
    com.google.protobuf.DurationOrBuilder
    End time in seconds, relative to the output file timeline.
     
    Required.
    com.google.protobuf.ByteString
    Required.
    Format type.
    com.google.protobuf.ByteString
    Format type.
    com.google.protobuf.Duration
    Starting from `0s`, create sprites at regular intervals.
    com.google.protobuf.DurationOrBuilder
    Starting from `0s`, create sprites at regular intervals.
    int
    The quality of the generated sprite sheet.
    int
    The maximum number of rows per sprite sheet.
    int
    Required.
    int
    Required.
    com.google.protobuf.Duration
    Start time in seconds, relative to the output file timeline.
    com.google.protobuf.DurationOrBuilder
    Start time in seconds, relative to the output file timeline.
    int
    Total number of sprites.
    boolean
    End time in seconds, relative to the output file timeline.
    boolean
    Starting from `0s`, create sprites at regular intervals.
    boolean
    Start time in seconds, relative to the output file timeline.
    boolean
    Total number of sprites.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFormat

      String getFormat()
       Format type. The default is `jpeg`.
      
       Supported formats:
      
       - `jpeg`
       
      string format = 1;
      Returns:
      The format.
    • getFormatBytes

      com.google.protobuf.ByteString getFormatBytes()
       Format type. The default is `jpeg`.
      
       Supported formats:
      
       - `jpeg`
       
      string format = 1;
      Returns:
      The bytes for format.
    • getFilePrefix

      String getFilePrefix()
       Required. File name prefix for the generated sprite sheets.
      
       Each sprite sheet has an incremental 10-digit zero-padded suffix starting
       from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
       
      string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The filePrefix.
    • getFilePrefixBytes

      com.google.protobuf.ByteString getFilePrefixBytes()
       Required. File name prefix for the generated sprite sheets.
      
       Each sprite sheet has an incremental 10-digit zero-padded suffix starting
       from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
       
      string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for filePrefix.
    • getSpriteWidthPixels

      int getSpriteWidthPixels()
       Required. The width of sprite in pixels. Must be an even integer. To
       preserve the source aspect ratio, set the
       [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
       field or the
       [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
       field, but not both (the API will automatically calculate the missing
       field).
      
       For portrait videos that contain horizontal ASR and rotation metadata,
       provide the width, in pixels, per the horizontal ASR. The API calculates
       the height per the horizontal ASR. The API detects any rotation metadata
       and swaps the requested height and width for the output.
       
      int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The spriteWidthPixels.
    • getSpriteHeightPixels

      int getSpriteHeightPixels()
       Required. The height of sprite in pixels. Must be an even integer. To
       preserve the source aspect ratio, set the
       [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
       field or the
       [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
       field, but not both (the API will automatically calculate the missing
       field).
      
       For portrait videos that contain horizontal ASR and rotation metadata,
       provide the height, in pixels, per the horizontal ASR. The API calculates
       the width per the horizontal ASR. The API detects any rotation metadata
       and swaps the requested height and width for the output.
       
      int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The spriteHeightPixels.
    • getColumnCount

      int getColumnCount()
       The maximum number of sprites per row in a sprite sheet. The default is 0,
       which indicates no maximum limit.
       
      int32 column_count = 5;
      Returns:
      The columnCount.
    • getRowCount

      int getRowCount()
       The maximum number of rows per sprite sheet. When the sprite sheet is full,
       a new sprite sheet is created. The default is 0, which indicates no maximum
       limit.
       
      int32 row_count = 6;
      Returns:
      The rowCount.
    • hasStartTimeOffset

      boolean hasStartTimeOffset()
       Start time in seconds, relative to the output file timeline. Determines the
       first sprite to pick. The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 7;
      Returns:
      Whether the startTimeOffset field is set.
    • getStartTimeOffset

      com.google.protobuf.Duration getStartTimeOffset()
       Start time in seconds, relative to the output file timeline. Determines the
       first sprite to pick. The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 7;
      Returns:
      The startTimeOffset.
    • getStartTimeOffsetOrBuilder

      com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder()
       Start time in seconds, relative to the output file timeline. Determines the
       first sprite to pick. The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 7;
    • hasEndTimeOffset

      boolean hasEndTimeOffset()
       End time in seconds, relative to the output file timeline. When
       `end_time_offset` is not specified, the sprites are generated until the end
       of the output file.
       
      .google.protobuf.Duration end_time_offset = 8;
      Returns:
      Whether the endTimeOffset field is set.
    • getEndTimeOffset

      com.google.protobuf.Duration getEndTimeOffset()
       End time in seconds, relative to the output file timeline. When
       `end_time_offset` is not specified, the sprites are generated until the end
       of the output file.
       
      .google.protobuf.Duration end_time_offset = 8;
      Returns:
      The endTimeOffset.
    • getEndTimeOffsetOrBuilder

      com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder()
       End time in seconds, relative to the output file timeline. When
       `end_time_offset` is not specified, the sprites are generated until the end
       of the output file.
       
      .google.protobuf.Duration end_time_offset = 8;
    • hasTotalCount

      boolean hasTotalCount()
       Total number of sprites. Create the specified number of sprites
       distributed evenly across the timeline of the output media. The default
       is 100.
       
      int32 total_count = 9;
      Returns:
      Whether the totalCount field is set.
    • getTotalCount

      int getTotalCount()
       Total number of sprites. Create the specified number of sprites
       distributed evenly across the timeline of the output media. The default
       is 100.
       
      int32 total_count = 9;
      Returns:
      The totalCount.
    • hasInterval

      boolean hasInterval()
       Starting from `0s`, create sprites at regular intervals. Specify the
       interval value in seconds.
       
      .google.protobuf.Duration interval = 10;
      Returns:
      Whether the interval field is set.
    • getInterval

      com.google.protobuf.Duration getInterval()
       Starting from `0s`, create sprites at regular intervals. Specify the
       interval value in seconds.
       
      .google.protobuf.Duration interval = 10;
      Returns:
      The interval.
    • getIntervalOrBuilder

      com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
       Starting from `0s`, create sprites at regular intervals. Specify the
       interval value in seconds.
       
      .google.protobuf.Duration interval = 10;
    • getQuality

      int getQuality()
       The quality of the generated sprite sheet. Enter a value between 1
       and 100, where 1 is the lowest quality and 100 is the highest quality.
       The default is 100. A high quality value corresponds to a low image data
       compression ratio.
       
      int32 quality = 11;
      Returns:
      The quality.
    • getExtractionStrategyCase

      SpriteSheet.ExtractionStrategyCase getExtractionStrategyCase()