Documentation ¶
Overview ¶
Package protos is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCinemaServiceV1Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCinemaServiceV1HandlerClient(ctx context.Context, mux *runtime.ServeMux, client CinemaServiceV1Client) error
- func RegisterCinemaServiceV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCinemaServiceV1HandlerServer(ctx context.Context, mux *runtime.ServeMux, server CinemaServiceV1Server) error
- func RegisterCinemaServiceV1Server(s grpc.ServiceRegistrar, srv CinemaServiceV1Server)
- type Cinema
- func (*Cinema) Descriptor() ([]byte, []int)deprecated
- func (x *Cinema) GetAddress() string
- func (x *Cinema) GetCinemaID() int32
- func (x *Cinema) GetCoordinates() *Coordinates
- func (x *Cinema) GetName() string
- func (*Cinema) ProtoMessage()
- func (x *Cinema) ProtoReflect() protoreflect.Message
- func (x *Cinema) Reset()
- func (x *Cinema) String() string
- type CinemaServiceV1Client
- type CinemaServiceV1Server
- type Cinemas
- type Cities
- type City
- type CityScreening
- func (*CityScreening) Descriptor() ([]byte, []int)deprecated
- func (x *CityScreening) GetCinemaID() int32
- func (x *CityScreening) GetHallID() int32
- func (x *CityScreening) GetScreeningID() int64
- func (x *CityScreening) GetScreeningType() string
- func (x *CityScreening) GetStartTime() *Timestamp
- func (x *CityScreening) GetTicketPrice() *Price
- func (*CityScreening) ProtoMessage()
- func (x *CityScreening) ProtoReflect() protoreflect.Message
- func (x *CityScreening) Reset()
- func (x *CityScreening) String() string
- type CityScreenings
- type Coordinates
- func (*Coordinates) Descriptor() ([]byte, []int)deprecated
- func (x *Coordinates) GetLatityde() float64
- func (x *Coordinates) GetLongitude() float64
- func (*Coordinates) ProtoMessage()
- func (x *Coordinates) ProtoReflect() protoreflect.Message
- func (x *Coordinates) Reset()
- func (x *Coordinates) String() string
- type GetCinemaHalls
- type GetCinemaRequest
- type GetCinemasInCityRequest
- func (*GetCinemasInCityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCinemasInCityRequest) GetCityID() int32
- func (*GetCinemasInCityRequest) ProtoMessage()
- func (x *GetCinemasInCityRequest) ProtoReflect() protoreflect.Message
- func (x *GetCinemasInCityRequest) Reset()
- func (x *GetCinemasInCityRequest) String() string
- type GetHallConfigurationRequest
- func (*GetHallConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHallConfigurationRequest) GetHallID() int32
- func (*GetHallConfigurationRequest) ProtoMessage()
- func (x *GetHallConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetHallConfigurationRequest) Reset()
- func (x *GetHallConfigurationRequest) String() string
- type GetHallsRequest
- type GetMoviesScreeningsInCitiesRequest
- func (*GetMoviesScreeningsInCitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMoviesScreeningsInCitiesRequest) GetCitiesIds() string
- func (x *GetMoviesScreeningsInCitiesRequest) GetEndPeriod() *Timestamp
- func (x *GetMoviesScreeningsInCitiesRequest) GetStartPeriod() *Timestamp
- func (*GetMoviesScreeningsInCitiesRequest) ProtoMessage()
- func (x *GetMoviesScreeningsInCitiesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMoviesScreeningsInCitiesRequest) Reset()
- func (x *GetMoviesScreeningsInCitiesRequest) String() string
- type GetMoviesScreeningsRequest
- func (*GetMoviesScreeningsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMoviesScreeningsRequest) GetCinemaID() int32
- func (x *GetMoviesScreeningsRequest) GetEndPeriod() *Timestamp
- func (x *GetMoviesScreeningsRequest) GetStartPeriod() *Timestamp
- func (*GetMoviesScreeningsRequest) ProtoMessage()
- func (x *GetMoviesScreeningsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMoviesScreeningsRequest) Reset()
- func (x *GetMoviesScreeningsRequest) String() string
- type GetScreeningRequest
- func (*GetScreeningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetScreeningRequest) GetMask() *fieldmaskpb.FieldMask
- func (x *GetScreeningRequest) GetScreeningID() int64
- func (*GetScreeningRequest) ProtoMessage()
- func (x *GetScreeningRequest) ProtoReflect() protoreflect.Message
- func (x *GetScreeningRequest) Reset()
- func (x *GetScreeningRequest) String() string
- type GetScreeningResponse
- func (*GetScreeningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetScreeningResponse) GetCinemaID() int32
- func (x *GetScreeningResponse) GetHallConfiguration() *HallConfiguration
- func (x *GetScreeningResponse) GetHallID() int32
- func (x *GetScreeningResponse) GetMovieID() int32
- func (x *GetScreeningResponse) GetScreeningType() string
- func (x *GetScreeningResponse) GetStartTime() *Timestamp
- func (x *GetScreeningResponse) GetTicketPrice() *Price
- func (*GetScreeningResponse) ProtoMessage()
- func (x *GetScreeningResponse) ProtoReflect() protoreflect.Message
- func (x *GetScreeningResponse) Reset()
- func (x *GetScreeningResponse) String() string
- type GetScreeningsInCityRequest
- func (*GetScreeningsInCityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetScreeningsInCityRequest) GetCityID() int32
- func (x *GetScreeningsInCityRequest) GetEndPeriod() *Timestamp
- func (x *GetScreeningsInCityRequest) GetMovieID() int32
- func (x *GetScreeningsInCityRequest) GetStartPeriod() *Timestamp
- func (*GetScreeningsInCityRequest) ProtoMessage()
- func (x *GetScreeningsInCityRequest) ProtoReflect() protoreflect.Message
- func (x *GetScreeningsInCityRequest) Reset()
- func (x *GetScreeningsInCityRequest) String() string
- type GetScreeningsRequest
- func (*GetScreeningsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetScreeningsRequest) GetCinemaID() int32
- func (x *GetScreeningsRequest) GetEndPeriod() *Timestamp
- func (x *GetScreeningsRequest) GetMovieID() int32
- func (x *GetScreeningsRequest) GetStartPeriod() *Timestamp
- func (*GetScreeningsRequest) ProtoMessage()
- func (x *GetScreeningsRequest) ProtoReflect() protoreflect.Message
- func (x *GetScreeningsRequest) Reset()
- func (x *GetScreeningsRequest) String() string
- type Hall
- func (*Hall) Descriptor() ([]byte, []int)deprecated
- func (x *Hall) GetHallID() int32
- func (x *Hall) GetHallSize() uint32
- func (x *Hall) GetName() string
- func (x *Hall) GetType() string
- func (*Hall) ProtoMessage()
- func (x *Hall) ProtoReflect() protoreflect.Message
- func (x *Hall) Reset()
- func (x *Hall) String() string
- type HallConfiguration
- type Halls
- type Place
- func (*Place) Descriptor() ([]byte, []int)deprecated
- func (x *Place) GetGridPosX() float32
- func (x *Place) GetGridPosY() float32
- func (x *Place) GetRow() int32
- func (x *Place) GetSeat() int32
- func (*Place) ProtoMessage()
- func (x *Place) ProtoReflect() protoreflect.Message
- func (x *Place) Reset()
- func (x *Place) String() string
- type PreviewScreening
- func (*PreviewScreening) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewScreening) GetHallsTypes() []string
- func (x *PreviewScreening) GetMovieID() int32
- func (x *PreviewScreening) GetScreeningsTypes() []string
- func (*PreviewScreening) ProtoMessage()
- func (x *PreviewScreening) ProtoReflect() protoreflect.Message
- func (x *PreviewScreening) Reset()
- func (x *PreviewScreening) String() string
- type PreviewScreenings
- func (*PreviewScreenings) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewScreenings) GetScreenings() []*PreviewScreening
- func (*PreviewScreenings) ProtoMessage()
- func (x *PreviewScreenings) ProtoReflect() protoreflect.Message
- func (x *PreviewScreenings) Reset()
- func (x *PreviewScreenings) String() string
- type Price
- type Screening
- func (*Screening) Descriptor() ([]byte, []int)deprecated
- func (x *Screening) GetHallID() int32
- func (x *Screening) GetMovieID() int32
- func (x *Screening) GetScreeningID() int64
- func (x *Screening) GetScreeningType() string
- func (x *Screening) GetStartTime() *Timestamp
- func (x *Screening) GetTicketPrice() *Price
- func (*Screening) ProtoMessage()
- func (x *Screening) ProtoReflect() protoreflect.Message
- func (x *Screening) Reset()
- func (x *Screening) String() string
- type Screenings
- type Timestamp
- type UnimplementedCinemaServiceV1Server
- func (UnimplementedCinemaServiceV1Server) GetCinema(context.Context, *GetCinemaRequest) (*Cinema, error)
- func (UnimplementedCinemaServiceV1Server) GetCinemasCities(context.Context, *emptypb.Empty) (*Cities, error)
- func (UnimplementedCinemaServiceV1Server) GetCinemasInCity(context.Context, *GetCinemasInCityRequest) (*Cinemas, error)
- func (UnimplementedCinemaServiceV1Server) GetHallConfiguration(context.Context, *GetHallConfigurationRequest) (*HallConfiguration, error)
- func (UnimplementedCinemaServiceV1Server) GetHalls(context.Context, *GetHallsRequest) (*Halls, error)
- func (UnimplementedCinemaServiceV1Server) GetMoviesScreenings(context.Context, *GetMoviesScreeningsRequest) (*PreviewScreenings, error)
- func (UnimplementedCinemaServiceV1Server) GetMoviesScreeningsInCities(context.Context, *GetMoviesScreeningsInCitiesRequest) (*PreviewScreenings, error)
- func (UnimplementedCinemaServiceV1Server) GetScreening(context.Context, *GetScreeningRequest) (*GetScreeningResponse, error)
- func (UnimplementedCinemaServiceV1Server) GetScreenings(context.Context, *GetScreeningsRequest) (*Screenings, error)
- func (UnimplementedCinemaServiceV1Server) GetScreeningsInCity(context.Context, *GetScreeningsInCityRequest) (*CityScreenings, error)
- type UnsafeCinemaServiceV1Server
Constants ¶
This section is empty.
Variables ¶
var CinemaServiceV1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cinema_service.cinemaServiceV1", HandlerType: (*CinemaServiceV1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCinemasCities", Handler: _CinemaServiceV1_GetCinemasCities_Handler, }, { MethodName: "GetCinemasInCity", Handler: _CinemaServiceV1_GetCinemasInCity_Handler, }, { MethodName: "GetCinema", Handler: _CinemaServiceV1_GetCinema_Handler, }, { MethodName: "GetScreening", Handler: _CinemaServiceV1_GetScreening_Handler, }, { MethodName: "GetMoviesScreenings", Handler: _CinemaServiceV1_GetMoviesScreenings_Handler, }, { MethodName: "GetMoviesScreeningsInCities", Handler: _CinemaServiceV1_GetMoviesScreeningsInCities_Handler, }, { MethodName: "GetScreeningsInCity", Handler: _CinemaServiceV1_GetScreeningsInCity_Handler, }, { MethodName: "GetHalls", Handler: _CinemaServiceV1_GetHalls_Handler, }, { MethodName: "GetScreenings", Handler: _CinemaServiceV1_GetScreenings_Handler, }, { MethodName: "GetHallConfiguration", Handler: _CinemaServiceV1_GetHallConfiguration_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cinema_service_v1.proto", }
CinemaServiceV1_ServiceDesc is the grpc.ServiceDesc for CinemaServiceV1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cinema_service_v1_messages_proto protoreflect.FileDescriptor
var File_cinema_service_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCinemaServiceV1Handler ¶
func RegisterCinemaServiceV1Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCinemaServiceV1Handler registers the http handlers for service CinemaServiceV1 to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCinemaServiceV1HandlerClient ¶
func RegisterCinemaServiceV1HandlerClient(ctx context.Context, mux *runtime.ServeMux, client CinemaServiceV1Client) error
RegisterCinemaServiceV1HandlerClient registers the http handlers for service CinemaServiceV1 to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CinemaServiceV1Client". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CinemaServiceV1Client" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CinemaServiceV1Client" to call the correct interceptors.
func RegisterCinemaServiceV1HandlerFromEndpoint ¶
func RegisterCinemaServiceV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCinemaServiceV1HandlerFromEndpoint is same as RegisterCinemaServiceV1Handler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCinemaServiceV1HandlerServer ¶
func RegisterCinemaServiceV1HandlerServer(ctx context.Context, mux *runtime.ServeMux, server CinemaServiceV1Server) error
RegisterCinemaServiceV1HandlerServer registers the http handlers for service CinemaServiceV1 to "mux". UnaryRPC :call CinemaServiceV1Server directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCinemaServiceV1HandlerFromEndpoint instead.
func RegisterCinemaServiceV1Server ¶
func RegisterCinemaServiceV1Server(s grpc.ServiceRegistrar, srv CinemaServiceV1Server)
Types ¶
type Cinema ¶
type Cinema struct { CinemaID int32 `protobuf:"varint,1,opt,name=cinemaID,json=cinema_id,proto3" json:"cinemaID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Coordinates *Coordinates `protobuf:"bytes,4,opt,name=coordinates,proto3" json:"coordinates,omitempty"` // contains filtered or unexported fields }
func (*Cinema) Descriptor
deprecated
func (*Cinema) GetAddress ¶
func (*Cinema) GetCinemaID ¶
func (*Cinema) GetCoordinates ¶
func (x *Cinema) GetCoordinates() *Coordinates
func (*Cinema) ProtoMessage ¶
func (*Cinema) ProtoMessage()
func (*Cinema) ProtoReflect ¶
func (x *Cinema) ProtoReflect() protoreflect.Message
type CinemaServiceV1Client ¶
type CinemaServiceV1Client interface { // Returns all cities where there are cinemas. GetCinemasCities(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Cities, error) // Returns cinemas in the city. GetCinemasInCity(ctx context.Context, in *GetCinemasInCityRequest, opts ...grpc.CallOption) (*Cinemas, error) // Returns cinema with specified id. GetCinema(ctx context.Context, in *GetCinemaRequest, opts ...grpc.CallOption) (*Cinema, error) // Returns info about screening. GetScreening(ctx context.Context, in *GetScreeningRequest, opts ...grpc.CallOption) (*GetScreeningResponse, error) // Returns all movies that are in the cinema screenings in a particular cinema. GetMoviesScreenings(ctx context.Context, in *GetMoviesScreeningsRequest, opts ...grpc.CallOption) (*PreviewScreenings, error) // Returns all movies screenings in the cinema screenings in specified cities, or in all cities, if not specified. GetMoviesScreeningsInCities(ctx context.Context, in *GetMoviesScreeningsInCitiesRequest, opts ...grpc.CallOption) (*PreviewScreenings, error) // Returns screenings in the cinema screenings in specified city with specified movie_id. GetScreeningsInCity(ctx context.Context, in *GetScreeningsInCityRequest, opts ...grpc.CallOption) (*CityScreenings, error) // Returns info for the halls with specified ids (without configuration). GetHalls(ctx context.Context, in *GetHallsRequest, opts ...grpc.CallOption) (*Halls, error) // Returns all screenings for a movie in a specific cinema. GetScreenings(ctx context.Context, in *GetScreeningsRequest, opts ...grpc.CallOption) (*Screenings, error) // Returns the configuration of the hall. GetHallConfiguration(ctx context.Context, in *GetHallConfigurationRequest, opts ...grpc.CallOption) (*HallConfiguration, error) }
CinemaServiceV1Client is the client API for CinemaServiceV1 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCinemaServiceV1Client ¶
func NewCinemaServiceV1Client(cc grpc.ClientConnInterface) CinemaServiceV1Client
type CinemaServiceV1Server ¶
type CinemaServiceV1Server interface { // Returns all cities where there are cinemas. GetCinemasCities(context.Context, *emptypb.Empty) (*Cities, error) // Returns cinemas in the city. GetCinemasInCity(context.Context, *GetCinemasInCityRequest) (*Cinemas, error) // Returns cinema with specified id. GetCinema(context.Context, *GetCinemaRequest) (*Cinema, error) // Returns info about screening. GetScreening(context.Context, *GetScreeningRequest) (*GetScreeningResponse, error) // Returns all movies that are in the cinema screenings in a particular cinema. GetMoviesScreenings(context.Context, *GetMoviesScreeningsRequest) (*PreviewScreenings, error) // Returns all movies screenings in the cinema screenings in specified cities, or in all cities, if not specified. GetMoviesScreeningsInCities(context.Context, *GetMoviesScreeningsInCitiesRequest) (*PreviewScreenings, error) // Returns screenings in the cinema screenings in specified city with specified movie_id. GetScreeningsInCity(context.Context, *GetScreeningsInCityRequest) (*CityScreenings, error) // Returns info for the halls with specified ids (without configuration). GetHalls(context.Context, *GetHallsRequest) (*Halls, error) // Returns all screenings for a movie in a specific cinema. GetScreenings(context.Context, *GetScreeningsRequest) (*Screenings, error) // Returns the configuration of the hall. GetHallConfiguration(context.Context, *GetHallConfigurationRequest) (*HallConfiguration, error) // contains filtered or unexported methods }
CinemaServiceV1Server is the server API for CinemaServiceV1 service. All implementations must embed UnimplementedCinemaServiceV1Server for forward compatibility
type Cinemas ¶
type Cinemas struct { Cinemas []*Cinema `protobuf:"bytes,1,rep,name=cinemas,proto3" json:"cinemas,omitempty"` // contains filtered or unexported fields }
func (*Cinemas) Descriptor
deprecated
func (*Cinemas) GetCinemas ¶
func (*Cinemas) ProtoMessage ¶
func (*Cinemas) ProtoMessage()
func (*Cinemas) ProtoReflect ¶
func (x *Cinemas) ProtoReflect() protoreflect.Message
type Cities ¶
type Cities struct { Cities []*City `protobuf:"bytes,1,rep,name=cities,proto3" json:"cities,omitempty"` // contains filtered or unexported fields }
func (*Cities) Descriptor
deprecated
func (*Cities) ProtoMessage ¶
func (*Cities) ProtoMessage()
func (*Cities) ProtoReflect ¶
func (x *Cities) ProtoReflect() protoreflect.Message
type City ¶
type City struct { CityID int32 `protobuf:"varint,1,opt,name=cityID,json=city_id,proto3" json:"cityID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*City) Descriptor
deprecated
func (*City) ProtoMessage ¶
func (*City) ProtoMessage()
func (*City) ProtoReflect ¶
func (x *City) ProtoReflect() protoreflect.Message
type CityScreening ¶
type CityScreening struct { ScreeningID int64 `protobuf:"varint,1,opt,name=screeningID,json=screening_id,proto3" json:"screeningID,omitempty"` CinemaID int32 `protobuf:"varint,2,opt,name=cinemaID,json=cinema_id,proto3" json:"cinemaID,omitempty"` ScreeningType string `protobuf:"bytes,3,opt,name=screeningType,json=screening_type,proto3" json:"screeningType,omitempty"` StartTime *Timestamp `protobuf:"bytes,4,opt,name=startTime,json=start_time,proto3" json:"startTime,omitempty"` HallID int32 `protobuf:"varint,5,opt,name=hallID,json=hall_id,proto3" json:"hallID,omitempty"` TicketPrice *Price `protobuf:"bytes,6,opt,name=ticketPrice,json=ticket_price,proto3" json:"ticketPrice,omitempty"` // contains filtered or unexported fields }
func (*CityScreening) Descriptor
deprecated
func (*CityScreening) Descriptor() ([]byte, []int)
Deprecated: Use CityScreening.ProtoReflect.Descriptor instead.
func (*CityScreening) GetCinemaID ¶
func (x *CityScreening) GetCinemaID() int32
func (*CityScreening) GetHallID ¶
func (x *CityScreening) GetHallID() int32
func (*CityScreening) GetScreeningID ¶
func (x *CityScreening) GetScreeningID() int64
func (*CityScreening) GetScreeningType ¶
func (x *CityScreening) GetScreeningType() string
func (*CityScreening) GetStartTime ¶
func (x *CityScreening) GetStartTime() *Timestamp
func (*CityScreening) GetTicketPrice ¶
func (x *CityScreening) GetTicketPrice() *Price
func (*CityScreening) ProtoMessage ¶
func (*CityScreening) ProtoMessage()
func (*CityScreening) ProtoReflect ¶
func (x *CityScreening) ProtoReflect() protoreflect.Message
func (*CityScreening) Reset ¶
func (x *CityScreening) Reset()
func (*CityScreening) String ¶
func (x *CityScreening) String() string
type CityScreenings ¶
type CityScreenings struct { Screenings []*CityScreening `protobuf:"bytes,1,rep,name=screenings,proto3" json:"screenings,omitempty"` // contains filtered or unexported fields }
func (*CityScreenings) Descriptor
deprecated
func (*CityScreenings) Descriptor() ([]byte, []int)
Deprecated: Use CityScreenings.ProtoReflect.Descriptor instead.
func (*CityScreenings) GetScreenings ¶
func (x *CityScreenings) GetScreenings() []*CityScreening
func (*CityScreenings) ProtoMessage ¶
func (*CityScreenings) ProtoMessage()
func (*CityScreenings) ProtoReflect ¶
func (x *CityScreenings) ProtoReflect() protoreflect.Message
func (*CityScreenings) Reset ¶
func (x *CityScreenings) Reset()
func (*CityScreenings) String ¶
func (x *CityScreenings) String() string
type Coordinates ¶
type Coordinates struct { Latityde float64 `protobuf:"fixed64,1,opt,name=latityde,proto3" json:"latityde,omitempty"` Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Coordinates) Descriptor
deprecated
func (*Coordinates) Descriptor() ([]byte, []int)
Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.
func (*Coordinates) GetLatityde ¶
func (x *Coordinates) GetLatityde() float64
func (*Coordinates) GetLongitude ¶
func (x *Coordinates) GetLongitude() float64
func (*Coordinates) ProtoMessage ¶
func (*Coordinates) ProtoMessage()
func (*Coordinates) ProtoReflect ¶
func (x *Coordinates) ProtoReflect() protoreflect.Message
func (*Coordinates) Reset ¶
func (x *Coordinates) Reset()
func (*Coordinates) String ¶
func (x *Coordinates) String() string
type GetCinemaHalls ¶
type GetCinemaHalls struct { CinemaID int32 `protobuf:"varint,1,opt,name=cinemaID,json=cinema_id,proto3" json:"cinemaID,omitempty"` // contains filtered or unexported fields }
func (*GetCinemaHalls) Descriptor
deprecated
func (*GetCinemaHalls) Descriptor() ([]byte, []int)
Deprecated: Use GetCinemaHalls.ProtoReflect.Descriptor instead.
func (*GetCinemaHalls) GetCinemaID ¶
func (x *GetCinemaHalls) GetCinemaID() int32
func (*GetCinemaHalls) ProtoMessage ¶
func (*GetCinemaHalls) ProtoMessage()
func (*GetCinemaHalls) ProtoReflect ¶
func (x *GetCinemaHalls) ProtoReflect() protoreflect.Message
func (*GetCinemaHalls) Reset ¶
func (x *GetCinemaHalls) Reset()
func (*GetCinemaHalls) String ¶
func (x *GetCinemaHalls) String() string
type GetCinemaRequest ¶
type GetCinemaRequest struct { CinemaID int32 `protobuf:"varint,1,opt,name=cinemaID,proto3" json:"cinemaID,omitempty"` // contains filtered or unexported fields }
func (*GetCinemaRequest) Descriptor
deprecated
func (*GetCinemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCinemaRequest.ProtoReflect.Descriptor instead.
func (*GetCinemaRequest) GetCinemaID ¶
func (x *GetCinemaRequest) GetCinemaID() int32
func (*GetCinemaRequest) ProtoMessage ¶
func (*GetCinemaRequest) ProtoMessage()
func (*GetCinemaRequest) ProtoReflect ¶
func (x *GetCinemaRequest) ProtoReflect() protoreflect.Message
func (*GetCinemaRequest) Reset ¶
func (x *GetCinemaRequest) Reset()
func (*GetCinemaRequest) String ¶
func (x *GetCinemaRequest) String() string
type GetCinemasInCityRequest ¶
type GetCinemasInCityRequest struct { CityID int32 `protobuf:"varint,1,opt,name=cityID,json=city_id,proto3" json:"cityID,omitempty"` // contains filtered or unexported fields }
func (*GetCinemasInCityRequest) Descriptor
deprecated
func (*GetCinemasInCityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCinemasInCityRequest.ProtoReflect.Descriptor instead.
func (*GetCinemasInCityRequest) GetCityID ¶
func (x *GetCinemasInCityRequest) GetCityID() int32
func (*GetCinemasInCityRequest) ProtoMessage ¶
func (*GetCinemasInCityRequest) ProtoMessage()
func (*GetCinemasInCityRequest) ProtoReflect ¶
func (x *GetCinemasInCityRequest) ProtoReflect() protoreflect.Message
func (*GetCinemasInCityRequest) Reset ¶
func (x *GetCinemasInCityRequest) Reset()
func (*GetCinemasInCityRequest) String ¶
func (x *GetCinemasInCityRequest) String() string
type GetHallConfigurationRequest ¶
type GetHallConfigurationRequest struct { HallID int32 `protobuf:"varint,1,opt,name=hallID,json=hall_id,proto3" json:"hallID,omitempty"` // contains filtered or unexported fields }
func (*GetHallConfigurationRequest) Descriptor
deprecated
func (*GetHallConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHallConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetHallConfigurationRequest) GetHallID ¶
func (x *GetHallConfigurationRequest) GetHallID() int32
func (*GetHallConfigurationRequest) ProtoMessage ¶
func (*GetHallConfigurationRequest) ProtoMessage()
func (*GetHallConfigurationRequest) ProtoReflect ¶
func (x *GetHallConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetHallConfigurationRequest) Reset ¶
func (x *GetHallConfigurationRequest) Reset()
func (*GetHallConfigurationRequest) String ¶
func (x *GetHallConfigurationRequest) String() string
type GetHallsRequest ¶
type GetHallsRequest struct { // for multiple values use ',' separator HallsIds string `protobuf:"bytes,1,opt,name=hallsIds,json=halls_ids,proto3" json:"hallsIds,omitempty"` // contains filtered or unexported fields }
func (*GetHallsRequest) Descriptor
deprecated
func (*GetHallsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHallsRequest.ProtoReflect.Descriptor instead.
func (*GetHallsRequest) GetHallsIds ¶
func (x *GetHallsRequest) GetHallsIds() string
func (*GetHallsRequest) ProtoMessage ¶
func (*GetHallsRequest) ProtoMessage()
func (*GetHallsRequest) ProtoReflect ¶
func (x *GetHallsRequest) ProtoReflect() protoreflect.Message
func (*GetHallsRequest) Reset ¶
func (x *GetHallsRequest) Reset()
func (*GetHallsRequest) String ¶
func (x *GetHallsRequest) String() string
type GetMoviesScreeningsInCitiesRequest ¶
type GetMoviesScreeningsInCitiesRequest struct { // cities ids empty, returns all screenings without city id matching, for multiple values use ',' as separator CitiesIds *string `protobuf:"bytes,1,opt,name=citiesIds,json=cities_ids,proto3,oneof" json:"citiesIds,omitempty"` StartPeriod *Timestamp `protobuf:"bytes,2,opt,name=startPeriod,json=start_period,proto3" json:"startPeriod,omitempty"` EndPeriod *Timestamp `protobuf:"bytes,3,opt,name=endPeriod,json=end_period,proto3" json:"endPeriod,omitempty"` // contains filtered or unexported fields }
func (*GetMoviesScreeningsInCitiesRequest) Descriptor
deprecated
func (*GetMoviesScreeningsInCitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMoviesScreeningsInCitiesRequest.ProtoReflect.Descriptor instead.
func (*GetMoviesScreeningsInCitiesRequest) GetCitiesIds ¶
func (x *GetMoviesScreeningsInCitiesRequest) GetCitiesIds() string
func (*GetMoviesScreeningsInCitiesRequest) GetEndPeriod ¶
func (x *GetMoviesScreeningsInCitiesRequest) GetEndPeriod() *Timestamp
func (*GetMoviesScreeningsInCitiesRequest) GetStartPeriod ¶
func (x *GetMoviesScreeningsInCitiesRequest) GetStartPeriod() *Timestamp
func (*GetMoviesScreeningsInCitiesRequest) ProtoMessage ¶
func (*GetMoviesScreeningsInCitiesRequest) ProtoMessage()
func (*GetMoviesScreeningsInCitiesRequest) ProtoReflect ¶
func (x *GetMoviesScreeningsInCitiesRequest) ProtoReflect() protoreflect.Message
func (*GetMoviesScreeningsInCitiesRequest) Reset ¶
func (x *GetMoviesScreeningsInCitiesRequest) Reset()
func (*GetMoviesScreeningsInCitiesRequest) String ¶
func (x *GetMoviesScreeningsInCitiesRequest) String() string
type GetMoviesScreeningsRequest ¶
type GetMoviesScreeningsRequest struct { CinemaID int32 `protobuf:"varint,1,opt,name=cinemaID,json=cinema_id,proto3" json:"cinemaID,omitempty"` StartPeriod *Timestamp `protobuf:"bytes,2,opt,name=startPeriod,json=start_period,proto3" json:"startPeriod,omitempty"` EndPeriod *Timestamp `protobuf:"bytes,3,opt,name=endPeriod,json=end_period,proto3" json:"endPeriod,omitempty"` // contains filtered or unexported fields }
func (*GetMoviesScreeningsRequest) Descriptor
deprecated
func (*GetMoviesScreeningsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMoviesScreeningsRequest.ProtoReflect.Descriptor instead.
func (*GetMoviesScreeningsRequest) GetCinemaID ¶
func (x *GetMoviesScreeningsRequest) GetCinemaID() int32
func (*GetMoviesScreeningsRequest) GetEndPeriod ¶
func (x *GetMoviesScreeningsRequest) GetEndPeriod() *Timestamp
func (*GetMoviesScreeningsRequest) GetStartPeriod ¶
func (x *GetMoviesScreeningsRequest) GetStartPeriod() *Timestamp
func (*GetMoviesScreeningsRequest) ProtoMessage ¶
func (*GetMoviesScreeningsRequest) ProtoMessage()
func (*GetMoviesScreeningsRequest) ProtoReflect ¶
func (x *GetMoviesScreeningsRequest) ProtoReflect() protoreflect.Message
func (*GetMoviesScreeningsRequest) Reset ¶
func (x *GetMoviesScreeningsRequest) Reset()
func (*GetMoviesScreeningsRequest) String ¶
func (x *GetMoviesScreeningsRequest) String() string
type GetScreeningRequest ¶
type GetScreeningRequest struct { ScreeningID int64 `protobuf:"varint,1,opt,name=screeningID,json=screening_id,proto3" json:"screeningID,omitempty"` // Fields to return, valid array values is GetScreeningResponse fields names, leave it empty if you want get all fields Mask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"` // contains filtered or unexported fields }
func (*GetScreeningRequest) Descriptor
deprecated
func (*GetScreeningRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScreeningRequest.ProtoReflect.Descriptor instead.
func (*GetScreeningRequest) GetMask ¶
func (x *GetScreeningRequest) GetMask() *fieldmaskpb.FieldMask
func (*GetScreeningRequest) GetScreeningID ¶
func (x *GetScreeningRequest) GetScreeningID() int64
func (*GetScreeningRequest) ProtoMessage ¶
func (*GetScreeningRequest) ProtoMessage()
func (*GetScreeningRequest) ProtoReflect ¶
func (x *GetScreeningRequest) ProtoReflect() protoreflect.Message
func (*GetScreeningRequest) Reset ¶
func (x *GetScreeningRequest) Reset()
func (*GetScreeningRequest) String ¶
func (x *GetScreeningRequest) String() string
type GetScreeningResponse ¶
type GetScreeningResponse struct { CinemaID int32 `protobuf:"varint,1,opt,name=cinemaID,json=cinema_id,proto3" json:"cinemaID,omitempty"` MovieID int32 `protobuf:"varint,2,opt,name=movieID,json=movie_id,proto3" json:"movieID,omitempty"` ScreeningType string `protobuf:"bytes,3,opt,name=screening_type,proto3" json:"screening_type,omitempty"` StartTime *Timestamp `protobuf:"bytes,4,opt,name=start_time,proto3" json:"start_time,omitempty"` HallID int32 `protobuf:"varint,5,opt,name=hallID,json=hall_id,proto3" json:"hallID,omitempty"` TicketPrice *Price `protobuf:"bytes,6,opt,name=ticket_price,proto3" json:"ticket_price,omitempty"` HallConfiguration *HallConfiguration `protobuf:"bytes,7,opt,name=hall_configuration,proto3" json:"hall_configuration,omitempty"` // contains filtered or unexported fields }
func (*GetScreeningResponse) Descriptor
deprecated
func (*GetScreeningResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetScreeningResponse.ProtoReflect.Descriptor instead.
func (*GetScreeningResponse) GetCinemaID ¶
func (x *GetScreeningResponse) GetCinemaID() int32
func (*GetScreeningResponse) GetHallConfiguration ¶
func (x *GetScreeningResponse) GetHallConfiguration() *HallConfiguration
func (*GetScreeningResponse) GetHallID ¶
func (x *GetScreeningResponse) GetHallID() int32
func (*GetScreeningResponse) GetMovieID ¶
func (x *GetScreeningResponse) GetMovieID() int32
func (*GetScreeningResponse) GetScreeningType ¶
func (x *GetScreeningResponse) GetScreeningType() string
func (*GetScreeningResponse) GetStartTime ¶
func (x *GetScreeningResponse) GetStartTime() *Timestamp
func (*GetScreeningResponse) GetTicketPrice ¶
func (x *GetScreeningResponse) GetTicketPrice() *Price
func (*GetScreeningResponse) ProtoMessage ¶
func (*GetScreeningResponse) ProtoMessage()
func (*GetScreeningResponse) ProtoReflect ¶
func (x *GetScreeningResponse) ProtoReflect() protoreflect.Message
func (*GetScreeningResponse) Reset ¶
func (x *GetScreeningResponse) Reset()
func (*GetScreeningResponse) String ¶
func (x *GetScreeningResponse) String() string
type GetScreeningsInCityRequest ¶
type GetScreeningsInCityRequest struct { CityID int32 `protobuf:"varint,1,opt,name=cityID,json=city_id,proto3" json:"cityID,omitempty"` MovieID int32 `protobuf:"varint,2,opt,name=movieID,json=movie_id,proto3" json:"movieID,omitempty"` StartPeriod *Timestamp `protobuf:"bytes,3,opt,name=startPeriod,json=start_period,proto3" json:"startPeriod,omitempty"` EndPeriod *Timestamp `protobuf:"bytes,4,opt,name=endPeriod,json=end_period,proto3" json:"endPeriod,omitempty"` // contains filtered or unexported fields }
func (*GetScreeningsInCityRequest) Descriptor
deprecated
func (*GetScreeningsInCityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScreeningsInCityRequest.ProtoReflect.Descriptor instead.
func (*GetScreeningsInCityRequest) GetCityID ¶
func (x *GetScreeningsInCityRequest) GetCityID() int32
func (*GetScreeningsInCityRequest) GetEndPeriod ¶
func (x *GetScreeningsInCityRequest) GetEndPeriod() *Timestamp
func (*GetScreeningsInCityRequest) GetMovieID ¶
func (x *GetScreeningsInCityRequest) GetMovieID() int32
func (*GetScreeningsInCityRequest) GetStartPeriod ¶
func (x *GetScreeningsInCityRequest) GetStartPeriod() *Timestamp
func (*GetScreeningsInCityRequest) ProtoMessage ¶
func (*GetScreeningsInCityRequest) ProtoMessage()
func (*GetScreeningsInCityRequest) ProtoReflect ¶
func (x *GetScreeningsInCityRequest) ProtoReflect() protoreflect.Message
func (*GetScreeningsInCityRequest) Reset ¶
func (x *GetScreeningsInCityRequest) Reset()
func (*GetScreeningsInCityRequest) String ¶
func (x *GetScreeningsInCityRequest) String() string
type GetScreeningsRequest ¶
type GetScreeningsRequest struct { CinemaID int32 `protobuf:"varint,1,opt,name=cinemaID,json=cinema_id,proto3" json:"cinemaID,omitempty"` MovieID int32 `protobuf:"varint,2,opt,name=movieID,json=movie_id,proto3" json:"movieID,omitempty"` StartPeriod *Timestamp `protobuf:"bytes,3,opt,name=startPeriod,json=start_period,proto3" json:"startPeriod,omitempty"` EndPeriod *Timestamp `protobuf:"bytes,4,opt,name=endPeriod,json=end_period,proto3" json:"endPeriod,omitempty"` // contains filtered or unexported fields }
func (*GetScreeningsRequest) Descriptor
deprecated
func (*GetScreeningsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScreeningsRequest.ProtoReflect.Descriptor instead.
func (*GetScreeningsRequest) GetCinemaID ¶
func (x *GetScreeningsRequest) GetCinemaID() int32
func (*GetScreeningsRequest) GetEndPeriod ¶
func (x *GetScreeningsRequest) GetEndPeriod() *Timestamp
func (*GetScreeningsRequest) GetMovieID ¶
func (x *GetScreeningsRequest) GetMovieID() int32
func (*GetScreeningsRequest) GetStartPeriod ¶
func (x *GetScreeningsRequest) GetStartPeriod() *Timestamp
func (*GetScreeningsRequest) ProtoMessage ¶
func (*GetScreeningsRequest) ProtoMessage()
func (*GetScreeningsRequest) ProtoReflect ¶
func (x *GetScreeningsRequest) ProtoReflect() protoreflect.Message
func (*GetScreeningsRequest) Reset ¶
func (x *GetScreeningsRequest) Reset()
func (*GetScreeningsRequest) String ¶
func (x *GetScreeningsRequest) String() string
type Hall ¶
type Hall struct { HallID int32 `protobuf:"varint,1,opt,name=hallID,json=hall_id,proto3" json:"hallID,omitempty"` HallSize uint32 `protobuf:"varint,2,opt,name=hallSize,json=hall_size,proto3" json:"hallSize,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Hall) Descriptor
deprecated
func (*Hall) GetHallSize ¶
func (*Hall) ProtoMessage ¶
func (*Hall) ProtoMessage()
func (*Hall) ProtoReflect ¶
func (x *Hall) ProtoReflect() protoreflect.Message
type HallConfiguration ¶
type HallConfiguration struct { Place []*Place `protobuf:"bytes,1,rep,name=place,proto3" json:"place,omitempty"` // contains filtered or unexported fields }
func (*HallConfiguration) Descriptor
deprecated
func (*HallConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use HallConfiguration.ProtoReflect.Descriptor instead.
func (*HallConfiguration) GetPlace ¶
func (x *HallConfiguration) GetPlace() []*Place
func (*HallConfiguration) ProtoMessage ¶
func (*HallConfiguration) ProtoMessage()
func (*HallConfiguration) ProtoReflect ¶
func (x *HallConfiguration) ProtoReflect() protoreflect.Message
func (*HallConfiguration) Reset ¶
func (x *HallConfiguration) Reset()
func (*HallConfiguration) String ¶
func (x *HallConfiguration) String() string
type Halls ¶
type Halls struct { Halls []*Hall `protobuf:"bytes,1,rep,name=halls,proto3" json:"halls,omitempty"` // contains filtered or unexported fields }
func (*Halls) Descriptor
deprecated
func (*Halls) ProtoMessage ¶
func (*Halls) ProtoMessage()
func (*Halls) ProtoReflect ¶
func (x *Halls) ProtoReflect() protoreflect.Message
type Place ¶
type Place struct { Row int32 `protobuf:"varint,1,opt,name=row,proto3" json:"row,omitempty"` Seat int32 `protobuf:"varint,2,opt,name=seat,proto3" json:"seat,omitempty"` GridPosX float32 `protobuf:"fixed32,3,opt,name=grid_pos_x,json=gridPosX,proto3" json:"grid_pos_x,omitempty"` GridPosY float32 `protobuf:"fixed32,4,opt,name=grid_pos_y,json=gridPosY,proto3" json:"grid_pos_y,omitempty"` // contains filtered or unexported fields }
func (*Place) Descriptor
deprecated
func (*Place) GetGridPosX ¶
func (*Place) GetGridPosY ¶
func (*Place) ProtoMessage ¶
func (*Place) ProtoMessage()
func (*Place) ProtoReflect ¶
func (x *Place) ProtoReflect() protoreflect.Message
type PreviewScreening ¶
type PreviewScreening struct { MovieID int32 `protobuf:"varint,1,opt,name=movieID,json=movie_id,proto3" json:"movieID,omitempty"` ScreeningsTypes []string `protobuf:"bytes,2,rep,name=screeningsTypes,json=screenings_types,proto3" json:"screeningsTypes,omitempty"` HallsTypes []string `protobuf:"bytes,3,rep,name=hallsTypes,json=halls_types,proto3" json:"hallsTypes,omitempty"` // contains filtered or unexported fields }
func (*PreviewScreening) Descriptor
deprecated
func (*PreviewScreening) Descriptor() ([]byte, []int)
Deprecated: Use PreviewScreening.ProtoReflect.Descriptor instead.
func (*PreviewScreening) GetHallsTypes ¶
func (x *PreviewScreening) GetHallsTypes() []string
func (*PreviewScreening) GetMovieID ¶
func (x *PreviewScreening) GetMovieID() int32
func (*PreviewScreening) GetScreeningsTypes ¶
func (x *PreviewScreening) GetScreeningsTypes() []string
func (*PreviewScreening) ProtoMessage ¶
func (*PreviewScreening) ProtoMessage()
func (*PreviewScreening) ProtoReflect ¶
func (x *PreviewScreening) ProtoReflect() protoreflect.Message
func (*PreviewScreening) Reset ¶
func (x *PreviewScreening) Reset()
func (*PreviewScreening) String ¶
func (x *PreviewScreening) String() string
type PreviewScreenings ¶
type PreviewScreenings struct { Screenings []*PreviewScreening `protobuf:"bytes,1,rep,name=screenings,proto3" json:"screenings,omitempty"` // contains filtered or unexported fields }
Unique set of cinema screenings (unique by movie_id)
func (*PreviewScreenings) Descriptor
deprecated
func (*PreviewScreenings) Descriptor() ([]byte, []int)
Deprecated: Use PreviewScreenings.ProtoReflect.Descriptor instead.
func (*PreviewScreenings) GetScreenings ¶
func (x *PreviewScreenings) GetScreenings() []*PreviewScreening
func (*PreviewScreenings) ProtoMessage ¶
func (*PreviewScreenings) ProtoMessage()
func (*PreviewScreenings) ProtoReflect ¶
func (x *PreviewScreenings) ProtoReflect() protoreflect.Message
func (*PreviewScreenings) Reset ¶
func (x *PreviewScreenings) Reset()
func (*PreviewScreenings) String ¶
func (x *PreviewScreenings) String() string
type Price ¶
type Price struct { // The price value in minimum currency units, for example 10010, is 100$ and 10 penny Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Price) Descriptor
deprecated
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) ProtoReflect ¶
func (x *Price) ProtoReflect() protoreflect.Message
type Screening ¶
type Screening struct { ScreeningID int64 `protobuf:"varint,1,opt,name=screeningID,json=screening_id,proto3" json:"screeningID,omitempty"` MovieID int32 `protobuf:"varint,2,opt,name=movieID,json=movie_id,proto3" json:"movieID,omitempty"` ScreeningType string `protobuf:"bytes,3,opt,name=screeningType,json=screening_type,proto3" json:"screeningType,omitempty"` StartTime *Timestamp `protobuf:"bytes,4,opt,name=startTime,json=start_time,proto3" json:"startTime,omitempty"` HallID int32 `protobuf:"varint,5,opt,name=hallID,json=hall_id,proto3" json:"hallID,omitempty"` TicketPrice *Price `protobuf:"bytes,6,opt,name=ticketPrice,json=ticket_price,proto3" json:"ticketPrice,omitempty"` // contains filtered or unexported fields }
func (*Screening) Descriptor
deprecated
func (*Screening) GetMovieID ¶
func (*Screening) GetScreeningID ¶
func (*Screening) GetScreeningType ¶
func (*Screening) GetStartTime ¶
func (*Screening) GetTicketPrice ¶
func (*Screening) ProtoMessage ¶
func (*Screening) ProtoMessage()
func (*Screening) ProtoReflect ¶
func (x *Screening) ProtoReflect() protoreflect.Message
type Screenings ¶
type Screenings struct { Screenings []*Screening `protobuf:"bytes,1,rep,name=screenings,proto3" json:"screenings,omitempty"` // contains filtered or unexported fields }
func (*Screenings) Descriptor
deprecated
func (*Screenings) Descriptor() ([]byte, []int)
Deprecated: Use Screenings.ProtoReflect.Descriptor instead.
func (*Screenings) GetScreenings ¶
func (x *Screenings) GetScreenings() []*Screening
func (*Screenings) ProtoMessage ¶
func (*Screenings) ProtoMessage()
func (*Screenings) ProtoReflect ¶
func (x *Screenings) ProtoReflect() protoreflect.Message
func (*Screenings) Reset ¶
func (x *Screenings) Reset()
func (*Screenings) String ¶
func (x *Screenings) String() string
type Timestamp ¶
type Timestamp struct { // Time in format RFC3339, time must be in UTC // example: 2023-11-10T23:00:00Z FormattedTimestamp string `protobuf:"bytes,1,opt,name=formattedTimestamp,json=formatted_timestamp,proto3" json:"formattedTimestamp,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetFormattedTimestamp ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type UnimplementedCinemaServiceV1Server ¶
type UnimplementedCinemaServiceV1Server struct { }
UnimplementedCinemaServiceV1Server must be embedded to have forward compatible implementations.
func (UnimplementedCinemaServiceV1Server) GetCinema ¶
func (UnimplementedCinemaServiceV1Server) GetCinema(context.Context, *GetCinemaRequest) (*Cinema, error)
func (UnimplementedCinemaServiceV1Server) GetCinemasCities ¶
func (UnimplementedCinemaServiceV1Server) GetCinemasInCity ¶
func (UnimplementedCinemaServiceV1Server) GetCinemasInCity(context.Context, *GetCinemasInCityRequest) (*Cinemas, error)
func (UnimplementedCinemaServiceV1Server) GetHallConfiguration ¶
func (UnimplementedCinemaServiceV1Server) GetHallConfiguration(context.Context, *GetHallConfigurationRequest) (*HallConfiguration, error)
func (UnimplementedCinemaServiceV1Server) GetHalls ¶
func (UnimplementedCinemaServiceV1Server) GetHalls(context.Context, *GetHallsRequest) (*Halls, error)
func (UnimplementedCinemaServiceV1Server) GetMoviesScreenings ¶
func (UnimplementedCinemaServiceV1Server) GetMoviesScreenings(context.Context, *GetMoviesScreeningsRequest) (*PreviewScreenings, error)
func (UnimplementedCinemaServiceV1Server) GetMoviesScreeningsInCities ¶
func (UnimplementedCinemaServiceV1Server) GetMoviesScreeningsInCities(context.Context, *GetMoviesScreeningsInCitiesRequest) (*PreviewScreenings, error)
func (UnimplementedCinemaServiceV1Server) GetScreening ¶
func (UnimplementedCinemaServiceV1Server) GetScreening(context.Context, *GetScreeningRequest) (*GetScreeningResponse, error)
func (UnimplementedCinemaServiceV1Server) GetScreenings ¶
func (UnimplementedCinemaServiceV1Server) GetScreenings(context.Context, *GetScreeningsRequest) (*Screenings, error)
func (UnimplementedCinemaServiceV1Server) GetScreeningsInCity ¶
func (UnimplementedCinemaServiceV1Server) GetScreeningsInCity(context.Context, *GetScreeningsInCityRequest) (*CityScreenings, error)
type UnsafeCinemaServiceV1Server ¶
type UnsafeCinemaServiceV1Server interface {
// contains filtered or unexported methods
}
UnsafeCinemaServiceV1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CinemaServiceV1Server will result in compilation errors.