This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
/
SpriteSheetOrBuilder.java
287 lines (274 loc) · 7.06 KB
/
SpriteSheetOrBuilder.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/video/transcoder/v1beta1/resources.proto
package com.google.cloud.video.transcoder.v1beta1;
public interface SpriteSheetOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1beta1.SpriteSheet)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* <pre>
* Format type. The default is `"jpeg"`.
* Supported formats:
* - 'jpeg'
* </pre>
*
* <code>string format = 1;</code>
*
* @return The format.
*/
java.lang.String getFormat();
/**
*
*
* <pre>
* Format type. The default is `"jpeg"`.
* Supported formats:
* - 'jpeg'
* </pre>
*
* <code>string format = 1;</code>
*
* @return The bytes for format.
*/
com.google.protobuf.ByteString getFormatBytes();
/**
*
*
* <pre>
* 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"`.
* </pre>
*
* <code>string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The filePrefix.
*/
java.lang.String getFilePrefix();
/**
*
*
* <pre>
* 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"`.
* </pre>
*
* <code>string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The bytes for filePrefix.
*/
com.google.protobuf.ByteString getFilePrefixBytes();
/**
*
*
* <pre>
* Required. The width of sprite in pixels. Must be an even integer.
* </pre>
*
* <code>int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The spriteWidthPixels.
*/
int getSpriteWidthPixels();
/**
*
*
* <pre>
* Required. The height of sprite in pixels. Must be an even integer.
* </pre>
*
* <code>int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];</code>
*
* @return The spriteHeightPixels.
*/
int getSpriteHeightPixels();
/**
*
*
* <pre>
* The maximum number of sprites per row in a sprite sheet. The default is 0,
* which indicates no maximum limit.
* </pre>
*
* <code>int32 column_count = 5;</code>
*
* @return The columnCount.
*/
int getColumnCount();
/**
*
*
* <pre>
* 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.
* </pre>
*
* <code>int32 row_count = 6;</code>
*
* @return The rowCount.
*/
int getRowCount();
/**
*
*
* <pre>
* Start time in seconds, relative to the output file timeline. Determines the
* first sprite to pick. The default is `0s`.
* </pre>
*
* <code>.google.protobuf.Duration start_time_offset = 7;</code>
*
* @return Whether the startTimeOffset field is set.
*/
boolean hasStartTimeOffset();
/**
*
*
* <pre>
* Start time in seconds, relative to the output file timeline. Determines the
* first sprite to pick. The default is `0s`.
* </pre>
*
* <code>.google.protobuf.Duration start_time_offset = 7;</code>
*
* @return The startTimeOffset.
*/
com.google.protobuf.Duration getStartTimeOffset();
/**
*
*
* <pre>
* Start time in seconds, relative to the output file timeline. Determines the
* first sprite to pick. The default is `0s`.
* </pre>
*
* <code>.google.protobuf.Duration start_time_offset = 7;</code>
*/
com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
/**
*
*
* <pre>
* 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.
* </pre>
*
* <code>.google.protobuf.Duration end_time_offset = 8;</code>
*
* @return Whether the endTimeOffset field is set.
*/
boolean hasEndTimeOffset();
/**
*
*
* <pre>
* 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.
* </pre>
*
* <code>.google.protobuf.Duration end_time_offset = 8;</code>
*
* @return The endTimeOffset.
*/
com.google.protobuf.Duration getEndTimeOffset();
/**
*
*
* <pre>
* 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.
* </pre>
*
* <code>.google.protobuf.Duration end_time_offset = 8;</code>
*/
com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder();
/**
*
*
* <pre>
* Total number of sprites. Create the specified number of sprites
* distributed evenly across the timeline of the output media. The default
* is 100.
* </pre>
*
* <code>int32 total_count = 9;</code>
*
* @return Whether the totalCount field is set.
*/
boolean hasTotalCount();
/**
*
*
* <pre>
* Total number of sprites. Create the specified number of sprites
* distributed evenly across the timeline of the output media. The default
* is 100.
* </pre>
*
* <code>int32 total_count = 9;</code>
*
* @return The totalCount.
*/
int getTotalCount();
/**
*
*
* <pre>
* Starting from `0s`, create sprites at regular intervals. Specify the
* interval value in seconds.
* </pre>
*
* <code>.google.protobuf.Duration interval = 10;</code>
*
* @return Whether the interval field is set.
*/
boolean hasInterval();
/**
*
*
* <pre>
* Starting from `0s`, create sprites at regular intervals. Specify the
* interval value in seconds.
* </pre>
*
* <code>.google.protobuf.Duration interval = 10;</code>
*
* @return The interval.
*/
com.google.protobuf.Duration getInterval();
/**
*
*
* <pre>
* Starting from `0s`, create sprites at regular intervals. Specify the
* interval value in seconds.
* </pre>
*
* <code>.google.protobuf.Duration interval = 10;</code>
*/
com.google.protobuf.DurationOrBuilder getIntervalOrBuilder();
public com.google.cloud.video.transcoder.v1beta1.SpriteSheet.ExtractionStrategyCase
getExtractionStrategyCase();
}