proto

package
v0.0.0-...-2495fac Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BudgetType_name = map[int32]string{
		0: "YEARLY",
		2: "QUARTERLY",
		3: "INFINITE",
	}
	BudgetType_value = map[string]int32{
		"YEARLY":    0,
		"QUARTERLY": 2,
		"INFINITE":  3,
	}
)

Enum value maps for BudgetType.

View Source
var File_recordbudget_proto protoreflect.FileDescriptor
View Source
var RecordBudgetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "recordbudget.RecordBudgetService",
	HandlerType: (*RecordBudgetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddBudget",
			Handler:    _RecordBudgetService_AddBudget_Handler,
		},
		{
			MethodName: "SeedBudget",
			Handler:    _RecordBudgetService_SeedBudget_Handler,
		},
		{
			MethodName: "GetBudget",
			Handler:    _RecordBudgetService_GetBudget_Handler,
		},
		{
			MethodName: "GetSold",
			Handler:    _RecordBudgetService_GetSold_Handler,
		},
		{
			MethodName: "GetOrders",
			Handler:    _RecordBudgetService_GetOrders_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "recordbudget.proto",
}

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

Functions

func RegisterRecordBudgetServiceServer

func RegisterRecordBudgetServiceServer(s grpc.ServiceRegistrar, srv RecordBudgetServiceServer)

Types

type AddBudgetRequest

type AddBudgetRequest struct {
	Name    string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type    BudgetType `protobuf:"varint,2,opt,name=type,proto3,enum=recordbudget.BudgetType" json:"type,omitempty"`
	SaleFed bool       `protobuf:"varint,3,opt,name=sale_fed,json=saleFed,proto3" json:"sale_fed,omitempty"`
	Start   int64      `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"`
	End     int64      `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBudgetRequest) Descriptor deprecated

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

Deprecated: Use AddBudgetRequest.ProtoReflect.Descriptor instead.

func (*AddBudgetRequest) GetEnd

func (x *AddBudgetRequest) GetEnd() int64

func (*AddBudgetRequest) GetName

func (x *AddBudgetRequest) GetName() string

func (*AddBudgetRequest) GetSaleFed

func (x *AddBudgetRequest) GetSaleFed() bool

func (*AddBudgetRequest) GetStart

func (x *AddBudgetRequest) GetStart() int64

func (*AddBudgetRequest) GetType

func (x *AddBudgetRequest) GetType() BudgetType

func (*AddBudgetRequest) ProtoMessage

func (*AddBudgetRequest) ProtoMessage()

func (*AddBudgetRequest) ProtoReflect

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

func (*AddBudgetRequest) Reset

func (x *AddBudgetRequest) Reset()

func (*AddBudgetRequest) String

func (x *AddBudgetRequest) String() string

type AddBudgetResponse

type AddBudgetResponse struct {
	// contains filtered or unexported fields
}

func (*AddBudgetResponse) Descriptor deprecated

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

Deprecated: Use AddBudgetResponse.ProtoReflect.Descriptor instead.

func (*AddBudgetResponse) ProtoMessage

func (*AddBudgetResponse) ProtoMessage()

func (*AddBudgetResponse) ProtoReflect

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

func (*AddBudgetResponse) Reset

func (x *AddBudgetResponse) Reset()

func (*AddBudgetResponse) String

func (x *AddBudgetResponse) String() string

type BoughtRecord

type BoughtRecord struct {
	InstanceId int32  `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Cost       int32  `protobuf:"varint,2,opt,name=cost,proto3" json:"cost,omitempty"`
	BoughtDate int64  `protobuf:"varint,3,opt,name=bought_date,json=boughtDate,proto3" json:"bought_date,omitempty"`
	Budget     string `protobuf:"bytes,4,opt,name=budget,proto3" json:"budget,omitempty"`
	// contains filtered or unexported fields
}

func (*BoughtRecord) Descriptor deprecated

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

Deprecated: Use BoughtRecord.ProtoReflect.Descriptor instead.

func (*BoughtRecord) GetBoughtDate

func (x *BoughtRecord) GetBoughtDate() int64

func (*BoughtRecord) GetBudget

func (x *BoughtRecord) GetBudget() string

func (*BoughtRecord) GetCost

func (x *BoughtRecord) GetCost() int32

func (*BoughtRecord) GetInstanceId

func (x *BoughtRecord) GetInstanceId() int32

func (*BoughtRecord) ProtoMessage

func (*BoughtRecord) ProtoMessage()

func (*BoughtRecord) ProtoReflect

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

func (*BoughtRecord) Reset

func (x *BoughtRecord) Reset()

func (*BoughtRecord) String

func (x *BoughtRecord) String() string

type Budget

type Budget struct {
	Name      string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type      BudgetType      `protobuf:"varint,2,opt,name=type,proto3,enum=recordbudget.BudgetType" json:"type,omitempty"`
	Seeds     map[int64]int32 `` /* 153-byte string literal not displayed */
	Spends    map[int32]int32 `` /* 155-byte string literal not displayed */
	Remaining int32           `protobuf:"varint,5,opt,name=remaining,proto3" json:"remaining,omitempty"`
	SaleFed   bool            `protobuf:"varint,6,opt,name=sale_fed,json=saleFed,proto3" json:"sale_fed,omitempty"`
	Solds     int32           `protobuf:"varint,7,opt,name=solds,proto3" json:"solds,omitempty"`
	Start     int64           `protobuf:"varint,8,opt,name=start,proto3" json:"start,omitempty"`
	End       int64           `protobuf:"varint,9,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*Budget) Descriptor deprecated

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

Deprecated: Use Budget.ProtoReflect.Descriptor instead.

func (*Budget) GetEnd

func (x *Budget) GetEnd() int64

func (*Budget) GetName

func (x *Budget) GetName() string

func (*Budget) GetRemaining

func (x *Budget) GetRemaining() int32

func (*Budget) GetSaleFed

func (x *Budget) GetSaleFed() bool

func (*Budget) GetSeeds

func (x *Budget) GetSeeds() map[int64]int32

func (*Budget) GetSolds

func (x *Budget) GetSolds() int32

func (*Budget) GetSpends

func (x *Budget) GetSpends() map[int32]int32

func (*Budget) GetStart

func (x *Budget) GetStart() int64

func (*Budget) GetType

func (x *Budget) GetType() BudgetType

func (*Budget) ProtoMessage

func (*Budget) ProtoMessage()

func (*Budget) ProtoReflect

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

func (*Budget) Reset

func (x *Budget) Reset()

func (*Budget) String

func (x *Budget) String() string

type BudgetType

type BudgetType int32
const (
	BudgetType_YEARLY    BudgetType = 0
	BudgetType_QUARTERLY BudgetType = 2
	BudgetType_INFINITE  BudgetType = 3
)

func (BudgetType) Descriptor

func (BudgetType) Descriptor() protoreflect.EnumDescriptor

func (BudgetType) Enum

func (x BudgetType) Enum() *BudgetType

func (BudgetType) EnumDescriptor deprecated

func (BudgetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BudgetType.Descriptor instead.

func (BudgetType) Number

func (x BudgetType) Number() protoreflect.EnumNumber

func (BudgetType) String

func (x BudgetType) String() string

func (BudgetType) Type

type Config

type Config struct {
	LastRecordcollectionPull int64              `` /* 136-byte string literal not displayed */
	Purchases                []*BoughtRecord    `protobuf:"bytes,2,rep,name=purchases,proto3" json:"purchases,omitempty"`
	PrePurchases             []*PreBoughtRecord `protobuf:"bytes,3,rep,name=pre_purchases,json=prePurchases,proto3" json:"pre_purchases,omitempty"`
	Solds                    []*SoldRecord      `protobuf:"bytes,4,rep,name=solds,proto3" json:"solds,omitempty"`
	LastOrderPull            int32              `protobuf:"varint,6,opt,name=last_order_pull,json=lastOrderPull,proto3" json:"last_order_pull,omitempty"`
	RotateOrderPull          int32              `protobuf:"varint,10,opt,name=rotate_order_pull,json=rotateOrderPull,proto3" json:"rotate_order_pull,omitempty"`
	Orders                   []*Order           `protobuf:"bytes,5,rep,name=orders,proto3" json:"orders,omitempty"`
	LastOrderPullDate        int64              `protobuf:"varint,7,opt,name=last_order_pull_date,json=lastOrderPullDate,proto3" json:"last_order_pull_date,omitempty"`
	Budgets                  []*Budget          `protobuf:"bytes,8,rep,name=budgets,proto3" json:"budgets,omitempty"`
	Tracking                 int32              `protobuf:"varint,9,opt,name=tracking,proto3" json:"tracking,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBudgets

func (x *Config) GetBudgets() []*Budget

func (*Config) GetLastOrderPull

func (x *Config) GetLastOrderPull() int32

func (*Config) GetLastOrderPullDate

func (x *Config) GetLastOrderPullDate() int64

func (*Config) GetLastRecordcollectionPull

func (x *Config) GetLastRecordcollectionPull() int64

func (*Config) GetOrders

func (x *Config) GetOrders() []*Order

func (*Config) GetPrePurchases

func (x *Config) GetPrePurchases() []*PreBoughtRecord

func (*Config) GetPurchases

func (x *Config) GetPurchases() []*BoughtRecord

func (*Config) GetRotateOrderPull

func (x *Config) GetRotateOrderPull() int32

func (*Config) GetSolds

func (x *Config) GetSolds() []*SoldRecord

func (*Config) GetTracking

func (x *Config) GetTracking() int32

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type GetBudgetRequest

type GetBudgetRequest struct {
	Year   int32  `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
	Budget string `protobuf:"bytes,2,opt,name=budget,proto3" json:"budget,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBudgetRequest) Descriptor deprecated

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

Deprecated: Use GetBudgetRequest.ProtoReflect.Descriptor instead.

func (*GetBudgetRequest) GetBudget

func (x *GetBudgetRequest) GetBudget() string

func (*GetBudgetRequest) GetYear

func (x *GetBudgetRequest) GetYear() int32

func (*GetBudgetRequest) ProtoMessage

func (*GetBudgetRequest) ProtoMessage()

func (*GetBudgetRequest) ProtoReflect

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

func (*GetBudgetRequest) Reset

func (x *GetBudgetRequest) Reset()

func (*GetBudgetRequest) String

func (x *GetBudgetRequest) String() string

type GetBudgetResponse

type GetBudgetResponse struct {
	Spends          int32               `protobuf:"varint,1,opt,name=spends,proto3" json:"spends,omitempty"`
	PreSpends       int32               `protobuf:"varint,5,opt,name=pre_spends,json=preSpends,proto3" json:"pre_spends,omitempty"`
	Solds           int32               `protobuf:"varint,6,opt,name=solds,proto3" json:"solds,omitempty"`
	Budget          int32               `protobuf:"varint,2,opt,name=budget,proto3" json:"budget,omitempty"`
	PurchasedIds    []int32             `protobuf:"varint,3,rep,packed,name=purchased_ids,json=purchasedIds,proto3" json:"purchased_ids,omitempty"`
	PrePurchasedIds []int32             `protobuf:"varint,4,rep,packed,name=pre_purchased_ids,json=prePurchasedIds,proto3" json:"pre_purchased_ids,omitempty"`
	BudgetState     map[string]*Records `` /* 182-byte string literal not displayed */
	ChosenBudget    *Budget             `protobuf:"bytes,8,opt,name=chosen_budget,json=chosenBudget,proto3" json:"chosen_budget,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBudgetResponse) Descriptor deprecated

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

Deprecated: Use GetBudgetResponse.ProtoReflect.Descriptor instead.

func (*GetBudgetResponse) GetBudget

func (x *GetBudgetResponse) GetBudget() int32

func (*GetBudgetResponse) GetBudgetState

func (x *GetBudgetResponse) GetBudgetState() map[string]*Records

func (*GetBudgetResponse) GetChosenBudget

func (x *GetBudgetResponse) GetChosenBudget() *Budget

func (*GetBudgetResponse) GetPrePurchasedIds

func (x *GetBudgetResponse) GetPrePurchasedIds() []int32

func (*GetBudgetResponse) GetPreSpends

func (x *GetBudgetResponse) GetPreSpends() int32

func (*GetBudgetResponse) GetPurchasedIds

func (x *GetBudgetResponse) GetPurchasedIds() []int32

func (*GetBudgetResponse) GetSolds

func (x *GetBudgetResponse) GetSolds() int32

func (*GetBudgetResponse) GetSpends

func (x *GetBudgetResponse) GetSpends() int32

func (*GetBudgetResponse) ProtoMessage

func (*GetBudgetResponse) ProtoMessage()

func (*GetBudgetResponse) ProtoReflect

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

func (*GetBudgetResponse) Reset

func (x *GetBudgetResponse) Reset()

func (*GetBudgetResponse) String

func (x *GetBudgetResponse) String() string

type GetOrdersRequest

type GetOrdersRequest struct {
	// contains filtered or unexported fields
}

func (*GetOrdersRequest) Descriptor deprecated

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

Deprecated: Use GetOrdersRequest.ProtoReflect.Descriptor instead.

func (*GetOrdersRequest) ProtoMessage

func (*GetOrdersRequest) ProtoMessage()

func (*GetOrdersRequest) ProtoReflect

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

func (*GetOrdersRequest) Reset

func (x *GetOrdersRequest) Reset()

func (*GetOrdersRequest) String

func (x *GetOrdersRequest) String() string

type GetOrdersResponse

type GetOrdersResponse struct {
	Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrdersResponse) Descriptor deprecated

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

Deprecated: Use GetOrdersResponse.ProtoReflect.Descriptor instead.

func (*GetOrdersResponse) GetOrders

func (x *GetOrdersResponse) GetOrders() []*Order

func (*GetOrdersResponse) ProtoMessage

func (*GetOrdersResponse) ProtoMessage()

func (*GetOrdersResponse) ProtoReflect

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

func (*GetOrdersResponse) Reset

func (x *GetOrdersResponse) Reset()

func (*GetOrdersResponse) String

func (x *GetOrdersResponse) String() string

type GetSoldRequest

type GetSoldRequest struct {
	InstanceId int32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSoldRequest) Descriptor deprecated

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

Deprecated: Use GetSoldRequest.ProtoReflect.Descriptor instead.

func (*GetSoldRequest) GetInstanceId

func (x *GetSoldRequest) GetInstanceId() int32

func (*GetSoldRequest) ProtoMessage

func (*GetSoldRequest) ProtoMessage()

func (*GetSoldRequest) ProtoReflect

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

func (*GetSoldRequest) Reset

func (x *GetSoldRequest) Reset()

func (*GetSoldRequest) String

func (x *GetSoldRequest) String() string

type GetSoldResponse

type GetSoldResponse struct {
	Record []*SoldRecord `protobuf:"bytes,1,rep,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSoldResponse) Descriptor deprecated

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

Deprecated: Use GetSoldResponse.ProtoReflect.Descriptor instead.

func (*GetSoldResponse) GetRecord

func (x *GetSoldResponse) GetRecord() []*SoldRecord

func (*GetSoldResponse) ProtoMessage

func (*GetSoldResponse) ProtoMessage()

func (*GetSoldResponse) ProtoReflect

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

func (*GetSoldResponse) Reset

func (x *GetSoldResponse) Reset()

func (*GetSoldResponse) String

func (x *GetSoldResponse) String() string

type Order

type Order struct {
	OrderId   string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	ListingId int64  `protobuf:"varint,2,opt,name=listing_id,json=listingId,proto3" json:"listing_id,omitempty"`
	SaleDate  int64  `protobuf:"varint,3,opt,name=sale_date,json=saleDate,proto3" json:"sale_date,omitempty"`
	SalePrice int32  `protobuf:"varint,4,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`
	Cancelled bool   `protobuf:"varint,5,opt,name=cancelled,proto3" json:"cancelled,omitempty"`
	// contains filtered or unexported fields
}

func (*Order) Descriptor deprecated

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

Deprecated: Use Order.ProtoReflect.Descriptor instead.

func (*Order) GetCancelled

func (x *Order) GetCancelled() bool

func (*Order) GetListingId

func (x *Order) GetListingId() int64

func (*Order) GetOrderId

func (x *Order) GetOrderId() string

func (*Order) GetSaleDate

func (x *Order) GetSaleDate() int64

func (*Order) GetSalePrice

func (x *Order) GetSalePrice() int32

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) ProtoReflect

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

func (*Order) Reset

func (x *Order) Reset()

func (*Order) String

func (x *Order) String() string

type PreBoughtRecord

type PreBoughtRecord struct {
	Id   int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Cost int32 `protobuf:"varint,2,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

func (*PreBoughtRecord) Descriptor deprecated

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

Deprecated: Use PreBoughtRecord.ProtoReflect.Descriptor instead.

func (*PreBoughtRecord) GetCost

func (x *PreBoughtRecord) GetCost() int32

func (*PreBoughtRecord) GetId

func (x *PreBoughtRecord) GetId() int32

func (*PreBoughtRecord) ProtoMessage

func (*PreBoughtRecord) ProtoMessage()

func (*PreBoughtRecord) ProtoReflect

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

func (*PreBoughtRecord) Reset

func (x *PreBoughtRecord) Reset()

func (*PreBoughtRecord) String

func (x *PreBoughtRecord) String() string

type RecordBudgetServiceClient

type RecordBudgetServiceClient interface {
	AddBudget(ctx context.Context, in *AddBudgetRequest, opts ...grpc.CallOption) (*AddBudgetResponse, error)
	SeedBudget(ctx context.Context, in *SeedBudgetRequest, opts ...grpc.CallOption) (*SeedBudgetResponse, error)
	GetBudget(ctx context.Context, in *GetBudgetRequest, opts ...grpc.CallOption) (*GetBudgetResponse, error)
	GetSold(ctx context.Context, in *GetSoldRequest, opts ...grpc.CallOption) (*GetSoldResponse, error)
	GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error)
}

RecordBudgetServiceClient is the client API for RecordBudgetService 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.

type RecordBudgetServiceServer

RecordBudgetServiceServer is the server API for RecordBudgetService service. All implementations should embed UnimplementedRecordBudgetServiceServer for forward compatibility

type Records

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

func (*Records) Descriptor deprecated

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

Deprecated: Use Records.ProtoReflect.Descriptor instead.

func (*Records) GetRecords

func (x *Records) GetRecords() []*BoughtRecord

func (*Records) ProtoMessage

func (*Records) ProtoMessage()

func (*Records) ProtoReflect

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

func (*Records) Reset

func (x *Records) Reset()

func (*Records) String

func (x *Records) String() string

type SeedBudgetRequest

type SeedBudgetRequest struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Timestamp int64  `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Amount    int32  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*SeedBudgetRequest) Descriptor deprecated

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

Deprecated: Use SeedBudgetRequest.ProtoReflect.Descriptor instead.

func (*SeedBudgetRequest) GetAmount

func (x *SeedBudgetRequest) GetAmount() int32

func (*SeedBudgetRequest) GetName

func (x *SeedBudgetRequest) GetName() string

func (*SeedBudgetRequest) GetTimestamp

func (x *SeedBudgetRequest) GetTimestamp() int64

func (*SeedBudgetRequest) ProtoMessage

func (*SeedBudgetRequest) ProtoMessage()

func (*SeedBudgetRequest) ProtoReflect

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

func (*SeedBudgetRequest) Reset

func (x *SeedBudgetRequest) Reset()

func (*SeedBudgetRequest) String

func (x *SeedBudgetRequest) String() string

type SeedBudgetResponse

type SeedBudgetResponse struct {
	// contains filtered or unexported fields
}

func (*SeedBudgetResponse) Descriptor deprecated

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

Deprecated: Use SeedBudgetResponse.ProtoReflect.Descriptor instead.

func (*SeedBudgetResponse) ProtoMessage

func (*SeedBudgetResponse) ProtoMessage()

func (*SeedBudgetResponse) ProtoReflect

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

func (*SeedBudgetResponse) Reset

func (x *SeedBudgetResponse) Reset()

func (*SeedBudgetResponse) String

func (x *SeedBudgetResponse) String() string

type SoldRecord

type SoldRecord struct {
	InstanceId int32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Price      int32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"`
	SoldDate   int64 `protobuf:"varint,3,opt,name=sold_date,json=soldDate,proto3" json:"sold_date,omitempty"`
	WasParents bool  `protobuf:"varint,4,opt,name=was_parents,json=wasParents,proto3" json:"was_parents,omitempty"`
	// contains filtered or unexported fields
}

func (*SoldRecord) Descriptor deprecated

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

Deprecated: Use SoldRecord.ProtoReflect.Descriptor instead.

func (*SoldRecord) GetInstanceId

func (x *SoldRecord) GetInstanceId() int32

func (*SoldRecord) GetPrice

func (x *SoldRecord) GetPrice() int32

func (*SoldRecord) GetSoldDate

func (x *SoldRecord) GetSoldDate() int64

func (*SoldRecord) GetWasParents

func (x *SoldRecord) GetWasParents() bool

func (*SoldRecord) ProtoMessage

func (*SoldRecord) ProtoMessage()

func (*SoldRecord) ProtoReflect

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

func (*SoldRecord) Reset

func (x *SoldRecord) Reset()

func (*SoldRecord) String

func (x *SoldRecord) String() string

type UnimplementedRecordBudgetServiceServer

type UnimplementedRecordBudgetServiceServer struct {
}

UnimplementedRecordBudgetServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRecordBudgetServiceServer) AddBudget

func (UnimplementedRecordBudgetServiceServer) GetBudget

func (UnimplementedRecordBudgetServiceServer) GetOrders

func (UnimplementedRecordBudgetServiceServer) GetSold

func (UnimplementedRecordBudgetServiceServer) SeedBudget

type UnsafeRecordBudgetServiceServer

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

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

Jump to

Keyboard shortcuts

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