Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1091 lines (953 sloc) 36.6 KB
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: openflights.proto
package openflights
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
import google_protobuf2 "github.com/golang/protobuf/ptypes/wrappers"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// DST represents the DST value for a timezone.
type DST int32
const (
DST_DST_NONE DST = 0
DST_DST_A DST = 1
DST_DST_E DST = 2
DST_DST_N DST = 3
DST_DST_O DST = 4
DST_DST_S DST = 5
DST_DST_U DST = 6
DST_DST_Z DST = 7
)
var DST_name = map[int32]string{
0: "DST_NONE",
1: "DST_A",
2: "DST_E",
3: "DST_N",
4: "DST_O",
5: "DST_S",
6: "DST_U",
7: "DST_Z",
}
var DST_value = map[string]int32{
"DST_NONE": 0,
"DST_A": 1,
"DST_E": 2,
"DST_N": 3,
"DST_O": 4,
"DST_S": 5,
"DST_U": 6,
"DST_Z": 7,
}
func (x DST) String() string {
return proto.EnumName(DST_name, int32(x))
}
func (DST) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
// CSVStore stores information on flights in CSV format.
type CSVStore struct {
Airports []byte `protobuf:"bytes,1,opt,name=airports,proto3" json:"airports,omitempty"`
Airlines []byte `protobuf:"bytes,2,opt,name=airlines,proto3" json:"airlines,omitempty"`
Routes []byte `protobuf:"bytes,3,opt,name=routes,proto3" json:"routes,omitempty"`
}
func (m *CSVStore) Reset() { *m = CSVStore{} }
func (m *CSVStore) String() string { return proto.CompactTextString(m) }
func (*CSVStore) ProtoMessage() {}
func (*CSVStore) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *CSVStore) GetAirports() []byte {
if m != nil {
return m.Airports
}
return nil
}
func (m *CSVStore) GetAirlines() []byte {
if m != nil {
return m.Airlines
}
return nil
}
func (m *CSVStore) GetRoutes() []byte {
if m != nil {
return m.Routes
}
return nil
}
// IDStore stores maps from id to object.
type IDStore struct {
IdToAirport map[string]*Airport `protobuf:"bytes,1,rep,name=id_to_airport,json=idToAirport" json:"id_to_airport,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
IdToAirline map[string]*Airline `protobuf:"bytes,2,rep,name=id_to_airline,json=idToAirline" json:"id_to_airline,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Route []*Route `protobuf:"bytes,3,rep,name=route" json:"route,omitempty"`
}
func (m *IDStore) Reset() { *m = IDStore{} }
func (m *IDStore) String() string { return proto.CompactTextString(m) }
func (*IDStore) ProtoMessage() {}
func (*IDStore) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *IDStore) GetIdToAirport() map[string]*Airport {
if m != nil {
return m.IdToAirport
}
return nil
}
func (m *IDStore) GetIdToAirline() map[string]*Airline {
if m != nil {
return m.IdToAirline
}
return nil
}
func (m *IDStore) GetRoute() []*Route {
if m != nil {
return m.Route
}
return nil
}
// Airport represents an airport.
type Airport struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
City string `protobuf:"bytes,3,opt,name=city" json:"city,omitempty"`
Country string `protobuf:"bytes,4,opt,name=country" json:"country,omitempty"`
IataFaa string `protobuf:"bytes,5,opt,name=iata_faa,json=iataFaa" json:"iata_faa,omitempty"`
Icao string `protobuf:"bytes,6,opt,name=icao" json:"icao,omitempty"`
LatitudeMicros int32 `protobuf:"zigzag32,7,opt,name=latitude_micros,json=latitudeMicros" json:"latitude_micros,omitempty"`
LongitudeMicros int32 `protobuf:"zigzag32,8,opt,name=longitude_micros,json=longitudeMicros" json:"longitude_micros,omitempty"`
AltitudeFeet int32 `protobuf:"varint,9,opt,name=altitude_feet,json=altitudeFeet" json:"altitude_feet,omitempty"`
TimezoneOffsetMinutes int32 `protobuf:"zigzag32,10,opt,name=timezone_offset_minutes,json=timezoneOffsetMinutes" json:"timezone_offset_minutes,omitempty"`
Dst DST `protobuf:"varint,11,opt,name=dst,enum=openflights.DST" json:"dst,omitempty"`
Timezone string `protobuf:"bytes,12,opt,name=timezone" json:"timezone,omitempty"`
}
func (m *Airport) Reset() { *m = Airport{} }
func (m *Airport) String() string { return proto.CompactTextString(m) }
func (*Airport) ProtoMessage() {}
func (*Airport) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Airport) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Airport) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Airport) GetCity() string {
if m != nil {
return m.City
}
return ""
}
func (m *Airport) GetCountry() string {
if m != nil {
return m.Country
}
return ""
}
func (m *Airport) GetIataFaa() string {
if m != nil {
return m.IataFaa
}
return ""
}
func (m *Airport) GetIcao() string {
if m != nil {
return m.Icao
}
return ""
}
func (m *Airport) GetLatitudeMicros() int32 {
if m != nil {
return m.LatitudeMicros
}
return 0
}
func (m *Airport) GetLongitudeMicros() int32 {
if m != nil {
return m.LongitudeMicros
}
return 0
}
func (m *Airport) GetAltitudeFeet() int32 {
if m != nil {
return m.AltitudeFeet
}
return 0
}
func (m *Airport) GetTimezoneOffsetMinutes() int32 {
if m != nil {
return m.TimezoneOffsetMinutes
}
return 0
}
func (m *Airport) GetDst() DST {
if m != nil {
return m.Dst
}
return DST_DST_NONE
}
func (m *Airport) GetTimezone() string {
if m != nil {
return m.Timezone
}
return ""
}
// Airline represents an airline.
type Airline struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Alias string `protobuf:"bytes,3,opt,name=alias" json:"alias,omitempty"`
Iata string `protobuf:"bytes,4,opt,name=iata" json:"iata,omitempty"`
Icao string `protobuf:"bytes,5,opt,name=icao" json:"icao,omitempty"`
Callsign string `protobuf:"bytes,6,opt,name=callsign" json:"callsign,omitempty"`
Country string `protobuf:"bytes,7,opt,name=country" json:"country,omitempty"`
Active bool `protobuf:"varint,8,opt,name=active" json:"active,omitempty"`
}
func (m *Airline) Reset() { *m = Airline{} }
func (m *Airline) String() string { return proto.CompactTextString(m) }
func (*Airline) ProtoMessage() {}
func (*Airline) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *Airline) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Airline) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Airline) GetAlias() string {
if m != nil {
return m.Alias
}
return ""
}
func (m *Airline) GetIata() string {
if m != nil {
return m.Iata
}
return ""
}
func (m *Airline) GetIcao() string {
if m != nil {
return m.Icao
}
return ""
}
func (m *Airline) GetCallsign() string {
if m != nil {
return m.Callsign
}
return ""
}
func (m *Airline) GetCountry() string {
if m != nil {
return m.Country
}
return ""
}
func (m *Airline) GetActive() bool {
if m != nil {
return m.Active
}
return false
}
// Route represents a route.
type Route struct {
Airline *Airline `protobuf:"bytes,1,opt,name=airline" json:"airline,omitempty"`
SourceAirport *Airport `protobuf:"bytes,2,opt,name=source_airport,json=sourceAirport" json:"source_airport,omitempty"`
DestinationAirport *Airport `protobuf:"bytes,3,opt,name=destination_airport,json=destinationAirport" json:"destination_airport,omitempty"`
Codeshare bool `protobuf:"varint,4,opt,name=codeshare" json:"codeshare,omitempty"`
Stops uint32 `protobuf:"varint,5,opt,name=stops" json:"stops,omitempty"`
}
func (m *Route) Reset() { *m = Route{} }
func (m *Route) String() string { return proto.CompactTextString(m) }
func (*Route) ProtoMessage() {}
func (*Route) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *Route) GetAirline() *Airline {
if m != nil {
return m.Airline
}
return nil
}
func (m *Route) GetSourceAirport() *Airport {
if m != nil {
return m.SourceAirport
}
return nil
}
func (m *Route) GetDestinationAirport() *Airport {
if m != nil {
return m.DestinationAirport
}
return nil
}
func (m *Route) GetCodeshare() bool {
if m != nil {
return m.Codeshare
}
return false
}
func (m *Route) GetStops() uint32 {
if m != nil {
return m.Stops
}
return 0
}
// Airports is the protobuf plural for Airport.
type Airports struct {
Airport []*Airport `protobuf:"bytes,1,rep,name=airport" json:"airport,omitempty"`
}
func (m *Airports) Reset() { *m = Airports{} }
func (m *Airports) String() string { return proto.CompactTextString(m) }
func (*Airports) ProtoMessage() {}
func (*Airports) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *Airports) GetAirport() []*Airport {
if m != nil {
return m.Airport
}
return nil
}
// Airlines is the protobuf plural for Airline.
type Airlines struct {
Airline []*Airline `protobuf:"bytes,1,rep,name=airline" json:"airline,omitempty"`
}
func (m *Airlines) Reset() { *m = Airlines{} }
func (m *Airlines) String() string { return proto.CompactTextString(m) }
func (*Airlines) ProtoMessage() {}
func (*Airlines) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *Airlines) GetAirline() []*Airline {
if m != nil {
return m.Airline
}
return nil
}
// Routes is the protobuf plural for Airport.
type Routes struct {
Route []*Route `protobuf:"bytes,1,rep,name=route" json:"route,omitempty"`
}
func (m *Routes) Reset() { *m = Routes{} }
func (m *Routes) String() string { return proto.CompactTextString(m) }
func (*Routes) ProtoMessage() {}
func (*Routes) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *Routes) GetRoute() []*Route {
if m != nil {
return m.Route
}
return nil
}
type GetAirportRequest struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (m *GetAirportRequest) Reset() { *m = GetAirportRequest{} }
func (m *GetAirportRequest) String() string { return proto.CompactTextString(m) }
func (*GetAirportRequest) ProtoMessage() {}
func (*GetAirportRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *GetAirportRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type GetAirlineRequest struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (m *GetAirlineRequest) Reset() { *m = GetAirlineRequest{} }
func (m *GetAirlineRequest) String() string { return proto.CompactTextString(m) }
func (*GetAirlineRequest) ProtoMessage() {}
func (*GetAirlineRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
func (m *GetAirlineRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type GetRoutesRequest struct {
AirlineId string `protobuf:"bytes,1,opt,name=airline_id,json=airlineId" json:"airline_id,omitempty"`
SourceAirportId string `protobuf:"bytes,2,opt,name=source_airport_id,json=sourceAirportId" json:"source_airport_id,omitempty"`
DestinationAirportId string `protobuf:"bytes,3,opt,name=destination_airport_id,json=destinationAirportId" json:"destination_airport_id,omitempty"`
}
func (m *GetRoutesRequest) Reset() { *m = GetRoutesRequest{} }
func (m *GetRoutesRequest) String() string { return proto.CompactTextString(m) }
func (*GetRoutesRequest) ProtoMessage() {}
func (*GetRoutesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *GetRoutesRequest) GetAirlineId() string {
if m != nil {
return m.AirlineId
}
return ""
}
func (m *GetRoutesRequest) GetSourceAirportId() string {
if m != nil {
return m.SourceAirportId
}
return ""
}
func (m *GetRoutesRequest) GetDestinationAirportId() string {
if m != nil {
return m.DestinationAirportId
}
return ""
}
type GetDistanceRequest struct {
SourceAirportId string `protobuf:"bytes,1,opt,name=source_airport_id,json=sourceAirportId" json:"source_airport_id,omitempty"`
DestinationAirportId string `protobuf:"bytes,2,opt,name=destination_airport_id,json=destinationAirportId" json:"destination_airport_id,omitempty"`
}
func (m *GetDistanceRequest) Reset() { *m = GetDistanceRequest{} }
func (m *GetDistanceRequest) String() string { return proto.CompactTextString(m) }
func (*GetDistanceRequest) ProtoMessage() {}
func (*GetDistanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
func (m *GetDistanceRequest) GetSourceAirportId() string {
if m != nil {
return m.SourceAirportId
}
return ""
}
func (m *GetDistanceRequest) GetDestinationAirportId() string {
if m != nil {
return m.DestinationAirportId
}
return ""
}
type GetMilesRequest struct {
// vie-ord-mem/jfk-vie
Route string `protobuf:"bytes,1,opt,name=route" json:"route,omitempty"`
MinMiles uint32 `protobuf:"varint,2,opt,name=min_miles,json=minMiles" json:"min_miles,omitempty"`
// 100 = 100%, default = 100%
Percentage uint32 `protobuf:"varint,3,opt,name=percentage" json:"percentage,omitempty"`
}
func (m *GetMilesRequest) Reset() { *m = GetMilesRequest{} }
func (m *GetMilesRequest) String() string { return proto.CompactTextString(m) }
func (*GetMilesRequest) ProtoMessage() {}
func (*GetMilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
func (m *GetMilesRequest) GetRoute() string {
if m != nil {
return m.Route
}
return ""
}
func (m *GetMilesRequest) GetMinMiles() uint32 {
if m != nil {
return m.MinMiles
}
return 0
}
func (m *GetMilesRequest) GetPercentage() uint32 {
if m != nil {
return m.Percentage
}
return 0
}
type GetMilesResponse struct {
Segment []*GetMilesResponse_Segment `protobuf:"bytes,1,rep,name=segment" json:"segment,omitempty"`
TotalMiles uint32 `protobuf:"varint,2,opt,name=total_miles,json=totalMiles" json:"total_miles,omitempty"`
TotalActualMiles uint32 `protobuf:"varint,3,opt,name=total_actual_miles,json=totalActualMiles" json:"total_actual_miles,omitempty"`
}
func (m *GetMilesResponse) Reset() { *m = GetMilesResponse{} }
func (m *GetMilesResponse) String() string { return proto.CompactTextString(m) }
func (*GetMilesResponse) ProtoMessage() {}
func (*GetMilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
func (m *GetMilesResponse) GetSegment() []*GetMilesResponse_Segment {
if m != nil {
return m.Segment
}
return nil
}
func (m *GetMilesResponse) GetTotalMiles() uint32 {
if m != nil {
return m.TotalMiles
}
return 0
}
func (m *GetMilesResponse) GetTotalActualMiles() uint32 {
if m != nil {
return m.TotalActualMiles
}
return 0
}
type GetMilesResponse_Segment struct {
SourceAirportId string `protobuf:"bytes,1,opt,name=source_airport_id,json=sourceAirportId" json:"source_airport_id,omitempty"`
DestinationAirportId string `protobuf:"bytes,2,opt,name=destination_airport_id,json=destinationAirportId" json:"destination_airport_id,omitempty"`
Miles uint32 `protobuf:"varint,3,opt,name=miles" json:"miles,omitempty"`
ActualMiles uint32 `protobuf:"varint,4,opt,name=actual_miles,json=actualMiles" json:"actual_miles,omitempty"`
}
func (m *GetMilesResponse_Segment) Reset() { *m = GetMilesResponse_Segment{} }
func (m *GetMilesResponse_Segment) String() string { return proto.CompactTextString(m) }
func (*GetMilesResponse_Segment) ProtoMessage() {}
func (*GetMilesResponse_Segment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13, 0} }
func (m *GetMilesResponse_Segment) GetSourceAirportId() string {
if m != nil {
return m.SourceAirportId
}
return ""
}
func (m *GetMilesResponse_Segment) GetDestinationAirportId() string {
if m != nil {
return m.DestinationAirportId
}
return ""
}
func (m *GetMilesResponse_Segment) GetMiles() uint32 {
if m != nil {
return m.Miles
}
return 0
}
func (m *GetMilesResponse_Segment) GetActualMiles() uint32 {
if m != nil {
return m.ActualMiles
}
return 0
}
func init() {
proto.RegisterType((*CSVStore)(nil), "openflights.CSVStore")
proto.RegisterType((*IDStore)(nil), "openflights.IDStore")
proto.RegisterType((*Airport)(nil), "openflights.Airport")
proto.RegisterType((*Airline)(nil), "openflights.Airline")
proto.RegisterType((*Route)(nil), "openflights.Route")
proto.RegisterType((*Airports)(nil), "openflights.Airports")
proto.RegisterType((*Airlines)(nil), "openflights.Airlines")
proto.RegisterType((*Routes)(nil), "openflights.Routes")
proto.RegisterType((*GetAirportRequest)(nil), "openflights.GetAirportRequest")
proto.RegisterType((*GetAirlineRequest)(nil), "openflights.GetAirlineRequest")
proto.RegisterType((*GetRoutesRequest)(nil), "openflights.GetRoutesRequest")
proto.RegisterType((*GetDistanceRequest)(nil), "openflights.GetDistanceRequest")
proto.RegisterType((*GetMilesRequest)(nil), "openflights.GetMilesRequest")
proto.RegisterType((*GetMilesResponse)(nil), "openflights.GetMilesResponse")
proto.RegisterType((*GetMilesResponse_Segment)(nil), "openflights.GetMilesResponse.Segment")
proto.RegisterEnum("openflights.DST", DST_name, DST_value)
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for API service
type APIClient interface {
GetAllAirports(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (API_GetAllAirportsClient, error)
GetAllAirlines(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (API_GetAllAirlinesClient, error)
GetAllRoutes(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (API_GetAllRoutesClient, error)
GetAirport(ctx context.Context, in *GetAirportRequest, opts ...grpc.CallOption) (*Airport, error)
GetAirline(ctx context.Context, in *GetAirlineRequest, opts ...grpc.CallOption) (*Airline, error)
GetRoutes(ctx context.Context, in *GetRoutesRequest, opts ...grpc.CallOption) (*Routes, error)
GetDistance(ctx context.Context, in *GetDistanceRequest, opts ...grpc.CallOption) (*google_protobuf2.UInt32Value, error)
GetMiles(ctx context.Context, in *GetMilesRequest, opts ...grpc.CallOption) (*GetMilesResponse, error)
}
type aPIClient struct {
cc *grpc.ClientConn
}
func NewAPIClient(cc *grpc.ClientConn) APIClient {
return &aPIClient{cc}
}
func (c *aPIClient) GetAllAirports(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (API_GetAllAirportsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_API_serviceDesc.Streams[0], c.cc, "/openflights.API/GetAllAirports", opts...)
if err != nil {
return nil, err
}
x := &aPIGetAllAirportsClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type API_GetAllAirportsClient interface {
Recv() (*Airport, error)
grpc.ClientStream
}
type aPIGetAllAirportsClient struct {
grpc.ClientStream
}
func (x *aPIGetAllAirportsClient) Recv() (*Airport, error) {
m := new(Airport)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *aPIClient) GetAllAirlines(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (API_GetAllAirlinesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_API_serviceDesc.Streams[1], c.cc, "/openflights.API/GetAllAirlines", opts...)
if err != nil {
return nil, err
}
x := &aPIGetAllAirlinesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type API_GetAllAirlinesClient interface {
Recv() (*Airline, error)
grpc.ClientStream
}
type aPIGetAllAirlinesClient struct {
grpc.ClientStream
}
func (x *aPIGetAllAirlinesClient) Recv() (*Airline, error) {
m := new(Airline)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *aPIClient) GetAllRoutes(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (API_GetAllRoutesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_API_serviceDesc.Streams[2], c.cc, "/openflights.API/GetAllRoutes", opts...)
if err != nil {
return nil, err
}
x := &aPIGetAllRoutesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type API_GetAllRoutesClient interface {
Recv() (*Route, error)
grpc.ClientStream
}
type aPIGetAllRoutesClient struct {
grpc.ClientStream
}
func (x *aPIGetAllRoutesClient) Recv() (*Route, error) {
m := new(Route)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *aPIClient) GetAirport(ctx context.Context, in *GetAirportRequest, opts ...grpc.CallOption) (*Airport, error) {
out := new(Airport)
err := grpc.Invoke(ctx, "/openflights.API/GetAirport", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aPIClient) GetAirline(ctx context.Context, in *GetAirlineRequest, opts ...grpc.CallOption) (*Airline, error) {
out := new(Airline)
err := grpc.Invoke(ctx, "/openflights.API/GetAirline", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aPIClient) GetRoutes(ctx context.Context, in *GetRoutesRequest, opts ...grpc.CallOption) (*Routes, error) {
out := new(Routes)
err := grpc.Invoke(ctx, "/openflights.API/GetRoutes", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aPIClient) GetDistance(ctx context.Context, in *GetDistanceRequest, opts ...grpc.CallOption) (*google_protobuf2.UInt32Value, error) {
out := new(google_protobuf2.UInt32Value)
err := grpc.Invoke(ctx, "/openflights.API/GetDistance", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aPIClient) GetMiles(ctx context.Context, in *GetMilesRequest, opts ...grpc.CallOption) (*GetMilesResponse, error) {
out := new(GetMilesResponse)
err := grpc.Invoke(ctx, "/openflights.API/GetMiles", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for API service
type APIServer interface {
GetAllAirports(*google_protobuf1.Empty, API_GetAllAirportsServer) error
GetAllAirlines(*google_protobuf1.Empty, API_GetAllAirlinesServer) error
GetAllRoutes(*google_protobuf1.Empty, API_GetAllRoutesServer) error
GetAirport(context.Context, *GetAirportRequest) (*Airport, error)
GetAirline(context.Context, *GetAirlineRequest) (*Airline, error)
GetRoutes(context.Context, *GetRoutesRequest) (*Routes, error)
GetDistance(context.Context, *GetDistanceRequest) (*google_protobuf2.UInt32Value, error)
GetMiles(context.Context, *GetMilesRequest) (*GetMilesResponse, error)
}
func RegisterAPIServer(s *grpc.Server, srv APIServer) {
s.RegisterService(&_API_serviceDesc, srv)
}
func _API_GetAllAirports_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(google_protobuf1.Empty)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(APIServer).GetAllAirports(m, &aPIGetAllAirportsServer{stream})
}
type API_GetAllAirportsServer interface {
Send(*Airport) error
grpc.ServerStream
}
type aPIGetAllAirportsServer struct {
grpc.ServerStream
}
func (x *aPIGetAllAirportsServer) Send(m *Airport) error {
return x.ServerStream.SendMsg(m)
}
func _API_GetAllAirlines_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(google_protobuf1.Empty)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(APIServer).GetAllAirlines(m, &aPIGetAllAirlinesServer{stream})
}
type API_GetAllAirlinesServer interface {
Send(*Airline) error
grpc.ServerStream
}
type aPIGetAllAirlinesServer struct {
grpc.ServerStream
}
func (x *aPIGetAllAirlinesServer) Send(m *Airline) error {
return x.ServerStream.SendMsg(m)
}
func _API_GetAllRoutes_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(google_protobuf1.Empty)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(APIServer).GetAllRoutes(m, &aPIGetAllRoutesServer{stream})
}
type API_GetAllRoutesServer interface {
Send(*Route) error
grpc.ServerStream
}
type aPIGetAllRoutesServer struct {
grpc.ServerStream
}
func (x *aPIGetAllRoutesServer) Send(m *Route) error {
return x.ServerStream.SendMsg(m)
}
func _API_GetAirport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetAirportRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(APIServer).GetAirport(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/openflights.API/GetAirport",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(APIServer).GetAirport(ctx, req.(*GetAirportRequest))
}
return interceptor(ctx, in, info, handler)
}
func _API_GetAirline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetAirlineRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(APIServer).GetAirline(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/openflights.API/GetAirline",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(APIServer).GetAirline(ctx, req.(*GetAirlineRequest))
}
return interceptor(ctx, in, info, handler)
}
func _API_GetRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetRoutesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(APIServer).GetRoutes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/openflights.API/GetRoutes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(APIServer).GetRoutes(ctx, req.(*GetRoutesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _API_GetDistance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDistanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(APIServer).GetDistance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/openflights.API/GetDistance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(APIServer).GetDistance(ctx, req.(*GetDistanceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _API_GetMiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetMilesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(APIServer).GetMiles(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/openflights.API/GetMiles",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(APIServer).GetMiles(ctx, req.(*GetMilesRequest))
}
return interceptor(ctx, in, info, handler)
}
var _API_serviceDesc = grpc.ServiceDesc{
ServiceName: "openflights.API",
HandlerType: (*APIServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetAirport",
Handler: _API_GetAirport_Handler,
},
{
MethodName: "GetAirline",
Handler: _API_GetAirline_Handler,
},
{
MethodName: "GetRoutes",
Handler: _API_GetRoutes_Handler,
},
{
MethodName: "GetDistance",
Handler: _API_GetDistance_Handler,
},
{
MethodName: "GetMiles",
Handler: _API_GetMiles_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "GetAllAirports",
Handler: _API_GetAllAirports_Handler,
ServerStreams: true,
},
{
StreamName: "GetAllAirlines",
Handler: _API_GetAllAirlines_Handler,
ServerStreams: true,
},
{
StreamName: "GetAllRoutes",
Handler: _API_GetAllRoutes_Handler,
ServerStreams: true,
},
},
Metadata: "openflights.proto",
}
func init() { proto.RegisterFile("openflights.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1199 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcb, 0x6e, 0xdb, 0x46,
0x17, 0x0e, 0x25, 0xeb, 0x76, 0xe4, 0x0b, 0x3d, 0x71, 0xfc, 0xf3, 0x57, 0x9c, 0xc4, 0x65, 0x50,
0x54, 0x35, 0x0a, 0xa9, 0x50, 0x8a, 0x20, 0x48, 0x81, 0x14, 0x6a, 0xec, 0x18, 0x5a, 0x24, 0x29,
0x28, 0x27, 0x0b, 0x6f, 0xd4, 0x89, 0x38, 0x52, 0x06, 0xa5, 0x48, 0x95, 0x1c, 0xa5, 0x70, 0x0d,
0x6f, 0xba, 0x29, 0x50, 0x74, 0x97, 0x57, 0xe8, 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