@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
3
3
package thamesflix.titlecatalog.v1alpha1 ;
4
4
5
+ import "google/protobuf/duration.proto" ;
5
6
import "google/protobuf/field_mask.proto" ;
6
7
import "google/protobuf/timestamp.proto" ;
7
8
import "google/type/date.proto" ;
@@ -117,28 +118,31 @@ message Title {
117
118
// A brief summary of the story.
118
119
// Required for create requests.
119
120
string plot = 6 ;
121
+ // The duration of the title.
122
+ // Required for create requests.
123
+ google.protobuf.Duration duration = 7 ;
120
124
// The release date of the title.
121
125
// Required for create requests.
122
- google.type.Date release_date = 7 ;
126
+ google.type.Date release_date = 8 ;
123
127
// A list of actors credited with a significant role in the title.
124
128
// Required for create requests.
125
129
// Updating this field will replace the existing list of stars.
126
- repeated string actors = 8 ;
130
+ repeated string actors = 9 ;
127
131
// A list of directors.
128
132
// Required for create requests.
129
133
// Updating this field will replace the existing list of directors.
130
- repeated string directors = 9 ;
134
+ repeated string directors = 10 ;
131
135
// The genres associated with the title.
132
136
// Required for create requests.
133
137
// Updating this field will replace the existing list of genres.
134
- repeated string genres = 10 ;
138
+ repeated string genres = 11 ;
135
139
// The URL of the poster for the title.
136
- optional string poster_url = 11 ;
140
+ optional string poster_url = 12 ;
137
141
// The type of the title (e.g. movie, tv show).
138
142
// Required for create requests.
139
- TitleType type = 12 ;
143
+ TitleType type = 13 ;
140
144
// Awards or nominations the title has received.
141
- optional string awards = 13 ;
145
+ optional string awards = 14 ;
142
146
}
143
147
144
148
// TitleType represents the type of a title.
0 commit comments