Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: Add video cropping feature #205

Merged
merged 2 commits into from Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -101,8 +101,11 @@
* }</pre>
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*
* @deprecated This class is deprecated and will be removed in the next major version update.
*/
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class TranscoderServiceClient implements BackgroundResource {
private final TranscoderServiceSettings settings;
Expand Down
Expand Up @@ -67,8 +67,11 @@
* .build());
* TranscoderServiceSettings transcoderServiceSettings = transcoderServiceSettingsBuilder.build();
* }</pre>
*
* @deprecated This class is deprecated and will be removed in the next major version update.
*/
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class TranscoderServiceSettings extends ClientSettings<TranscoderServiceSettings> {

Expand Down
Expand Up @@ -41,8 +41,11 @@
* gRPC callable factory implementation for the TranscoderService service API.
*
* <p>This class is for advanced usage.
*
* @deprecated This class is deprecated and will be removed in the next major version update.
*/
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class GrpcTranscoderServiceCallableFactory implements GrpcStubCallableFactory {

Expand Down
Expand Up @@ -52,8 +52,11 @@
* gRPC stub implementation for the TranscoderService service API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*
* @deprecated This class is deprecated and will be removed in the next major version update.
*/
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class GrpcTranscoderServiceStub extends TranscoderServiceStub {
private static final MethodDescriptor<CreateJobRequest, Job> createJobMethodDescriptor =
Expand Down
Expand Up @@ -42,8 +42,11 @@
* Base stub class for the TranscoderService service API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*
* @deprecated This class is deprecated and will be removed in the next major version update.
*/
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public abstract class TranscoderServiceStub implements BackgroundResource {

Expand Down
Expand Up @@ -95,8 +95,11 @@
* TranscoderServiceStubSettings transcoderServiceSettings =
* transcoderServiceSettingsBuilder.build();
* }</pre>
*
* @deprecated This class is deprecated and will be removed in the next major version update.
*/
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class TranscoderServiceStubSettings extends StubSettings<TranscoderServiceStubSettings> {
/** The default scopes of the service. */
Expand Down
Expand Up @@ -97,6 +97,7 @@ public void createJobTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setEndTime(Timestamp.newBuilder().build())
.setTtlAfterCompletionDays(107576420)
.build();
mockTranscoderService.addResponse(expectedResponse);

Expand Down Expand Up @@ -148,6 +149,7 @@ public void createJobTest2() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setEndTime(Timestamp.newBuilder().build())
.setTtlAfterCompletionDays(107576420)
.build();
mockTranscoderService.addResponse(expectedResponse);

Expand Down Expand Up @@ -287,6 +289,7 @@ public void getJobTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setEndTime(Timestamp.newBuilder().build())
.setTtlAfterCompletionDays(107576420)
.build();
mockTranscoderService.addResponse(expectedResponse);

Expand Down Expand Up @@ -335,6 +338,7 @@ public void getJobTest2() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setStartTime(Timestamp.newBuilder().build())
.setEndTime(Timestamp.newBuilder().build())
.setTtlAfterCompletionDays(107576420)
.build();
mockTranscoderService.addResponse(expectedResponse);

Expand Down
Expand Up @@ -32,6 +32,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/video/transcoder/v1beta1/services.proto")
@java.lang.Deprecated
public final class TranscoderServiceGrpc {

private TranscoderServiceGrpc() {}
Expand Down Expand Up @@ -463,6 +464,7 @@ public TranscoderServiceFutureStub newStub(
* concatenation, and digital ad-stitch ready content generation.
* </pre>
*/
@java.lang.Deprecated
public abstract static class TranscoderServiceImplBase implements io.grpc.BindableService {

/**
Expand Down Expand Up @@ -651,6 +653,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
* concatenation, and digital ad-stitch ready content generation.
* </pre>
*/
@java.lang.Deprecated
public static final class TranscoderServiceStub
extends io.grpc.stub.AbstractAsyncStub<TranscoderServiceStub> {
private TranscoderServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
Expand Down Expand Up @@ -803,6 +806,7 @@ public void deleteJobTemplate(
* concatenation, and digital ad-stitch ready content generation.
* </pre>
*/
@java.lang.Deprecated
public static final class TranscoderServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<TranscoderServiceBlockingStub> {
private TranscoderServiceBlockingStub(
Expand Down Expand Up @@ -933,6 +937,7 @@ public com.google.protobuf.Empty deleteJobTemplate(
* concatenation, and digital ad-stitch ready content generation.
* </pre>
*/
@java.lang.Deprecated
public static final class TranscoderServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<TranscoderServiceFutureStub> {
private TranscoderServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
Expand Down
Expand Up @@ -194,9 +194,9 @@ public com.google.protobuf.ByteString getKeyBytes() {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand All @@ -219,9 +219,9 @@ public java.lang.String getUri() {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand Down Expand Up @@ -770,9 +770,9 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand All @@ -794,9 +794,9 @@ public java.lang.String getUri() {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand All @@ -818,9 +818,9 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand All @@ -841,9 +841,9 @@ public Builder setUri(java.lang.String value) {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand All @@ -860,9 +860,9 @@ public Builder clearUri() {
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand Down
Expand Up @@ -54,9 +54,9 @@ public interface InputOrBuilder
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand All @@ -68,9 +68,9 @@ public interface InputOrBuilder
*
*
* <pre>
* URI of the media. It must be stored in Cloud Storage. Example
* `gs://bucket/inputs/file.mp4`.
* If empty the value will be populated from `Job.input_uri`.
* URI of the media. Input files must be at least 5 seconds in duration and
* stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
* If empty, the value will be populated from `Job.input_uri`.
* </pre>
*
* <code>string uri = 2;</code>
Expand Down