// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        (unknown)
// source: buf/starwars/film/v1/film.proto

package filmv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type Film struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	FilmId        string   `protobuf:"bytes,1,opt,name=film_id,json=filmId,proto3" json:"film_id,omitempty"`
	EpisodeNumber uint64   `protobuf:"varint,2,opt,name=episode_number,json=episodeNumber,proto3" json:"episode_number,omitempty"`
	Title         string   `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	OpeningText   string   `protobuf:"bytes,4,opt,name=opening_text,json=openingText,proto3" json:"opening_text,omitempty"`
	Directors     []string `protobuf:"bytes,5,rep,name=directors,proto3" json:"directors,omitempty"`
	Producers     []string `protobuf:"bytes,6,rep,name=producers,proto3" json:"producers,omitempty"`
	CharacterIds  []string `protobuf:"bytes,7,rep,name=character_ids,json=characterIds,proto3" json:"character_ids,omitempty"`
	PlanetIds     []string `protobuf:"bytes,8,rep,name=planet_ids,json=planetIds,proto3" json:"planet_ids,omitempty"`
	StarshipIds   []string `protobuf:"bytes,9,rep,name=starship_ids,json=starshipIds,proto3" json:"starship_ids,omitempty"`
	VehicleIds    []string `protobuf:"bytes,10,rep,name=vehicle_ids,json=vehicleIds,proto3" json:"vehicle_ids,omitempty"`
	SpeciesIds    []string `protobuf:"bytes,11,rep,name=species_ids,json=speciesIds,proto3" json:"species_ids,omitempty"`
}

func (x *Film) Reset() {
	*x = Film{}
	if protoimpl.UnsafeEnabled {
		mi := &file_buf_starwars_film_v1_film_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *Film) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Film) ProtoMessage() {}

func (x *Film) ProtoReflect() protoreflect.Message {
	mi := &file_buf_starwars_film_v1_film_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Film.ProtoReflect.Descriptor instead.
func (*Film) Descriptor() ([]byte, []int) {
	return file_buf_starwars_film_v1_film_proto_rawDescGZIP(), []int{0}
}

func (x *Film) GetFilmId() string {
	if x != nil {
		return x.FilmId
	}
	return ""
}

func (x *Film) GetEpisodeNumber() uint64 {
	if x != nil {
		return x.EpisodeNumber
	}
	return 0
}

func (x *Film) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *Film) GetOpeningText() string {
	if x != nil {
		return x.OpeningText
	}
	return ""
}

func (x *Film) GetDirectors() []string {
	if x != nil {
		return x.Directors
	}
	return nil
}

func (x *Film) GetProducers() []string {
	if x != nil {
		return x.Producers
	}
	return nil
}

func (x *Film) GetCharacterIds() []string {
	if x != nil {
		return x.CharacterIds
	}
	return nil
}

func (x *Film) GetPlanetIds() []string {
	if x != nil {
		return x.PlanetIds
	}
	return nil
}

func (x *Film) GetStarshipIds() []string {
	if x != nil {
		return x.StarshipIds
	}
	return nil
}

func (x *Film) GetVehicleIds() []string {
	if x != nil {
		return x.VehicleIds
	}
	return nil
}

func (x *Film) GetSpeciesIds() []string {
	if x != nil {
		return x.SpeciesIds
	}
	return nil
}

type FilmsRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	FilmIds []string `protobuf:"bytes,1,rep,name=film_ids,json=filmIds,proto3" json:"film_ids,omitempty"`
	Limit   uint32   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (x *FilmsRequest) Reset() {
	*x = FilmsRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_buf_starwars_film_v1_film_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *FilmsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FilmsRequest) ProtoMessage() {}

func (x *FilmsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_buf_starwars_film_v1_film_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FilmsRequest.ProtoReflect.Descriptor instead.
func (*FilmsRequest) Descriptor() ([]byte, []int) {
	return file_buf_starwars_film_v1_film_proto_rawDescGZIP(), []int{1}
}

func (x *FilmsRequest) GetFilmIds() []string {
	if x != nil {
		return x.FilmIds
	}
	return nil
}

func (x *FilmsRequest) GetLimit() uint32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

type FilmsResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Films []*Film `protobuf:"bytes,1,rep,name=films,proto3" json:"films,omitempty"`
}

func (x *FilmsResponse) Reset() {
	*x = FilmsResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_buf_starwars_film_v1_film_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *FilmsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FilmsResponse) ProtoMessage() {}

func (x *FilmsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_buf_starwars_film_v1_film_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FilmsResponse.ProtoReflect.Descriptor instead.
func (*FilmsResponse) Descriptor() ([]byte, []int) {
	return file_buf_starwars_film_v1_film_proto_rawDescGZIP(), []int{2}
}

func (x *FilmsResponse) GetFilms() []*Film {
	if x != nil {
		return x.Films
	}
	return nil
}

var File_buf_starwars_film_v1_film_proto protoreflect.FileDescriptor

var file_buf_starwars_film_v1_film_proto_rawDesc = []byte{
	0x0a, 0x1f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2f, 0x66,
	0x69, 0x6c, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x6c, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x12, 0x14, 0x62, 0x75, 0x66, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2e,
	0x66, 0x69, 0x6c, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0xe4, 0x02, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x6d,
	0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6d, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x70, 0x69,
	0x73, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x04, 0x52, 0x0d, 0x65, 0x70, 0x69, 0x73, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
	0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x6e,
	0x67, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70,
	0x65, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x78, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72,
	0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69,
	0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75,
	0x63, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64,
	0x75, 0x63, 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,
	0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68,
	0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c,
	0x61, 0x6e, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
	0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61,
	0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52,
	0x0b, 0x73, 0x74, 0x61, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x64, 0x73, 0x12, 0x1f, 0x0a, 0x0b,
	0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
	0x09, 0x52, 0x0a, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1f, 0x0a,
	0x0b, 0x73, 0x70, 0x65, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03,
	0x28, 0x09, 0x52, 0x0a, 0x73, 0x70, 0x65, 0x63, 0x69, 0x65, 0x73, 0x49, 0x64, 0x73, 0x22, 0x3f,
	0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19,
	0x0a, 0x08, 0x66, 0x69, 0x6c, 0x6d, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
	0x52, 0x07, 0x66, 0x69, 0x6c, 0x6d, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d,
	0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22,
	0x41, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x12, 0x30, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
	0x1a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2e, 0x66,
	0x69, 0x6c, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x6d, 0x52, 0x05, 0x66, 0x69, 0x6c,
	0x6d, 0x73, 0x32, 0x62, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x12, 0x53, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x6d, 0x73, 0x12, 0x22, 0x2e,
	0x62, 0x75, 0x66, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2e, 0x66, 0x69, 0x6c,
	0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x1a, 0x23, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73,
	0x2e, 0x66, 0x69, 0x6c, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x6d, 0x73, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf4, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x62,
	0x75, 0x66, 0x2e, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2e, 0x66, 0x69, 0x6c, 0x6d,
	0x2e, 0x76, 0x31, 0x42, 0x09, 0x46, 0x69, 0x6c, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
	0x5a, 0x5a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66,
	0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x6b, 0x6e, 0x69, 0x74, 0x2f, 0x74, 0x75, 0x74, 0x6f, 0x72,
	0x69, 0x61, 0x6c, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2d, 0x66, 0x69, 0x6c,
	0x6d, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
	0x2f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x2f, 0x66, 0x69,
	0x6c, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x69, 0x6c, 0x6d, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42,
	0x53, 0x46, 0xaa, 0x02, 0x14, 0x42, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72,
	0x73, 0x2e, 0x46, 0x69, 0x6c, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x42, 0x75, 0x66, 0x5c,
	0x53, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x5c, 0x46, 0x69, 0x6c, 0x6d, 0x5c, 0x56, 0x31,
	0xe2, 0x02, 0x20, 0x42, 0x75, 0x66, 0x5c, 0x53, 0x74, 0x61, 0x72, 0x77, 0x61, 0x72, 0x73, 0x5c,
	0x46, 0x69, 0x6c, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
	0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x53, 0x74, 0x61, 0x72, 0x77,
	0x61, 0x72, 0x73, 0x3a, 0x3a, 0x46, 0x69, 0x6c, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_buf_starwars_film_v1_film_proto_rawDescOnce sync.Once
	file_buf_starwars_film_v1_film_proto_rawDescData = file_buf_starwars_film_v1_film_proto_rawDesc
)

func file_buf_starwars_film_v1_film_proto_rawDescGZIP() []byte {
	file_buf_starwars_film_v1_film_proto_rawDescOnce.Do(func() {
		file_buf_starwars_film_v1_film_proto_rawDescData = protoimpl.X.CompressGZIP(file_buf_starwars_film_v1_film_proto_rawDescData)
	})
	return file_buf_starwars_film_v1_film_proto_rawDescData
}

var file_buf_starwars_film_v1_film_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_buf_starwars_film_v1_film_proto_goTypes = []interface{}{
	(*Film)(nil),          // 0: buf.starwars.film.v1.Film
	(*FilmsRequest)(nil),  // 1: buf.starwars.film.v1.FilmsRequest
	(*FilmsResponse)(nil), // 2: buf.starwars.film.v1.FilmsResponse
}
var file_buf_starwars_film_v1_film_proto_depIdxs = []int32{
	0, // 0: buf.starwars.film.v1.FilmsResponse.films:type_name -> buf.starwars.film.v1.Film
	1, // 1: buf.starwars.film.v1.FilmService.GetFilms:input_type -> buf.starwars.film.v1.FilmsRequest
	2, // 2: buf.starwars.film.v1.FilmService.GetFilms:output_type -> buf.starwars.film.v1.FilmsResponse
	2, // [2:3] is the sub-list for method output_type
	1, // [1:2] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_buf_starwars_film_v1_film_proto_init() }
func file_buf_starwars_film_v1_film_proto_init() {
	if File_buf_starwars_film_v1_film_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_buf_starwars_film_v1_film_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Film); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_buf_starwars_film_v1_film_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FilmsRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_buf_starwars_film_v1_film_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FilmsResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_buf_starwars_film_v1_film_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_buf_starwars_film_v1_film_proto_goTypes,
		DependencyIndexes: file_buf_starwars_film_v1_film_proto_depIdxs,
		MessageInfos:      file_buf_starwars_film_v1_film_proto_msgTypes,
	}.Build()
	File_buf_starwars_film_v1_film_proto = out.File
	file_buf_starwars_film_v1_film_proto_rawDesc = nil
	file_buf_starwars_film_v1_film_proto_goTypes = nil
	file_buf_starwars_film_v1_film_proto_depIdxs = nil
}
