diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java
index 23776813..03451ad4 100644
--- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java
+++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java
@@ -101,8 +101,11 @@
* }
*
*
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;
diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java
index 4ed5139d..963a6ed6 100644
--- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java
+++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java
@@ -67,8 +67,11 @@
* .build());
* TranscoderServiceSettings transcoderServiceSettings = transcoderServiceSettingsBuilder.build();
* }
+ *
+ * @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 {
diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java
index 7b0aaec7..36948bf6 100644
--- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java
+++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java
@@ -41,8 +41,11 @@
* gRPC callable factory implementation for the TranscoderService service API.
*
* 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 {
diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java
index 09e6a77a..4bc02923 100644
--- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java
+++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java
@@ -52,8 +52,11 @@
* gRPC stub implementation for the TranscoderService service API.
*
*
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 createJobMethodDescriptor =
diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java
index ebaf896a..cada3df2 100644
--- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java
+++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java
@@ -42,8 +42,11 @@
* Base stub class for the TranscoderService service API.
*
* 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 {
diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java
index 7bbd6a31..b6d7d951 100644
--- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java
+++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java
@@ -95,8 +95,11 @@
* TranscoderServiceStubSettings transcoderServiceSettings =
* transcoderServiceSettingsBuilder.build();
* }
+ *
+ * @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 {
/** The default scopes of the service. */
diff --git a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java b/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java
index 7760d20c..b1cc834d 100644
--- a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java
+++ b/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java
@@ -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);
diff --git a/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java b/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java
index 62a501d6..a0900742 100644
--- a/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java
+++ b/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java
@@ -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.
*
*/
+ @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.
*
*/
+ @java.lang.Deprecated
public static final class TranscoderServiceStub
extends io.grpc.stub.AbstractAsyncStub {
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.
*
*/
+ @java.lang.Deprecated
public static final class TranscoderServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private TranscoderServiceBlockingStub(
@@ -933,6 +937,7 @@ public com.google.protobuf.Empty deleteJobTemplate(
* concatenation, and digital ad-stitch ready content generation.
*
*/
+ @java.lang.Deprecated
public static final class TranscoderServiceFutureStub
extends io.grpc.stub.AbstractFutureStub {
private TranscoderServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java
index 6cca5052..4c83aa4d 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java
@@ -194,9 +194,9 @@ public com.google.protobuf.ByteString getKeyBytes() {
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -219,9 +219,9 @@ public java.lang.String getUri() {
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -770,9 +770,9 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -794,9 +794,9 @@ public java.lang.String getUri() {
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -818,9 +818,9 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -841,9 +841,9 @@ public Builder setUri(java.lang.String value) {
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -860,9 +860,9 @@ public Builder clearUri() {
*
*
*
- * 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`.
*
*
* string uri = 2;
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java
index 10b8c388..53891dac 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java
@@ -54,9 +54,9 @@ public interface InputOrBuilder
*
*
*
- * 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`.
*
*
* string uri = 2;
@@ -68,9 +68,9 @@ public interface InputOrBuilder
*
*
*
- * 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`.
*
*
* string uri = 2;
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java
index e86fa21a..24d3bf10 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java
@@ -233,6 +233,11 @@ private Job(
endTime_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 120:
+ {
+ ttlAfterCompletionDays_ = input.readInt32();
break;
}
default:
@@ -486,8 +491,8 @@ public interface OriginUriOrBuilder
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -499,8 +504,8 @@ public interface OriginUriOrBuilder
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -643,8 +648,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -667,8 +672,8 @@ public java.lang.String getHls() {
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -1083,8 +1088,8 @@ public Builder mergeFrom(
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -1106,8 +1111,8 @@ public java.lang.String getHls() {
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -1129,8 +1134,8 @@ public com.google.protobuf.ByteString getHlsBytes() {
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -1151,8 +1156,8 @@ public Builder setHls(java.lang.String value) {
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -1169,8 +1174,8 @@ public Builder clearHls() {
*
*
*
- * HLS master manifest URI. If multiple HLS master manifests are created
- * only first one is listed.
+ * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ * If multiple HLS manifests are created, only the first one is listed.
*
*
* string hls = 1;
@@ -1458,8 +1463,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -1484,8 +1489,8 @@ public java.lang.String getInputUri() {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -1720,6 +1725,7 @@ public int getPriority() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1737,6 +1743,7 @@ public boolean hasOriginUri() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1756,6 +1763,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri getOriginUri() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1817,6 +1825,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.ProcessingState getState()
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1835,6 +1844,7 @@ public boolean hasProgress() {
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1855,6 +1865,7 @@ public com.google.cloud.video.transcoder.v1beta1.Progress getProgress() {
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1925,6 +1936,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1942,6 +1954,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1959,6 +1972,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1975,6 +1989,7 @@ public int getFailureDetailsCount() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -1991,6 +2006,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail getFailureDetails
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -2150,6 +2166,26 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
return getEndTime();
}
+ public static final int TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER = 15;
+ private int ttlAfterCompletionDays_;
+ /**
+ *
+ *
+ *
+ * Job time to live value in days, which will be effective after job
+ * completion. Job should be deleted automatically after the given TTL. Enter
+ * a value between 1 and 90. The default is 30.
+ *
+ *
+ * int32 ttl_after_completion_days = 15;
+ *
+ * @return The ttlAfterCompletionDays.
+ */
+ @java.lang.Override
+ public int getTtlAfterCompletionDays() {
+ return ttlAfterCompletionDays_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -2209,6 +2245,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (endTime_ != null) {
output.writeMessage(14, getEndTime());
}
+ if (ttlAfterCompletionDays_ != 0) {
+ output.writeInt32(15, ttlAfterCompletionDays_);
+ }
unknownFields.writeTo(output);
}
@@ -2265,6 +2304,9 @@ public int getSerializedSize() {
if (endTime_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getEndTime());
}
+ if (ttlAfterCompletionDays_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(15, ttlAfterCompletionDays_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2308,6 +2350,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasEndTime()) {
if (!getEndTime().equals(other.getEndTime())) return false;
}
+ if (getTtlAfterCompletionDays() != other.getTtlAfterCompletionDays()) return false;
if (!getJobConfigCase().equals(other.getJobConfigCase())) return false;
switch (jobConfigCase_) {
case 4:
@@ -2366,6 +2409,8 @@ public int hashCode() {
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
}
+ hash = (37 * hash) + TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER;
+ hash = (53 * hash) + getTtlAfterCompletionDays();
switch (jobConfigCase_) {
case 4:
hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER;
@@ -2573,6 +2618,8 @@ public Builder clear() {
endTime_ = null;
endTimeBuilder_ = null;
}
+ ttlAfterCompletionDays_ = 0;
+
jobConfigCase_ = 0;
jobConfig_ = null;
return this;
@@ -2653,6 +2700,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job buildPartial() {
} else {
result.endTime_ = endTimeBuilder_.build();
}
+ result.ttlAfterCompletionDays_ = ttlAfterCompletionDays_;
result.jobConfigCase_ = jobConfigCase_;
onBuilt();
return result;
@@ -2767,6 +2815,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1beta1.Job other) {
if (other.hasEndTime()) {
mergeEndTime(other.getEndTime());
}
+ if (other.getTtlAfterCompletionDays() != 0) {
+ setTtlAfterCompletionDays(other.getTtlAfterCompletionDays());
+ }
switch (other.getJobConfigCase()) {
case TEMPLATE_ID:
{
@@ -2948,8 +2999,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -2973,8 +3024,8 @@ public java.lang.String getInputUri() {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -2998,8 +3049,8 @@ public com.google.protobuf.ByteString getInputUriBytes() {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -3022,8 +3073,8 @@ public Builder setInputUri(java.lang.String value) {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -3042,8 +3093,8 @@ public Builder clearInputUri() {
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -3618,6 +3669,7 @@ public Builder clearPriority() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3634,6 +3686,7 @@ public boolean hasOriginUri() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3656,6 +3709,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri getOriginUri() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3680,6 +3734,7 @@ public Builder setOriginUri(com.google.cloud.video.transcoder.v1beta1.Job.Origin
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3702,6 +3757,7 @@ public Builder setOriginUri(
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3730,6 +3786,7 @@ public Builder mergeOriginUri(com.google.cloud.video.transcoder.v1beta1.Job.Orig
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3752,6 +3809,7 @@ public Builder clearOriginUri() {
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3768,6 +3826,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri.Builder getOrigin
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3789,6 +3848,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri.Builder getOrigin
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3927,6 +3987,7 @@ public Builder clearState() {
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3944,6 +4005,7 @@ public boolean hasProgress() {
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3967,6 +4029,7 @@ public com.google.cloud.video.transcoder.v1beta1.Progress getProgress() {
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -3992,6 +4055,7 @@ public Builder setProgress(com.google.cloud.video.transcoder.v1beta1.Progress va
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4015,6 +4079,7 @@ public Builder setProgress(
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4044,6 +4109,7 @@ public Builder mergeProgress(com.google.cloud.video.transcoder.v1beta1.Progress
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4067,6 +4133,7 @@ public Builder clearProgress() {
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4084,6 +4151,7 @@ public com.google.cloud.video.transcoder.v1beta1.Progress.Builder getProgressBui
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4105,6 +4173,7 @@ public com.google.cloud.video.transcoder.v1beta1.ProgressOrBuilder getProgressOr
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4263,6 +4332,7 @@ private void ensureFailureDetailsIsMutable() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4283,6 +4353,7 @@ private void ensureFailureDetailsIsMutable() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4302,6 +4373,7 @@ public int getFailureDetailsCount() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4321,6 +4393,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail getFailureDetails
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4347,6 +4420,7 @@ public Builder setFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4371,6 +4445,7 @@ public Builder setFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4397,6 +4472,7 @@ public Builder addFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4423,6 +4499,7 @@ public Builder addFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4446,6 +4523,7 @@ public Builder addFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4470,6 +4548,7 @@ public Builder addFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4494,6 +4573,7 @@ public Builder addAllFailureDetails(
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4516,6 +4596,7 @@ public Builder clearFailureDetails() {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4538,6 +4619,7 @@ public Builder removeFailureDetails(int index) {
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4554,6 +4636,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4574,6 +4657,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4595,6 +4679,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4612,6 +4697,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -4630,6 +4716,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder addFailur
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -5247,6 +5334,64 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
return endTimeBuilder_;
}
+ private int ttlAfterCompletionDays_;
+ /**
+ *
+ *
+ *
+ * Job time to live value in days, which will be effective after job
+ * completion. Job should be deleted automatically after the given TTL. Enter
+ * a value between 1 and 90. The default is 30.
+ *
+ *
+ * int32 ttl_after_completion_days = 15;
+ *
+ * @return The ttlAfterCompletionDays.
+ */
+ @java.lang.Override
+ public int getTtlAfterCompletionDays() {
+ return ttlAfterCompletionDays_;
+ }
+ /**
+ *
+ *
+ *
+ * Job time to live value in days, which will be effective after job
+ * completion. Job should be deleted automatically after the given TTL. Enter
+ * a value between 1 and 90. The default is 30.
+ *
+ *
+ * int32 ttl_after_completion_days = 15;
+ *
+ * @param value The ttlAfterCompletionDays to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTtlAfterCompletionDays(int value) {
+
+ ttlAfterCompletionDays_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Job time to live value in days, which will be effective after job
+ * completion. Job should be deleted automatically after the given TTL. Enter
+ * a value between 1 and 90. The default is 30.
+ *
+ *
+ * int32 ttl_after_completion_days = 15;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTtlAfterCompletionDays() {
+
+ ttlAfterCompletionDays_ = 0;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java
index 4cd614d2..b209c1a7 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java
@@ -56,8 +56,8 @@ public interface JobOrBuilder
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -71,8 +71,8 @@ public interface JobOrBuilder
*
* Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
* `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- * URI of the media. It must be stored in Cloud Storage. For example,
- * `gs://bucket/inputs/file.mp4`.
+ * 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`).
*
*
* string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -216,6 +216,7 @@ public interface JobOrBuilder
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -230,6 +231,7 @@ public interface JobOrBuilder
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -244,6 +246,7 @@ public interface JobOrBuilder
*
*
* Output only. The origin URI.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -287,6 +290,7 @@ public interface JobOrBuilder
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -302,6 +306,7 @@ public interface JobOrBuilder
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -317,6 +322,7 @@ public interface JobOrBuilder
*
* Output only. Estimated fractional progress, from `0` to `1` for each
* step.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -358,6 +364,7 @@ public interface JobOrBuilder
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -371,6 +378,7 @@ public interface JobOrBuilder
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -384,6 +392,7 @@ public interface JobOrBuilder
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -397,6 +406,7 @@ public interface JobOrBuilder
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -411,6 +421,7 @@ public interface JobOrBuilder
*
* Output only. List of failure details. This property may contain additional
* information about the failure when `failure_reason` is present.
+ * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
*
*
*
@@ -534,5 +545,20 @@ com.google.cloud.video.transcoder.v1beta1.FailureDetailOrBuilder getFailureDetai
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
+ /**
+ *
+ *
+ *
+ * Job time to live value in days, which will be effective after job
+ * completion. Job should be deleted automatically after the given TTL. Enter
+ * a value between 1 and 90. The default is 30.
+ *
+ *
+ * int32 ttl_after_completion_days = 15;
+ *
+ * @return The ttlAfterCompletionDays.
+ */
+ int getTtlAfterCompletionDays();
+
public com.google.cloud.video.transcoder.v1beta1.Job.JobConfigCase getJobConfigCase();
}
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java
index 2ccd23a7..400730bb 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java
@@ -983,8 +983,8 @@ public interface ImageOrBuilder
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -996,8 +996,8 @@ public interface ImageOrBuilder
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1058,8 +1058,8 @@ public interface ImageOrBuilder
*
*
*
- * Target image opacity. Valid values: `1` (solid, default),
- * `0` (transparent).
+ * Target image opacity. Valid values are from `1.0` (solid, default) to
+ * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
*
*
* double alpha = 3;
@@ -1191,8 +1191,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1215,8 +1215,8 @@ public java.lang.String getUri() {
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1304,8 +1304,8 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge
*
*
*
- * Target image opacity. Valid values: `1` (solid, default),
- * `0` (transparent).
+ * Target image opacity. Valid values are from `1.0` (solid, default) to
+ * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
*
*
* double alpha = 3;
@@ -1692,8 +1692,8 @@ public Builder mergeFrom(
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1715,8 +1715,8 @@ public java.lang.String getUri() {
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1738,8 +1738,8 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1760,8 +1760,8 @@ public Builder setUri(java.lang.String value) {
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1778,8 +1778,8 @@ public Builder clearUri() {
*
*
*
- * Required. URI of the image in Cloud Storage. For example,
- * `gs://bucket/inputs/image.jpeg`.
+ * Required. URI of the JPEG image in Cloud Storage. For example,
+ * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -2034,8 +2034,8 @@ public Builder clearResolution() {
*
*
*
- * Target image opacity. Valid values: `1` (solid, default),
- * `0` (transparent).
+ * Target image opacity. Valid values are from `1.0` (solid, default) to
+ * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
*
*
* double alpha = 3;
@@ -2050,8 +2050,8 @@ public double getAlpha() {
*
*
*
- * Target image opacity. Valid values: `1` (solid, default),
- * `0` (transparent).
+ * Target image opacity. Valid values are from `1.0` (solid, default) to
+ * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
*
*
* double alpha = 3;
@@ -2069,8 +2069,8 @@ public Builder setAlpha(double value) {
*
*
*
- * Target image opacity. Valid values: `1` (solid, default),
- * `0` (transparent).
+ * Target image opacity. Valid values are from `1.0` (solid, default) to
+ * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
*
*
* double alpha = 3;
@@ -2147,7 +2147,9 @@ public interface AnimationStaticOrBuilder
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2161,7 +2163,9 @@ public interface AnimationStaticOrBuilder
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2175,7 +2179,9 @@ public interface AnimationStaticOrBuilder
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2344,7 +2350,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2361,7 +2369,9 @@ public boolean hasXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2381,7 +2391,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2823,7 +2835,9 @@ public Builder mergeFrom(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2839,7 +2853,9 @@ public boolean hasXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2862,7 +2878,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2887,7 +2905,9 @@ public Builder setXy(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2910,7 +2930,9 @@ public Builder setXy(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2940,7 +2962,9 @@ public Builder mergeXy(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2962,7 +2986,9 @@ public Builder clearXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -2979,7 +3005,9 @@ public Builder clearXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -3001,7 +3029,9 @@ public Builder clearXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1;
@@ -3303,7 +3333,9 @@ public interface AnimationFadeOrBuilder
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -3317,7 +3349,9 @@ public interface AnimationFadeOrBuilder
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -3331,7 +3365,9 @@ public interface AnimationFadeOrBuilder
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -3604,7 +3640,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.FadeType getFadeType()
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -3621,7 +3659,9 @@ public boolean hasXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -3641,7 +3681,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4282,7 +4324,9 @@ public Builder clearFadeType() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4298,7 +4342,9 @@ public boolean hasXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4321,7 +4367,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4346,7 +4394,9 @@ public Builder setXy(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4369,7 +4419,9 @@ public Builder setXy(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4399,7 +4451,9 @@ public Builder mergeXy(
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4421,7 +4475,9 @@ public Builder clearXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4438,7 +4494,9 @@ public Builder clearXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
@@ -4460,7 +4518,9 @@ public Builder clearXy() {
*
* Normalized coordinates based on output video resolution. Valid
* values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- * object.
+ * object. For example, use the x and y coordinates {0,0} to position the
+ * top-left corner of the overlay animation in the top-left corner of the
+ * output video.
*
*
* .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2;
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java
index 7c44c81d..b4c85e44 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java
@@ -140,6 +140,42 @@ private PreprocessingConfig(
audio_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 42:
+ {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder
+ subBuilder = null;
+ if (crop_ != null) {
+ subBuilder = crop_.toBuilder();
+ }
+ crop_ =
+ input.readMessage(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(crop_);
+ crop_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 50:
+ {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder subBuilder =
+ null;
+ if (pad_ != null) {
+ subBuilder = pad_.toBuilder();
+ }
+ pad_ =
+ input.readMessage(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(pad_);
+ pad_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -2486,12 +2522,15 @@ public interface AudioOrBuilder
*
*
* Specify audio loudness normalization in loudness units relative to full
- * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
- * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
- * standard, -19 is the prior standard for online mono audio, -18 is the
- * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
- * the new online audio standard recommended by Spotify, as well as Amazon
- * Echo, and 0 disables normalization. The default is 0.
+ * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+ * * -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+ * * -23 is the EU R128 broadcast standard
+ * * -19 is the prior standard for online mono audio
+ * * -18 is the ReplayGain standard
+ * * -16 is the prior standard for stereo audio
+ * * -14 is the new online audio standard recommended by Spotify, as well
+ * as Amazon Echo
+ * * 0 disables normalization
*
*
* double lufs = 1;
@@ -2632,12 +2671,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Specify audio loudness normalization in loudness units relative to full
- * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
- * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
- * standard, -19 is the prior standard for online mono audio, -18 is the
- * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
- * the new online audio standard recommended by Spotify, as well as Amazon
- * Echo, and 0 disables normalization. The default is 0.
+ * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+ * * -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+ * * -23 is the EU R128 broadcast standard
+ * * -19 is the prior standard for online mono audio
+ * * -18 is the ReplayGain standard
+ * * -16 is the prior standard for stereo audio
+ * * -14 is the new online audio standard recommended by Spotify, as well
+ * as Amazon Echo
+ * * 0 disables normalization
*
*
* double lufs = 1;
@@ -3054,12 +3096,15 @@ public Builder mergeFrom(
*
*
* Specify audio loudness normalization in loudness units relative to full
- * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
- * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
- * standard, -19 is the prior standard for online mono audio, -18 is the
- * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
- * the new online audio standard recommended by Spotify, as well as Amazon
- * Echo, and 0 disables normalization. The default is 0.
+ * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+ * * -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+ * * -23 is the EU R128 broadcast standard
+ * * -19 is the prior standard for online mono audio
+ * * -18 is the ReplayGain standard
+ * * -16 is the prior standard for stereo audio
+ * * -14 is the new online audio standard recommended by Spotify, as well
+ * as Amazon Echo
+ * * 0 disables normalization
*
*
* double lufs = 1;
@@ -3075,12 +3120,15 @@ public double getLufs() {
*
*
* Specify audio loudness normalization in loudness units relative to full
- * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
- * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
- * standard, -19 is the prior standard for online mono audio, -18 is the
- * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
- * the new online audio standard recommended by Spotify, as well as Amazon
- * Echo, and 0 disables normalization. The default is 0.
+ * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+ * * -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+ * * -23 is the EU R128 broadcast standard
+ * * -19 is the prior standard for online mono audio
+ * * -18 is the ReplayGain standard
+ * * -16 is the prior standard for stereo audio
+ * * -14 is the new online audio standard recommended by Spotify, as well
+ * as Amazon Echo
+ * * 0 disables normalization
*
*
* double lufs = 1;
@@ -3099,12 +3147,15 @@ public Builder setLufs(double value) {
*
*
* Specify audio loudness normalization in loudness units relative to full
- * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
- * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
- * standard, -19 is the prior standard for online mono audio, -18 is the
- * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
- * the new online audio standard recommended by Spotify, as well as Amazon
- * Echo, and 0 disables normalization. The default is 0.
+ * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+ * * -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+ * * -23 is the EU R128 broadcast standard
+ * * -19 is the prior standard for online mono audio
+ * * -18 is the ReplayGain standard
+ * * -16 is the prior standard for stereo audio
+ * * -14 is the new online audio standard recommended by Spotify, as well
+ * as Amazon Echo
+ * * 0 disables normalization
*
*
* double lufs = 1;
@@ -3277,213 +3328,2057 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- public static final int COLOR_FIELD_NUMBER = 1;
- private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color_;
- /**
- *
- *
- *
- * Color preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color = 1;
- *
- * @return Whether the color field is set.
- */
- @java.lang.Override
- public boolean hasColor() {
- return color_ != null;
- }
- /**
- *
- *
- *
- * Color preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color = 1;
- *
- * @return The color.
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color getColor() {
- return color_ == null
- ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color.getDefaultInstance()
- : color_;
- }
- /**
- *
- *
- *
- * Color preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color = 1;
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.ColorOrBuilder
- getColorOrBuilder() {
- return getColor();
- }
+ public interface CropOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)
+ com.google.protobuf.MessageOrBuilder {
- public static final int DENOISE_FIELD_NUMBER = 2;
- private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise_;
- /**
- *
- *
- *
- * Denoise preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise = 2;
- *
- * @return Whether the denoise field is set.
- */
- @java.lang.Override
- public boolean hasDenoise() {
- return denoise_ != null;
- }
- /**
- *
- *
- *
- * Denoise preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise = 2;
- *
- * @return The denoise.
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise getDenoise() {
- return denoise_ == null
- ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise.getDefaultInstance()
- : denoise_;
- }
- /**
- *
- *
- *
- * Denoise preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise = 2;
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.DenoiseOrBuilder
- getDenoiseOrBuilder() {
- return getDenoise();
- }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return The topPixels.
+ */
+ int getTopPixels();
- public static final int DEBLOCK_FIELD_NUMBER = 3;
- private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock_;
- /**
- *
- *
- *
- * Deblock preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock = 3;
- *
- * @return Whether the deblock field is set.
- */
- @java.lang.Override
- public boolean hasDeblock() {
- return deblock_ != null;
- }
- /**
- *
- *
- *
- * Deblock preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock = 3;
- *
- * @return The deblock.
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock getDeblock() {
- return deblock_ == null
- ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock.getDefaultInstance()
- : deblock_;
- }
- /**
- *
- *
- *
- * Deblock preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock = 3;
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.DeblockOrBuilder
- getDeblockOrBuilder() {
- return getDeblock();
- }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return The bottomPixels.
+ */
+ int getBottomPixels();
- public static final int AUDIO_FIELD_NUMBER = 4;
- private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio_;
- /**
- *
- *
- *
- * Audio preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
- *
- * @return Whether the audio field is set.
- */
- @java.lang.Override
- public boolean hasAudio() {
- return audio_ != null;
- }
- /**
- *
- *
- *
- * Audio preprocessing configuration.
- *
- *
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
- *
- * @return The audio.
- */
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio getAudio() {
- return audio_ == null
- ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio.getDefaultInstance()
- : audio_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return The leftPixels.
+ */
+ int getLeftPixels();
+
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return The rightPixels.
+ */
+ int getRightPixels();
}
/**
*
*
*
- * Audio preprocessing configuration.
+ * Video cropping configuration for the input video. The cropped input video
+ * is scaled to match the output resolution.
*
*
- * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
+ * Protobuf type {@code google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop}
*/
- @java.lang.Override
- public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.AudioOrBuilder
- getAudioOrBuilder() {
- return getAudio();
- }
-
- private byte memoizedIsInitialized = -1;
+ public static final class Crop extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)
+ CropOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Crop.newBuilder() to construct.
+ private Crop(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ private Crop() {}
- memoizedIsInitialized = 1;
- return true;
- }
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Crop();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private Crop(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ topPixels_ = input.readInt32();
+ break;
+ }
+ case 16:
+ {
+ bottomPixels_ = input.readInt32();
+ break;
+ }
+ case 24:
+ {
+ leftPixels_ = input.readInt32();
+ break;
+ }
+ case 32:
+ {
+ rightPixels_ = input.readInt32();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.class,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder.class);
+ }
+
+ public static final int TOP_PIXELS_FIELD_NUMBER = 1;
+ private int topPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return The topPixels.
+ */
+ @java.lang.Override
+ public int getTopPixels() {
+ return topPixels_;
+ }
+
+ public static final int BOTTOM_PIXELS_FIELD_NUMBER = 2;
+ private int bottomPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return The bottomPixels.
+ */
+ @java.lang.Override
+ public int getBottomPixels() {
+ return bottomPixels_;
+ }
+
+ public static final int LEFT_PIXELS_FIELD_NUMBER = 3;
+ private int leftPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return The leftPixels.
+ */
+ @java.lang.Override
+ public int getLeftPixels() {
+ return leftPixels_;
+ }
+
+ public static final int RIGHT_PIXELS_FIELD_NUMBER = 4;
+ private int rightPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return The rightPixels.
+ */
+ @java.lang.Override
+ public int getRightPixels() {
+ return rightPixels_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (topPixels_ != 0) {
+ output.writeInt32(1, topPixels_);
+ }
+ if (bottomPixels_ != 0) {
+ output.writeInt32(2, bottomPixels_);
+ }
+ if (leftPixels_ != 0) {
+ output.writeInt32(3, leftPixels_);
+ }
+ if (rightPixels_ != 0) {
+ output.writeInt32(4, rightPixels_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (topPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, topPixels_);
+ }
+ if (bottomPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bottomPixels_);
+ }
+ if (leftPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, leftPixels_);
+ }
+ if (rightPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rightPixels_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop other =
+ (com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop) obj;
+
+ if (getTopPixels() != other.getTopPixels()) return false;
+ if (getBottomPixels() != other.getBottomPixels()) return false;
+ if (getLeftPixels() != other.getLeftPixels()) return false;
+ if (getRightPixels() != other.getRightPixels()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TOP_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getTopPixels();
+ hash = (37 * hash) + BOTTOM_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getBottomPixels();
+ hash = (37 * hash) + LEFT_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftPixels();
+ hash = (37 * hash) + RIGHT_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getRightPixels();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Video cropping configuration for the input video. The cropped input video
+ * is scaled to match the output resolution.
+ *
+ *
+ * Protobuf type {@code google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.class,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ topPixels_ = 0;
+
+ bottomPixels_ = 0;
+
+ leftPixels_ = 0;
+
+ rightPixels_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ getDefaultInstanceForType() {
+ return com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop build() {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop buildPartial() {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop result =
+ new com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop(this);
+ result.topPixels_ = topPixels_;
+ result.bottomPixels_ = bottomPixels_;
+ result.leftPixels_ = leftPixels_;
+ result.rightPixels_ = rightPixels_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop) {
+ return mergeFrom(
+ (com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop other) {
+ if (other
+ == com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ .getDefaultInstance()) return this;
+ if (other.getTopPixels() != 0) {
+ setTopPixels(other.getTopPixels());
+ }
+ if (other.getBottomPixels() != 0) {
+ setBottomPixels(other.getBottomPixels());
+ }
+ if (other.getLeftPixels() != 0) {
+ setLeftPixels(other.getLeftPixels());
+ }
+ if (other.getRightPixels() != 0) {
+ setRightPixels(other.getRightPixels());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int topPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return The topPixels.
+ */
+ @java.lang.Override
+ public int getTopPixels() {
+ return topPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @param value The topPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTopPixels(int value) {
+
+ topPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTopPixels() {
+
+ topPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int bottomPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return The bottomPixels.
+ */
+ @java.lang.Override
+ public int getBottomPixels() {
+ return bottomPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @param value The bottomPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBottomPixels(int value) {
+
+ bottomPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearBottomPixels() {
+
+ bottomPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return The leftPixels.
+ */
+ @java.lang.Override
+ public int getLeftPixels() {
+ return leftPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @param value The leftPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftPixels(int value) {
+
+ leftPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftPixels() {
+
+ leftPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return The rightPixels.
+ */
+ @java.lang.Override
+ public int getRightPixels() {
+ return rightPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @param value The rightPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightPixels(int value) {
+
+ rightPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to crop from the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRightPixels() {
+
+ rightPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop)
+ private static final com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop();
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Crop parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Crop(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface PadOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return The topPixels.
+ */
+ int getTopPixels();
+
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return The bottomPixels.
+ */
+ int getBottomPixels();
+
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return The leftPixels.
+ */
+ int getLeftPixels();
+
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return The rightPixels.
+ */
+ int getRightPixels();
+ }
+ /**
+ *
+ *
+ *
+ * Pad filter configuration for the input video. The padded input video
+ * is scaled after padding with black to match the output resolution.
+ *
+ *
+ * Protobuf type {@code google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad}
+ */
+ public static final class Pad extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)
+ PadOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Pad.newBuilder() to construct.
+ private Pad(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private Pad() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Pad();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private Pad(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ topPixels_ = input.readInt32();
+ break;
+ }
+ case 16:
+ {
+ bottomPixels_ = input.readInt32();
+ break;
+ }
+ case 24:
+ {
+ leftPixels_ = input.readInt32();
+ break;
+ }
+ case 32:
+ {
+ rightPixels_ = input.readInt32();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.class,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder.class);
+ }
+
+ public static final int TOP_PIXELS_FIELD_NUMBER = 1;
+ private int topPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return The topPixels.
+ */
+ @java.lang.Override
+ public int getTopPixels() {
+ return topPixels_;
+ }
+
+ public static final int BOTTOM_PIXELS_FIELD_NUMBER = 2;
+ private int bottomPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return The bottomPixels.
+ */
+ @java.lang.Override
+ public int getBottomPixels() {
+ return bottomPixels_;
+ }
+
+ public static final int LEFT_PIXELS_FIELD_NUMBER = 3;
+ private int leftPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return The leftPixels.
+ */
+ @java.lang.Override
+ public int getLeftPixels() {
+ return leftPixels_;
+ }
+
+ public static final int RIGHT_PIXELS_FIELD_NUMBER = 4;
+ private int rightPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return The rightPixels.
+ */
+ @java.lang.Override
+ public int getRightPixels() {
+ return rightPixels_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (topPixels_ != 0) {
+ output.writeInt32(1, topPixels_);
+ }
+ if (bottomPixels_ != 0) {
+ output.writeInt32(2, bottomPixels_);
+ }
+ if (leftPixels_ != 0) {
+ output.writeInt32(3, leftPixels_);
+ }
+ if (rightPixels_ != 0) {
+ output.writeInt32(4, rightPixels_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (topPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, topPixels_);
+ }
+ if (bottomPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bottomPixels_);
+ }
+ if (leftPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, leftPixels_);
+ }
+ if (rightPixels_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rightPixels_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad other =
+ (com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad) obj;
+
+ if (getTopPixels() != other.getTopPixels()) return false;
+ if (getBottomPixels() != other.getBottomPixels()) return false;
+ if (getLeftPixels() != other.getLeftPixels()) return false;
+ if (getRightPixels() != other.getRightPixels()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TOP_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getTopPixels();
+ hash = (37 * hash) + BOTTOM_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getBottomPixels();
+ hash = (37 * hash) + LEFT_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftPixels();
+ hash = (37 * hash) + RIGHT_PIXELS_FIELD_NUMBER;
+ hash = (53 * hash) + getRightPixels();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Pad filter configuration for the input video. The padded input video
+ * is scaled after padding with black to match the output resolution.
+ *
+ *
+ * Protobuf type {@code google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.class,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ topPixels_ = 0;
+
+ bottomPixels_ = 0;
+
+ leftPixels_ = 0;
+
+ rightPixels_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.video.transcoder.v1beta1.ResourcesProto
+ .internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ getDefaultInstanceForType() {
+ return com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad build() {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad buildPartial() {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad result =
+ new com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad(this);
+ result.topPixels_ = topPixels_;
+ result.bottomPixels_ = bottomPixels_;
+ result.leftPixels_ = leftPixels_;
+ result.rightPixels_ = rightPixels_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad) {
+ return mergeFrom(
+ (com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad other) {
+ if (other
+ == com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ .getDefaultInstance()) return this;
+ if (other.getTopPixels() != 0) {
+ setTopPixels(other.getTopPixels());
+ }
+ if (other.getBottomPixels() != 0) {
+ setBottomPixels(other.getBottomPixels());
+ }
+ if (other.getLeftPixels() != 0) {
+ setLeftPixels(other.getLeftPixels());
+ }
+ if (other.getRightPixels() != 0) {
+ setRightPixels(other.getRightPixels());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int topPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return The topPixels.
+ */
+ @java.lang.Override
+ public int getTopPixels() {
+ return topPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @param value The topPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTopPixels(int value) {
+
+ topPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the top. The default is 0.
+ *
+ *
+ * int32 top_pixels = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTopPixels() {
+
+ topPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int bottomPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return The bottomPixels.
+ */
+ @java.lang.Override
+ public int getBottomPixels() {
+ return bottomPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @param value The bottomPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBottomPixels(int value) {
+
+ bottomPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the bottom. The default is 0.
+ *
+ *
+ * int32 bottom_pixels = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearBottomPixels() {
+
+ bottomPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return The leftPixels.
+ */
+ @java.lang.Override
+ public int getLeftPixels() {
+ return leftPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @param value The leftPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftPixels(int value) {
+
+ leftPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the left. The default is 0.
+ *
+ *
+ * int32 left_pixels = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftPixels() {
+
+ leftPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightPixels_;
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return The rightPixels.
+ */
+ @java.lang.Override
+ public int getRightPixels() {
+ return rightPixels_;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @param value The rightPixels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightPixels(int value) {
+
+ rightPixels_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The number of pixels to add to the right. The default is 0.
+ *
+ *
+ * int32 right_pixels = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRightPixels() {
+
+ rightPixels_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad)
+ private static final com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad();
+ }
+
+ public static com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Pad parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Pad(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public static final int COLOR_FIELD_NUMBER = 1;
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color_;
+ /**
+ *
+ *
+ *
+ * Color preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color = 1;
+ *
+ * @return Whether the color field is set.
+ */
+ @java.lang.Override
+ public boolean hasColor() {
+ return color_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Color preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color = 1;
+ *
+ * @return The color.
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color getColor() {
+ return color_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color.getDefaultInstance()
+ : color_;
+ }
+ /**
+ *
+ *
+ *
+ * Color preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color color = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.ColorOrBuilder
+ getColorOrBuilder() {
+ return getColor();
+ }
+
+ public static final int DENOISE_FIELD_NUMBER = 2;
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise_;
+ /**
+ *
+ *
+ *
+ * Denoise preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise = 2;
+ *
+ * @return Whether the denoise field is set.
+ */
+ @java.lang.Override
+ public boolean hasDenoise() {
+ return denoise_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Denoise preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise = 2;
+ *
+ * @return The denoise.
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise getDenoise() {
+ return denoise_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise.getDefaultInstance()
+ : denoise_;
+ }
+ /**
+ *
+ *
+ *
+ * Denoise preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise denoise = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.DenoiseOrBuilder
+ getDenoiseOrBuilder() {
+ return getDenoise();
+ }
+
+ public static final int DEBLOCK_FIELD_NUMBER = 3;
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock_;
+ /**
+ *
+ *
+ *
+ * Deblock preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock = 3;
+ *
+ * @return Whether the deblock field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeblock() {
+ return deblock_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Deblock preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock = 3;
+ *
+ * @return The deblock.
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock getDeblock() {
+ return deblock_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock.getDefaultInstance()
+ : deblock_;
+ }
+ /**
+ *
+ *
+ *
+ * Deblock preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock deblock = 3;
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.DeblockOrBuilder
+ getDeblockOrBuilder() {
+ return getDeblock();
+ }
+
+ public static final int AUDIO_FIELD_NUMBER = 4;
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio_;
+ /**
+ *
+ *
+ *
+ * Audio preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
+ *
+ * @return Whether the audio field is set.
+ */
+ @java.lang.Override
+ public boolean hasAudio() {
+ return audio_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Audio preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
+ *
+ * @return The audio.
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio getAudio() {
+ return audio_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio.getDefaultInstance()
+ : audio_;
+ }
+ /**
+ *
+ *
+ *
+ * Audio preprocessing configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.AudioOrBuilder
+ getAudioOrBuilder() {
+ return getAudio();
+ }
+
+ public static final int CROP_FIELD_NUMBER = 5;
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop_;
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ *
+ * @return Whether the crop field is set.
+ */
+ @java.lang.Override
+ public boolean hasCrop() {
+ return crop_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ *
+ * @return The crop.
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop getCrop() {
+ return crop_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.getDefaultInstance()
+ : crop_;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder
+ getCropOrBuilder() {
+ return getCrop();
+ }
+
+ public static final int PAD_FIELD_NUMBER = 6;
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad_;
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ *
+ * @return Whether the pad field is set.
+ */
+ @java.lang.Override
+ public boolean hasPad() {
+ return pad_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ *
+ * @return The pad.
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad getPad() {
+ return pad_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.getDefaultInstance()
+ : pad_;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder
+ getPadOrBuilder() {
+ return getPad();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
@@ -3499,6 +5394,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (audio_ != null) {
output.writeMessage(4, getAudio());
}
+ if (crop_ != null) {
+ output.writeMessage(5, getCrop());
+ }
+ if (pad_ != null) {
+ output.writeMessage(6, getPad());
+ }
unknownFields.writeTo(output);
}
@@ -3520,6 +5421,12 @@ public int getSerializedSize() {
if (audio_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAudio());
}
+ if (crop_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCrop());
+ }
+ if (pad_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPad());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -3552,6 +5459,14 @@ public boolean equals(final java.lang.Object obj) {
if (hasAudio()) {
if (!getAudio().equals(other.getAudio())) return false;
}
+ if (hasCrop() != other.hasCrop()) return false;
+ if (hasCrop()) {
+ if (!getCrop().equals(other.getCrop())) return false;
+ }
+ if (hasPad() != other.hasPad()) return false;
+ if (hasPad()) {
+ if (!getPad().equals(other.getPad())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -3579,6 +5494,14 @@ public int hashCode() {
hash = (37 * hash) + AUDIO_FIELD_NUMBER;
hash = (53 * hash) + getAudio().hashCode();
}
+ if (hasCrop()) {
+ hash = (37 * hash) + CROP_FIELD_NUMBER;
+ hash = (53 * hash) + getCrop().hashCode();
+ }
+ if (hasPad()) {
+ hash = (37 * hash) + PAD_FIELD_NUMBER;
+ hash = (53 * hash) + getPad().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -3749,6 +5672,18 @@ public Builder clear() {
audio_ = null;
audioBuilder_ = null;
}
+ if (cropBuilder_ == null) {
+ crop_ = null;
+ } else {
+ crop_ = null;
+ cropBuilder_ = null;
+ }
+ if (padBuilder_ == null) {
+ pad_ = null;
+ } else {
+ pad_ = null;
+ padBuilder_ = null;
+ }
return this;
}
@@ -3797,6 +5732,16 @@ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig buildPartia
} else {
result.audio_ = audioBuilder_.build();
}
+ if (cropBuilder_ == null) {
+ result.crop_ = crop_;
+ } else {
+ result.crop_ = cropBuilder_.build();
+ }
+ if (padBuilder_ == null) {
+ result.pad_ = pad_;
+ } else {
+ result.pad_ = padBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -3860,6 +5805,12 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1beta1.Preprocessing
if (other.hasAudio()) {
mergeAudio(other.getAudio());
}
+ if (other.hasCrop()) {
+ mergeCrop(other.getCrop());
+ }
+ if (other.hasPad()) {
+ mergePad(other.getPad());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -4665,6 +6616,388 @@ public Builder clearAudio() {
return audioBuilder_;
}
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder>
+ cropBuilder_;
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ *
+ * @return Whether the crop field is set.
+ */
+ public boolean hasCrop() {
+ return cropBuilder_ != null || crop_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ *
+ * @return The crop.
+ */
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop getCrop() {
+ if (cropBuilder_ == null) {
+ return crop_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ .getDefaultInstance()
+ : crop_;
+ } else {
+ return cropBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ public Builder setCrop(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop value) {
+ if (cropBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ crop_ = value;
+ onChanged();
+ } else {
+ cropBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ public Builder setCrop(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder
+ builderForValue) {
+ if (cropBuilder_ == null) {
+ crop_ = builderForValue.build();
+ onChanged();
+ } else {
+ cropBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ public Builder mergeCrop(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop value) {
+ if (cropBuilder_ == null) {
+ if (crop_ != null) {
+ crop_ =
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.newBuilder(crop_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ crop_ = value;
+ }
+ onChanged();
+ } else {
+ cropBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ public Builder clearCrop() {
+ if (cropBuilder_ == null) {
+ crop_ = null;
+ onChanged();
+ } else {
+ crop_ = null;
+ cropBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder
+ getCropBuilder() {
+
+ onChanged();
+ return getCropFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder
+ getCropOrBuilder() {
+ if (cropBuilder_ != null) {
+ return cropBuilder_.getMessageOrBuilder();
+ } else {
+ return crop_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop
+ .getDefaultInstance()
+ : crop_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder>
+ getCropFieldBuilder() {
+ if (cropBuilder_ == null) {
+ cropBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder>(
+ getCrop(), getParentForChildren(), isClean());
+ crop_ = null;
+ }
+ return cropBuilder_;
+ }
+
+ private com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder>
+ padBuilder_;
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ *
+ * @return Whether the pad field is set.
+ */
+ public boolean hasPad() {
+ return padBuilder_ != null || pad_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ *
+ * @return The pad.
+ */
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad getPad() {
+ if (padBuilder_ == null) {
+ return pad_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.getDefaultInstance()
+ : pad_;
+ } else {
+ return padBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ public Builder setPad(com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad value) {
+ if (padBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ pad_ = value;
+ onChanged();
+ } else {
+ padBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ public Builder setPad(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder builderForValue) {
+ if (padBuilder_ == null) {
+ pad_ = builderForValue.build();
+ onChanged();
+ } else {
+ padBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ public Builder mergePad(
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad value) {
+ if (padBuilder_ == null) {
+ if (pad_ != null) {
+ pad_ =
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.newBuilder(pad_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ pad_ = value;
+ }
+ onChanged();
+ } else {
+ padBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ public Builder clearPad() {
+ if (padBuilder_ == null) {
+ pad_ = null;
+ onChanged();
+ } else {
+ pad_ = null;
+ padBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder
+ getPadBuilder() {
+
+ onChanged();
+ return getPadFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ public com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder
+ getPadOrBuilder() {
+ if (padBuilder_ != null) {
+ return padBuilder_.getMessageOrBuilder();
+ } else {
+ return pad_ == null
+ ? com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.getDefaultInstance()
+ : pad_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder>
+ getPadFieldBuilder() {
+ if (padBuilder_ == null) {
+ padBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder,
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder>(
+ getPad(), getParentForChildren(), isClean());
+ pad_ = null;
+ }
+ return padBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfigOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfigOrBuilder.java
index 46ccaef9..54e7d530 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfigOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfigOrBuilder.java
@@ -164,4 +164,74 @@ public interface PreprocessingConfigOrBuilder
* .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Audio audio = 4;
*/
com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.AudioOrBuilder getAudioOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ *
+ * @return Whether the crop field is set.
+ */
+ boolean hasCrop();
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ *
+ * @return The crop.
+ */
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop getCrop();
+ /**
+ *
+ *
+ *
+ * Specify the video cropping configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop crop = 5;
+ */
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.CropOrBuilder getCropOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ *
+ * @return Whether the pad field is set.
+ */
+ boolean hasPad();
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ *
+ * @return The pad.
+ */
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad getPad();
+ /**
+ *
+ *
+ *
+ * Specify the video pad filter configuration.
+ *
+ *
+ * .google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad pad = 6;
+ */
+ com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.PadOrBuilder getPadOrBuilder();
}
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ResourcesProto.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ResourcesProto.java
index 1d39f844..73c8880b 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ResourcesProto.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ResourcesProto.java
@@ -127,6 +127,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Audio_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Audio_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_video_transcoder_v1beta1_VideoStream_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -201,7 +209,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "scoder.v1beta1\032\037google/api/field_behavio"
+ "r.proto\032\031google/api/resource.proto\032\036goog"
+ "le/protobuf/duration.proto\032\037google/proto"
- + "buf/timestamp.proto\"\244\007\n\003Job\022\014\n\004name\030\001 \001("
+ + "buf/timestamp.proto\"\307\007\n\003Job\022\014\n\004name\030\001 \001("
+ "\t\022\026\n\tinput_uri\030\002 \001(\tB\003\340A\004\022\027\n\noutput_uri\030"
+ "\003 \001(\tB\003\340A\004\022\032\n\013template_id\030\004 \001(\tB\003\340A\004H\000\022B"
+ "\n\006config\030\005 \001(\01320.google.cloud.video.tran"
@@ -218,175 +226,185 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ime\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340"
+ "A\003\0223\n\nstart_time\030\r \001(\0132\032.google.protobuf"
+ ".TimestampB\003\340A\003\0221\n\010end_time\030\016 \001(\0132\032.goog"
- + "le.protobuf.TimestampB\003\340A\003\032&\n\tOriginUri\022"
- + "\013\n\003hls\030\001 \001(\t\022\014\n\004dash\030\002 \001(\t\"h\n\017Processing"
- + "State\022 \n\034PROCESSING_STATE_UNSPECIFIED\020\000\022"
- + "\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003"
- + "\022\n\n\006FAILED\020\004:V\352AS\n\035transcoder.googleapis"
- + ".com/Job\0222projects/{project}/locations/{"
- + "location}/jobs/{job}B\014\n\njob_config\"\316\001\n\013J"
- + "obTemplate\022\014\n\004name\030\001 \001(\t\022@\n\006config\030\002 \001(\013"
- + "20.google.cloud.video.transcoder.v1beta1"
- + ".JobConfig:o\352Al\n%transcoder.googleapis.c"
- + "om/JobTemplate\022Cprojects/{project}/locat"
- + "ions/{location}/jobTemplates/{job_templa"
- + "te}\"\322\005\n\tJobConfig\022<\n\006inputs\030\001 \003(\0132,.goog"
- + "le.cloud.video.transcoder.v1beta1.Input\022"
- + "B\n\tedit_list\030\002 \003(\0132/.google.cloud.video."
- + "transcoder.v1beta1.EditAtom\022S\n\022elementar"
- + "y_streams\030\003 \003(\01327.google.cloud.video.tra"
- + "nscoder.v1beta1.ElementaryStream\022E\n\013mux_"
- + "streams\030\004 \003(\01320.google.cloud.video.trans"
- + "coder.v1beta1.MuxStream\022B\n\tmanifests\030\005 \003"
- + "(\0132/.google.cloud.video.transcoder.v1bet"
- + "a1.Manifest\022=\n\006output\030\006 \001(\0132-.google.clo"
- + "ud.video.transcoder.v1beta1.Output\022A\n\tad"
- + "_breaks\030\007 \003(\0132..google.cloud.video.trans"
- + "coder.v1beta1.AdBreak\022T\n\022pubsub_destinat"
- + "ion\030\010 \001(\01328.google.cloud.video.transcode"
- + "r.v1beta1.PubsubDestination\022I\n\rsprite_sh"
- + "eets\030\t \003(\01322.google.cloud.video.transcod"
- + "er.v1beta1.SpriteSheet\022@\n\010overlays\030\n \003(\013"
- + "2..google.cloud.video.transcoder.v1beta1"
- + ".Overlay\"{\n\005Input\022\013\n\003key\030\001 \001(\t\022\013\n\003uri\030\002 "
- + "\001(\t\022X\n\024preprocessing_config\030\003 \001(\0132:.goog"
- + "le.cloud.video.transcoder.v1beta1.Prepro"
- + "cessingConfig\"\025\n\006Output\022\013\n\003uri\030\001 \001(\t\"\221\001\n"
- + "\010EditAtom\022\013\n\003key\030\001 \001(\t\022\016\n\006inputs\030\002 \003(\t\0222"
- + "\n\017end_time_offset\030\003 \001(\0132\031.google.protobu"
- + "f.Duration\0224\n\021start_time_offset\030\004 \001(\0132\031."
- + "google.protobuf.Duration\"?\n\007AdBreak\0224\n\021s"
- + "tart_time_offset\030\001 \001(\0132\031.google.protobuf"
- + ".Duration\"\226\002\n\020ElementaryStream\022\013\n\003key\030\004 "
- + "\001(\t\022J\n\014video_stream\030\001 \001(\01322.google.cloud"
- + ".video.transcoder.v1beta1.VideoStreamH\000\022"
- + "J\n\014audio_stream\030\002 \001(\01322.google.cloud.vid"
- + "eo.transcoder.v1beta1.AudioStreamH\000\022H\n\013t"
- + "ext_stream\030\003 \001(\01321.google.cloud.video.tr"
- + "anscoder.v1beta1.TextStreamH\000B\023\n\021element"
- + "ary_stream\"\363\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t\022\021\n"
- + "\tfile_name\030\002 \001(\t\022\021\n\tcontainer\030\003 \001(\t\022\032\n\022e"
- + "lementary_streams\030\004 \003(\t\022P\n\020segment_setti"
- + "ngs\030\005 \001(\01326.google.cloud.video.transcode"
- + "r.v1beta1.SegmentSettings\022E\n\nencryption\030"
- + "\006 \001(\01321.google.cloud.video.transcoder.v1"
- + "beta1.Encryption\"\312\001\n\010Manifest\022\021\n\tfile_na"
- + "me\030\001 \001(\t\022O\n\004type\030\002 \001(\0162<.google.cloud.vi"
- + "deo.transcoder.v1beta1.Manifest.Manifest"
- + "TypeB\003\340A\002\022\030\n\013mux_streams\030\003 \003(\tB\003\340A\002\"@\n\014M"
- + "anifestType\022\035\n\031MANIFEST_TYPE_UNSPECIFIED"
- + "\020\000\022\007\n\003HLS\020\001\022\010\n\004DASH\020\002\"\"\n\021PubsubDestinati"
- + "on\022\r\n\005topic\030\001 \001(\t\"\354\002\n\013SpriteSheet\022\016\n\006for"
- + "mat\030\001 \001(\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023s"
- + "prite_width_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_"
- + "height_pixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_count"
- + "\030\005 \001(\005\022\021\n\trow_count\030\006 \001(\005\0224\n\021start_time_"
- + "offset\030\007 \001(\0132\031.google.protobuf.Duration\022"
- + "2\n\017end_time_offset\030\010 \001(\0132\031.google.protob"
- + "uf.Duration\022\025\n\013total_count\030\t \001(\005H\000\022-\n\010in"
- + "terval\030\n \001(\0132\031.google.protobuf.DurationH"
- + "\000B\025\n\023extraction_strategy\"\271\t\n\007Overlay\022C\n\005"
- + "image\030\001 \001(\01324.google.cloud.video.transco"
- + "der.v1beta1.Overlay.Image\022L\n\nanimations\030"
- + "\002 \003(\01328.google.cloud.video.transcoder.v1"
- + "beta1.Overlay.Animation\032,\n\024NormalizedCoo"
- + "rdinate\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002 \001(\001\032\201\001\n\005Image\022"
- + "\020\n\003uri\030\001 \001(\tB\003\340A\002\022W\n\nresolution\030\002 \001(\0132C."
- + "google.cloud.video.transcoder.v1beta1.Ov"
- + "erlay.NormalizedCoordinate\022\r\n\005alpha\030\003 \001("
- + "\001\032\230\001\n\017AnimationStatic\022O\n\002xy\030\001 \001(\0132C.goog"
- + "le.cloud.video.transcoder.v1beta1.Overla"
- + "y.NormalizedCoordinate\0224\n\021start_time_off"
- + "set\030\002 \001(\0132\031.google.protobuf.Duration\032\233\002\n"
- + "\rAnimationFade\022O\n\tfade_type\030\001 \001(\01627.goog"
- + "le.cloud.video.transcoder.v1beta1.Overla"
- + "y.FadeTypeB\003\340A\002\022O\n\002xy\030\002 \001(\0132C.google.clo"
- + "ud.video.transcoder.v1beta1.Overlay.Norm"
- + "alizedCoordinate\0224\n\021start_time_offset\030\003 "
- + "\001(\0132\031.google.protobuf.Duration\0222\n\017end_ti"
- + "me_offset\030\004 \001(\0132\031.google.protobuf.Durati"
- + "on\032D\n\014AnimationEnd\0224\n\021start_time_offset\030"
- + "\001 \001(\0132\031.google.protobuf.Duration\032\247\002\n\tAni"
- + "mation\022Z\n\020animation_static\030\001 \001(\0132>.googl"
- + "e.cloud.video.transcoder.v1beta1.Overlay"
- + ".AnimationStaticH\000\022V\n\016animation_fade\030\002 \001"
- + "(\0132<.google.cloud.video.transcoder.v1bet"
- + "a1.Overlay.AnimationFadeH\000\022T\n\ranimation_"
- + "end\030\003 \001(\0132;.google.cloud.video.transcode"
- + "r.v1beta1.Overlay.AnimationEndH\000B\020\n\016anim"
- + "ation_type\"@\n\010FadeType\022\031\n\025FADE_TYPE_UNSP"
- + "ECIFIED\020\000\022\013\n\007FADE_IN\020\001\022\014\n\010FADE_OUT\020\002\"\273\004\n"
- + "\023PreprocessingConfig\022O\n\005color\030\001 \001(\0132@.go"
- + "ogle.cloud.video.transcoder.v1beta1.Prep"
- + "rocessingConfig.Color\022S\n\007denoise\030\002 \001(\0132B"
- + ".google.cloud.video.transcoder.v1beta1.P"
- + "reprocessingConfig.Denoise\022S\n\007deblock\030\003 "
- + "\001(\0132B.google.cloud.video.transcoder.v1be"
- + "ta1.PreprocessingConfig.Deblock\022O\n\005audio"
- + "\030\004 \001(\0132@.google.cloud.video.transcoder.v"
- + "1beta1.PreprocessingConfig.Audio\032A\n\005Colo"
- + "r\022\022\n\nsaturation\030\001 \001(\001\022\020\n\010contrast\030\002 \001(\001\022"
- + "\022\n\nbrightness\030\003 \001(\001\032)\n\007Denoise\022\020\n\010streng"
- + "th\030\001 \001(\001\022\014\n\004tune\030\002 \001(\t\032,\n\007Deblock\022\020\n\010str"
- + "ength\030\001 \001(\001\022\017\n\007enabled\030\002 \001(\010\032<\n\005Audio\022\014\n"
- + "\004lufs\030\001 \001(\001\022\022\n\nhigh_boost\030\002 \001(\010\022\021\n\tlow_b"
- + "oost\030\003 \001(\010\"\202\004\n\013VideoStream\022\r\n\005codec\030\001 \001("
- + "\t\022\017\n\007profile\030\002 \001(\t\022\014\n\004tune\030\003 \001(\t\022\016\n\006pres"
- + "et\030\004 \001(\t\022\025\n\rheight_pixels\030\005 \001(\005\022\024\n\014width"
- + "_pixels\030\006 \001(\005\022\024\n\014pixel_format\030\007 \001(\t\022\030\n\013b"
- + "itrate_bps\030\010 \001(\005B\003\340A\002\022\031\n\021rate_control_mo"
- + "de\030\t \001(\t\022\027\n\017enable_two_pass\030\n \001(\010\022\021\n\tcrf"
- + "_level\030\013 \001(\005\022\025\n\rvbv_size_bits\030\014 \001(\005\022\031\n\021v"
- + "bv_fullness_bits\030\r \001(\005\022\026\n\016allow_open_gop"
- + "\030\016 \001(\010\022\031\n\017gop_frame_count\030\017 \001(\005H\000\0221\n\014gop"
- + "_duration\030\020 \001(\0132\031.google.protobuf.Durati"
- + "onH\000\022\025\n\rentropy_coder\030\021 \001(\t\022\021\n\tb_pyramid"
- + "\030\022 \001(\010\022\025\n\rb_frame_count\030\023 \001(\005\022\027\n\nframe_r"
- + "ate\030\024 \001(\001B\003\340A\002\022\023\n\013aq_strength\030\025 \001(\001B\n\n\010g"
- + "op_mode\"\254\004\n\013AudioStream\022\r\n\005codec\030\001 \001(\t\022\030"
- + "\n\013bitrate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_coun"
- + "t\030\003 \001(\005\022\026\n\016channel_layout\030\004 \003(\t\022M\n\007mappi"
- + "ng\030\005 \003(\0132<.google.cloud.video.transcoder"
- + ".v1beta1.AudioStream.AudioAtom\022\031\n\021sample"
- + "_rate_hertz\030\006 \001(\005\032\332\002\n\tAudioAtom\022\020\n\003key\030\001"
- + " \001(\tB\003\340A\002\022[\n\010channels\030\002 \003(\0132I.google.clo"
- + "ud.video.transcoder.v1beta1.AudioStream."
- + "AudioAtom.AudioChannel\032\335\001\n\014AudioChannel\022"
- + "k\n\006inputs\030\002 \003(\0132[.google.cloud.video.tra"
- + "nscoder.v1beta1.AudioStream.AudioAtom.Au"
- + "dioChannel.AudioChannelInput\032`\n\021AudioCha"
- + "nnelInput\022\020\n\003key\030\001 \001(\tB\003\340A\002\022\022\n\005track\030\002 \001"
- + "(\005B\003\340A\002\022\024\n\007channel\030\003 \001(\005B\003\340A\002\022\017\n\007gain_db"
- + "\030\004 \001(\001\"\254\002\n\nTextStream\022\r\n\005codec\030\001 \001(\t\022\032\n\r"
- + "language_code\030\002 \001(\tB\003\340A\002\022K\n\007mapping\030\003 \003("
- + "\0132:.google.cloud.video.transcoder.v1beta"
- + "1.TextStream.TextAtom\032\245\001\n\010TextAtom\022\020\n\003ke"
- + "y\030\001 \001(\tB\003\340A\002\022T\n\006inputs\030\002 \003(\0132D.google.cl"
- + "oud.video.transcoder.v1beta1.TextStream."
- + "TextAtom.TextInput\0321\n\tTextInput\022\020\n\003key\030\001"
- + " \001(\tB\003\340A\002\022\022\n\005track\030\002 \001(\005B\003\340A\002\"h\n\017Segment"
- + "Settings\0223\n\020segment_duration\030\001 \001(\0132\031.goo"
- + "gle.protobuf.Duration\022 \n\023individual_segm"
- + "ents\030\003 \001(\010B\003\340A\002\"\354\003\n\nEncryption\022\020\n\003key\030\001 "
- + "\001(\tB\003\340A\002\022\017\n\002iv\030\002 \001(\tB\003\340A\002\022U\n\007aes_128\030\003 \001"
- + "(\0132B.google.cloud.video.transcoder.v1bet"
- + "a1.Encryption.Aes128EncryptionH\000\022[\n\nsamp"
- + "le_aes\030\004 \001(\0132E.google.cloud.video.transc"
- + "oder.v1beta1.Encryption.SampleAesEncrypt"
- + "ionH\000\022[\n\tmpeg_cenc\030\005 \001(\0132F.google.cloud."
- + "video.transcoder.v1beta1.Encryption.Mpeg"
- + "CommonEncryptionH\000\032(\n\020Aes128Encryption\022\024"
- + "\n\007key_uri\030\001 \001(\tB\003\340A\002\032+\n\023SampleAesEncrypt"
- + "ion\022\024\n\007key_uri\030\001 \001(\tB\003\340A\002\032@\n\024MpegCommonE"
- + "ncryption\022\023\n\006key_id\030\001 \001(\tB\003\340A\002\022\023\n\006scheme"
- + "\030\002 \001(\tB\003\340A\002B\021\n\017encryption_mode\"Q\n\010Progre"
- + "ss\022\020\n\010analyzed\030\001 \001(\001\022\017\n\007encoded\030\002 \001(\001\022\020\n"
- + "\010uploaded\030\003 \001(\001\022\020\n\010notified\030\004 \001(\001\"$\n\rFai"
- + "lureDetail\022\023\n\013description\030\001 \001(\tB\216\001\n)com."
- + "google.cloud.video.transcoder.v1beta1B\016R"
- + "esourcesProtoP\001ZOgoogle.golang.org/genpr"
- + "oto/googleapis/cloud/video/transcoder/v1"
- + "beta1;transcoderb\006proto3"
+ + "le.protobuf.TimestampB\003\340A\003\022!\n\031ttl_after_"
+ + "completion_days\030\017 \001(\005\032&\n\tOriginUri\022\013\n\003hl"
+ + "s\030\001 \001(\t\022\014\n\004dash\030\002 \001(\t\"h\n\017ProcessingState"
+ + "\022 \n\034PROCESSING_STATE_UNSPECIFIED\020\000\022\013\n\007PE"
+ + "NDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006F"
+ + "AILED\020\004:V\352AS\n\035transcoder.googleapis.com/"
+ + "Job\0222projects/{project}/locations/{locat"
+ + "ion}/jobs/{job}B\014\n\njob_config\"\316\001\n\013JobTem"
+ + "plate\022\014\n\004name\030\001 \001(\t\022@\n\006config\030\002 \001(\01320.go"
+ + "ogle.cloud.video.transcoder.v1beta1.JobC"
+ + "onfig:o\352Al\n%transcoder.googleapis.com/Jo"
+ + "bTemplate\022Cprojects/{project}/locations/"
+ + "{location}/jobTemplates/{job_template}\"\322"
+ + "\005\n\tJobConfig\022<\n\006inputs\030\001 \003(\0132,.google.cl"
+ + "oud.video.transcoder.v1beta1.Input\022B\n\ted"
+ + "it_list\030\002 \003(\0132/.google.cloud.video.trans"
+ + "coder.v1beta1.EditAtom\022S\n\022elementary_str"
+ + "eams\030\003 \003(\01327.google.cloud.video.transcod"
+ + "er.v1beta1.ElementaryStream\022E\n\013mux_strea"
+ + "ms\030\004 \003(\01320.google.cloud.video.transcoder"
+ + ".v1beta1.MuxStream\022B\n\tmanifests\030\005 \003(\0132/."
+ + "google.cloud.video.transcoder.v1beta1.Ma"
+ + "nifest\022=\n\006output\030\006 \001(\0132-.google.cloud.vi"
+ + "deo.transcoder.v1beta1.Output\022A\n\tad_brea"
+ + "ks\030\007 \003(\0132..google.cloud.video.transcoder"
+ + ".v1beta1.AdBreak\022T\n\022pubsub_destination\030\010"
+ + " \001(\01328.google.cloud.video.transcoder.v1b"
+ + "eta1.PubsubDestination\022I\n\rsprite_sheets\030"
+ + "\t \003(\01322.google.cloud.video.transcoder.v1"
+ + "beta1.SpriteSheet\022@\n\010overlays\030\n \003(\0132..go"
+ + "ogle.cloud.video.transcoder.v1beta1.Over"
+ + "lay\"{\n\005Input\022\013\n\003key\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022X"
+ + "\n\024preprocessing_config\030\003 \001(\0132:.google.cl"
+ + "oud.video.transcoder.v1beta1.Preprocessi"
+ + "ngConfig\"\025\n\006Output\022\013\n\003uri\030\001 \001(\t\"\221\001\n\010Edit"
+ + "Atom\022\013\n\003key\030\001 \001(\t\022\016\n\006inputs\030\002 \003(\t\0222\n\017end"
+ + "_time_offset\030\003 \001(\0132\031.google.protobuf.Dur"
+ + "ation\0224\n\021start_time_offset\030\004 \001(\0132\031.googl"
+ + "e.protobuf.Duration\"?\n\007AdBreak\0224\n\021start_"
+ + "time_offset\030\001 \001(\0132\031.google.protobuf.Dura"
+ + "tion\"\226\002\n\020ElementaryStream\022\013\n\003key\030\004 \001(\t\022J"
+ + "\n\014video_stream\030\001 \001(\01322.google.cloud.vide"
+ + "o.transcoder.v1beta1.VideoStreamH\000\022J\n\014au"
+ + "dio_stream\030\002 \001(\01322.google.cloud.video.tr"
+ + "anscoder.v1beta1.AudioStreamH\000\022H\n\013text_s"
+ + "tream\030\003 \001(\01321.google.cloud.video.transco"
+ + "der.v1beta1.TextStreamH\000B\023\n\021elementary_s"
+ + "tream\"\363\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t\022\021\n\tfile"
+ + "_name\030\002 \001(\t\022\021\n\tcontainer\030\003 \001(\t\022\032\n\022elemen"
+ + "tary_streams\030\004 \003(\t\022P\n\020segment_settings\030\005"
+ + " \001(\01326.google.cloud.video.transcoder.v1b"
+ + "eta1.SegmentSettings\022E\n\nencryption\030\006 \001(\013"
+ + "21.google.cloud.video.transcoder.v1beta1"
+ + ".Encryption\"\312\001\n\010Manifest\022\021\n\tfile_name\030\001 "
+ + "\001(\t\022O\n\004type\030\002 \001(\0162<.google.cloud.video.t"
+ + "ranscoder.v1beta1.Manifest.ManifestTypeB"
+ + "\003\340A\002\022\030\n\013mux_streams\030\003 \003(\tB\003\340A\002\"@\n\014Manife"
+ + "stType\022\035\n\031MANIFEST_TYPE_UNSPECIFIED\020\000\022\007\n"
+ + "\003HLS\020\001\022\010\n\004DASH\020\002\"\"\n\021PubsubDestination\022\r\n"
+ + "\005topic\030\001 \001(\t\"\375\002\n\013SpriteSheet\022\016\n\006format\030\001"
+ + " \001(\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023sprite"
+ + "_width_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_heigh"
+ + "t_pixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_count\030\005 \001("
+ + "\005\022\021\n\trow_count\030\006 \001(\005\0224\n\021start_time_offse"
+ + "t\030\007 \001(\0132\031.google.protobuf.Duration\0222\n\017en"
+ + "d_time_offset\030\010 \001(\0132\031.google.protobuf.Du"
+ + "ration\022\025\n\013total_count\030\t \001(\005H\000\022-\n\010interva"
+ + "l\030\n \001(\0132\031.google.protobuf.DurationH\000\022\017\n\007"
+ + "quality\030\013 \001(\005B\025\n\023extraction_strategy\"\271\t\n"
+ + "\007Overlay\022C\n\005image\030\001 \001(\01324.google.cloud.v"
+ + "ideo.transcoder.v1beta1.Overlay.Image\022L\n"
+ + "\nanimations\030\002 \003(\01328.google.cloud.video.t"
+ + "ranscoder.v1beta1.Overlay.Animation\032,\n\024N"
+ + "ormalizedCoordinate\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002 \001("
+ + "\001\032\201\001\n\005Image\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022W\n\nresolut"
+ + "ion\030\002 \001(\0132C.google.cloud.video.transcode"
+ + "r.v1beta1.Overlay.NormalizedCoordinate\022\r"
+ + "\n\005alpha\030\003 \001(\001\032\230\001\n\017AnimationStatic\022O\n\002xy\030"
+ + "\001 \001(\0132C.google.cloud.video.transcoder.v1"
+ + "beta1.Overlay.NormalizedCoordinate\0224\n\021st"
+ + "art_time_offset\030\002 \001(\0132\031.google.protobuf."
+ + "Duration\032\233\002\n\rAnimationFade\022O\n\tfade_type\030"
+ + "\001 \001(\01627.google.cloud.video.transcoder.v1"
+ + "beta1.Overlay.FadeTypeB\003\340A\002\022O\n\002xy\030\002 \001(\0132"
+ + "C.google.cloud.video.transcoder.v1beta1."
+ + "Overlay.NormalizedCoordinate\0224\n\021start_ti"
+ + "me_offset\030\003 \001(\0132\031.google.protobuf.Durati"
+ + "on\0222\n\017end_time_offset\030\004 \001(\0132\031.google.pro"
+ + "tobuf.Duration\032D\n\014AnimationEnd\0224\n\021start_"
+ + "time_offset\030\001 \001(\0132\031.google.protobuf.Dura"
+ + "tion\032\247\002\n\tAnimation\022Z\n\020animation_static\030\001"
+ + " \001(\0132>.google.cloud.video.transcoder.v1b"
+ + "eta1.Overlay.AnimationStaticH\000\022V\n\016animat"
+ + "ion_fade\030\002 \001(\0132<.google.cloud.video.tran"
+ + "scoder.v1beta1.Overlay.AnimationFadeH\000\022T"
+ + "\n\ranimation_end\030\003 \001(\0132;.google.cloud.vid"
+ + "eo.transcoder.v1beta1.Overlay.AnimationE"
+ + "ndH\000B\020\n\016animation_type\"@\n\010FadeType\022\031\n\025FA"
+ + "DE_TYPE_UNSPECIFIED\020\000\022\013\n\007FADE_IN\020\001\022\014\n\010FA"
+ + "DE_OUT\020\002\"\222\007\n\023PreprocessingConfig\022O\n\005colo"
+ + "r\030\001 \001(\0132@.google.cloud.video.transcoder."
+ + "v1beta1.PreprocessingConfig.Color\022S\n\007den"
+ + "oise\030\002 \001(\0132B.google.cloud.video.transcod"
+ + "er.v1beta1.PreprocessingConfig.Denoise\022S"
+ + "\n\007deblock\030\003 \001(\0132B.google.cloud.video.tra"
+ + "nscoder.v1beta1.PreprocessingConfig.Debl"
+ + "ock\022O\n\005audio\030\004 \001(\0132@.google.cloud.video."
+ + "transcoder.v1beta1.PreprocessingConfig.A"
+ + "udio\022M\n\004crop\030\005 \001(\0132?.google.cloud.video."
+ + "transcoder.v1beta1.PreprocessingConfig.C"
+ + "rop\022K\n\003pad\030\006 \001(\0132>.google.cloud.video.tr"
+ + "anscoder.v1beta1.PreprocessingConfig.Pad"
+ + "\032A\n\005Color\022\022\n\nsaturation\030\001 \001(\001\022\020\n\010contras"
+ + "t\030\002 \001(\001\022\022\n\nbrightness\030\003 \001(\001\032)\n\007Denoise\022\020"
+ + "\n\010strength\030\001 \001(\001\022\014\n\004tune\030\002 \001(\t\032,\n\007Debloc"
+ + "k\022\020\n\010strength\030\001 \001(\001\022\017\n\007enabled\030\002 \001(\010\032<\n\005"
+ + "Audio\022\014\n\004lufs\030\001 \001(\001\022\022\n\nhigh_boost\030\002 \001(\010\022"
+ + "\021\n\tlow_boost\030\003 \001(\010\032\\\n\004Crop\022\022\n\ntop_pixels"
+ + "\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022\023\n\013left_pi"
+ + "xels\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001(\005\032[\n\003Pad\022"
+ + "\022\n\ntop_pixels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001"
+ + "(\005\022\023\n\013left_pixels\030\003 \001(\005\022\024\n\014right_pixels\030"
+ + "\004 \001(\005\"\202\004\n\013VideoStream\022\r\n\005codec\030\001 \001(\t\022\017\n\007"
+ + "profile\030\002 \001(\t\022\014\n\004tune\030\003 \001(\t\022\016\n\006preset\030\004 "
+ + "\001(\t\022\025\n\rheight_pixels\030\005 \001(\005\022\024\n\014width_pixe"
+ + "ls\030\006 \001(\005\022\024\n\014pixel_format\030\007 \001(\t\022\030\n\013bitrat"
+ + "e_bps\030\010 \001(\005B\003\340A\002\022\031\n\021rate_control_mode\030\t "
+ + "\001(\t\022\027\n\017enable_two_pass\030\n \001(\010\022\021\n\tcrf_leve"
+ + "l\030\013 \001(\005\022\025\n\rvbv_size_bits\030\014 \001(\005\022\031\n\021vbv_fu"
+ + "llness_bits\030\r \001(\005\022\026\n\016allow_open_gop\030\016 \001("
+ + "\010\022\031\n\017gop_frame_count\030\017 \001(\005H\000\0221\n\014gop_dura"
+ + "tion\030\020 \001(\0132\031.google.protobuf.DurationH\000\022"
+ + "\025\n\rentropy_coder\030\021 \001(\t\022\021\n\tb_pyramid\030\022 \001("
+ + "\010\022\025\n\rb_frame_count\030\023 \001(\005\022\027\n\nframe_rate\030\024"
+ + " \001(\001B\003\340A\002\022\023\n\013aq_strength\030\025 \001(\001B\n\n\010gop_mo"
+ + "de\"\254\004\n\013AudioStream\022\r\n\005codec\030\001 \001(\t\022\030\n\013bit"
+ + "rate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_count\030\003 \001"
+ + "(\005\022\026\n\016channel_layout\030\004 \003(\t\022M\n\007mapping\030\005 "
+ + "\003(\0132<.google.cloud.video.transcoder.v1be"
+ + "ta1.AudioStream.AudioAtom\022\031\n\021sample_rate"
+ + "_hertz\030\006 \001(\005\032\332\002\n\tAudioAtom\022\020\n\003key\030\001 \001(\tB"
+ + "\003\340A\002\022[\n\010channels\030\002 \003(\0132I.google.cloud.vi"
+ + "deo.transcoder.v1beta1.AudioStream.Audio"
+ + "Atom.AudioChannel\032\335\001\n\014AudioChannel\022k\n\006in"
+ + "puts\030\002 \003(\0132[.google.cloud.video.transcod"
+ + "er.v1beta1.AudioStream.AudioAtom.AudioCh"
+ + "annel.AudioChannelInput\032`\n\021AudioChannelI"
+ + "nput\022\020\n\003key\030\001 \001(\tB\003\340A\002\022\022\n\005track\030\002 \001(\005B\003\340"
+ + "A\002\022\024\n\007channel\030\003 \001(\005B\003\340A\002\022\017\n\007gain_db\030\004 \001("
+ + "\001\"\254\002\n\nTextStream\022\r\n\005codec\030\001 \001(\t\022\032\n\rlangu"
+ + "age_code\030\002 \001(\tB\003\340A\002\022K\n\007mapping\030\003 \003(\0132:.g"
+ + "oogle.cloud.video.transcoder.v1beta1.Tex"
+ + "tStream.TextAtom\032\245\001\n\010TextAtom\022\020\n\003key\030\001 \001"
+ + "(\tB\003\340A\002\022T\n\006inputs\030\002 \003(\0132D.google.cloud.v"
+ + "ideo.transcoder.v1beta1.TextStream.TextA"
+ + "tom.TextInput\0321\n\tTextInput\022\020\n\003key\030\001 \001(\tB"
+ + "\003\340A\002\022\022\n\005track\030\002 \001(\005B\003\340A\002\"h\n\017SegmentSetti"
+ + "ngs\0223\n\020segment_duration\030\001 \001(\0132\031.google.p"
+ + "rotobuf.Duration\022 \n\023individual_segments\030"
+ + "\003 \001(\010B\003\340A\002\"\354\003\n\nEncryption\022\020\n\003key\030\001 \001(\tB\003"
+ + "\340A\002\022\017\n\002iv\030\002 \001(\tB\003\340A\002\022U\n\007aes_128\030\003 \001(\0132B."
+ + "google.cloud.video.transcoder.v1beta1.En"
+ + "cryption.Aes128EncryptionH\000\022[\n\nsample_ae"
+ + "s\030\004 \001(\0132E.google.cloud.video.transcoder."
+ + "v1beta1.Encryption.SampleAesEncryptionH\000"
+ + "\022[\n\tmpeg_cenc\030\005 \001(\0132F.google.cloud.video"
+ + ".transcoder.v1beta1.Encryption.MpegCommo"
+ + "nEncryptionH\000\032(\n\020Aes128Encryption\022\024\n\007key"
+ + "_uri\030\001 \001(\tB\003\340A\002\032+\n\023SampleAesEncryption\022\024"
+ + "\n\007key_uri\030\001 \001(\tB\003\340A\002\032@\n\024MpegCommonEncryp"
+ + "tion\022\023\n\006key_id\030\001 \001(\tB\003\340A\002\022\023\n\006scheme\030\002 \001("
+ + "\tB\003\340A\002B\021\n\017encryption_mode\"Q\n\010Progress\022\020\n"
+ + "\010analyzed\030\001 \001(\001\022\017\n\007encoded\030\002 \001(\001\022\020\n\010uplo"
+ + "aded\030\003 \001(\001\022\020\n\010notified\030\004 \001(\001\"$\n\rFailureD"
+ + "etail\022\023\n\013description\030\001 \001(\tB\216\001\n)com.googl"
+ + "e.cloud.video.transcoder.v1beta1B\016Resour"
+ + "cesProtoP\001ZOgoogle.golang.org/genproto/g"
+ + "oogleapis/cloud/video/transcoder/v1beta1"
+ + ";transcoderb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -417,6 +435,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CreateTime",
"StartTime",
"EndTime",
+ "TtlAfterCompletionDays",
"JobConfig",
});
internal_static_google_cloud_video_transcoder_v1beta1_Job_OriginUri_descriptor =
@@ -534,6 +553,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"EndTimeOffset",
"TotalCount",
"Interval",
+ "Quality",
"ExtractionStrategy",
});
internal_static_google_cloud_video_transcoder_v1beta1_Overlay_descriptor =
@@ -610,7 +630,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_descriptor,
new java.lang.String[] {
- "Color", "Denoise", "Deblock", "Audio",
+ "Color", "Denoise", "Deblock", "Audio", "Crop", "Pad",
});
internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Color_descriptor =
internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_descriptor
@@ -652,6 +672,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Lufs", "HighBoost", "LowBoost",
});
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_descriptor =
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_descriptor
+ .getNestedTypes()
+ .get(4);
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Crop_descriptor,
+ new java.lang.String[] {
+ "TopPixels", "BottomPixels", "LeftPixels", "RightPixels",
+ });
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_descriptor =
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_descriptor
+ .getNestedTypes()
+ .get(5);
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_video_transcoder_v1beta1_PreprocessingConfig_Pad_descriptor,
+ new java.lang.String[] {
+ "TopPixels", "BottomPixels", "LeftPixels", "RightPixels",
+ });
internal_static_google_cloud_video_transcoder_v1beta1_VideoStream_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_video_transcoder_v1beta1_VideoStream_fieldAccessorTable =
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettings.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettings.java
index 5023acaf..e4c18c7c 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettings.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettings.java
@@ -128,7 +128,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -143,7 +146,10 @@ public boolean hasSegmentDuration() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -160,7 +166,10 @@ public com.google.protobuf.Duration getSegmentDuration() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -544,7 +553,10 @@ public Builder mergeFrom(
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -558,7 +570,10 @@ public boolean hasSegmentDuration() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -578,7 +593,10 @@ public com.google.protobuf.Duration getSegmentDuration() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -600,7 +618,10 @@ public Builder setSegmentDuration(com.google.protobuf.Duration value) {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -619,7 +640,10 @@ public Builder setSegmentDuration(com.google.protobuf.Duration.Builder builderFo
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -645,7 +669,10 @@ public Builder mergeSegmentDuration(com.google.protobuf.Duration value) {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -665,7 +692,10 @@ public Builder clearSegmentDuration() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -679,7 +709,10 @@ public com.google.protobuf.Duration.Builder getSegmentDurationBuilder() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -697,7 +730,10 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettingsOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettingsOrBuilder.java
index bfb339a5..6cee0d2c 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettingsOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SegmentSettingsOrBuilder.java
@@ -27,7 +27,10 @@ public interface SegmentSettingsOrBuilder
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -39,7 +42,10 @@ public interface SegmentSettingsOrBuilder
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
@@ -51,7 +57,10 @@ public interface SegmentSettingsOrBuilder
*
*
*
- * Duration of the segments in seconds. The default is `"6.0s"`.
+ * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ * `segmentDuration` must be greater than or equal to
+ * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ * [`gopDuration`](#videostream).
*
*
* .google.protobuf.Duration segment_duration = 1;
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ServicesProto.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ServicesProto.java
index f022daa6..9756b63c 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ServicesProto.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ServicesProto.java
@@ -111,7 +111,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "om/JobTemplate\"~\n\030ListJobTemplatesRespon"
+ "se\022I\n\rjob_templates\030\001 \003(\01322.google.cloud"
+ ".video.transcoder.v1beta1.JobTemplate\022\027\n"
- + "\017next_page_token\030\002 \001(\t2\200\r\n\021TranscoderSer"
+ + "\017next_page_token\030\002 \001(\t2\203\r\n\021TranscoderSer"
+ "vice\022\271\001\n\tCreateJob\0227.google.cloud.video."
+ "transcoder.v1beta1.CreateJobRequest\032*.go"
+ "ogle.cloud.video.transcoder.v1beta1.Job\""
@@ -151,13 +151,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "der.v1beta1.DeleteJobTemplateRequest\032\026.g"
+ "oogle.protobuf.Empty\"D\202\323\344\223\0027*5/v1beta1/{"
+ "name=projects/*/locations/*/jobTemplates"
- + "/*}\332A\004name\032M\312A\031transcoder.googleapis.com"
- + "\322A.https://www.googleapis.com/auth/cloud"
- + "-platformB\215\001\n)com.google.cloud.video.tra"
- + "nscoder.v1beta1B\rServicesProtoP\001ZOgoogle"
- + ".golang.org/genproto/googleapis/cloud/vi"
- + "deo/transcoder/v1beta1;transcoderb\006proto"
- + "3"
+ + "/*}\332A\004name\032P\210\002\001\312A\031transcoder.googleapis."
+ + "com\322A.https://www.googleapis.com/auth/cl"
+ + "oud-platformB\215\001\n)com.google.cloud.video."
+ + "transcoder.v1beta1B\rServicesProtoP\001ZOgoo"
+ + "gle.golang.org/genproto/googleapis/cloud"
+ + "/video/transcoder/v1beta1;transcoderb\006pr"
+ + "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java
index ef88106b..c6cd452d 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java
@@ -156,6 +156,11 @@ private SpriteSheet(
extractionStrategyCase_ = 10;
break;
}
+ case 88:
+ {
+ quality_ = input.readInt32();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -349,7 +354,10 @@ public com.google.protobuf.ByteString getFilePrefixBytes() {
*
*
*
- * Required. The width of sprite in pixels. Must be an even integer.
+ * Required. The width of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field or
+ * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -367,7 +375,10 @@ public int getSpriteWidthPixels() {
*
*
*
- * Required. The height of sprite in pixels. Must be an even integer.
+ * Required. The height of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field or
+ * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
@@ -616,6 +627,27 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
return com.google.protobuf.Duration.getDefaultInstance();
}
+ public static final int QUALITY_FIELD_NUMBER = 11;
+ private int quality_;
+ /**
+ *
+ *
+ *
+ * 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 = 11;
+ *
+ * @return The quality.
+ */
+ @java.lang.Override
+ public int getQuality() {
+ return quality_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -660,6 +692,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (extractionStrategyCase_ == 10) {
output.writeMessage(10, (com.google.protobuf.Duration) extractionStrategy_);
}
+ if (quality_ != 0) {
+ output.writeInt32(11, quality_);
+ }
unknownFields.writeTo(output);
}
@@ -703,6 +738,9 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
10, (com.google.protobuf.Duration) extractionStrategy_);
}
+ if (quality_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, quality_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -733,6 +771,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasEndTimeOffset()) {
if (!getEndTimeOffset().equals(other.getEndTimeOffset())) return false;
}
+ if (getQuality() != other.getQuality()) return false;
if (!getExtractionStrategyCase().equals(other.getExtractionStrategyCase())) return false;
switch (extractionStrategyCase_) {
case 9:
@@ -775,6 +814,8 @@ public int hashCode() {
hash = (37 * hash) + END_TIME_OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getEndTimeOffset().hashCode();
}
+ hash = (37 * hash) + QUALITY_FIELD_NUMBER;
+ hash = (53 * hash) + getQuality();
switch (extractionStrategyCase_) {
case 9:
hash = (37 * hash) + TOTAL_COUNT_FIELD_NUMBER;
@@ -957,6 +998,8 @@ public Builder clear() {
endTimeOffset_ = null;
endTimeOffsetBuilder_ = null;
}
+ quality_ = 0;
+
extractionStrategyCase_ = 0;
extractionStrategy_ = null;
return this;
@@ -1012,6 +1055,7 @@ public com.google.cloud.video.transcoder.v1beta1.SpriteSheet buildPartial() {
result.extractionStrategy_ = intervalBuilder_.build();
}
}
+ result.quality_ = quality_;
result.extractionStrategyCase_ = extractionStrategyCase_;
onBuilt();
return result;
@@ -1089,6 +1133,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1beta1.SpriteSheet o
if (other.hasEndTimeOffset()) {
mergeEndTimeOffset(other.getEndTimeOffset());
}
+ if (other.getQuality() != 0) {
+ setQuality(other.getQuality());
+ }
switch (other.getExtractionStrategyCase()) {
case TOTAL_COUNT:
{
@@ -1386,7 +1433,10 @@ public Builder setFilePrefixBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The width of sprite in pixels. Must be an even integer.
+ * Required. The width of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field or
+ * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1401,7 +1451,10 @@ public int getSpriteWidthPixels() {
*
*
*
- * Required. The width of sprite in pixels. Must be an even integer.
+ * Required. The width of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field or
+ * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1419,7 +1472,10 @@ public Builder setSpriteWidthPixels(int value) {
*
*
*
- * Required. The width of sprite in pixels. Must be an even integer.
+ * Required. The width of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field or
+ * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1438,7 +1494,10 @@ public Builder clearSpriteWidthPixels() {
*
*
*
- * Required. The height of sprite in pixels. Must be an even integer.
+ * Required. The height of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field or
+ * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
@@ -1453,7 +1512,10 @@ public int getSpriteHeightPixels() {
*
*
*
- * Required. The height of sprite in pixels. Must be an even integer.
+ * Required. The height of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field or
+ * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
@@ -1471,7 +1533,10 @@ public Builder setSpriteHeightPixels(int value) {
*
*
*
- * Required. The height of sprite in pixels. Must be an even integer.
+ * Required. The height of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field or
+ * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
@@ -2289,6 +2354,67 @@ public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
return intervalBuilder_;
}
+ private int quality_;
+ /**
+ *
+ *
+ *
+ * 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 = 11;
+ *
+ * @return The quality.
+ */
+ @java.lang.Override
+ public int getQuality() {
+ return quality_;
+ }
+ /**
+ *
+ *
+ *
+ * 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 = 11;
+ *
+ * @param value The quality to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQuality(int value) {
+
+ quality_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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 = 11;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearQuality() {
+
+ quality_ = 0;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheetOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheetOrBuilder.java
index 96789462..4ebc2a53 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheetOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheetOrBuilder.java
@@ -85,7 +85,10 @@ public interface SpriteSheetOrBuilder
*
*
*
- * Required. The width of sprite in pixels. Must be an even integer.
+ * Required. The width of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field or
+ * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_width_pixels = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -98,7 +101,10 @@ public interface SpriteSheetOrBuilder
*
*
*
- * Required. The height of sprite in pixels. Must be an even integer.
+ * Required. The height of sprite in pixels. Must be an even integer. To preserve the
+ * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field or
+ * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
+ * automatically calculate the missing field).
*
*
* int32 sprite_height_pixels = 4 [(.google.api.field_behavior) = REQUIRED];
@@ -282,6 +288,22 @@ public interface SpriteSheetOrBuilder
*/
com.google.protobuf.DurationOrBuilder getIntervalOrBuilder();
+ /**
+ *
+ *
+ *
+ * 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 = 11;
+ *
+ * @return The quality.
+ */
+ int getQuality();
+
public com.google.cloud.video.transcoder.v1beta1.SpriteSheet.ExtractionStrategyCase
getExtractionStrategyCase();
}
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java
index ae42f00a..d5bd78fd 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java
@@ -293,11 +293,10 @@ public GopModeCase getGopModeCase() {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -320,11 +319,10 @@ public java.lang.String getCodec() {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -350,11 +348,15 @@ public com.google.protobuf.ByteString getCodecBytes() {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -377,11 +379,15 @@ public java.lang.String getProfile() {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -407,7 +413,11 @@ public com.google.protobuf.ByteString getProfileBytes() {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -430,7 +440,11 @@ public java.lang.String getTune() {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -456,7 +470,12 @@ public com.google.protobuf.ByteString getTuneBytes() {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -479,7 +498,12 @@ public java.lang.String getPreset() {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -614,7 +638,9 @@ public com.google.protobuf.ByteString getPixelFormatBytes() {
*
*
*
- * Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
+ * Required. The video bitrate in bits per second. The minimum value is 1,000.
+ * The maximum value for H264/H265 is 800,000,000. The maximum value for VP9
+ * is 480,000,000.
*
*
* int32 bitrate_bps = 8 [(.google.api.field_behavior) = REQUIRED];
@@ -820,7 +846,9 @@ public int getGopFrameCount() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -836,7 +864,9 @@ public boolean hasGopDuration() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -855,7 +885,9 @@ public com.google.protobuf.Duration getGopDuration() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -970,27 +1002,10 @@ public int getBFrameCount() {
* Required. The target video frame rate in frames per second (FPS). Must be less than
* or equal to 120. Will default to the input frame rate if larger than the
* input frame rate. The API will generate an output FPS that is divisible by
- * the input FPS, and smaller or equal to the target FPS.
- * The following table shows the computed video FPS given the target FPS (in
- * parenthesis) and input FPS (in the first column):
- * ```
- * | | (30) | (60) | (25) | (50) |
- * |--------|--------|--------|------|------|
- * | 240 | Fail | Fail | Fail | Fail |
- * | 120 | 30 | 60 | 20 | 30 |
- * | 100 | 25 | 50 | 20 | 30 |
- * | 50 | 25 | 50 | 20 | 30 |
- * | 60 | 30 | 60 | 20 | 30 |
- * | 59.94 | 29.97 | 59.94 | 20 | 30 |
- * | 48 | 24 | 48 | 20 | 30 |
- * | 30 | 30 | 30 | 20 | 30 |
- * | 25 | 25 | 25 | 20 | 30 |
- * | 24 | 24 | 24 | 20 | 30 |
- * | 23.976 | 23.976 | 23.976 | 20 | 30 |
- * | 15 | 15 | 15 | 20 | 30 |
- * | 12 | 12 | 12 | 20 | 30 |
- * | 10 | 10 | 10 | 20 | 30 |
- * ```
+ * the input FPS, and smaller or equal to the target FPS. See
+ * [Calculate frame
+ * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
+ * more information.
*
*
* double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED];
@@ -1712,11 +1727,10 @@ public Builder clearGopMode() {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -1738,11 +1752,10 @@ public java.lang.String getCodec() {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -1764,11 +1777,10 @@ public com.google.protobuf.ByteString getCodecBytes() {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -1789,11 +1801,10 @@ public Builder setCodec(java.lang.String value) {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -1810,11 +1821,10 @@ public Builder clearCodec() {
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -1838,11 +1848,15 @@ public Builder setCodecBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -1864,11 +1878,15 @@ public java.lang.String getProfile() {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -1890,11 +1908,15 @@ public com.google.protobuf.ByteString getProfileBytes() {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -1915,11 +1937,15 @@ public Builder setProfile(java.lang.String value) {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -1936,11 +1962,15 @@ public Builder clearProfile() {
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -1964,7 +1994,11 @@ public Builder setProfileBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -1986,7 +2020,11 @@ public java.lang.String getTune() {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -2008,7 +2046,11 @@ public com.google.protobuf.ByteString getTuneBytes() {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -2029,7 +2071,11 @@ public Builder setTune(java.lang.String value) {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -2046,7 +2092,11 @@ public Builder clearTune() {
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -2070,7 +2120,12 @@ public Builder setTuneBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -2092,7 +2147,12 @@ public java.lang.String getPreset() {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -2114,7 +2174,12 @@ public com.google.protobuf.ByteString getPresetBytes() {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -2135,7 +2200,12 @@ public Builder setPreset(java.lang.String value) {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -2152,7 +2222,12 @@ public Builder clearPreset() {
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -2448,7 +2523,9 @@ public Builder setPixelFormatBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
+ * Required. The video bitrate in bits per second. The minimum value is 1,000.
+ * The maximum value for H264/H265 is 800,000,000. The maximum value for VP9
+ * is 480,000,000.
*
*
* int32 bitrate_bps = 8 [(.google.api.field_behavior) = REQUIRED];
@@ -2463,7 +2540,9 @@ public int getBitrateBps() {
*
*
*
- * Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
+ * Required. The video bitrate in bits per second. The minimum value is 1,000.
+ * The maximum value for H264/H265 is 800,000,000. The maximum value for VP9
+ * is 480,000,000.
*
*
* int32 bitrate_bps = 8 [(.google.api.field_behavior) = REQUIRED];
@@ -2481,7 +2560,9 @@ public Builder setBitrateBps(int value) {
*
*
*
- * Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
+ * Required. The video bitrate in bits per second. The minimum value is 1,000.
+ * The maximum value for H264/H265 is 800,000,000. The maximum value for VP9
+ * is 480,000,000.
*
*
* int32 bitrate_bps = 8 [(.google.api.field_behavior) = REQUIRED];
@@ -2977,7 +3058,9 @@ public Builder clearGopFrameCount() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -2993,7 +3076,9 @@ public boolean hasGopDuration() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3019,7 +3104,9 @@ public com.google.protobuf.Duration getGopDuration() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3042,7 +3129,9 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3062,7 +3151,9 @@ public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForVal
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3092,7 +3183,9 @@ public Builder mergeGopDuration(com.google.protobuf.Duration value) {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3118,7 +3211,9 @@ public Builder clearGopDuration() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3131,7 +3226,9 @@ public com.google.protobuf.Duration.Builder getGopDurationBuilder() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3152,7 +3249,9 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -3419,27 +3518,10 @@ public Builder clearBFrameCount() {
* Required. The target video frame rate in frames per second (FPS). Must be less than
* or equal to 120. Will default to the input frame rate if larger than the
* input frame rate. The API will generate an output FPS that is divisible by
- * the input FPS, and smaller or equal to the target FPS.
- * The following table shows the computed video FPS given the target FPS (in
- * parenthesis) and input FPS (in the first column):
- * ```
- * | | (30) | (60) | (25) | (50) |
- * |--------|--------|--------|------|------|
- * | 240 | Fail | Fail | Fail | Fail |
- * | 120 | 30 | 60 | 20 | 30 |
- * | 100 | 25 | 50 | 20 | 30 |
- * | 50 | 25 | 50 | 20 | 30 |
- * | 60 | 30 | 60 | 20 | 30 |
- * | 59.94 | 29.97 | 59.94 | 20 | 30 |
- * | 48 | 24 | 48 | 20 | 30 |
- * | 30 | 30 | 30 | 20 | 30 |
- * | 25 | 25 | 25 | 20 | 30 |
- * | 24 | 24 | 24 | 20 | 30 |
- * | 23.976 | 23.976 | 23.976 | 20 | 30 |
- * | 15 | 15 | 15 | 20 | 30 |
- * | 12 | 12 | 12 | 20 | 30 |
- * | 10 | 10 | 10 | 20 | 30 |
- * ```
+ * the input FPS, and smaller or equal to the target FPS. See
+ * [Calculate frame
+ * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
+ * more information.
*
*
* double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED];
@@ -3457,27 +3539,10 @@ public double getFrameRate() {
* Required. The target video frame rate in frames per second (FPS). Must be less than
* or equal to 120. Will default to the input frame rate if larger than the
* input frame rate. The API will generate an output FPS that is divisible by
- * the input FPS, and smaller or equal to the target FPS.
- * The following table shows the computed video FPS given the target FPS (in
- * parenthesis) and input FPS (in the first column):
- * ```
- * | | (30) | (60) | (25) | (50) |
- * |--------|--------|--------|------|------|
- * | 240 | Fail | Fail | Fail | Fail |
- * | 120 | 30 | 60 | 20 | 30 |
- * | 100 | 25 | 50 | 20 | 30 |
- * | 50 | 25 | 50 | 20 | 30 |
- * | 60 | 30 | 60 | 20 | 30 |
- * | 59.94 | 29.97 | 59.94 | 20 | 30 |
- * | 48 | 24 | 48 | 20 | 30 |
- * | 30 | 30 | 30 | 20 | 30 |
- * | 25 | 25 | 25 | 20 | 30 |
- * | 24 | 24 | 24 | 20 | 30 |
- * | 23.976 | 23.976 | 23.976 | 20 | 30 |
- * | 15 | 15 | 15 | 20 | 30 |
- * | 12 | 12 | 12 | 20 | 30 |
- * | 10 | 10 | 10 | 20 | 30 |
- * ```
+ * the input FPS, and smaller or equal to the target FPS. See
+ * [Calculate frame
+ * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
+ * more information.
*
*
* double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED];
@@ -3498,27 +3563,10 @@ public Builder setFrameRate(double value) {
* Required. The target video frame rate in frames per second (FPS). Must be less than
* or equal to 120. Will default to the input frame rate if larger than the
* input frame rate. The API will generate an output FPS that is divisible by
- * the input FPS, and smaller or equal to the target FPS.
- * The following table shows the computed video FPS given the target FPS (in
- * parenthesis) and input FPS (in the first column):
- * ```
- * | | (30) | (60) | (25) | (50) |
- * |--------|--------|--------|------|------|
- * | 240 | Fail | Fail | Fail | Fail |
- * | 120 | 30 | 60 | 20 | 30 |
- * | 100 | 25 | 50 | 20 | 30 |
- * | 50 | 25 | 50 | 20 | 30 |
- * | 60 | 30 | 60 | 20 | 30 |
- * | 59.94 | 29.97 | 59.94 | 20 | 30 |
- * | 48 | 24 | 48 | 20 | 30 |
- * | 30 | 30 | 30 | 20 | 30 |
- * | 25 | 25 | 25 | 20 | 30 |
- * | 24 | 24 | 24 | 20 | 30 |
- * | 23.976 | 23.976 | 23.976 | 20 | 30 |
- * | 15 | 15 | 15 | 20 | 30 |
- * | 12 | 12 | 12 | 20 | 30 |
- * | 10 | 10 | 10 | 20 | 30 |
- * ```
+ * the input FPS, and smaller or equal to the target FPS. See
+ * [Calculate frame
+ * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
+ * more information.
*
*
* double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java
index 09e18117..4571086b 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java
@@ -27,11 +27,10 @@ public interface VideoStreamOrBuilder
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -43,11 +42,10 @@ public interface VideoStreamOrBuilder
*
*
*
- * Codec type. The default is `"h264"`.
- * Supported codecs:
- * - 'h264'
- * - 'h265'
- * - 'vp9'
+ * Codec type. The following codecs are supported:
+ * * `h264` (default)
+ * * `h265`
+ * * `vp9`
*
*
* string codec = 1;
@@ -60,11 +58,15 @@ public interface VideoStreamOrBuilder
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -76,11 +78,15 @@ public interface VideoStreamOrBuilder
*
*
*
- * Enforce specified codec profile. The default is `"high"`.
- * Supported codec profiles:
- * - 'baseline'
- * - 'main'
- * - 'high'
+ * Enforces the specified codec profile. The following profiles are supported:
+ * * `baseline`
+ * * `main`
+ * * `high` (default)
+ * The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Profile"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string profile = 2;
@@ -93,7 +99,11 @@ public interface VideoStreamOrBuilder
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -105,7 +115,11 @@ public interface VideoStreamOrBuilder
*
*
*
- * Enforce specified codec tune.
+ * Enforces the specified codec tune. The available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Tune"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string tune = 3;
@@ -118,7 +132,12 @@ public interface VideoStreamOrBuilder
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -130,7 +149,12 @@ public interface VideoStreamOrBuilder
*
*
*
- * Enforce specified codec preset. The default is `"veryfast"`.
+ * Enforces the specified codec preset. The default is `veryfast`. The
+ * available options are
+ * <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#Preset"
+ * class="external">FFmpeg-compatible</a>. Note that certain values for this
+ * field may cause the transcoder to override other fields you set in the
+ * `VideoStream` message.
*
*
* string preset = 4;
@@ -218,7 +242,9 @@ public interface VideoStreamOrBuilder
*
*
*
- * Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
+ * Required. The video bitrate in bits per second. The minimum value is 1,000.
+ * The maximum value for H264/H265 is 800,000,000. The maximum value for VP9
+ * is 480,000,000.
*
*
* int32 bitrate_bps = 8 [(.google.api.field_behavior) = REQUIRED];
@@ -361,7 +387,9 @@ public interface VideoStreamOrBuilder
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -374,7 +402,9 @@ public interface VideoStreamOrBuilder
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -387,7 +417,9 @@ public interface VideoStreamOrBuilder
*
*
* Select the GOP size based on the specified duration. The default is
- * `"3s"`.
+ * `"3s"`. Note that `gopDuration` must be less than or equal to
+ * [`segmentDuration`](#SegmentSettings), and
+ * [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
*
*
* .google.protobuf.Duration gop_duration = 16;
@@ -460,27 +492,10 @@ public interface VideoStreamOrBuilder
* Required. The target video frame rate in frames per second (FPS). Must be less than
* or equal to 120. Will default to the input frame rate if larger than the
* input frame rate. The API will generate an output FPS that is divisible by
- * the input FPS, and smaller or equal to the target FPS.
- * The following table shows the computed video FPS given the target FPS (in
- * parenthesis) and input FPS (in the first column):
- * ```
- * | | (30) | (60) | (25) | (50) |
- * |--------|--------|--------|------|------|
- * | 240 | Fail | Fail | Fail | Fail |
- * | 120 | 30 | 60 | 20 | 30 |
- * | 100 | 25 | 50 | 20 | 30 |
- * | 50 | 25 | 50 | 20 | 30 |
- * | 60 | 30 | 60 | 20 | 30 |
- * | 59.94 | 29.97 | 59.94 | 20 | 30 |
- * | 48 | 24 | 48 | 20 | 30 |
- * | 30 | 30 | 30 | 20 | 30 |
- * | 25 | 25 | 25 | 20 | 30 |
- * | 24 | 24 | 24 | 20 | 30 |
- * | 23.976 | 23.976 | 23.976 | 20 | 30 |
- * | 15 | 15 | 15 | 20 | 30 |
- * | 12 | 12 | 12 | 20 | 30 |
- * | 10 | 10 | 10 | 20 | 30 |
- * ```
+ * the input FPS, and smaller or equal to the target FPS. See
+ * [Calculate frame
+ * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
+ * more information.
*
*
* double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto b/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto
index 71ba38f9..650b7988 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -35,8 +35,8 @@ message Job {
// The origin URI.
message OriginUri {
- // HLS master manifest URI. If multiple HLS master manifests are created
- // only first one is listed.
+ // HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+ // If multiple HLS manifests are created, only the first one is listed.
string hls = 1;
// Dash manifest URI. If multiple Dash manifests are created, only the first
@@ -69,8 +69,8 @@ message Job {
// Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
// `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
- // URI of the media. It must be stored in Cloud Storage. For example,
- // `gs://bucket/inputs/file.mp4`.
+ // 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`).
string input_uri = 2 [(google.api.field_behavior) = INPUT_ONLY];
// Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
@@ -78,8 +78,10 @@ message Job {
// URI for the output file(s). For example, `gs://my-bucket/outputs/`.
string output_uri = 3 [(google.api.field_behavior) = INPUT_ONLY];
- // Specify the `job_config` for transcoding job. When you use a `template_id`
- // to create a job, the `Job.config` is populated by the `JobTemplate.config`.
+ // Specify the `job_config` for the transcoding job. If you don't specify the
+ // `job_config`, the API selects `templateId`; this template ID is set to
+ // `preset/web-hd` by default. When you use a `template_id` to create a job,
+ // the `Job.config` is populated by the `JobTemplate.config`.
oneof job_config {
// Input only. Specify the `template_id` to use for populating `Job.config`. The default
// is `preset/web-hd`.
@@ -100,6 +102,7 @@ message Job {
int32 priority = 6;
// Output only. The origin URI.
+ // Note : This feature is not yet available.
OriginUri origin_uri = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The current state of the job.
@@ -107,6 +110,7 @@ message Job {
// Output only. Estimated fractional progress, from `0` to `1` for each
// step.
+ // Note : This feature is not yet available.
Progress progress = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. A description of the reason for the failure. This property is
@@ -115,6 +119,7 @@ message Job {
// Output only. List of failure details. This property may contain additional
// information about the failure when `failure_reason` is present.
+ // Note : This feature is not yet available.
repeated FailureDetail failure_details = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The time the job was created.
@@ -125,6 +130,11 @@ message Job {
// Output only. The time the transcoding finished.
google.protobuf.Timestamp end_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Job time to live value in days, which will be effective after job
+ // completion. Job should be deleted automatically after the given TTL. Enter
+ // a value between 1 and 90. The default is 30.
+ int32 ttl_after_completion_days = 15;
}
// Transcoding job template resource.
@@ -184,9 +194,9 @@ message Input {
// mapping and edit lists.
string key = 1;
- // 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`.
string uri = 2;
// Preprocessing configurations.
@@ -329,10 +339,16 @@ message SpriteSheet {
// from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
string file_prefix = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The width of sprite in pixels. Must be an even integer.
+ // Required. The width of sprite in pixels. Must be an even integer. To preserve the
+ // source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field or
+ // the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
+ // automatically calculate the missing field).
int32 sprite_width_pixels = 3 [(google.api.field_behavior) = REQUIRED];
- // Required. The height of sprite in pixels. Must be an even integer.
+ // Required. The height of sprite in pixels. Must be an even integer. To preserve the
+ // source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_height_pixels] field or
+ // the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1beta1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
+ // automatically calculate the missing field).
int32 sprite_height_pixels = 4 [(google.api.field_behavior) = REQUIRED];
// The maximum number of sprites per row in a sprite sheet. The default is 0,
@@ -364,6 +380,12 @@ message SpriteSheet {
// interval value in seconds.
google.protobuf.Duration interval = 10;
}
+
+ // 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 = 11;
}
// Overlay configuration.
@@ -379,8 +401,8 @@ message Overlay {
// Overlaid jpeg image.
message Image {
- // Required. URI of the image in Cloud Storage. For example,
- // `gs://bucket/inputs/image.jpeg`.
+ // Required. URI of the JPEG image in Cloud Storage. For example,
+ // `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
string uri = 1 [(google.api.field_behavior) = REQUIRED];
// Normalized image resolution, based on output video resolution. Valid
@@ -389,8 +411,8 @@ message Overlay {
// both `x` and `y` to `0.0`.
NormalizedCoordinate resolution = 2;
- // Target image opacity. Valid values: `1` (solid, default),
- // `0` (transparent).
+ // Target image opacity. Valid values are from `1.0` (solid, default) to
+ // `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
double alpha = 3;
}
@@ -398,7 +420,9 @@ message Overlay {
message AnimationStatic {
// Normalized coordinates based on output video resolution. Valid
// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- // object.
+ // object. For example, use the x and y coordinates {0,0} to position the
+ // top-left corner of the overlay animation in the top-left corner of the
+ // output video.
NormalizedCoordinate xy = 1;
// The time to start displaying the overlay object, in seconds. Default: 0
@@ -412,7 +436,9 @@ message Overlay {
// Normalized coordinates based on output video resolution. Valid
// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
- // object.
+ // object. For example, use the x and y coordinates {0,0} to position the
+ // top-left corner of the overlay animation in the top-left corner of the
+ // output video.
NormalizedCoordinate xy = 2;
// The time to start the fade animation, in seconds. Default: 0
@@ -514,12 +540,16 @@ message PreprocessingConfig {
// Audio preprocessing configuration.
message Audio {
// Specify audio loudness normalization in loudness units relative to full
- // scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
- // Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
- // standard, -19 is the prior standard for online mono audio, -18 is the
- // ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
- // the new online audio standard recommended by Spotify, as well as Amazon
- // Echo, and 0 disables normalization. The default is 0.
+ // scale (LUFS). Enter a value between -24 and 0 (the default), where:
+ //
+ // * -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+ // * -23 is the EU R128 broadcast standard
+ // * -19 is the prior standard for online mono audio
+ // * -18 is the ReplayGain standard
+ // * -16 is the prior standard for stereo audio
+ // * -14 is the new online audio standard recommended by Spotify, as well
+ // as Amazon Echo
+ // * 0 disables normalization
double lufs = 1;
// Enable boosting high frequency components. The default is `false`.
@@ -529,6 +559,38 @@ message PreprocessingConfig {
bool low_boost = 3;
}
+ // Video cropping configuration for the input video. The cropped input video
+ // is scaled to match the output resolution.
+ message Crop {
+ // The number of pixels to crop from the top. The default is 0.
+ int32 top_pixels = 1;
+
+ // The number of pixels to crop from the bottom. The default is 0.
+ int32 bottom_pixels = 2;
+
+ // The number of pixels to crop from the left. The default is 0.
+ int32 left_pixels = 3;
+
+ // The number of pixels to crop from the right. The default is 0.
+ int32 right_pixels = 4;
+ }
+
+ // Pad filter configuration for the input video. The padded input video
+ // is scaled after padding with black to match the output resolution.
+ message Pad {
+ // The number of pixels to add to the top. The default is 0.
+ int32 top_pixels = 1;
+
+ // The number of pixels to add to the bottom. The default is 0.
+ int32 bottom_pixels = 2;
+
+ // The number of pixels to add to the left. The default is 0.
+ int32 left_pixels = 3;
+
+ // The number of pixels to add to the right. The default is 0.
+ int32 right_pixels = 4;
+ }
+
// Color preprocessing configuration.
Color color = 1;
@@ -540,30 +602,49 @@ message PreprocessingConfig {
// Audio preprocessing configuration.
Audio audio = 4;
+
+ // Specify the video cropping configuration.
+ Crop crop = 5;
+
+ // Specify the video pad filter configuration.
+ Pad pad = 6;
}
// Video stream resource.
message VideoStream {
- // Codec type. The default is `"h264"`.
+ // Codec type. The following codecs are supported:
//
- // Supported codecs:
- // - 'h264'
- // - 'h265'
- // - 'vp9'
+ // * `h264` (default)
+ // * `h265`
+ // * `vp9`
string codec = 1;
- // Enforce specified codec profile. The default is `"high"`.
+ // Enforces the specified codec profile. The following profiles are supported:
//
- // Supported codec profiles:
- // - 'baseline'
- // - 'main'
- // - 'high'
+ // * `baseline`
+ // * `main`
+ // * `high` (default)
+ //
+ // The available options are
+ // FFmpeg-compatible . Note that certain values for this
+ // field may cause the transcoder to override other fields you set in the
+ // `VideoStream` message.
string profile = 2;
- // Enforce specified codec tune.
+ // Enforces the specified codec tune. The available options are
+ // FFmpeg-compatible . Note that certain values for this
+ // field may cause the transcoder to override other fields you set in the
+ // `VideoStream` message.
string tune = 3;
- // Enforce specified codec preset. The default is `"veryfast"`.
+ // Enforces the specified codec preset. The default is `veryfast`. The
+ // available options are
+ // FFmpeg-compatible . Note that certain values for this
+ // field may cause the transcoder to override other fields you set in the
+ // `VideoStream` message.
string preset = 4;
// The height of the video in pixels. Must be an even integer.
@@ -590,7 +671,9 @@ message VideoStream {
// - 'yuv444p12' 12-bit HDR pixel format.
string pixel_format = 7;
- // Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
+ // Required. The video bitrate in bits per second. The minimum value is 1,000.
+ // The maximum value for H264/H265 is 800,000,000. The maximum value for VP9
+ // is 480,000,000.
int32 bitrate_bps = 8 [(google.api.field_behavior) = REQUIRED];
// Specify the `rate_control_mode`. The default is `"vbr"`.
@@ -628,7 +711,9 @@ message VideoStream {
int32 gop_frame_count = 15;
// Select the GOP size based on the specified duration. The default is
- // `"3s"`.
+ // `"3s"`. Note that `gopDuration` must be less than or equal to
+ // [`segmentDuration`](#SegmentSettings), and
+ // [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
google.protobuf.Duration gop_duration = 16;
}
@@ -650,28 +735,10 @@ message VideoStream {
// Required. The target video frame rate in frames per second (FPS). Must be less than
// or equal to 120. Will default to the input frame rate if larger than the
// input frame rate. The API will generate an output FPS that is divisible by
- // the input FPS, and smaller or equal to the target FPS.
- //
- // The following table shows the computed video FPS given the target FPS (in
- // parenthesis) and input FPS (in the first column):
- // ```
- // | | (30) | (60) | (25) | (50) |
- // |--------|--------|--------|------|------|
- // | 240 | Fail | Fail | Fail | Fail |
- // | 120 | 30 | 60 | 20 | 30 |
- // | 100 | 25 | 50 | 20 | 30 |
- // | 50 | 25 | 50 | 20 | 30 |
- // | 60 | 30 | 60 | 20 | 30 |
- // | 59.94 | 29.97 | 59.94 | 20 | 30 |
- // | 48 | 24 | 48 | 20 | 30 |
- // | 30 | 30 | 30 | 20 | 30 |
- // | 25 | 25 | 25 | 20 | 30 |
- // | 24 | 24 | 24 | 20 | 30 |
- // | 23.976 | 23.976 | 23.976 | 20 | 30 |
- // | 15 | 15 | 15 | 20 | 30 |
- // | 12 | 12 | 12 | 20 | 30 |
- // | 10 | 10 | 10 | 20 | 30 |
- // ```
+ // the input FPS, and smaller or equal to the target FPS. See
+ // [Calculate frame
+ // rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
+ // more information.
double frame_rate = 20 [(google.api.field_behavior) = REQUIRED];
// Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and
@@ -795,7 +862,10 @@ message TextStream {
// Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
message SegmentSettings {
- // Duration of the segments in seconds. The default is `"6.0s"`.
+ // Duration of the segments in seconds. The default is `"6.0s"`. Note that
+ // `segmentDuration` must be greater than or equal to
+ // [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
+ // [`gopDuration`](#videostream).
google.protobuf.Duration segment_duration = 1;
// Required. Create an individual segment file. The default is `false`.
diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/services.proto b/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/services.proto
index 0ec2e05c..1cfa185e 100644
--- a/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/services.proto
+++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/services.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@ option java_package = "com.google.cloud.video.transcoder.v1beta1";
// features such as Digital Rights Management (DRM), audio equalization, content
// concatenation, and digital ad-stitch ready content generation.
service TranscoderService {
+ option deprecated = true;
option (google.api.default_host) = "transcoder.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";