auction

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_auction_auction_proto protoreflect.FileDescriptor
View Source
var File_proto_auction_service_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auction.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListByVIN",
			Handler:    _Service_ListByVIN_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/auction/service.proto",
}

Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type Auction

type Auction struct {
	Brand                string       `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"`
	Model                string       `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	Year                 int32        `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"`
	Auction              string       `protobuf:"bytes,4,opt,name=auction,proto3" json:"auction,omitempty"`
	Seller               string       `protobuf:"bytes,5,opt,name=seller,proto3" json:"seller,omitempty"`
	LotNumber            string       `protobuf:"bytes,6,opt,name=lot_number,json=lotNumber,proto3" json:"lot_number,omitempty"`
	Price                int32        `protobuf:"varint,7,opt,name=price,proto3" json:"price,omitempty"`
	ImageUrls            []string     `protobuf:"bytes,8,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"`
	DateOfSale           *common.Date `protobuf:"bytes,9,opt,name=date_of_sale,json=dateOfSale,proto3" json:"date_of_sale,omitempty"`
	Vin                  string       `protobuf:"bytes,10,opt,name=vin,proto3" json:"vin,omitempty"`
	Condition            string       `protobuf:"bytes,11,opt,name=condition,proto3" json:"condition,omitempty"`
	Engine               string       `protobuf:"bytes,12,opt,name=engine,proto3" json:"engine,omitempty"`
	Mileage              int32        `protobuf:"varint,13,opt,name=mileage,proto3" json:"mileage,omitempty"`
	PrimaryDamage        string       `protobuf:"bytes,14,opt,name=primary_damage,json=primaryDamage,proto3" json:"primary_damage,omitempty"`
	SecondaryDamage      string       `protobuf:"bytes,15,opt,name=secondary_damage,json=secondaryDamage,proto3" json:"secondary_damage,omitempty"`
	EstimatedRetailValue int32        `protobuf:"varint,16,opt,name=estimated_retail_value,json=estimatedRetailValue,proto3" json:"estimated_retail_value,omitempty"`
	EstimatedRepairCost  int32        `protobuf:"varint,17,opt,name=estimated_repair_cost,json=estimatedRepairCost,proto3" json:"estimated_repair_cost,omitempty"`
	GearboxType          string       `protobuf:"bytes,18,opt,name=gearbox_type,json=gearboxType,proto3" json:"gearbox_type,omitempty"`
	Color                string       `protobuf:"bytes,19,opt,name=color,proto3" json:"color,omitempty"`
	WheelDriveType       string       `protobuf:"bytes,20,opt,name=wheel_drive_type,json=wheelDriveType,proto3" json:"wheel_drive_type,omitempty"`
	Fuel                 string       `protobuf:"bytes,21,opt,name=fuel,proto3" json:"fuel,omitempty"`
	// contains filtered or unexported fields
}

func (*Auction) Descriptor deprecated

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

Deprecated: Use Auction.ProtoReflect.Descriptor instead.

func (*Auction) GetAuction

func (x *Auction) GetAuction() string

func (*Auction) GetBrand

func (x *Auction) GetBrand() string

func (*Auction) GetColor

func (x *Auction) GetColor() string

func (*Auction) GetCondition

func (x *Auction) GetCondition() string

func (*Auction) GetDateOfSale

func (x *Auction) GetDateOfSale() *common.Date

func (*Auction) GetEngine

func (x *Auction) GetEngine() string

func (*Auction) GetEstimatedRepairCost

func (x *Auction) GetEstimatedRepairCost() int32

func (*Auction) GetEstimatedRetailValue

func (x *Auction) GetEstimatedRetailValue() int32

func (*Auction) GetFuel

func (x *Auction) GetFuel() string

func (*Auction) GetGearboxType

func (x *Auction) GetGearboxType() string

func (*Auction) GetImageUrls

func (x *Auction) GetImageUrls() []string

func (*Auction) GetLotNumber

func (x *Auction) GetLotNumber() string

func (*Auction) GetMileage

func (x *Auction) GetMileage() int32

func (*Auction) GetModel

func (x *Auction) GetModel() string

func (*Auction) GetPrice

func (x *Auction) GetPrice() int32

func (*Auction) GetPrimaryDamage

func (x *Auction) GetPrimaryDamage() string

func (*Auction) GetSecondaryDamage

func (x *Auction) GetSecondaryDamage() string

func (*Auction) GetSeller

func (x *Auction) GetSeller() string

func (*Auction) GetVin

func (x *Auction) GetVin() string

func (*Auction) GetWheelDriveType

func (x *Auction) GetWheelDriveType() string

func (*Auction) GetYear

func (x *Auction) GetYear() int32

func (*Auction) ProtoMessage

func (*Auction) ProtoMessage()

func (*Auction) ProtoReflect

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

func (*Auction) Reset

func (x *Auction) Reset()

func (*Auction) String

func (x *Auction) String() string

type ListByVINRequest

type ListByVINRequest struct {
	Vin string `protobuf:"bytes,1,opt,name=vin,proto3" json:"vin,omitempty"`
	// contains filtered or unexported fields
}

func (*ListByVINRequest) Descriptor deprecated

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

Deprecated: Use ListByVINRequest.ProtoReflect.Descriptor instead.

func (*ListByVINRequest) GetVin

func (x *ListByVINRequest) GetVin() string

func (*ListByVINRequest) ProtoMessage

func (*ListByVINRequest) ProtoMessage()

func (*ListByVINRequest) ProtoReflect

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

func (*ListByVINRequest) Reset

func (x *ListByVINRequest) Reset()

func (*ListByVINRequest) String

func (x *ListByVINRequest) String() string

type ListByVINResponse

type ListByVINResponse struct {
	Auction []*Auction `protobuf:"bytes,1,rep,name=auction,proto3" json:"auction,omitempty"`
	// contains filtered or unexported fields
}

func (*ListByVINResponse) Descriptor deprecated

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

Deprecated: Use ListByVINResponse.ProtoReflect.Descriptor instead.

func (*ListByVINResponse) GetAuction

func (x *ListByVINResponse) GetAuction() []*Auction

func (*ListByVINResponse) ProtoMessage

func (*ListByVINResponse) ProtoMessage()

func (*ListByVINResponse) ProtoReflect

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

func (*ListByVINResponse) Reset

func (x *ListByVINResponse) Reset()

func (*ListByVINResponse) String

func (x *ListByVINResponse) String() string

type ServiceClient

type ServiceClient interface {
	ListByVIN(ctx context.Context, in *ListByVINRequest, opts ...grpc.CallOption) (*ListByVINResponse, error)
}

ServiceClient is the client API for Service 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 NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	ListByVIN(context.Context, *ListByVINRequest) (*ListByVINResponse, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) ListByVIN

type UnsafeServiceServer

type UnsafeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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