Skip to content
Permalink
Browse files
feat: Add video cropping feature (#205)
* 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: https://github.com/googleapis/googleapis-gen/commit/c27e567bdcb376f4f12235cfa8b205458cdf5274

* 🦉 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 667278c93ff8d44ae4fa429dac61a4f9f6fc9ccc
Showing with 3,872 additions and 844 deletions.
  1. +3 −0 ...o-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java
  2. +3 −0 ...transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java
  3. +3 −0 ...ain/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java
  4. +3 −0 ...coder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java
  5. +3 −0 ...ranscoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java
  6. +3 −0 ...r/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java
  7. +4 −0 ...anscoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java
  8. +5 −0 ...scoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java
  9. +21 −21 ...cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java
  10. +6 −6 ...eo-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java
  11. +177 −32 ...e-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java
  12. +30 −4 ...ideo-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java
  13. +118 −58 ...oud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java
  14. +2,557 −224 ...anscoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java
  15. +70 −0 ...v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfigOrBuilder.java
  16. +211 −171 ...eo-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ResourcesProto.java
  17. +48 −12 ...o-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettings.java
  18. +12 −3 ...der-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettingsOrBuilder.java
  19. +8 −8 ...deo-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ServicesProto.java
  20. +134 −8 ...video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java
  21. +24 −2 ...nscoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheetOrBuilder.java
  22. +232 −184 ...video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java
  23. +64 −49 ...nscoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java
  24. +131 −61 ...oud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto
  25. +2 −1 ...loud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/services.proto
@@ -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;
@@ -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> {

@@ -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 {

@@ -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 =
@@ -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 {

@@ -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. */
@@ -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);

@@ -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);

@@ -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);

@@ -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);

@@ -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() {}
@@ -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 {

/**
@@ -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) {
@@ -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(
@@ -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) {
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -54,9 +54,9 @@
*
*
* <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>
@@ -68,9 +68,9 @@
*
*
* <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>

0 comments on commit 667278c

Please sign in to comment.