From 37fb32d23a513bc4c5a705deda434d2337c7d9a1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 1 Oct 2020 13:35:43 -0700 Subject: [PATCH] feat!: update proto files, add create_time, start_time and end_time, height_pixels and width_pixels become optional (#20) PiperOrigin-RevId: 334639492 Source-Author: Google APIs Source-Date: Wed Sep 30 11:15:35 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 054339f961e16b2a359b0efc35a927b5f899c90f Source-Link: https://github.com/googleapis/googleapis/commit/054339f961e16b2a359b0efc35a927b5f899c90f --- .../v1beta1/TranscoderServiceClient.java | 6 +- .../v1beta1/CreateJobTemplateRequest.java | 28 +- .../CreateJobTemplateRequestOrBuilder.java | 8 +- .../cloud/video/transcoder/v1beta1/Job.java | 862 ++++++++++++++++++ .../transcoder/v1beta1/JobOrBuilder.java | 114 +++ .../video/transcoder/v1beta1/Manifest.java | 14 +- .../transcoder/v1beta1/ManifestOrBuilder.java | 4 +- .../transcoder/v1beta1/ResourcesProto.java | 373 ++++---- .../video/transcoder/v1beta1/VideoStream.java | 148 ++- .../v1beta1/VideoStreamOrBuilder.java | 37 +- .../video/transcoder/v1beta1/resources.proto | 51 +- .../video/transcoder/v1beta1/services.proto | 4 +- synth.metadata | 4 +- 13 files changed, 1395 insertions(+), 258 deletions(-) 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 d53767ee..a35c4064 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 @@ -588,7 +588,8 @@ public final UnaryCallable deleteJobCallable() { * @param jobTemplate Required. Parameters for creating job template. * @param jobTemplateId Required. The ID to use for the job template, which will become the final * component of the job template's resource name. - *

This value should be 4-63 characters, and valid characters are `/[a-zA-Z0-9_-_]/`. + *

This value should be 4-63 characters, and valid characters must match the regular + * expression `[a-zA-Z][a-zA-Z0-9_-]*`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final JobTemplate createJobTemplate( @@ -622,7 +623,8 @@ public final JobTemplate createJobTemplate( * @param jobTemplate Required. Parameters for creating job template. * @param jobTemplateId Required. The ID to use for the job template, which will become the final * component of the job template's resource name. - *

This value should be 4-63 characters, and valid characters are `/[a-zA-Z0-9_-_]/`. + *

This value should be 4-63 characters, and valid characters must match the regular + * expression `[a-zA-Z][a-zA-Z0-9_-]*`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final JobTemplate createJobTemplate( diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java index 89550827..01adb3d7 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java @@ -253,8 +253,8 @@ public com.google.cloud.video.transcoder.v1beta1.JobTemplateOrBuilder getJobTemp *

    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
-   * This value should be 4-63 characters, and valid characters
-   * are `/[a-zA-Z0-9_-_]/`.
+   * This value should be 4-63 characters, and valid characters must match the
+   * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -279,8 +279,8 @@ public java.lang.String getJobTemplateId() { *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
-   * This value should be 4-63 characters, and valid characters
-   * are `/[a-zA-Z0-9_-_]/`.
+   * This value should be 4-63 characters, and valid characters must match the
+   * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1004,8 +1004,8 @@ public com.google.cloud.video.transcoder.v1beta1.JobTemplate.Builder getJobTempl *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
-     * This value should be 4-63 characters, and valid characters
-     * are `/[a-zA-Z0-9_-_]/`.
+     * This value should be 4-63 characters, and valid characters must match the
+     * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1029,8 +1029,8 @@ public java.lang.String getJobTemplateId() { *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
-     * This value should be 4-63 characters, and valid characters
-     * are `/[a-zA-Z0-9_-_]/`.
+     * This value should be 4-63 characters, and valid characters must match the
+     * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1054,8 +1054,8 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() { *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
-     * This value should be 4-63 characters, and valid characters
-     * are `/[a-zA-Z0-9_-_]/`.
+     * This value should be 4-63 characters, and valid characters must match the
+     * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1078,8 +1078,8 @@ public Builder setJobTemplateId(java.lang.String value) { *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
-     * This value should be 4-63 characters, and valid characters
-     * are `/[a-zA-Z0-9_-_]/`.
+     * This value should be 4-63 characters, and valid characters must match the
+     * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1098,8 +1098,8 @@ public Builder clearJobTemplateId() { *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
-     * This value should be 4-63 characters, and valid characters
-     * are `/[a-zA-Z0-9_-_]/`.
+     * This value should be 4-63 characters, and valid characters must match the
+     * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequestOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequestOrBuilder.java index dd978f14..fefd11da 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequestOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequestOrBuilder.java @@ -101,8 +101,8 @@ public interface CreateJobTemplateRequestOrBuilder *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
-   * This value should be 4-63 characters, and valid characters
-   * are `/[a-zA-Z0-9_-_]/`.
+   * This value should be 4-63 characters, and valid characters must match the
+   * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -116,8 +116,8 @@ public interface CreateJobTemplateRequestOrBuilder *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
-   * This value should be 4-63 characters, and valid characters
-   * are `/[a-zA-Z0-9_-_]/`.
+   * This value should be 4-63 characters, and valid characters must match the
+   * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; 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 1c1cc6a6..ee60bed2 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 @@ -190,6 +190,51 @@ private Job( extensionRegistry)); break; } + case 98: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 106: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 114: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -1939,6 +1984,153 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail getFailureDetails return failureDetails_.get(index); } + public static final int CREATE_TIME_FIELD_NUMBER = 12; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. The time the job was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. The time the job was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. The time the job was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int START_TIME_FIELD_NUMBER = 13; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Output only. The time the transcoding started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + * + * + *
+   * Output only. The time the transcoding started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Output only. The time the transcoding started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return getStartTime(); + } + + public static final int END_TIME_FIELD_NUMBER = 14; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+   * Output only. The time the transcoding finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * + * + *
+   * Output only. The time the transcoding finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+   * Output only. The time the transcoding finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return getEndTime(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1989,6 +2181,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < failureDetails_.size(); i++) { output.writeMessage(11, failureDetails_.get(i)); } + if (createTime_ != null) { + output.writeMessage(12, getCreateTime()); + } + if (startTime_ != null) { + output.writeMessage(13, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(14, getEndTime()); + } unknownFields.writeTo(output); } @@ -2036,6 +2237,15 @@ public int getSerializedSize() { for (int i = 0; i < failureDetails_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, failureDetails_.get(i)); } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime()); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getEndTime()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2067,6 +2277,18 @@ public boolean equals(final java.lang.Object obj) { } if (!getFailureReason().equals(other.getFailureReason())) return false; if (!getFailureDetailsList().equals(other.getFailureDetailsList())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) return false; + } if (!getJobConfigCase().equals(other.getJobConfigCase())) return false; switch (jobConfigCase_) { case 4: @@ -2113,6 +2335,18 @@ public int hashCode() { hash = (37 * hash) + FAILURE_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getFailureDetailsList().hashCode(); } + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } switch (jobConfigCase_) { case 4: hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER; @@ -2302,6 +2536,24 @@ public Builder clear() { } else { failureDetailsBuilder_.clear(); } + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (startTimeBuilder_ == null) { + startTime_ = null; + } else { + startTime_ = null; + startTimeBuilder_ = null; + } + if (endTimeBuilder_ == null) { + endTime_ = null; + } else { + endTime_ = null; + endTimeBuilder_ = null; + } jobConfigCase_ = 0; jobConfig_ = null; return this; @@ -2367,6 +2619,21 @@ public com.google.cloud.video.transcoder.v1beta1.Job buildPartial() { } else { result.failureDetails_ = failureDetailsBuilder_.build(); } + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (startTimeBuilder_ == null) { + result.startTime_ = startTime_; + } else { + result.startTime_ = startTimeBuilder_.build(); + } + if (endTimeBuilder_ == null) { + result.endTime_ = endTime_; + } else { + result.endTime_ = endTimeBuilder_.build(); + } result.jobConfigCase_ = jobConfigCase_; onBuilt(); return result; @@ -2472,6 +2739,15 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1beta1.Job other) { } } } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } switch (other.getJobConfigCase()) { case TEMPLATE_ID: { @@ -4346,6 +4622,592 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder addFailur return failureDetailsBuilder_; } + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. The time the job was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return startTimeBuilder_ != null || startTime_ != null; + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + onChanged(); + } else { + startTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + onChanged(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (startTime_ != null) { + startTime_ = + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + } else { + startTime_ = value; + } + onChanged(); + } else { + startTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + if (startTimeBuilder_ == null) { + startTime_ = null; + onChanged(); + } else { + startTime_ = null; + startTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Output only. The time the transcoding started.
+     * 
+ * + * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return endTimeBuilder_ != null || endTime_ != null; + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + onChanged(); + } else { + endTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + onChanged(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (endTime_ != null) { + endTime_ = + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + } else { + endTime_ = value; + } + onChanged(); + } else { + endTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + if (endTimeBuilder_ == null) { + endTime_ = null; + onChanged(); + } else { + endTime_ = null; + endTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * + * + *
+     * Output only. The time the transcoding finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + @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 d3bb2013..4cfded5d 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 @@ -403,5 +403,119 @@ public interface JobOrBuilder com.google.cloud.video.transcoder.v1beta1.FailureDetailOrBuilder getFailureDetailsOrBuilder( int index); + /** + * + * + *
+   * Output only. The time the job was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. The time the job was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. The time the job was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. The time the transcoding started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Output only. The time the transcoding started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Output only. The time the transcoding started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+   * Output only. The time the transcoding finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+   * Output only. The time the transcoding finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+   * Output only. The time the transcoding finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + 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/Manifest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java index 39949b5e..ef9330c2 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java @@ -299,7 +299,7 @@ private ManifestType(int value) { * * *
-   * The name of the generated file. The default is `"master"` with the
+   * The name of the generated file. The default is `"manifest"` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -323,7 +323,7 @@ public java.lang.String getFileName() { * * *
-   * The name of the generated file. The default is `"master"` with the
+   * The name of the generated file. The default is `"manifest"` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -837,7 +837,7 @@ public Builder mergeFrom( * * *
-     * The name of the generated file. The default is `"master"` with the
+     * The name of the generated file. The default is `"manifest"` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -860,7 +860,7 @@ public java.lang.String getFileName() { * * *
-     * The name of the generated file. The default is `"master"` with the
+     * The name of the generated file. The default is `"manifest"` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getFileNameBytes() { * * *
-     * The name of the generated file. The default is `"master"` with the
+     * The name of the generated file. The default is `"manifest"` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -905,7 +905,7 @@ public Builder setFileName(java.lang.String value) { * * *
-     * The name of the generated file. The default is `"master"` with the
+     * The name of the generated file. The default is `"manifest"` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -923,7 +923,7 @@ public Builder clearFileName() { * * *
-     * The name of the generated file. The default is `"master"` with the
+     * The name of the generated file. The default is `"manifest"` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ManifestOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ManifestOrBuilder.java index 49518185..b3e3290a 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ManifestOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ManifestOrBuilder.java @@ -27,7 +27,7 @@ public interface ManifestOrBuilder * * *
-   * The name of the generated file. The default is `"master"` with the
+   * The name of the generated file. The default is `"manifest"` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -40,7 +40,7 @@ public interface ManifestOrBuilder * * *
-   * The name of the generated file. The default is `"master"` with the
+   * The name of the generated file. The default is `"manifest"` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* 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 0bb74f12..1d39f844 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 @@ -200,189 +200,193 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "resources.proto\022%google.cloud.video.tran" + "scoder.v1beta1\032\037google/api/field_behavio" + "r.proto\032\031google/api/resource.proto\032\036goog" - + "le/protobuf/duration.proto\"\206\006\n\003Job\022\014\n\004na" - + "me\030\001 \001(\t\022\026\n\tinput_uri\030\002 \001(\tB\003\340A\004\022\027\n\noutp" - + "ut_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.vid" - + "eo.transcoder.v1beta1.JobConfigH\000\022\020\n\010pri" - + "ority\030\006 \001(\005\022M\n\norigin_uri\030\007 \001(\01324.google" - + ".cloud.video.transcoder.v1beta1.Job.Orig" - + "inUriB\003\340A\003\022N\n\005state\030\010 \001(\0162:.google.cloud" - + ".video.transcoder.v1beta1.Job.Processing" - + "StateB\003\340A\003\022F\n\010progress\030\t \001(\0132/.google.cl" - + "oud.video.transcoder.v1beta1.ProgressB\003\340" - + "A\003\022\033\n\016failure_reason\030\n \001(\tB\003\340A\003\022R\n\017failu" - + "re_details\030\013 \003(\01324.google.cloud.video.tr" - + "anscoder.v1beta1.FailureDetailB\003\340A\003\032&\n\tO" - + "riginUri\022\013\n\003hls\030\001 \001(\t\022\014\n\004dash\030\002 \001(\t\"h\n\017P" - + "rocessingState\022 \n\034PROCESSING_STATE_UNSPE" - + "CIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSU" - + "CCEEDED\020\003\022\n\n\006FAILED\020\004:V\352AS\n\035transcoder.g" - + "oogleapis.com/Job\0222projects/{project}/lo" - + "cations/{location}/jobs/{job}B\014\n\njob_con" - + "fig\"\316\001\n\013JobTemplate\022\014\n\004name\030\001 \001(\t\022@\n\006con" - + "fig\030\002 \001(\01320.google.cloud.video.transcode" - + "r.v1beta1.JobConfig:o\352Al\n%transcoder.goo" - + "gleapis.com/JobTemplate\022Cprojects/{proje" - + "ct}/locations/{location}/jobTemplates/{j" - + "ob_template}\"\322\005\n\tJobConfig\022<\n\006inputs\030\001 \003" - + "(\0132,.google.cloud.video.transcoder.v1bet" - + "a1.Input\022B\n\tedit_list\030\002 \003(\0132/.google.clo" - + "ud.video.transcoder.v1beta1.EditAtom\022S\n\022" - + "elementary_streams\030\003 \003(\01327.google.cloud." - + "video.transcoder.v1beta1.ElementaryStrea" - + "m\022E\n\013mux_streams\030\004 \003(\01320.google.cloud.vi" - + "deo.transcoder.v1beta1.MuxStream\022B\n\tmani" - + "fests\030\005 \003(\0132/.google.cloud.video.transco" - + "der.v1beta1.Manifest\022=\n\006output\030\006 \001(\0132-.g" - + "oogle.cloud.video.transcoder.v1beta1.Out" - + "put\022A\n\tad_breaks\030\007 \003(\0132..google.cloud.vi" - + "deo.transcoder.v1beta1.AdBreak\022T\n\022pubsub" - + "_destination\030\010 \001(\01328.google.cloud.video." - + "transcoder.v1beta1.PubsubDestination\022I\n\r" - + "sprite_sheets\030\t \003(\01322.google.cloud.video" - + ".transcoder.v1beta1.SpriteSheet\022@\n\010overl" - + "ays\030\n \003(\0132..google.cloud.video.transcode" - + "r.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:.google.cloud.video.transcoder.v1bet" - + "a1.PreprocessingConfig\"\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\006input" - + "s\030\002 \003(\t\0222\n\017end_time_offset\030\003 \001(\0132\031.googl" - + "e.protobuf.Duration\0224\n\021start_time_offset" - + "\030\004 \001(\0132\031.google.protobuf.Duration\"?\n\007AdB" - + "reak\0224\n\021start_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.goo" - + "gle.cloud.video.transcoder.v1beta1.Video" - + "StreamH\000\022J\n\014audio_stream\030\002 \001(\01322.google." - + "cloud.video.transcoder.v1beta1.AudioStre" - + "amH\000\022H\n\013text_stream\030\003 \001(\01321.google.cloud" - + ".video.transcoder.v1beta1.TextStreamH\000B\023" - + "\n\021elementary_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\022elementary_streams\030\004 \003(\t\022P\n\020segm" - + "ent_settings\030\005 \001(\01326.google.cloud.video." - + "transcoder.v1beta1.SegmentSettings\022E\n\nen" - + "cryption\030\006 \001(\01321.google.cloud.video.tran" - + "scoder.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.transcoder.v1beta1.Manifest" - + ".ManifestTypeB\003\340A\002\022\030\n\013mux_streams\030\003 \003(\tB" - + "\003\340A\002\"@\n\014ManifestType\022\035\n\031MANIFEST_TYPE_UN" - + "SPECIFIED\020\000\022\007\n\003HLS\020\001\022\010\n\004DASH\020\002\"\"\n\021Pubsub" - + "Destination\022\r\n\005topic\030\001 \001(\t\"\354\002\n\013SpriteShe" - + "et\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_height_pixels\030\004 \001(\005B\003\340A\002\022\024\n\014col" - + "umn_count\030\005 \001(\005\022\021\n\trow_count\030\006 \001(\005\0224\n\021st" - + "art_time_offset\030\007 \001(\0132\031.google.protobuf." - + "Duration\0222\n\017end_time_offset\030\010 \001(\0132\031.goog" - + "le.protobuf.Duration\022\025\n\013total_count\030\t \001(" - + "\005H\000\022-\n\010interval\030\n \001(\0132\031.google.protobuf." - + "DurationH\000B\025\n\023extraction_strategy\"\271\t\n\007Ov" - + "erlay\022C\n\005image\030\001 \001(\01324.google.cloud.vide" - + "o.transcoder.v1beta1.Overlay.Image\022L\n\nan" - + "imations\030\002 \003(\01328.google.cloud.video.tran" - + "scoder.v1beta1.Overlay.Animation\032,\n\024Norm" - + "alizedCoordinate\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.v" - + "1beta1.Overlay.NormalizedCoordinate\022\r\n\005a" - + "lpha\030\003 \001(\001\032\230\001\n\017AnimationStatic\022O\n\002xy\030\001 \001" - + "(\0132C.google.cloud.video.transcoder.v1bet" - + "a1.Overlay.NormalizedCoordinate\0224\n\021start" - + "_time_offset\030\002 \001(\0132\031.google.protobuf.Dur" - + "ation\032\233\002\n\rAnimationFade\022O\n\tfade_type\030\001 \001" - + "(\01627.google.cloud.video.transcoder.v1bet" - + "a1.Overlay.FadeTypeB\003\340A\002\022O\n\002xy\030\002 \001(\0132C.g" - + "oogle.cloud.video.transcoder.v1beta1.Ove" - + "rlay.NormalizedCoordinate\0224\n\021start_time_" - + "offset\030\003 \001(\0132\031.google.protobuf.Duration\022" - + "2\n\017end_time_offset\030\004 \001(\0132\031.google.protob" - + "uf.Duration\032D\n\014AnimationEnd\0224\n\021start_tim" - + "e_offset\030\001 \001(\0132\031.google.protobuf.Duratio" - + "n\032\247\002\n\tAnimation\022Z\n\020animation_static\030\001 \001(" - + "\0132>.google.cloud.video.transcoder.v1beta" - + "1.Overlay.AnimationStaticH\000\022V\n\016animation" - + "_fade\030\002 \001(\0132<.google.cloud.video.transco" - + "der.v1beta1.Overlay.AnimationFadeH\000\022T\n\ra" - + "nimation_end\030\003 \001(\0132;.google.cloud.video." - + "transcoder.v1beta1.Overlay.AnimationEndH" - + "\000B\020\n\016animation_type\"@\n\010FadeType\022\031\n\025FADE_" - + "TYPE_UNSPECIFIED\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@.google.cloud.video.transcoder.v1b" - + "eta1.PreprocessingConfig.Color\022S\n\007denois" - + "e\030\002 \001(\0132B.google.cloud.video.transcoder." - + "v1beta1.PreprocessingConfig.Denoise\022S\n\007d" - + "eblock\030\003 \001(\0132B.google.cloud.video.transc" - + "oder.v1beta1.PreprocessingConfig.Deblock" - + "\022O\n\005audio\030\004 \001(\0132@.google.cloud.video.tra" - + "nscoder.v1beta1.PreprocessingConfig.Audi" - + "o\032A\n\005Color\022\022\n\nsaturation\030\001 \001(\001\022\020\n\010contra" - + "st\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\007Deblo" - + "ck\022\020\n\010strength\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_boost\030\003 \001(\010\"\214\004\n\013VideoStream\022\r\n\005c" - + "odec\030\001 \001(\t\022\017\n\007profile\030\002 \001(\t\022\014\n\004tune\030\003 \001(" - + "\t\022\016\n\006preset\030\004 \001(\t\022\032\n\rheight_pixels\030\005 \001(\005" - + "B\003\340A\002\022\031\n\014width_pixels\030\006 \001(\005B\003\340A\002\022\024\n\014pixe" - + "l_format\030\007 \001(\t\022\030\n\013bitrate_bps\030\010 \001(\005B\003\340A\002" - + "\022\031\n\021rate_control_mode\030\t \001(\t\022\027\n\017enable_tw" - + "o_pass\030\n \001(\010\022\021\n\tcrf_level\030\013 \001(\005\022\025\n\rvbv_s" - + "ize_bits\030\014 \001(\005\022\031\n\021vbv_fullness_bits\030\r \001(" - + "\005\022\026\n\016allow_open_gop\030\016 \001(\010\022\031\n\017gop_frame_c" - + "ount\030\017 \001(\005H\000\0221\n\014gop_duration\030\020 \001(\0132\031.goo" - + "gle.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_cou" - + "nt\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_mode\"\254\004\n\013AudioStre" - + "am\022\r\n\005codec\030\001 \001(\t\022\030\n\013bitrate_bps\030\002 \001(\005B\003" - + "\340A\002\022\025\n\rchannel_count\030\003 \001(\005\022\026\n\016channel_la" - + "yout\030\004 \003(\t\022M\n\007mapping\030\005 \003(\0132<.google.clo" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\"\244\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" + + "scoder.v1beta1.JobConfigH\000\022\020\n\010priority\030\006" + + " \001(\005\022M\n\norigin_uri\030\007 \001(\01324.google.cloud." + + "video.transcoder.v1beta1.Job.OriginUriB\003" + + "\340A\003\022N\n\005state\030\010 \001(\0162:.google.cloud.video." + + "transcoder.v1beta1.Job.ProcessingStateB\003" + + "\340A\003\022F\n\010progress\030\t \001(\0132/.google.cloud.vid" + + "eo.transcoder.v1beta1.ProgressB\003\340A\003\022\033\n\016f" + + "ailure_reason\030\n \001(\tB\003\340A\003\022R\n\017failure_deta" + + "ils\030\013 \003(\01324.google.cloud.video.transcode" + + "r.v1beta1.FailureDetailB\003\340A\003\0224\n\013create_t" + + "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\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.video.transcoder.v" - + "1beta1.AudioStream.AudioAtom.AudioChanne" - + "l\032\335\001\n\014AudioChannel\022k\n\006inputs\030\002 \003(\0132[.goo" - + "gle.cloud.video.transcoder.v1beta1.Audio" - + "Stream.AudioAtom.AudioChannel.AudioChann" - + "elInput\032`\n\021AudioChannelInput\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\rlanguage_code\030\002 \001(\tB\003" - + "\340A\002\022K\n\007mapping\030\003 \003(\0132:.google.cloud.vide" - + "o.transcoder.v1beta1.TextStream.TextAtom" - + "\032\245\001\n\010TextAtom\022\020\n\003key\030\001 \001(\tB\003\340A\002\022T\n\006input" - + "s\030\002 \003(\0132D.google.cloud.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\017SegmentSettings\0223\n\020segment_d" - + "uration\030\001 \001(\0132\031.google.protobuf.Duration" - + "\022 \n\023individual_segments\030\003 \001(\010B\003\340A\002\"\354\003\n\nE" - + "ncryption\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.vid" - + "eo.transcoder.v1beta1.Encryption.Aes128E" - + "ncryptionH\000\022[\n\nsample_aes\030\004 \001(\0132E.google" - + ".cloud.video.transcoder.v1beta1.Encrypti" - + "on.SampleAesEncryptionH\000\022[\n\tmpeg_cenc\030\005 " - + "\001(\0132F.google.cloud.video.transcoder.v1be" - + "ta1.Encryption.MpegCommonEncryptionH\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\024MpegCommonEncryption\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\017encryp" - + "tion_mode\"Q\n\010Progress\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\010no" - + "tified\030\004 \001(\001\"$\n\rFailureDetail\022\023\n\013descrip" - + "tion\030\001 \001(\tB\216\001\n)com.google.cloud.video.tr" - + "anscoder.v1beta1B\016ResourcesProtoP\001ZOgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "video/transcoder/v1beta1;transcoderb\006pro" - + "to3" + + "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" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -391,6 +395,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_video_transcoder_v1beta1_Job_descriptor = getDescriptor().getMessageTypes().get(0); @@ -409,6 +414,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Progress", "FailureReason", "FailureDetails", + "CreateTime", + "StartTime", + "EndTime", "JobConfig", }); internal_static_google_cloud_video_transcoder_v1beta1_Job_OriginUri_descriptor = @@ -810,6 +818,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 62d8a6df..31136c60 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 @@ -505,10 +505,12 @@ public com.google.protobuf.ByteString getPresetBytes() { * * *
-   * Required. The height of video in pixels. Must be an even integer.
+   * The height of the video in pixels. Must be an even integer.
+   * When not specified, the height is adjusted to match the specified width and
+   * input aspect ratio. If both are omitted, the input height is used.
    * 
* - * int32 height_pixels = 5 [(.google.api.field_behavior) = REQUIRED]; + * int32 height_pixels = 5; * * @return The heightPixels. */ @@ -523,10 +525,12 @@ public int getHeightPixels() { * * *
-   * Required. The width of video in pixels. Must be an even integer.
+   * The width of the video in pixels. Must be an even integer.
+   * When not specified, the width is adjusted to match the specified height and
+   * input aspect ratio. If both are omitted, the input width is used.
    * 
* - * int32 width_pixels = 6 [(.google.api.field_behavior) = REQUIRED]; + * int32 width_pixels = 6; * * @return The widthPixels. */ @@ -947,9 +951,28 @@ public int getBFrameCount() { * * *
-   * Required. The video frame rate in frames per second. Must be less than or equal to
-   * 120. Will default to the input frame rate if larger than the input frame
-   * rate.
+   * 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   |
    * 
* * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; @@ -2135,10 +2158,12 @@ public Builder setPresetBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The height of video in pixels. Must be an even integer.
+     * The height of the video in pixels. Must be an even integer.
+     * When not specified, the height is adjusted to match the specified width and
+     * input aspect ratio. If both are omitted, the input height is used.
      * 
* - * int32 height_pixels = 5 [(.google.api.field_behavior) = REQUIRED]; + * int32 height_pixels = 5; * * @return The heightPixels. */ @@ -2150,10 +2175,12 @@ public int getHeightPixels() { * * *
-     * Required. The height of video in pixels. Must be an even integer.
+     * The height of the video in pixels. Must be an even integer.
+     * When not specified, the height is adjusted to match the specified width and
+     * input aspect ratio. If both are omitted, the input height is used.
      * 
* - * int32 height_pixels = 5 [(.google.api.field_behavior) = REQUIRED]; + * int32 height_pixels = 5; * * @param value The heightPixels to set. * @return This builder for chaining. @@ -2168,10 +2195,12 @@ public Builder setHeightPixels(int value) { * * *
-     * Required. The height of video in pixels. Must be an even integer.
+     * The height of the video in pixels. Must be an even integer.
+     * When not specified, the height is adjusted to match the specified width and
+     * input aspect ratio. If both are omitted, the input height is used.
      * 
* - * int32 height_pixels = 5 [(.google.api.field_behavior) = REQUIRED]; + * int32 height_pixels = 5; * * @return This builder for chaining. */ @@ -2187,10 +2216,12 @@ public Builder clearHeightPixels() { * * *
-     * Required. The width of video in pixels. Must be an even integer.
+     * The width of the video in pixels. Must be an even integer.
+     * When not specified, the width is adjusted to match the specified height and
+     * input aspect ratio. If both are omitted, the input width is used.
      * 
* - * int32 width_pixels = 6 [(.google.api.field_behavior) = REQUIRED]; + * int32 width_pixels = 6; * * @return The widthPixels. */ @@ -2202,10 +2233,12 @@ public int getWidthPixels() { * * *
-     * Required. The width of video in pixels. Must be an even integer.
+     * The width of the video in pixels. Must be an even integer.
+     * When not specified, the width is adjusted to match the specified height and
+     * input aspect ratio. If both are omitted, the input width is used.
      * 
* - * int32 width_pixels = 6 [(.google.api.field_behavior) = REQUIRED]; + * int32 width_pixels = 6; * * @param value The widthPixels to set. * @return This builder for chaining. @@ -2220,10 +2253,12 @@ public Builder setWidthPixels(int value) { * * *
-     * Required. The width of video in pixels. Must be an even integer.
+     * The width of the video in pixels. Must be an even integer.
+     * When not specified, the width is adjusted to match the specified height and
+     * input aspect ratio. If both are omitted, the input width is used.
      * 
* - * int32 width_pixels = 6 [(.google.api.field_behavior) = REQUIRED]; + * int32 width_pixels = 6; * * @return This builder for chaining. */ @@ -3348,9 +3383,28 @@ public Builder clearBFrameCount() { * * *
-     * Required. The video frame rate in frames per second. Must be less than or equal to
-     * 120. Will default to the input frame rate if larger than the input frame
-     * rate.
+     * 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   |
      * 
* * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; @@ -3365,9 +3419,28 @@ public double getFrameRate() { * * *
-     * Required. The video frame rate in frames per second. Must be less than or equal to
-     * 120. Will default to the input frame rate if larger than the input frame
-     * rate.
+     * 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   |
      * 
* * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; @@ -3385,9 +3458,28 @@ public Builder setFrameRate(double value) { * * *
-     * Required. The video frame rate in frames per second. Must be less than or equal to
-     * 120. Will default to the input frame rate if larger than the input frame
-     * rate.
+     * 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   |
      * 
* * 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 360363f2..0ee6f072 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 @@ -143,10 +143,12 @@ public interface VideoStreamOrBuilder * * *
-   * Required. The height of video in pixels. Must be an even integer.
+   * The height of the video in pixels. Must be an even integer.
+   * When not specified, the height is adjusted to match the specified width and
+   * input aspect ratio. If both are omitted, the input height is used.
    * 
* - * int32 height_pixels = 5 [(.google.api.field_behavior) = REQUIRED]; + * int32 height_pixels = 5; * * @return The heightPixels. */ @@ -156,10 +158,12 @@ public interface VideoStreamOrBuilder * * *
-   * Required. The width of video in pixels. Must be an even integer.
+   * The width of the video in pixels. Must be an even integer.
+   * When not specified, the width is adjusted to match the specified height and
+   * input aspect ratio. If both are omitted, the input width is used.
    * 
* - * int32 width_pixels = 6 [(.google.api.field_behavior) = REQUIRED]; + * int32 width_pixels = 6; * * @return The widthPixels. */ @@ -440,9 +444,28 @@ public interface VideoStreamOrBuilder * * *
-   * Required. The video frame rate in frames per second. Must be less than or equal to
-   * 120. Will default to the input frame rate if larger than the input frame
-   * rate.
+   * 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   |
    * 
* * 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 f3f4b884..4e2163c9 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 @@ -19,6 +19,7 @@ package google.cloud.video.transcoder.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1beta1;transcoder"; option java_multiple_files = true; @@ -115,6 +116,15 @@ message Job { // Output only. List of failure details. This property may contain additional // information about the failure when `failure_reason` is present. repeated FailureDetail failure_details = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the job was created. + google.protobuf.Timestamp create_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the transcoding started. + google.protobuf.Timestamp start_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the transcoding finished. + google.protobuf.Timestamp end_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Transcoding job template resource. @@ -283,7 +293,7 @@ message Manifest { DASH = 2; } - // The name of the generated file. The default is `"master"` with the + // The name of the generated file. The default is `"manifest"` with the // extension suffix corresponding to the `Manifest.type`. string file_name = 1; @@ -556,11 +566,15 @@ message VideoStream { // Enforce specified codec preset. The default is `"veryfast"`. string preset = 4; - // Required. The height of video in pixels. Must be an even integer. - int32 height_pixels = 5 [(google.api.field_behavior) = REQUIRED]; + // The height of the video in pixels. Must be an even integer. + // When not specified, the height is adjusted to match the specified width and + // input aspect ratio. If both are omitted, the input height is used. + int32 height_pixels = 5; - // Required. The width of video in pixels. Must be an even integer. - int32 width_pixels = 6 [(google.api.field_behavior) = REQUIRED]; + // The width of the video in pixels. Must be an even integer. + // When not specified, the width is adjusted to match the specified height and + // input aspect ratio. If both are omitted, the input width is used. + int32 width_pixels = 6; // Pixel format to use. The default is `"yuv420p"`. // @@ -633,9 +647,30 @@ message VideoStream { // Must be less than `VideoStream.gop_frame_count` if set. The default is 0. int32 b_frame_count = 19; - // Required. The video frame rate in frames per second. Must be less than or equal to - // 120. Will default to the input frame rate if larger than the input frame - // rate. + // 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 | double frame_rate = 20 [(google.api.field_behavior) = REQUIRED]; // Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 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 07f5fab8..0ec2e05c 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 @@ -189,8 +189,8 @@ message CreateJobTemplateRequest { // Required. The ID to use for the job template, which will become the final component // of the job template's resource name. // - // This value should be 4-63 characters, and valid characters - // are `/[a-zA-Z0-9_-_]/`. + // This value should be 4-63 characters, and valid characters must match the + // regular expression `[a-zA-Z][a-zA-Z0-9_-]*`. string job_template_id = 3 [(google.api.field_behavior) = REQUIRED]; } diff --git a/synth.metadata b/synth.metadata index 1bc67fc2..71991380 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "ba5a928ab823d97dc6b7042ff32130d19b002f75", - "internalRef": "331550506" + "sha": "054339f961e16b2a359b0efc35a927b5f899c90f", + "internalRef": "334639492" } }, {