- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class SpriteSheet.Builder extends GeneratedMessageV3.Builder<SpriteSheet.Builder> implements SpriteSheetOrBuilder
Sprite sheet configuration.
Protobuf type google.cloud.video.livestream.v1.SpriteSheet
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SpriteSheet.BuilderImplements
SpriteSheetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpriteSheet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SpriteSheet.Builder |
build()
public SpriteSheet build()
Type | Description |
SpriteSheet |
buildPartial()
public SpriteSheet buildPartial()
Type | Description |
SpriteSheet |
clear()
public SpriteSheet.Builder clear()
Type | Description |
SpriteSheet.Builder |
clearColumnCount()
public SpriteSheet.Builder clearColumnCount()
The maximum number of sprites per row in a sprite sheet. Valid range is [1, 10] and the default value is 1.
int32 column_count = 5;
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SpriteSheet.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SpriteSheet.Builder |
clearFilePrefix()
public SpriteSheet.Builder clearFilePrefix()
Required. File name prefix for the generated sprite sheets. If multiple
sprite sheets are added to the channel, each must have a unique file
prefix.
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];
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;
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearInterval()
public SpriteSheet.Builder clearInterval()
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Type | Description |
SpriteSheet.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SpriteSheet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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 = 8;
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. Valid range is [1, 10] and the default value is 1.
int32 row_count = 6;
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearSpriteHeightPixels()
public SpriteSheet.Builder clearSpriteHeightPixels()
Required. The height of the sprite in pixels. Must be an even integer.
int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clearSpriteWidthPixels()
public SpriteSheet.Builder clearSpriteWidthPixels()
Required. The width of the sprite in pixels. Must be an even integer.
int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
clone()
public SpriteSheet.Builder clone()
Type | Description |
SpriteSheet.Builder |
getColumnCount()
public int getColumnCount()
The maximum number of sprites per row in a sprite sheet. Valid range is [1, 10] and the default value is 1.
int32 column_count = 5;
Type | Description |
int | The columnCount. |
getDefaultInstanceForType()
public SpriteSheet getDefaultInstanceForType()
Type | Description |
SpriteSheet |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFilePrefix()
public String getFilePrefix()
Required. File name prefix for the generated sprite sheets. If multiple
sprite sheets are added to the channel, each must have a unique file
prefix.
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];
Type | Description |
String | The filePrefix. |
getFilePrefixBytes()
public ByteString getFilePrefixBytes()
Required. File name prefix for the generated sprite sheets. If multiple
sprite sheets are added to the channel, each must have a unique file
prefix.
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];
Type | Description |
ByteString | The bytes for filePrefix. |
getFormat()
public String getFormat()
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Type | Description |
String | The format. |
getFormatBytes()
public ByteString getFormatBytes()
Format type. The default is jpeg
.
Supported formats:
jpeg
string format = 1;
Type | Description |
ByteString | The bytes for format. |
getInterval()
public Duration getInterval()
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Type | Description |
Duration | The interval. |
getIntervalBuilder()
public Duration.Builder getIntervalBuilder()
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Type | Description |
Builder |
getIntervalOrBuilder()
public DurationOrBuilder getIntervalOrBuilder()
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
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 = 8;
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. Valid range is [1, 10] and the default value is 1.
int32 row_count = 6;
Type | Description |
int | The rowCount. |
getSpriteHeightPixels()
public int getSpriteHeightPixels()
Required. The height of the sprite in pixels. Must be an even integer.
int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The spriteHeightPixels. |
getSpriteWidthPixels()
public int getSpriteWidthPixels()
Required. The width of the sprite in pixels. Must be an even integer.
int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The spriteWidthPixels. |
hasInterval()
public boolean hasInterval()
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Type | Description |
boolean | Whether the interval field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SpriteSheet other)
public SpriteSheet.Builder mergeFrom(SpriteSheet other)
Name | Description |
other | SpriteSheet |
Type | Description |
SpriteSheet.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpriteSheet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SpriteSheet.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SpriteSheet.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SpriteSheet.Builder |
mergeInterval(Duration value)
public SpriteSheet.Builder mergeInterval(Duration value)
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Name | Description |
value | Duration |
Type | Description |
SpriteSheet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpriteSheet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SpriteSheet.Builder |
setColumnCount(int value)
public SpriteSheet.Builder setColumnCount(int value)
The maximum number of sprites per row in a sprite sheet. Valid range is [1, 10] and the default value is 1.
int32 column_count = 5;
Name | Description |
value | int The columnCount to set. |
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SpriteSheet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SpriteSheet.Builder |
setFilePrefix(String value)
public SpriteSheet.Builder setFilePrefix(String value)
Required. File name prefix for the generated sprite sheets. If multiple
sprite sheets are added to the channel, each must have a unique file
prefix.
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];
Name | Description |
value | String The filePrefix to set. |
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. If multiple
sprite sheets are added to the channel, each must have a unique file
prefix.
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];
Name | Description |
value | ByteString The bytes for filePrefix to set. |
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;
Name | Description |
value | String The format to set. |
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;
Name | Description |
value | ByteString The bytes for format to set. |
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setInterval(Duration value)
public SpriteSheet.Builder setInterval(Duration value)
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Name | Description |
value | Duration |
Type | Description |
SpriteSheet.Builder |
setInterval(Duration.Builder builderForValue)
public SpriteSheet.Builder setInterval(Duration.Builder builderForValue)
Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
the default value is 10s
.
.google.protobuf.Duration interval = 7;
Name | Description |
builderForValue | Builder |
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 = 8;
Name | Description |
value | int The quality to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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. Valid range is [1, 10] and the default value is 1.
int32 row_count = 6;
Name | Description |
value | int The rowCount to set. |
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setSpriteHeightPixels(int value)
public SpriteSheet.Builder setSpriteHeightPixels(int value)
Required. The height of the sprite in pixels. Must be an even integer.
int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The spriteHeightPixels to set. |
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setSpriteWidthPixels(int value)
public SpriteSheet.Builder setSpriteWidthPixels(int value)
Required. The width of the sprite in pixels. Must be an even integer.
int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The spriteWidthPixels to set. |
Type | Description |
SpriteSheet.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SpriteSheet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SpriteSheet.Builder |