capacity

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capacity

type Capacity struct {
	Capacity             int64    `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewCapacity

func NewCapacity(c int64) *Capacity

func (*Capacity) Descriptor

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

func (*Capacity) GetCapacity

func (m *Capacity) GetCapacity() int64

func (*Capacity) MarshalJSONPB

func (m *Capacity) MarshalJSONPB(_ *jsonpb.Marshaler) ([]byte, error)

func (*Capacity) ProtoMessage

func (*Capacity) ProtoMessage()

func (*Capacity) Reset

func (m *Capacity) Reset()

func (*Capacity) String

func (m *Capacity) String() string

func (*Capacity) UnmarshalJSONPB

func (m *Capacity) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, b []byte) error

func (*Capacity) XXX_DiscardUnknown

func (m *Capacity) XXX_DiscardUnknown()

func (*Capacity) XXX_Marshal

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

func (*Capacity) XXX_Merge

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

func (*Capacity) XXX_Size

func (m *Capacity) XXX_Size() int

func (*Capacity) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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