types

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSubscription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSubscription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSubscription = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type FutureSubscription

type FutureSubscription struct {
	Creator        string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PlanIndex      string `protobuf:"bytes,2,opt,name=plan_index,json=planIndex,proto3" json:"plan_index,omitempty"`
	PlanBlock      uint64 `protobuf:"varint,3,opt,name=plan_block,json=planBlock,proto3" json:"plan_block,omitempty"`
	DurationBought uint64 `protobuf:"varint,4,opt,name=duration_bought,json=durationBought,proto3" json:"duration_bought,omitempty"`
}

func (*FutureSubscription) Descriptor

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

func (*FutureSubscription) GetCreator

func (m *FutureSubscription) GetCreator() string

func (*FutureSubscription) GetDurationBought

func (m *FutureSubscription) GetDurationBought() uint64

func (*FutureSubscription) GetPlanBlock

func (m *FutureSubscription) GetPlanBlock() uint64

func (*FutureSubscription) GetPlanIndex

func (m *FutureSubscription) GetPlanIndex() string

func (*FutureSubscription) Marshal

func (m *FutureSubscription) Marshal() (dAtA []byte, err error)

func (*FutureSubscription) MarshalTo

func (m *FutureSubscription) MarshalTo(dAtA []byte) (int, error)

func (*FutureSubscription) MarshalToSizedBuffer

func (m *FutureSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FutureSubscription) ProtoMessage

func (*FutureSubscription) ProtoMessage()

func (*FutureSubscription) Reset

func (m *FutureSubscription) Reset()

func (*FutureSubscription) Size

func (m *FutureSubscription) Size() (n int)

func (*FutureSubscription) String

func (m *FutureSubscription) String() string

func (*FutureSubscription) Unmarshal

func (m *FutureSubscription) Unmarshal(dAtA []byte) error

func (*FutureSubscription) XXX_DiscardUnknown

func (m *FutureSubscription) XXX_DiscardUnknown()

func (*FutureSubscription) XXX_Marshal

func (m *FutureSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FutureSubscription) XXX_Merge

func (m *FutureSubscription) XXX_Merge(src proto.Message)

func (*FutureSubscription) XXX_Size

func (m *FutureSubscription) XXX_Size() int

func (*FutureSubscription) XXX_Unmarshal

func (m *FutureSubscription) XXX_Unmarshal(b []byte) error

type Subscription

type Subscription struct {
	Creator             string              `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Consumer            string              `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
	Block               uint64              `protobuf:"varint,3,opt,name=block,proto3" json:"block,omitempty"`
	PlanIndex           string              `protobuf:"bytes,4,opt,name=plan_index,json=planIndex,proto3" json:"plan_index,omitempty"`
	PlanBlock           uint64              `protobuf:"varint,5,opt,name=plan_block,json=planBlock,proto3" json:"plan_block,omitempty"`
	DurationBought      uint64              `protobuf:"varint,6,opt,name=duration_bought,json=durationBought,proto3" json:"duration_bought,omitempty"`
	DurationLeft        uint64              `protobuf:"varint,7,opt,name=duration_left,json=durationLeft,proto3" json:"duration_left,omitempty"`
	MonthExpiryTime     uint64              `protobuf:"varint,8,opt,name=month_expiry_time,json=monthExpiryTime,proto3" json:"month_expiry_time,omitempty"`
	MonthCuTotal        uint64              `protobuf:"varint,10,opt,name=month_cu_total,json=monthCuTotal,proto3" json:"month_cu_total,omitempty"`
	MonthCuLeft         uint64              `protobuf:"varint,11,opt,name=month_cu_left,json=monthCuLeft,proto3" json:"month_cu_left,omitempty"`
	Cluster             string              `protobuf:"bytes,13,opt,name=cluster,proto3" json:"cluster,omitempty"`
	DurationTotal       uint64              `protobuf:"varint,14,opt,name=duration_total,json=durationTotal,proto3" json:"duration_total,omitempty"`
	FutureSubscription  *FutureSubscription `protobuf:"bytes,16,opt,name=future_subscription,json=futureSubscription,proto3" json:"future_subscription,omitempty"`
	AutoRenewalNextPlan string              `protobuf:"bytes,17,opt,name=auto_renewal_next_plan,json=autoRenewalNextPlan,proto3" json:"auto_renewal_next_plan,omitempty"`
}

func (*Subscription) Descriptor

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

func (*Subscription) GetAutoRenewalNextPlan

func (m *Subscription) GetAutoRenewalNextPlan() string

func (*Subscription) GetBlock

func (m *Subscription) GetBlock() uint64

func (*Subscription) GetCluster

func (m *Subscription) GetCluster() string

func (*Subscription) GetConsumer

func (m *Subscription) GetConsumer() string

func (*Subscription) GetCreator

func (m *Subscription) GetCreator() string

func (*Subscription) GetDurationBought

func (m *Subscription) GetDurationBought() uint64

func (*Subscription) GetDurationLeft

func (m *Subscription) GetDurationLeft() uint64

func (*Subscription) GetDurationTotal

func (m *Subscription) GetDurationTotal() uint64

func (*Subscription) GetFutureSubscription

func (m *Subscription) GetFutureSubscription() *FutureSubscription

func (*Subscription) GetMonthCuLeft

func (m *Subscription) GetMonthCuLeft() uint64

func (*Subscription) GetMonthCuTotal

func (m *Subscription) GetMonthCuTotal() uint64

func (*Subscription) GetMonthExpiryTime

func (m *Subscription) GetMonthExpiryTime() uint64

func (*Subscription) GetPlanBlock

func (m *Subscription) GetPlanBlock() uint64

func (*Subscription) GetPlanIndex

func (m *Subscription) GetPlanIndex() string

func (*Subscription) Marshal

func (m *Subscription) Marshal() (dAtA []byte, err error)

func (*Subscription) MarshalTo

func (m *Subscription) MarshalTo(dAtA []byte) (int, error)

func (*Subscription) MarshalToSizedBuffer

func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) Reset

func (m *Subscription) Reset()

func (*Subscription) Size

func (m *Subscription) Size() (n int)

func (*Subscription) String

func (m *Subscription) String() string

func (*Subscription) Unmarshal

func (m *Subscription) Unmarshal(dAtA []byte) error

func (*Subscription) XXX_DiscardUnknown

func (m *Subscription) XXX_DiscardUnknown()

func (*Subscription) XXX_Marshal

func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subscription) XXX_Merge

func (m *Subscription) XXX_Merge(src proto.Message)

func (*Subscription) XXX_Size

func (m *Subscription) XXX_Size() int

func (*Subscription) XXX_Unmarshal

func (m *Subscription) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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