Documentation ¶
Index ¶
- Variables
- type GetVehiclesRequest
- func (*GetVehiclesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVehiclesRequest) GetIds() []string
- func (*GetVehiclesRequest) ProtoMessage()
- func (x *GetVehiclesRequest) ProtoReflect() protoreflect.Message
- func (x *GetVehiclesRequest) Reset()
- func (x *GetVehiclesRequest) String() string
- type GetVehiclesResponse
- func (*GetVehiclesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVehiclesResponse) GetVehicles() []*Vehicle
- func (*GetVehiclesResponse) ProtoMessage()
- func (x *GetVehiclesResponse) ProtoReflect() protoreflect.Message
- func (x *GetVehiclesResponse) Reset()
- func (x *GetVehiclesResponse) String() string
- type ListVehiclesRequest
- func (*ListVehiclesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVehiclesRequest) GetPageSize() int32
- func (x *ListVehiclesRequest) GetPageToken() string
- func (*ListVehiclesRequest) ProtoMessage()
- func (x *ListVehiclesRequest) ProtoReflect() protoreflect.Message
- func (x *ListVehiclesRequest) Reset()
- func (x *ListVehiclesRequest) String() string
- type ListVehiclesResponse
- func (*ListVehiclesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVehiclesResponse) GetNextPageToken() string
- func (x *ListVehiclesResponse) GetVehicles() []*Vehicle
- func (*ListVehiclesResponse) ProtoMessage()
- func (x *ListVehiclesResponse) ProtoReflect() protoreflect.Message
- func (x *ListVehiclesResponse) Reset()
- func (x *ListVehiclesResponse) String() string
- type Vehicle
- func (*Vehicle) Descriptor() ([]byte, []int)deprecated
- func (x *Vehicle) GetCargoCapacity() float64
- func (x *Vehicle) GetClass() string
- func (x *Vehicle) GetConsumables() string
- func (x *Vehicle) GetCostInCredits() int64
- func (x *Vehicle) GetCreated() *timestamppb.Timestamp
- func (x *Vehicle) GetCrew() int64
- func (x *Vehicle) GetEdited() *timestamppb.Timestamp
- func (x *Vehicle) GetFilmIds() []string
- func (x *Vehicle) GetId() string
- func (x *Vehicle) GetLength() float64
- func (x *Vehicle) GetManufacturers() []string
- func (x *Vehicle) GetMaxAtmospheringSpeed() int64
- func (x *Vehicle) GetModel() string
- func (x *Vehicle) GetName() string
- func (x *Vehicle) GetPassengers() int64
- func (x *Vehicle) GetPilotIds() []string
- func (*Vehicle) ProtoMessage()
- func (x *Vehicle) ProtoReflect() protoreflect.Message
- func (x *Vehicle) Reset()
- func (x *Vehicle) String() string
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) GetCreated ¶
func (x *Vehicle) GetCreated() *timestamppb.Timestamp
func (*Vehicle) GetEdited ¶
func (x *Vehicle) GetEdited() *timestamppb.Timestamp
func (*Vehicle) ProtoReflect ¶
func (x *Vehicle) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.