vehiclev1

package
v1.34.0-20240611213934... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_buf_knit_demo_swapi_vehicle_v1_vehicle_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetVehiclesRequest

type GetVehiclesRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVehiclesRequest) Descriptor deprecated

func (*GetVehiclesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVehiclesRequest.ProtoReflect.Descriptor instead.

func (*GetVehiclesRequest) GetIds

func (x *GetVehiclesRequest) GetIds() []string

func (*GetVehiclesRequest) ProtoMessage

func (*GetVehiclesRequest) ProtoMessage()

func (*GetVehiclesRequest) ProtoReflect

func (x *GetVehiclesRequest) ProtoReflect() protoreflect.Message

func (*GetVehiclesRequest) Reset

func (x *GetVehiclesRequest) Reset()

func (*GetVehiclesRequest) String

func (x *GetVehiclesRequest) String() string

type GetVehiclesResponse

type GetVehiclesResponse struct {
	Vehicles []*Vehicle `protobuf:"bytes,1,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVehiclesResponse) Descriptor deprecated

func (*GetVehiclesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVehiclesResponse.ProtoReflect.Descriptor instead.

func (*GetVehiclesResponse) GetVehicles

func (x *GetVehiclesResponse) GetVehicles() []*Vehicle

func (*GetVehiclesResponse) ProtoMessage

func (*GetVehiclesResponse) ProtoMessage()

func (*GetVehiclesResponse) ProtoReflect

func (x *GetVehiclesResponse) ProtoReflect() protoreflect.Message

func (*GetVehiclesResponse) Reset

func (x *GetVehiclesResponse) Reset()

func (*GetVehiclesResponse) String

func (x *GetVehiclesResponse) String() string

type ListVehiclesRequest

type ListVehiclesRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVehiclesRequest) Descriptor deprecated

func (*ListVehiclesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVehiclesRequest.ProtoReflect.Descriptor instead.

func (*ListVehiclesRequest) GetPageSize

func (x *ListVehiclesRequest) GetPageSize() int32

func (*ListVehiclesRequest) GetPageToken

func (x *ListVehiclesRequest) GetPageToken() string

func (*ListVehiclesRequest) ProtoMessage

func (*ListVehiclesRequest) ProtoMessage()

func (*ListVehiclesRequest) ProtoReflect

func (x *ListVehiclesRequest) ProtoReflect() protoreflect.Message

func (*ListVehiclesRequest) Reset

func (x *ListVehiclesRequest) Reset()

func (*ListVehiclesRequest) String

func (x *ListVehiclesRequest) String() string

type ListVehiclesResponse

type ListVehiclesResponse struct {
	Vehicles      []*Vehicle `protobuf:"bytes,1,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
	NextPageToken string     `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVehiclesResponse) Descriptor deprecated

func (*ListVehiclesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVehiclesResponse.ProtoReflect.Descriptor instead.

func (*ListVehiclesResponse) GetNextPageToken

func (x *ListVehiclesResponse) GetNextPageToken() string

func (*ListVehiclesResponse) GetVehicles

func (x *ListVehiclesResponse) GetVehicles() []*Vehicle

func (*ListVehiclesResponse) ProtoMessage

func (*ListVehiclesResponse) ProtoMessage()

func (*ListVehiclesResponse) ProtoReflect

func (x *ListVehiclesResponse) ProtoReflect() protoreflect.Message

func (*ListVehiclesResponse) Reset

func (x *ListVehiclesResponse) Reset()

func (*ListVehiclesResponse) String

func (x *ListVehiclesResponse) String() string

type Vehicle

type Vehicle struct {
	Id                   string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CargoCapacity        float64                `protobuf:"fixed64,4,opt,name=cargo_capacity,json=cargoCapacity,proto3" json:"cargo_capacity,omitempty"`
	Consumables          string                 `protobuf:"bytes,5,opt,name=consumables,proto3" json:"consumables,omitempty"`
	CostInCredits        *int64                 `protobuf:"varint,6,opt,name=cost_in_credits,json=costInCredits,proto3,oneof" json:"cost_in_credits,omitempty"`
	Crew                 int64                  `protobuf:"varint,7,opt,name=crew,proto3" json:"crew,omitempty"`
	Length               float64                `protobuf:"fixed64,9,opt,name=length,proto3" json:"length,omitempty"`
	Manufacturers        []string               `protobuf:"bytes,10,rep,name=manufacturers,proto3" json:"manufacturers,omitempty"`
	Model                string                 `protobuf:"bytes,11,opt,name=model,proto3" json:"model,omitempty"`
	MaxAtmospheringSpeed *int64                 `` /* 131-byte string literal not displayed */
	Passengers           int64                  `protobuf:"varint,13,opt,name=passengers,proto3" json:"passengers,omitempty"`
	Class                string                 `protobuf:"bytes,14,opt,name=class,proto3" json:"class,omitempty"`
	PilotIds             []string               `protobuf:"bytes,15,rep,name=pilot_ids,json=pilotIds,proto3" json:"pilot_ids,omitempty"`
	FilmIds              []string               `protobuf:"bytes,16,rep,name=film_ids,json=filmIds,proto3" json:"film_ids,omitempty"`
	Created              *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=created,proto3" json:"created,omitempty"`
	Edited               *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=edited,proto3" json:"edited,omitempty"`
	// contains filtered or unexported fields
}

func (*Vehicle) Descriptor deprecated

func (*Vehicle) Descriptor() ([]byte, []int)

Deprecated: Use Vehicle.ProtoReflect.Descriptor instead.

func (*Vehicle) GetCargoCapacity

func (x *Vehicle) GetCargoCapacity() float64

func (*Vehicle) GetClass

func (x *Vehicle) GetClass() string

func (*Vehicle) GetConsumables

func (x *Vehicle) GetConsumables() string

func (*Vehicle) GetCostInCredits

func (x *Vehicle) GetCostInCredits() int64

func (*Vehicle) GetCreated

func (x *Vehicle) GetCreated() *timestamppb.Timestamp

func (*Vehicle) GetCrew

func (x *Vehicle) GetCrew() int64

func (*Vehicle) GetEdited

func (x *Vehicle) GetEdited() *timestamppb.Timestamp

func (*Vehicle) GetFilmIds

func (x *Vehicle) GetFilmIds() []string

func (*Vehicle) GetId

func (x *Vehicle) GetId() string

func (*Vehicle) GetLength

func (x *Vehicle) GetLength() float64

func (*Vehicle) GetManufacturers

func (x *Vehicle) GetManufacturers() []string

func (*Vehicle) GetMaxAtmospheringSpeed

func (x *Vehicle) GetMaxAtmospheringSpeed() int64

func (*Vehicle) GetModel

func (x *Vehicle) GetModel() string

func (*Vehicle) GetName

func (x *Vehicle) GetName() string

func (*Vehicle) GetPassengers

func (x *Vehicle) GetPassengers() int64

func (*Vehicle) GetPilotIds

func (x *Vehicle) GetPilotIds() []string

func (*Vehicle) ProtoMessage

func (*Vehicle) ProtoMessage()

func (*Vehicle) ProtoReflect

func (x *Vehicle) ProtoReflect() protoreflect.Message

func (*Vehicle) Reset

func (x *Vehicle) Reset()

func (*Vehicle) String

func (x *Vehicle) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL