pb

package
v1.11.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Sample_Mode_name = map[int32]string{
		0: "UPDATE",
		1: "IGNORE",
	}
	Sample_Mode_value = map[string]int32{
		"UPDATE": 0,
		"IGNORE": 1,
	}
)

Enum value maps for Sample_Mode.

View Source
var File_sample_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Nested

type Nested struct {
	Id      int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EndedAt *string `protobuf:"bytes,2,opt,name=endedAt,proto3,oneof" json:"endedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Nested) Descriptor deprecated

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

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) GetEndedAt

func (x *Nested) GetEndedAt() string

func (*Nested) GetId

func (x *Nested) GetId() int64

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) ProtoReflect

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

func (*Nested) Reset

func (x *Nested) Reset()

func (*Nested) String

func (x *Nested) String() string

type Sample

type Sample struct {
	Id         int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	LineId     *int64                 `protobuf:"varint,2,opt,name=lineId,proto3,oneof" json:"lineId,omitempty"`
	Attempts   int32                  `protobuf:"varint,3,opt,name=attempts,proto3" json:"attempts,omitempty"`
	Counter    uint64                 `protobuf:"varint,4,opt,name=counter,proto3" json:"counter,omitempty"`
	Amount     float64                `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Payable    bool                   `protobuf:"varint,6,opt,name=payable,proto3" json:"payable,omitempty"`
	Name       string                 `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Blob       []byte                 `protobuf:"bytes,8,opt,name=blob,proto3" json:"blob,omitempty"`
	Mode       Sample_Mode            `protobuf:"varint,9,opt,name=mode,proto3,enum=pbjson.Sample_Mode" json:"mode,omitempty"`
	InvoiceIds []int64                `protobuf:"varint,10,rep,packed,name=invoiceIds,proto3" json:"invoiceIds,omitempty"`
	Nested     *Nested                `protobuf:"bytes,11,opt,name=nested,proto3" json:"nested,omitempty"`
	Lines      []*Nested              `protobuf:"bytes,12,rep,name=lines,proto3" json:"lines,omitempty"`
	Totals     map[string]int64       `` /* 155-byte string literal not displayed */
	Connection *structpb.Struct       `protobuf:"bytes,14,opt,name=connection,proto3" json:"connection,omitempty"`
	Wrapped    *wrapperspb.Int64Value `protobuf:"bytes,17,opt,name=wrapped,proto3" json:"wrapped,omitempty"`
	// Types that are assignable to Source:
	//
	//	*Sample_Manual
	//	*Sample_ImportId
	Source isSample_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*Sample) Descriptor deprecated

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

Deprecated: Use Sample.ProtoReflect.Descriptor instead.

func (*Sample) GetAmount

func (x *Sample) GetAmount() float64

func (*Sample) GetAttempts

func (x *Sample) GetAttempts() int32

func (*Sample) GetBlob

func (x *Sample) GetBlob() []byte

func (*Sample) GetConnection

func (x *Sample) GetConnection() *structpb.Struct

func (*Sample) GetCounter

func (x *Sample) GetCounter() uint64

func (*Sample) GetId

func (x *Sample) GetId() int64

func (*Sample) GetImportId

func (x *Sample) GetImportId() int64

func (*Sample) GetInvoiceIds

func (x *Sample) GetInvoiceIds() []int64

func (*Sample) GetLineId

func (x *Sample) GetLineId() int64

func (*Sample) GetLines

func (x *Sample) GetLines() []*Nested

func (*Sample) GetManual

func (x *Sample) GetManual() string

func (*Sample) GetMode

func (x *Sample) GetMode() Sample_Mode

func (*Sample) GetName

func (x *Sample) GetName() string

func (*Sample) GetNested

func (x *Sample) GetNested() *Nested

func (*Sample) GetPayable

func (x *Sample) GetPayable() bool

func (*Sample) GetSource

func (m *Sample) GetSource() isSample_Source

func (*Sample) GetTotals

func (x *Sample) GetTotals() map[string]int64

func (*Sample) GetWrapped

func (x *Sample) GetWrapped() *wrapperspb.Int64Value

func (*Sample) ProtoMessage

func (*Sample) ProtoMessage()

func (*Sample) ProtoReflect

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

func (*Sample) Reset

func (x *Sample) Reset()

func (*Sample) String

func (x *Sample) String() string

type Sample_ImportId

type Sample_ImportId struct {
	ImportId int64 `protobuf:"varint,16,opt,name=importId,proto3,oneof"`
}

type Sample_Manual

type Sample_Manual struct {
	Manual string `protobuf:"bytes,15,opt,name=manual,proto3,oneof"`
}

type Sample_Mode

type Sample_Mode int32
const (
	Sample_UPDATE Sample_Mode = 0
	Sample_IGNORE Sample_Mode = 1
)

func (Sample_Mode) Descriptor

func (Sample_Mode) Enum

func (x Sample_Mode) Enum() *Sample_Mode

func (Sample_Mode) EnumDescriptor deprecated

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

Deprecated: Use Sample_Mode.Descriptor instead.

func (Sample_Mode) Number

func (x Sample_Mode) Number() protoreflect.EnumNumber

func (Sample_Mode) String

func (x Sample_Mode) String() string

func (Sample_Mode) Type

Jump to

Keyboard shortcuts

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