Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_boundedbuffer_v1_buffer_proto protoreflect.FileDescriptor
Functions ¶
func ValidateRetention ¶
ValidateRetention checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
Types ¶
type Retention ¶
type Retention struct {
// max_bytes stays within Go's portable int range.
MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
// contains filtered or unexported fields
}
Retention defines the prefix of a byte stream retained by a Buffer.
func (*Retention) Descriptor
deprecated
func (*Retention) GetMaxBytes ¶
func (*Retention) ProtoMessage ¶
func (*Retention) ProtoMessage()
func (*Retention) ProtoReflect ¶
func (x *Retention) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.