Class SpriteSheet.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SpriteSheet.Builder>
com.google.cloud.video.transcoder.v1.SpriteSheet.Builder
- All Implemented Interfaces:
SpriteSheetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SpriteSheet
public static final class SpriteSheet.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SpriteSheet.Builder>
implements SpriteSheetOrBuilder
Sprite sheet configuration.Protobuf type
google.cloud.video.transcoder.v1.SpriteSheet-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The maximum number of sprites per row in a sprite sheet.End time in seconds, relative to the output file timeline.Required.Format type.Starting from `0s`, create sprites at regular intervals.The quality of the generated sprite sheet.The maximum number of rows per sprite sheet.Required.Required.Start time in seconds, relative to the output file timeline.Total number of sprites.intThe maximum number of sprites per row in a sprite sheet.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationEnd time in seconds, relative to the output file timeline.com.google.protobuf.Duration.BuilderEnd time in seconds, relative to the output file timeline.com.google.protobuf.DurationOrBuilderEnd time in seconds, relative to the output file timeline.Required.com.google.protobuf.ByteStringRequired.Format type.com.google.protobuf.ByteStringFormat type.com.google.protobuf.DurationStarting from `0s`, create sprites at regular intervals.com.google.protobuf.Duration.BuilderStarting from `0s`, create sprites at regular intervals.com.google.protobuf.DurationOrBuilderStarting from `0s`, create sprites at regular intervals.intThe quality of the generated sprite sheet.intThe maximum number of rows per sprite sheet.intRequired.intRequired.com.google.protobuf.DurationStart time in seconds, relative to the output file timeline.com.google.protobuf.Duration.BuilderStart time in seconds, relative to the output file timeline.com.google.protobuf.DurationOrBuilderStart time in seconds, relative to the output file timeline.intTotal number of sprites.booleanEnd time in seconds, relative to the output file timeline.booleanStarting from `0s`, create sprites at regular intervals.booleanStart time in seconds, relative to the output file timeline.booleanTotal number of sprites.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTimeOffset(com.google.protobuf.Duration value) End time in seconds, relative to the output file timeline.mergeFrom(SpriteSheet other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInterval(com.google.protobuf.Duration value) Starting from `0s`, create sprites at regular intervals.mergeStartTimeOffset(com.google.protobuf.Duration value) Start time in seconds, relative to the output file timeline.setColumnCount(int value) The maximum number of sprites per row in a sprite sheet.setEndTimeOffset(com.google.protobuf.Duration value) End time in seconds, relative to the output file timeline.setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue) End time in seconds, relative to the output file timeline.setFilePrefix(String value) Required.setFilePrefixBytes(com.google.protobuf.ByteString value) Required.Format type.setFormatBytes(com.google.protobuf.ByteString value) Format type.setInterval(com.google.protobuf.Duration value) Starting from `0s`, create sprites at regular intervals.setInterval(com.google.protobuf.Duration.Builder builderForValue) Starting from `0s`, create sprites at regular intervals.setQuality(int value) The quality of the generated sprite sheet.setRowCount(int value) The maximum number of rows per sprite sheet.setSpriteHeightPixels(int value) Required.setSpriteWidthPixels(int value) Required.setStartTimeOffset(com.google.protobuf.Duration value) Start time in seconds, relative to the output file timeline.setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) Start time in seconds, relative to the output file timeline.setTotalCount(int value) Total number of sprites.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SpriteSheet.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SpriteSheet.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SpriteSheet.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SpriteSheet.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SpriteSheet.Builder>
-
mergeFrom
public SpriteSheet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SpriteSheet.Builder>- Throws:
IOException
-
getExtractionStrategyCase
- Specified by:
getExtractionStrategyCasein interfaceSpriteSheetOrBuilder
-
clearExtractionStrategy
-
getFormat
Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;- Specified by:
getFormatin interfaceSpriteSheetOrBuilder- Returns:
- The format.
-
getFormatBytes
public com.google.protobuf.ByteString getFormatBytes()Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;- Specified by:
getFormatBytesin interfaceSpriteSheetOrBuilder- Returns:
- The bytes for format.
-
setFormat
Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;- Parameters:
value- The format to set.- Returns:
- This builder for chaining.
-
clearFormat
Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;- Returns:
- This builder for chaining.
-
setFormatBytes
Format type. The default is `jpeg`. Supported formats: - `jpeg`
string format = 1;- Parameters:
value- The bytes for format to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFilePrefixin interfaceSpriteSheetOrBuilder- Returns:
- The filePrefix.
-
getFilePrefixBytes
public 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];- Specified by:
getFilePrefixBytesin interfaceSpriteSheetOrBuilder- Returns:
- The bytes for filePrefix.
-
setFilePrefix
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];- Parameters:
value- The filePrefix to set.- Returns:
- This builder for chaining.
-
clearFilePrefix
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:
- This builder for chaining.
-
setFilePrefixBytes
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];- Parameters:
value- The bytes for filePrefix to set.- Returns:
- This builder for chaining.
-
getSpriteWidthPixels
public 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];- Specified by:
getSpriteWidthPixelsin interfaceSpriteSheetOrBuilder- Returns:
- The spriteWidthPixels.
-
setSpriteWidthPixels
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];- Parameters:
value- The spriteWidthPixels to set.- Returns:
- This builder for chaining.
-
clearSpriteWidthPixels
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:
- This builder for chaining.
-
getSpriteHeightPixels
public 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];- Specified by:
getSpriteHeightPixelsin interfaceSpriteSheetOrBuilder- Returns:
- The spriteHeightPixels.
-
setSpriteHeightPixels
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];- Parameters:
value- The spriteHeightPixels to set.- Returns:
- This builder for chaining.
-
clearSpriteHeightPixels
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:
- This builder for chaining.
-
getColumnCount
public 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;- Specified by:
getColumnCountin interfaceSpriteSheetOrBuilder- Returns:
- The columnCount.
-
setColumnCount
The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
int32 column_count = 5;- Parameters:
value- The columnCount to set.- Returns:
- This builder for chaining.
-
clearColumnCount
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:
- This builder for chaining.
-
getRowCount
public 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;- Specified by:
getRowCountin interfaceSpriteSheetOrBuilder- Returns:
- The rowCount.
-
setRowCount
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;- Parameters:
value- The rowCount to set.- Returns:
- This builder for chaining.
-
clearRowCount
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:
- This builder for chaining.
-
hasStartTimeOffset
public 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;- Specified by:
hasStartTimeOffsetin interfaceSpriteSheetOrBuilder- Returns:
- Whether the startTimeOffset field is set.
-
getStartTimeOffset
public 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;- Specified by:
getStartTimeOffsetin interfaceSpriteSheetOrBuilder- Returns:
- The startTimeOffset.
-
setStartTimeOffset
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; -
setStartTimeOffset
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; -
mergeStartTimeOffset
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; -
clearStartTimeOffset
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; -
getStartTimeOffsetBuilder
public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder()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; -
getStartTimeOffsetOrBuilder
public 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;- Specified by:
getStartTimeOffsetOrBuilderin interfaceSpriteSheetOrBuilder
-
hasEndTimeOffset
public 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;- Specified by:
hasEndTimeOffsetin interfaceSpriteSheetOrBuilder- Returns:
- Whether the endTimeOffset field is set.
-
getEndTimeOffset
public 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;- Specified by:
getEndTimeOffsetin interfaceSpriteSheetOrBuilder- Returns:
- The endTimeOffset.
-
setEndTimeOffset
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; -
setEndTimeOffset
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; -
mergeEndTimeOffset
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; -
clearEndTimeOffset
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; -
getEndTimeOffsetBuilder
public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder()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; -
getEndTimeOffsetOrBuilder
public 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;- Specified by:
getEndTimeOffsetOrBuilderin interfaceSpriteSheetOrBuilder
-
hasTotalCount
public 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;- Specified by:
hasTotalCountin interfaceSpriteSheetOrBuilder- Returns:
- Whether the totalCount field is set.
-
getTotalCount
public 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;- Specified by:
getTotalCountin interfaceSpriteSheetOrBuilder- Returns:
- The totalCount.
-
setTotalCount
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;- Parameters:
value- The totalCount to set.- Returns:
- This builder for chaining.
-
clearTotalCount
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:
- This builder for chaining.
-
hasInterval
public boolean hasInterval()Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10;- Specified by:
hasIntervalin interfaceSpriteSheetOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
public com.google.protobuf.Duration getInterval()Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10;- Specified by:
getIntervalin interfaceSpriteSheetOrBuilder- Returns:
- The interval.
-
setInterval
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10; -
setInterval
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10; -
mergeInterval
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10; -
clearInterval
Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10; -
getIntervalBuilder
public com.google.protobuf.Duration.Builder getIntervalBuilder()Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10; -
getIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
.google.protobuf.Duration interval = 10;- Specified by:
getIntervalOrBuilderin interfaceSpriteSheetOrBuilder
-
getQuality
public 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;- Specified by:
getQualityin interfaceSpriteSheetOrBuilder- Returns:
- The quality.
-
setQuality
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;- Parameters:
value- The quality to set.- Returns:
- This builder for chaining.
-
clearQuality
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:
- This builder for chaining.
-