Documentation
¶
Index ¶
- Variables
- type Nested
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Sample) GetAmount() float64
- func (x *Sample) GetAttempts() int32
- func (x *Sample) GetBlob() []byte
- func (x *Sample) GetConnection() *structpb.Struct
- func (x *Sample) GetCounter() uint64
- func (x *Sample) GetId() int64
- func (x *Sample) GetImportId() int64
- func (x *Sample) GetInvoiceIds() []int64
- func (x *Sample) GetLineId() int64
- func (x *Sample) GetLines() []*Nested
- func (x *Sample) GetManual() string
- func (x *Sample) GetMode() Sample_Mode
- func (x *Sample) GetName() string
- func (x *Sample) GetNested() *Nested
- func (x *Sample) GetPayable() bool
- func (m *Sample) GetSource() isSample_Source
- func (x *Sample) GetTotals() map[string]int64
- func (x *Sample) GetWrapped() *wrapperspb.Int64Value
- func (*Sample) ProtoMessage()
- func (x *Sample) ProtoReflect() protoreflect.Message
- func (x *Sample) Reset()
- func (x *Sample) String() string
- type Sample_ImportId
- type Sample_Manual
- type Sample_Mode
- func (Sample_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x Sample_Mode) Enum() *Sample_Mode
- func (Sample_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Sample_Mode) Number() protoreflect.EnumNumber
- func (x Sample_Mode) String() string
- func (Sample_Mode) Type() protoreflect.EnumType
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) GetEndedAt ¶
func (*Nested) ProtoMessage ¶
func (*Nested) ProtoMessage()
func (*Nested) ProtoReflect ¶
func (x *Nested) ProtoReflect() protoreflect.Message
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) GetAttempts ¶
func (*Sample) GetConnection ¶
func (*Sample) GetCounter ¶
func (*Sample) GetImportId ¶
func (*Sample) GetInvoiceIds ¶
func (*Sample) GetMode ¶
func (x *Sample) GetMode() Sample_Mode
func (*Sample) GetPayable ¶
func (*Sample) GetWrapped ¶
func (x *Sample) GetWrapped() *wrapperspb.Int64Value
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) ProtoReflect ¶
func (x *Sample) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (Sample_Mode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.