public interface SpriteSheetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
The maximum number of sprites per row in a sprite sheet.
|
com.google.protobuf.Duration |
getEndTimeOffset()
End time in seconds, relative to the output file timeline.
|
com.google.protobuf.DurationOrBuilder |
getEndTimeOffsetOrBuilder()
End time in seconds, relative to the output file timeline.
|
SpriteSheet.ExtractionStrategyCase |
getExtractionStrategyCase() |
String |
getFilePrefix()
Required.
|
com.google.protobuf.ByteString |
getFilePrefixBytes()
Required.
|
String |
getFormat()
Format type.
|
com.google.protobuf.ByteString |
getFormatBytes()
Format type.
|
com.google.protobuf.Duration |
getInterval()
Starting from `0s`, create sprites at regular intervals.
|
com.google.protobuf.DurationOrBuilder |
getIntervalOrBuilder()
Starting from `0s`, create sprites at regular intervals.
|
int |
getQuality()
The quality of the generated sprite sheet.
|
int |
getRowCount()
The maximum number of rows per sprite sheet.
|
int |
getSpriteHeightPixels()
Required.
|
int |
getSpriteWidthPixels()
Required.
|
com.google.protobuf.Duration |
getStartTimeOffset()
Start time in seconds, relative to the output file timeline.
|
com.google.protobuf.DurationOrBuilder |
getStartTimeOffsetOrBuilder()
Start time in seconds, relative to the output file timeline.
|
int |
getTotalCount()
Total number of sprites.
|
boolean |
hasEndTimeOffset()
End time in seconds, relative to the output file timeline.
|
boolean |
hasInterval()
Starting from `0s`, create sprites at regular intervals.
|
boolean |
hasStartTimeOffset()
Start time in seconds, relative to the output file timeline.
|
boolean |
hasTotalCount()
Total number of sprites.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getFormat()
Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;com.google.protobuf.ByteString getFormatBytes()
Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;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];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];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).
int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];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).
int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];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;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;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;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;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;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;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;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;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;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;boolean hasInterval()
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10;com.google.protobuf.Duration getInterval()
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10;com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10;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;SpriteSheet.ExtractionStrategyCase getExtractionStrategyCase()
Copyright © 2022 Google LLC. All rights reserved.