- 1.47.0 (latest)
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
public static final class SpriteSheet.Builder extends GeneratedMessageV3.Builder<SpriteSheet.Builder> implements SpriteSheetOrBuilder
Sprite sheet configuration.
Protobuf type google.cloud.video.transcoder.v1.SpriteSheet
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SpriteSheet.BuilderImplements
SpriteSheetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpriteSheet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
build()
public SpriteSheet build()
Returns | |
---|---|
Type | Description |
SpriteSheet |
buildPartial()
public SpriteSheet buildPartial()
Returns | |
---|---|
Type | Description |
SpriteSheet |
clear()
public SpriteSheet.Builder clear()
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearColumnCount()
public SpriteSheet.Builder 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearEndTimeOffset()
public SpriteSheet.Builder 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;
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearExtractionStrategy()
public SpriteSheet.Builder clearExtractionStrategy()
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearField(Descriptors.FieldDescriptor field)
public SpriteSheet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearFilePrefix()
public SpriteSheet.Builder 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearFormat()
public SpriteSheet.Builder clearFormat()
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearInterval()
public SpriteSheet.Builder clearInterval()
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SpriteSheet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearQuality()
public SpriteSheet.Builder 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearRowCount()
public SpriteSheet.Builder 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearSpriteHeightPixels()
public SpriteSheet.Builder 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 field or the 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearSpriteWidthPixels()
public SpriteSheet.Builder 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 field or the 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearStartTimeOffset()
public SpriteSheet.Builder 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;
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
clearTotalCount()
public SpriteSheet.Builder 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 | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clone()
public SpriteSheet.Builder clone()
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
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;
Returns | |
---|---|
Type | Description |
int | The columnCount. |
getDefaultInstanceForType()
public SpriteSheet getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SpriteSheet |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTimeOffset()
public 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 | |
---|---|
Type | Description |
Duration | The endTimeOffset. |
getEndTimeOffsetBuilder()
public 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;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOffsetOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getExtractionStrategyCase()
public SpriteSheet.ExtractionStrategyCase getExtractionStrategyCase()
Returns | |
---|---|
Type | Description |
SpriteSheet.ExtractionStrategyCase |
getFilePrefix()
public 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 | |
---|---|
Type | Description |
String | The filePrefix. |
getFilePrefixBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for filePrefix. |
getFormat()
public String getFormat()
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Returns | |
---|---|
Type | Description |
String | The format. |
getFormatBytes()
public ByteString getFormatBytes()
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for format. |
getInterval()
public Duration getInterval()
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Returns | |
---|---|
Type | Description |
Duration | The interval. |
getIntervalBuilder()
public Duration.Builder getIntervalBuilder()
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Returns | |
---|---|
Type | Description |
Builder |
getIntervalOrBuilder()
public DurationOrBuilder getIntervalOrBuilder()
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
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;
Returns | |
---|---|
Type | Description |
int | The quality. |
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;
Returns | |
---|---|
Type | Description |
int | The rowCount. |
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 field or the 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 | |
---|---|
Type | Description |
int | The spriteHeightPixels. |
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 field or the 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 | |
---|---|
Type | Description |
int | The spriteWidthPixels. |
getStartTimeOffset()
public 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 | |
---|---|
Type | Description |
Duration | The startTimeOffset. |
getStartTimeOffsetBuilder()
public 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;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOffsetOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
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;
Returns | |
---|---|
Type | Description |
int | The totalCount. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the endTimeOffset field is set. |
hasInterval()
public boolean hasInterval()
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the interval field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the startTimeOffset field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the totalCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTimeOffset(Duration value)
public SpriteSheet.Builder mergeEndTimeOffset(Duration value)
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
mergeFrom(SpriteSheet other)
public SpriteSheet.Builder mergeFrom(SpriteSheet other)
Parameter | |
---|---|
Name | Description |
other | SpriteSheet |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpriteSheet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SpriteSheet.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
mergeInterval(Duration value)
public SpriteSheet.Builder mergeInterval(Duration value)
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
mergeStartTimeOffset(Duration value)
public SpriteSheet.Builder mergeStartTimeOffset(Duration value)
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpriteSheet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setColumnCount(int value)
public SpriteSheet.Builder setColumnCount(int value)
The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
int32 column_count = 5;
Parameter | |
---|---|
Name | Description |
value | int The columnCount to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setEndTimeOffset(Duration value)
public SpriteSheet.Builder setEndTimeOffset(Duration value)
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setEndTimeOffset(Duration.Builder builderForValue)
public SpriteSheet.Builder setEndTimeOffset(Duration.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SpriteSheet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setFilePrefix(String value)
public SpriteSheet.Builder setFilePrefix(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The filePrefix to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setFilePrefixBytes(ByteString value)
public SpriteSheet.Builder setFilePrefixBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for filePrefix to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setFormat(String value)
public SpriteSheet.Builder setFormat(String value)
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Parameter | |
---|---|
Name | Description |
value | String The format to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setFormatBytes(ByteString value)
public SpriteSheet.Builder setFormatBytes(ByteString value)
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for format to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setInterval(Duration value)
public SpriteSheet.Builder setInterval(Duration value)
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setInterval(Duration.Builder builderForValue)
public SpriteSheet.Builder setInterval(Duration.Builder builderForValue)
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
.google.protobuf.Duration interval = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setQuality(int value)
public SpriteSheet.Builder setQuality(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The quality to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpriteSheet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setRowCount(int value)
public SpriteSheet.Builder setRowCount(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The rowCount to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setSpriteHeightPixels(int value)
public SpriteSheet.Builder setSpriteHeightPixels(int value)
Required. The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the 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];
Parameter | |
---|---|
Name | Description |
value | int The spriteHeightPixels to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setSpriteWidthPixels(int value)
public SpriteSheet.Builder setSpriteWidthPixels(int value)
Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the 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];
Parameter | |
---|---|
Name | Description |
value | int The spriteWidthPixels to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setStartTimeOffset(Duration value)
public SpriteSheet.Builder setStartTimeOffset(Duration value)
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setStartTimeOffset(Duration.Builder builderForValue)
public SpriteSheet.Builder setStartTimeOffset(Duration.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |
setTotalCount(int value)
public SpriteSheet.Builder setTotalCount(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The totalCount to set. |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SpriteSheet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SpriteSheet.Builder |