Skip to content

Commit 0718804

Browse files
committed
Add title duration
1 parent 692366a commit 0718804

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

thamesflix/titlecatalog/v1alpha1/service.proto

+11-7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ syntax = "proto3";
22

33
package thamesflix.titlecatalog.v1alpha1;
44

5+
import "google/protobuf/duration.proto";
56
import "google/protobuf/field_mask.proto";
67
import "google/protobuf/timestamp.proto";
78
import "google/type/date.proto";
@@ -117,28 +118,31 @@ message Title {
117118
// A brief summary of the story.
118119
// Required for create requests.
119120
string plot = 6;
121+
// The duration of the title.
122+
// Required for create requests.
123+
google.protobuf.Duration duration = 7;
120124
// The release date of the title.
121125
// Required for create requests.
122-
google.type.Date release_date = 7;
126+
google.type.Date release_date = 8;
123127
// A list of actors credited with a significant role in the title.
124128
// Required for create requests.
125129
// Updating this field will replace the existing list of stars.
126-
repeated string actors = 8;
130+
repeated string actors = 9;
127131
// A list of directors.
128132
// Required for create requests.
129133
// Updating this field will replace the existing list of directors.
130-
repeated string directors = 9;
134+
repeated string directors = 10;
131135
// The genres associated with the title.
132136
// Required for create requests.
133137
// Updating this field will replace the existing list of genres.
134-
repeated string genres = 10;
138+
repeated string genres = 11;
135139
// The URL of the poster for the title.
136-
optional string poster_url = 11;
140+
optional string poster_url = 12;
137141
// The type of the title (e.g. movie, tv show).
138142
// Required for create requests.
139-
TitleType type = 12;
143+
TitleType type = 13;
140144
// Awards or nominations the title has received.
141-
optional string awards = 13;
145+
optional string awards = 14;
142146
}
143147

144148
// TitleType represents the type of a title.

0 commit comments

Comments
 (0)