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

Commit

Permalink
feat: Add video cropping feature (#205)
Browse files Browse the repository at this point in the history
* feat: Add video cropping feature feat: Add video padding feature feat: Add ttl_after_completion_days field to Job docs: Update proto documentation docs: Indicate v1beta1 deprecation

PiperOrigin-RevId: 389250478

Source-Link: googleapis/googleapis@9a7d190

Source-Link: googleapis/googleapis-gen@c27e567

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 10, 2021
1 parent 34790ca commit 667278c
Show file tree
Hide file tree
Showing 25 changed files with 3,872 additions and 844 deletions.
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

0 comments on commit 667278c

Please sign in to comment.