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 <noreply@google.com> 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<DeleteJobRequest, Empty> 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-
* <p>This value should be 4-63 characters, and valid characters are `/[a-zA-Z0-9_-_]/`.
591+
* <p>This value should be 4-63 characters, and valid characters must match the regular
592+
* expression `[a-zA-Z][a-zA-Z0-9_-]&#42;`.
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-
* <p>This value should be 4-63 characters, and valid characters are `/[a-zA-Z0-9_-_]/`.
626+
* <p>This value should be 4-63 characters, and valid characters must match the regular
627+
* expression `[a-zA-Z][a-zA-Z0-9_-]&#42;`.
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
* <pre>
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
* </pre>
259259
*
260260
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -279,8 +279,8 @@ public java.lang.String getJobTemplateId() {
279279
* <pre>
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
* </pre>
285285
*
286286
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -1004,8 +1004,8 @@ public com.google.cloud.video.transcoder.v1beta1.JobTemplate.Builder getJobTempl
10041004
* <pre>
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
* </pre>
10101010
*
10111011
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -1029,8 +1029,8 @@ public java.lang.String getJobTemplateId() {
10291029
* <pre>
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
* </pre>
10351035
*
10361036
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -1054,8 +1054,8 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() {
10541054
* <pre>
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
* </pre>
10601060
*
10611061
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -1078,8 +1078,8 @@ public Builder setJobTemplateId(java.lang.String value) {
10781078
* <pre>
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
* </pre>
10841084
*
10851085
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -1098,8 +1098,8 @@ public Builder clearJobTemplateId() {
10981098
* <pre>
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
* </pre>
11041104
*
11051105
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>

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
* <pre>
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
* </pre>
107107
*
108108
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -116,8 +116,8 @@ public interface CreateJobTemplateRequestOrBuilder
116116
* <pre>
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
* </pre>
122122
*
123123
* <code>string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>

0 commit comments

Comments
 (0)