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

Commit 37fb32d

Browse files
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: googleapis/googleapis@054339f
1 parent 9f6ccb7 commit 37fb32d

File tree

13 files changed

+1395
-258
lines changed

13 files changed

+1395
-258
lines changed

google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,8 @@ public final UnaryCallable deleteJobCallable() {
588588
* @param jobTemplate Required. Parameters for creating job template.
589589
* @param jobTemplateId Required. The ID to use for the job template, which will become the final
590590
* component of the job template's resource name.
591-
*

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

591+
*

This value should be 4-63 characters, and valid characters must match the regular

592+
* expression `[a-zA-Z][a-zA-Z0-9_-]*`.
592593
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
593594
*/
594595
public final JobTemplate createJobTemplate(
@@ -622,7 +623,8 @@ public final JobTemplate createJobTemplate(
622623
* @param jobTemplate Required. Parameters for creating job template.
623624
* @param jobTemplateId Required. The ID to use for the job template, which will become the final
624625
* component of the job template's resource name.
625-
*

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

626+
*

This value should be 4-63 characters, and valid characters must match the regular

627+
* expression `[a-zA-Z][a-zA-Z0-9_-]*`.
626628
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
627629
*/
628630
public final JobTemplate createJobTemplate(

proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ public com.google.cloud.video.transcoder.v1beta1.JobTemplateOrBuilder getJobTemp
253253
*
254254
* Required. The ID to use for the job template, which will become the final component
255255
* of the job template's resource name.
256-
* This value should be 4-63 characters, and valid characters
257-
* are `/[a-zA-Z0-9_-_]/`.
256+
* This value should be 4-63 characters, and valid characters must match the
257+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
258258
*
259259
*
260260
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -279,8 +279,8 @@ public java.lang.String getJobTemplateId() {
279279
*
280280
* Required. The ID to use for the job template, which will become the final component
281281
* of the job template's resource name.
282-
* This value should be 4-63 characters, and valid characters
283-
* are `/[a-zA-Z0-9_-_]/`.
282+
* This value should be 4-63 characters, and valid characters must match the
283+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
284284
*
285285
*
286286
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1004,8 +1004,8 @@ public com.google.cloud.video.transcoder.v1beta1.JobTemplate.Builder getJobTempl
10041004
*
10051005
* Required. The ID to use for the job template, which will become the final component
10061006
* of the job template's resource name.
1007-
* This value should be 4-63 characters, and valid characters
1008-
* are `/[a-zA-Z0-9_-_]/`.
1007+
* This value should be 4-63 characters, and valid characters must match the
1008+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
10091009
*
10101010
*
10111011
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1029,8 +1029,8 @@ public java.lang.String getJobTemplateId() {
10291029
*
10301030
* Required. The ID to use for the job template, which will become the final component
10311031
* of the job template's resource name.
1032-
* This value should be 4-63 characters, and valid characters
1033-
* are `/[a-zA-Z0-9_-_]/`.
1032+
* This value should be 4-63 characters, and valid characters must match the
1033+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
10341034
*
10351035
*
10361036
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1054,8 +1054,8 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() {
10541054
*
10551055
* Required. The ID to use for the job template, which will become the final component
10561056
* of the job template's resource name.
1057-
* This value should be 4-63 characters, and valid characters
1058-
* are `/[a-zA-Z0-9_-_]/`.
1057+
* This value should be 4-63 characters, and valid characters must match the
1058+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
10591059
*
10601060
*
10611061
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1078,8 +1078,8 @@ public Builder setJobTemplateId(java.lang.String value) {
10781078
*
10791079
* Required. The ID to use for the job template, which will become the final component
10801080
* of the job template's resource name.
1081-
* This value should be 4-63 characters, and valid characters
1082-
* are `/[a-zA-Z0-9_-_]/`.
1081+
* This value should be 4-63 characters, and valid characters must match the
1082+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
10831083
*
10841084
*
10851085
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1098,8 +1098,8 @@ public Builder clearJobTemplateId() {
10981098
*
10991099
* Required. The ID to use for the job template, which will become the final component
11001100
* of the job template's resource name.
1101-
* This value should be 4-63 characters, and valid characters
1102-
* are `/[a-zA-Z0-9_-_]/`.
1101+
* This value should be 4-63 characters, and valid characters must match the
1102+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
11031103
*
11041104
*
11051105
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequestOrBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public interface CreateJobTemplateRequestOrBuilder
101101
*
102102
* Required. The ID to use for the job template, which will become the final component
103103
* of the job template's resource name.
104-
* This value should be 4-63 characters, and valid characters
105-
* are `/[a-zA-Z0-9_-_]/`.
104+
* This value should be 4-63 characters, and valid characters must match the
105+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
106106
*
107107
*
108108
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -116,8 +116,8 @@ public interface CreateJobTemplateRequestOrBuilder
116116
*
117117
* Required. The ID to use for the job template, which will become the final component
118118
* of the job template's resource name.
119-
* This value should be 4-63 characters, and valid characters
120-
* are `/[a-zA-Z0-9_-_]/`.
119+
* This value should be 4-63 characters, and valid characters must match the
120+
* regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
121121
*
122122
*
123123
* string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

0 commit comments

Comments
 (0)